Package com.soffid.iam.service
Class MailServiceBase
- java.lang.Object
-
- com.soffid.iam.service.MailServiceBase
-
- All Implemented Interfaces:
MailService
- Direct Known Subclasses:
MailServiceImpl
public abstract class MailServiceBase extends Object implements MailService
Spring Service base class for
see com.soffid.iam.service.MailServicecom.soffid.iam.service.MailService, provides access to all services and entities referenced by this service.
-
-
Field Summary
-
Fields inherited from interface com.soffid.iam.service.MailService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description MailServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.service.ApplicationServicegetApplicationService()Gets reference toaplicacioService.com.soffid.iam.service.AuthorizationServicegetAuthorizationService()Gets reference toautoritzacioService.com.soffid.iam.service.ConfigurationServicegetConfigurationService()Gets reference toconfiguracioService.com.soffid.iam.service.GroupServicegetGroupService()Gets reference togrupService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.SystemEntityDaogetSystemEntityDao()Gets reference todispatcherEntityDao.com.soffid.iam.service.UserServicegetUserService()Gets reference tousuariService.protected abstract voidhandleSendHtmlMail(String to, String subject, String body)protected abstract voidhandleSendHtmlMail(String to, String cc, String subject, String body)protected abstract voidhandleSendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts)protected abstract voidhandleSendHtmlMail(String to, String subject, String body, Collection mimeBodyParts)protected abstract voidhandleSendHtmlMailToActors(String[] actors, String subject, String body)protected abstract voidhandleSendHtmlMailToActors(String[] actors, String cc, String subject, String body)protected abstract voidhandleSendTextMail(String to, String subject, String body)protected abstract voidhandleSendTextMail(String to, String cc, String subject, String body)protected abstract voidhandleSendTextMailToActors(String[] actors, String subject, String body)protected abstract voidhandleSendTextMailToActors(String[] actors, String cc, String subject, String body)protected abstract voidhandleSendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts)protected abstract voidhandleSendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts)voidsendHtmlMail(String to, String subject, String body)Operation sendHtmlMailvoidsendHtmlMail(String to, String cc, String subject, String body)Operation sendHtmlMailvoidsendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts)Operation sendHtmlMailvoidsendHtmlMail(String to, String subject, String body, Collection mimeBodyParts)Operation sendHtmlMailvoidsendHtmlMailToActors(String[] actors, String subject, String body)Operation sendHtmlMailToActorsvoidsendHtmlMailToActors(String[] actors, String cc, String subject, String body)Operation sendHtmlMailToActorsvoidsendTextMail(String to, String subject, String body)Operation sendTextMailvoidsendTextMail(String to, String cc, String subject, String body)Operation sendTextMailvoidsendTextMailToActors(String[] actors, String subject, String body)Operation sendTextMailToActorsvoidsendTextMailToActors(String[] actors, String cc, String subject, String body)Operation sendTextMailToActorsvoidsendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts)Operation sendTextMailToActorsvoidsendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts)Operation sendTextMailToActorsvoidsetApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)Sets reference toaplicacioService.voidsetAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)Sets reference toautoritzacioService.voidsetConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)Sets reference toconfiguracioService.voidsetGroupService(com.soffid.iam.service.GroupService grupService)Sets reference togrupService.voidsetSystemEntityDao(SystemEntityDao dispatcherEntityDao)Sets reference todispatcherEntityDao.voidsetUserService(com.soffid.iam.service.UserService usuariService)Sets reference tousuariService.
-
-
-
Method Detail
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService.
-
setAuthorizationService
public void setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService.
-
getAuthorizationService
public com.soffid.iam.service.AuthorizationService getAuthorizationService()
Gets reference toautoritzacioService.
-
setConfigurationService
public void setConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)
Sets reference toconfiguracioService.
-
getConfigurationService
public com.soffid.iam.service.ConfigurationService getConfigurationService()
Gets reference toconfiguracioService.
-
setSystemEntityDao
public void setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao.
-
getSystemEntityDao
public SystemEntityDao getSystemEntityDao()
Gets reference todispatcherEntityDao.
-
setGroupService
public void setGroupService(com.soffid.iam.service.GroupService grupService)
Sets reference togrupService.
-
getGroupService
public com.soffid.iam.service.GroupService getGroupService()
Gets reference togrupService.
-
setUserService
public void setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService.
-
getUserService
public com.soffid.iam.service.UserService getUserService()
Gets reference tousuariService.
-
sendHtmlMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMail(String to, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMail- Specified by:
sendHtmlMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMail
protected abstract void handleSendHtmlMail(String to, String subject, String body) throws Exception
- Throws:
Exception
-
sendHtmlMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMail(String to, String cc, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMail- Specified by:
sendHtmlMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMail
protected abstract void handleSendHtmlMail(String to, String cc, String subject, String body) throws Exception
- Throws:
Exception
-
sendHtmlMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMail- Specified by:
sendHtmlMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMail
protected abstract void handleSendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts) throws Exception
- Throws:
Exception
-
sendHtmlMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMail(String to, String subject, String body, Collection mimeBodyParts) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMail- Specified by:
sendHtmlMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMail
protected abstract void handleSendHtmlMail(String to, String subject, String body, Collection mimeBodyParts) throws Exception
- Throws:
Exception
-
sendHtmlMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMailToActors(String[] actors, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMailToActors- Specified by:
sendHtmlMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMailToActors
protected abstract void handleSendHtmlMailToActors(String[] actors, String subject, String body) throws Exception
- Throws:
Exception
-
sendHtmlMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendHtmlMailToActors(String[] actors, String cc, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendHtmlMailToActors- Specified by:
sendHtmlMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendHtmlMailToActors
protected abstract void handleSendHtmlMailToActors(String[] actors, String cc, String subject, String body) throws Exception
- Throws:
Exception
-
sendTextMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMail(String to, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMail- Specified by:
sendTextMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMail
protected abstract void handleSendTextMail(String to, String subject, String body) throws Exception
- Throws:
Exception
-
sendTextMail
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMail(String to, String cc, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMail- Specified by:
sendTextMailin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMail
protected abstract void handleSendTextMail(String to, String cc, String subject, String body) throws Exception
- Throws:
Exception
-
sendTextMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMailToActors(String[] actors, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMailToActors- Specified by:
sendTextMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMailToActors
protected abstract void handleSendTextMailToActors(String[] actors, String subject, String body) throws Exception
- Throws:
Exception
-
sendTextMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMailToActors(String[] actors, String cc, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMailToActors- Specified by:
sendTextMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMailToActors
protected abstract void handleSendTextMailToActors(String[] actors, String cc, String subject, String body) throws Exception
- Throws:
Exception
-
sendTextMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMailToActors- Specified by:
sendTextMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMailToActors
protected abstract void handleSendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts) throws Exception
- Throws:
Exception
-
sendTextMailToActors
@Transactional(rollbackFor=java.lang.Exception.class) public void sendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts) throws es.caib.seycon.ng.exception.InternalErrorException
Description copied from interface:MailServiceOperation sendTextMailToActors- Specified by:
sendTextMailToActorsin interfaceMailService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSendTextMailToActors
protected abstract void handleSendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-