Package es.caib.seycon.ng.servei
Class SeyconServerServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.SeyconServerServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.SeyconServerService
public class SeyconServerServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.SeyconServerService
Spring Service base class for
see es.caib.seycon.ng.servei.SeyconServerServicees.caib.seycon.ng.servei.SeyconServerService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SeyconServerServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidboostTask(long taskId)voidcancelTask(long taskId)voidcancelUnscheduledTasks()Collection<com.soffid.iam.ui.SeyconTask>findUnscheduledTasks()es.caib.seycon.ng.comu.SeyconAgentTaskLoggetAgentTask(String url, String agentName, Long taskId)Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog>getAgentTasks(String url, String agentCodi)Collection<es.caib.seycon.ng.comu.SeyconServerInfo>getPendingTasksInfo()Map<String,Vector<Object[]>>getPendingTasksStats()protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.Collection<es.caib.seycon.ng.comu.AgentStatusInfo>getServerAgentStatus()Collection<es.caib.seycon.ng.comu.AgentStatusInfo>getServerAgentStatus(String url)ObjectgetServerService(String servicePath)Collection<Object>getServerTasks(String url)InputStreamgetSeyconServerLog(String urlServer)Collection<es.caib.seycon.ng.comu.SeyconServerInfo>getSeyconServersStatus()Map<String,int[]>getStats(String server, String metric, int seconds, int step)es.caib.seycon.ng.comu.SeyconServerInfogetSyncServerInfo(String url)Collection<es.caib.seycon.ng.comu.Server>getSyncServerInstances()Collection<es.caib.seycon.ng.comu.Server>getSyncServers()com.soffid.iam.service.SyncServerServicegetSyncServerService()Gets reference tosyncServerService.voidreleaseAllTasks()voidreleaseTask(long taskId)voidresetSyncServer(String url, String server)voidsetSyncServerService(com.soffid.iam.service.SyncServerService syncServerService)Sets reference tosyncServerService.String[]tailServerLog(String urlServer)voidupdateDispatcherConfiguration()voidupdatePendingTasks()
-
-
-
Method Detail
-
setSyncServerService
public void setSyncServerService(com.soffid.iam.service.SyncServerService syncServerService)
Sets reference tosyncServerService.
-
getSyncServerService
public com.soffid.iam.service.SyncServerService getSyncServerService()
Gets reference tosyncServerService.
-
getAgentTask
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SeyconAgentTaskLog getAgentTask(String url, String agentName, Long taskId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentTaskin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSyncServerInfo
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SeyconServerInfo getSyncServerInfo(String url) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getSyncServerInfoin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSeyconServerLog
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public InputStream getSeyconServerLog(String urlServer) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getSeyconServerLogin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerService
@Transactional(rollbackFor=java.lang.Exception.class) public Object getServerService(String servicePath) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getServerServicein interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
tailServerLog
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String[] tailServerLog(String urlServer) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
tailServerLogin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findUnscheduledTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.ui.SeyconTask> findUnscheduledTasks() throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findUnscheduledTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAgentTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SeyconAgentTaskLog> getAgentTasks(String url, String agentCodi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAgentTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPendingTasksInfo
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SeyconServerInfo> getPendingTasksInfo() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getPendingTasksInfoin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerAgentStatus
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.AgentStatusInfo> getServerAgentStatus() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getServerAgentStatusin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerAgentStatus
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.AgentStatusInfo> getServerAgentStatus(String url) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getServerAgentStatusin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getServerTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<Object> getServerTasks(String url) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getServerTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSeyconServersStatus
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SeyconServerInfo> getSeyconServersStatus() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getSeyconServersStatusin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSyncServerInstances
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Server> getSyncServerInstances() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getSyncServerInstancesin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getSyncServers
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.Server> getSyncServers() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getSyncServersin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPendingTasksStats
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Map<String,Vector<Object[]>> getPendingTasksStats() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getPendingTasksStatsin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getStats
@Transactional(rollbackFor=java.lang.Exception.class) public Map<String,int[]> getStats(String server, String metric, int seconds, int step) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getStatsin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
boostTask
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void boostTask(long taskId) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
boostTaskin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
cancelTask
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void cancelTask(long taskId) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
cancelTaskin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
cancelUnscheduledTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void cancelUnscheduledTasks() throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
cancelUnscheduledTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
releaseAllTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void releaseAllTasks() throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
releaseAllTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
releaseTask
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void releaseTask(long taskId) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
releaseTaskin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
resetSyncServer
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void resetSyncServer(String url, String server) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
resetSyncServerin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateDispatcherConfiguration
@Transactional(rollbackFor=java.lang.Exception.class) public void updateDispatcherConfiguration() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateDispatcherConfigurationin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updatePendingTasks
@Transactional(rollbackFor=java.lang.Exception.class) public void updatePendingTasks() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updatePendingTasksin interfacees.caib.seycon.ng.servei.SeyconServerService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-