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.ApplicationService
getApplicationService()
Gets reference toaplicacioService
.com.soffid.iam.service.AuthorizationService
getAuthorizationService()
Gets reference toautoritzacioService
.com.soffid.iam.service.ConfigurationService
getConfigurationService()
Gets reference toconfiguracioService
.com.soffid.iam.service.GroupService
getGroupService()
Gets reference togrupService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.SystemEntityDao
getSystemEntityDao()
Gets reference todispatcherEntityDao
.com.soffid.iam.service.UserService
getUserService()
Gets reference tousuariService
.protected abstract void
handleSendHtmlMail(String to, String subject, String body)
protected abstract void
handleSendHtmlMail(String to, String cc, String subject, String body)
protected abstract void
handleSendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts)
protected abstract void
handleSendHtmlMail(String to, String subject, String body, Collection mimeBodyParts)
protected abstract void
handleSendHtmlMailToActors(String[] actors, String subject, String body)
protected abstract void
handleSendHtmlMailToActors(String[] actors, String cc, String subject, String body)
protected abstract void
handleSendTextMail(String to, String subject, String body)
protected abstract void
handleSendTextMail(String to, String cc, String subject, String body)
protected abstract void
handleSendTextMailToActors(String[] actors, String subject, String body)
protected abstract void
handleSendTextMailToActors(String[] actors, String cc, String subject, String body)
protected abstract void
handleSendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts)
protected abstract void
handleSendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts)
void
sendHtmlMail(String to, String subject, String body)
Operation sendHtmlMailvoid
sendHtmlMail(String to, String cc, String subject, String body)
Operation sendHtmlMailvoid
sendHtmlMail(String to, String cc, String subject, String body, Collection mimeBodyParts)
Operation sendHtmlMailvoid
sendHtmlMail(String to, String subject, String body, Collection mimeBodyParts)
Operation sendHtmlMailvoid
sendHtmlMailToActors(String[] actors, String subject, String body)
Operation sendHtmlMailToActorsvoid
sendHtmlMailToActors(String[] actors, String cc, String subject, String body)
Operation sendHtmlMailToActorsvoid
sendTextMail(String to, String subject, String body)
Operation sendTextMailvoid
sendTextMail(String to, String cc, String subject, String body)
Operation sendTextMailvoid
sendTextMailToActors(String[] actors, String subject, String body)
Operation sendTextMailToActorsvoid
sendTextMailToActors(String[] actors, String cc, String subject, String body)
Operation sendTextMailToActorsvoid
sendTextMailToActors(String[] actors, String cc, String subject, String body, Collection mimeBodyParts)
Operation sendTextMailToActorsvoid
sendTextMailToActors(String[] actors, String subject, String body, Collection mimeBodyParts)
Operation sendTextMailToActorsvoid
setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.void
setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService
.void
setConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)
Sets reference toconfiguracioService
.void
setGroupService(com.soffid.iam.service.GroupService grupService)
Sets reference togrupService
.void
setSystemEntityDao(SystemEntityDao dispatcherEntityDao)
Sets reference todispatcherEntityDao
.void
setUserService(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:MailService
Operation sendHtmlMail- Specified by:
sendHtmlMail
in 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:MailService
Operation sendHtmlMail- Specified by:
sendHtmlMail
in 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:MailService
Operation sendHtmlMail- Specified by:
sendHtmlMail
in 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:MailService
Operation sendHtmlMail- Specified by:
sendHtmlMail
in 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:MailService
Operation sendHtmlMailToActors- Specified by:
sendHtmlMailToActors
in 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:MailService
Operation sendHtmlMailToActors- Specified by:
sendHtmlMailToActors
in 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:MailService
Operation sendTextMail- Specified by:
sendTextMail
in 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:MailService
Operation sendTextMail- Specified by:
sendTextMail
in 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:MailService
Operation sendTextMailToActors- Specified by:
sendTextMailToActors
in 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:MailService
Operation sendTextMailToActors- Specified by:
sendTextMailToActors
in 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:MailService
Operation sendTextMailToActors- Specified by:
sendTextMailToActors
in 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:MailService
Operation sendTextMailToActors- Specified by:
sendTextMailToActors
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-