Package com.soffid.iam.service
Class ServerPluginServiceBase
- java.lang.Object
-
- com.soffid.iam.service.ServerPluginServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.ServerPluginService
- Direct Known Subclasses:
ServerPluginServiceImpl
public abstract class ServerPluginServiceBase extends Object implements com.soffid.iam.service.ServerPluginService
Spring Service base class for
see com.soffid.iam.service.ServerPluginServicecom.soffid.iam.service.ServerPluginService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ServerPluginServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddeletePlugin(com.soffid.iam.api.ServerPlugin plugin)voiddeployPlugin(byte[] i)voidenablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status)Collection<com.soffid.iam.api.AgentDescriptorWorkflow>findAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent)com.soffid.iam.api.AgentDescriptorgetAgentDescriptor(String className)AgentDescriptorEntityDaogetAgentDescriptorEntityDao()Gets reference toagentDescriptorEntityDao.Collection<com.soffid.iam.api.AgentDescriptor>getAgentDescriptors()Collection<com.soffid.iam.api.AgentDescriptor>getAllAgentDescriptorsInfo()AuditEntityDaogetAuditEntityDao()Gets reference toauditoriaEntityDao.com.soffid.iam.service.ConfigurationServicegetConfigurationService()Gets reference toconfiguracioService.DefaultAttributeMappingEntityDaogetDefaultAttributeMappingEntityDao()Gets reference todefaultAttributeMappingEntityDao.DefaultObjectMappingEntityDaogetDefaultObjectMappingEntityDao()Gets reference todefaultObjectMappingEntityDao.DefaultObjectMappingPropertyEntityDaogetDefaultObjectMappingPropertyEntityDao()Gets reference todefaultObjectMappingPropertyEntityDao.Collection<com.soffid.iam.api.AgentDescriptor>getPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.ServerPluginEntityDaogetServerPluginEntityDao()Gets reference toserverPluginEntityDao.ServerPluginModuleEntityDaogetServerPluginModuleEntityDao()Gets reference toserverPluginModuleEntityDao.StringgetServerVersion()protected abstract voidhandleDeletePlugin(com.soffid.iam.api.ServerPlugin plugin)protected abstract voidhandleDeployPlugin(byte[] i)protected abstract voidhandleEnablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status)protected abstract Collection<com.soffid.iam.api.AgentDescriptorWorkflow>handleFindAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent)protected abstract com.soffid.iam.api.AgentDescriptorhandleGetAgentDescriptor(String className)protected abstract Collection<com.soffid.iam.api.AgentDescriptor>handleGetAgentDescriptors()protected abstract Collection<com.soffid.iam.api.AgentDescriptor>handleGetAllAgentDescriptorsInfo()protected abstract Collection<com.soffid.iam.api.AgentDescriptor>handleGetPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin)protected abstract StringhandleGetServerVersion()protected abstract Collection<com.soffid.iam.api.ServerPlugin>handleListServerPlugins()protected abstract voidhandleUpdatePlugin(byte[] i)protected abstract voidhandleUpdatePlugin(com.soffid.iam.api.ServerPlugin plugin)Collection<com.soffid.iam.api.ServerPlugin>listServerPlugins()voidsetAgentDescriptorEntityDao(AgentDescriptorEntityDao agentDescriptorEntityDao)Sets reference toagentDescriptorEntityDao.voidsetAuditEntityDao(AuditEntityDao auditoriaEntityDao)Sets reference toauditoriaEntityDao.voidsetConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)Sets reference toconfiguracioService.voidsetDefaultAttributeMappingEntityDao(DefaultAttributeMappingEntityDao defaultAttributeMappingEntityDao)Sets reference todefaultAttributeMappingEntityDao.voidsetDefaultObjectMappingEntityDao(DefaultObjectMappingEntityDao defaultObjectMappingEntityDao)Sets reference todefaultObjectMappingEntityDao.voidsetDefaultObjectMappingPropertyEntityDao(DefaultObjectMappingPropertyEntityDao defaultObjectMappingPropertyEntityDao)Sets reference todefaultObjectMappingPropertyEntityDao.voidsetServerPluginEntityDao(ServerPluginEntityDao serverPluginEntityDao)Sets reference toserverPluginEntityDao.voidsetServerPluginModuleEntityDao(ServerPluginModuleEntityDao serverPluginModuleEntityDao)Sets reference toserverPluginModuleEntityDao.voidupdatePlugin(byte[] i)voidupdatePlugin(com.soffid.iam.api.ServerPlugin plugin)
-
-
-
Method Detail
-
setAgentDescriptorEntityDao
public void setAgentDescriptorEntityDao(AgentDescriptorEntityDao agentDescriptorEntityDao)
Sets reference toagentDescriptorEntityDao.
-
getAgentDescriptorEntityDao
public AgentDescriptorEntityDao getAgentDescriptorEntityDao()
Gets reference toagentDescriptorEntityDao.
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao.
-
setConfigurationService
public void setConfigurationService(com.soffid.iam.service.ConfigurationService configuracioService)
Sets reference toconfiguracioService.
-
getConfigurationService
public com.soffid.iam.service.ConfigurationService getConfigurationService()
Gets reference toconfiguracioService.
-
setDefaultAttributeMappingEntityDao
public void setDefaultAttributeMappingEntityDao(DefaultAttributeMappingEntityDao defaultAttributeMappingEntityDao)
Sets reference todefaultAttributeMappingEntityDao.
-
getDefaultAttributeMappingEntityDao
public DefaultAttributeMappingEntityDao getDefaultAttributeMappingEntityDao()
Gets reference todefaultAttributeMappingEntityDao.
-
setDefaultObjectMappingEntityDao
public void setDefaultObjectMappingEntityDao(DefaultObjectMappingEntityDao defaultObjectMappingEntityDao)
Sets reference todefaultObjectMappingEntityDao.
-
getDefaultObjectMappingEntityDao
public DefaultObjectMappingEntityDao getDefaultObjectMappingEntityDao()
Gets reference todefaultObjectMappingEntityDao.
-
setDefaultObjectMappingPropertyEntityDao
public void setDefaultObjectMappingPropertyEntityDao(DefaultObjectMappingPropertyEntityDao defaultObjectMappingPropertyEntityDao)
Sets reference todefaultObjectMappingPropertyEntityDao.
-
getDefaultObjectMappingPropertyEntityDao
public DefaultObjectMappingPropertyEntityDao getDefaultObjectMappingPropertyEntityDao()
Gets reference todefaultObjectMappingPropertyEntityDao.
-
setServerPluginEntityDao
public void setServerPluginEntityDao(ServerPluginEntityDao serverPluginEntityDao)
Sets reference toserverPluginEntityDao.
-
getServerPluginEntityDao
public ServerPluginEntityDao getServerPluginEntityDao()
Gets reference toserverPluginEntityDao.
-
setServerPluginModuleEntityDao
public void setServerPluginModuleEntityDao(ServerPluginModuleEntityDao serverPluginModuleEntityDao)
Sets reference toserverPluginModuleEntityDao.
-
getServerPluginModuleEntityDao
public ServerPluginModuleEntityDao getServerPluginModuleEntityDao()
Gets reference toserverPluginModuleEntityDao.
-
getAgentDescriptor
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AgentDescriptor getAgentDescriptor(String className) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentDescriptorin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAgentDescriptor
protected abstract com.soffid.iam.api.AgentDescriptor handleGetAgentDescriptor(String className) throws Exception
- Throws:
Exception
-
getServerVersion
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String getServerVersion() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getServerVersionin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetServerVersion
protected abstract String handleGetServerVersion() throws Exception
- Throws:
Exception
-
findAgentDescriptorWorkflows
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AgentDescriptorWorkflow> findAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAgentDescriptorWorkflowsin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAgentDescriptorWorkflows
protected abstract Collection<com.soffid.iam.api.AgentDescriptorWorkflow> handleFindAgentDescriptorWorkflows(com.soffid.iam.api.AgentDescriptor agent) throws Exception
- Throws:
Exception
-
getAgentDescriptors
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AgentDescriptor> getAgentDescriptors() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentDescriptorsin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAgentDescriptors
protected abstract Collection<com.soffid.iam.api.AgentDescriptor> handleGetAgentDescriptors() throws Exception
- Throws:
Exception
-
getAllAgentDescriptorsInfo
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AgentDescriptor> getAllAgentDescriptorsInfo() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAllAgentDescriptorsInfoin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAllAgentDescriptorsInfo
protected abstract Collection<com.soffid.iam.api.AgentDescriptor> handleGetAllAgentDescriptorsInfo() throws Exception
- Throws:
Exception
-
getPluginAgentDescriptors
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AgentDescriptor> getPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getPluginAgentDescriptorsin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetPluginAgentDescriptors
protected abstract Collection<com.soffid.iam.api.AgentDescriptor> handleGetPluginAgentDescriptors(com.soffid.iam.api.ServerPlugin plugin) throws Exception
- Throws:
Exception
-
listServerPlugins
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.ServerPlugin> listServerPlugins() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
listServerPluginsin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleListServerPlugins
protected abstract Collection<com.soffid.iam.api.ServerPlugin> handleListServerPlugins() throws Exception
- Throws:
Exception
-
deletePlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void deletePlugin(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletePluginin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeletePlugin
protected abstract void handleDeletePlugin(com.soffid.iam.api.ServerPlugin plugin) throws Exception- Throws:
Exception
-
deployPlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void deployPlugin(byte[] i) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, com.soffid.iam.exception.DuplicatedClassException- Specified by:
deployPluginin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptioncom.soffid.iam.exception.DuplicatedClassException
-
handleDeployPlugin
protected abstract void handleDeployPlugin(byte[] i) throws Exception- Throws:
Exception
-
enablePlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void enablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
enablePluginin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleEnablePlugin
protected abstract void handleEnablePlugin(com.soffid.iam.api.ServerPlugin plugin, boolean status) throws Exception- Throws:
Exception
-
updatePlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updatePlugin(byte[] i) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, com.soffid.iam.exception.DuplicatedClassException- Specified by:
updatePluginin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptioncom.soffid.iam.exception.DuplicatedClassException
-
handleUpdatePlugin
protected abstract void handleUpdatePlugin(byte[] i) throws Exception- Throws:
Exception
-
updatePlugin
@Transactional(rollbackFor=java.lang.Exception.class) public void updatePlugin(com.soffid.iam.api.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatePluginin interfacecom.soffid.iam.service.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdatePlugin
protected abstract void handleUpdatePlugin(com.soffid.iam.api.ServerPlugin plugin) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-