Package es.caib.seycon.ng.servei
Class ServerPluginServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.ServerPluginServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.ServerPluginService
public class ServerPluginServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.ServerPluginService
Spring Service base class for
see es.caib.seycon.ng.servei.ServerPluginServicees.caib.seycon.ng.servei.ServerPluginService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ServerPluginServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeletePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin)voiddeployPlugin(byte[] i)voidenablePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin, boolean status)Collection<com.soffid.iam.api.AgentDescriptorWorkflow>findAgentDescriptorWorkflows(es.caib.seycon.ng.comu.AgentDescriptor agent)es.caib.seycon.ng.comu.AgentDescriptorgetAgentDescriptor(String className)Collection<es.caib.seycon.ng.comu.AgentDescriptor>getAgentDescriptors()Collection<es.caib.seycon.ng.comu.AgentDescriptor>getAllAgentDescriptorsInfo()Collection<es.caib.seycon.ng.comu.AgentDescriptor>getPluginAgentDescriptors(es.caib.seycon.ng.comu.ServerPlugin plugin)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.com.soffid.iam.service.ServerPluginServicegetServerPluginService()Gets reference toserverPluginService.StringgetServerVersion()Collection<es.caib.seycon.ng.comu.ServerPlugin>listServerPlugins()voidsetServerPluginService(com.soffid.iam.service.ServerPluginService serverPluginService)Sets reference toserverPluginService.voidupdatePlugin(byte[] i)voidupdatePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin)
-
-
-
Method Detail
-
setServerPluginService
public void setServerPluginService(com.soffid.iam.service.ServerPluginService serverPluginService)
Sets reference toserverPluginService.
-
getServerPluginService
public com.soffid.iam.service.ServerPluginService getServerPluginService()
Gets reference toserverPluginService.
-
getAgentDescriptor
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.AgentDescriptor getAgentDescriptor(String className) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentDescriptorin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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 interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAgentDescriptorWorkflows
@Transactional(rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AgentDescriptorWorkflow> findAgentDescriptorWorkflows(es.caib.seycon.ng.comu.AgentDescriptor agent) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAgentDescriptorWorkflowsin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAgentDescriptors
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.AgentDescriptor> getAgentDescriptors() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentDescriptorsin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAllAgentDescriptorsInfo
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.AgentDescriptor> getAllAgentDescriptorsInfo() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAllAgentDescriptorsInfoin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPluginAgentDescriptors
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.AgentDescriptor> getPluginAgentDescriptors(es.caib.seycon.ng.comu.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getPluginAgentDescriptorsin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listServerPlugins
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.ServerPlugin> listServerPlugins() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
listServerPluginsin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
deletePlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void deletePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletePluginin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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 interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptioncom.soffid.iam.exception.DuplicatedClassException
-
enablePlugin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void enablePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin, boolean status) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
enablePluginin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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 interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptioncom.soffid.iam.exception.DuplicatedClassException
-
updatePlugin
@Transactional(rollbackFor=java.lang.Exception.class) public void updatePlugin(es.caib.seycon.ng.comu.ServerPlugin plugin) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatePluginin interfacees.caib.seycon.ng.servei.ServerPluginService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-