Class TemplateManagerWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<TemplateManager>
-
- de.aristaflow.ilm.ws.core.processmanager.TemplateManagerWebService
-
public class TemplateManagerWebService extends AbstractSubResourceWebService<TemplateManager>
- See Also:
TemplateManager
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterFactory
ff
protected ProcessModelFactory
pmf
protected long
REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.protected long
REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.protected TemplIdRemoteIteratorWebService
tiriws
The web service for remote iterator handlers for template IDs.protected TemplKindRemoteIteratorWebService
tkriws
The web service for remote iterator handlers for template kinds.protected TemplRemoteIteratorWebService
triws
The web service for remote iterator handlers for templates.protected TemplRefRemoteIteratorWebService
trriws
The web service for remote iterator handlers for template references.protected TemplStatusRemoteIteratorWebService
tsriws
The web service for remote iterator handlers for template statuses.
-
Constructor Summary
Constructors Constructor Description TemplateManagerWebService(TemplateManager service, ProcessManagerWebService parent)
-
Method Summary
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
REM_IT_INIT_ALIVE_TIME
protected final long REM_IT_INIT_ALIVE_TIME
The time in milliseconds to keep a remote iterator alive after creating it and before accessing it.
-
REM_IT_ALIVE_TIME_EXTENSION
protected final long REM_IT_ALIVE_TIME_EXTENSION
The time in milliseconds to extend the remote iterator alive time after each access.
-
tiriws
protected final TemplIdRemoteIteratorWebService tiriws
The web service for remote iterator handlers for template IDs.
-
trriws
protected final TemplRefRemoteIteratorWebService trriws
The web service for remote iterator handlers for template references.
-
triws
protected final TemplRemoteIteratorWebService triws
The web service for remote iterator handlers for templates.
-
tkriws
protected final TemplKindRemoteIteratorWebService tkriws
The web service for remote iterator handlers for template kinds.
-
tsriws
protected final TemplStatusRemoteIteratorWebService tsriws
The web service for remote iterator handlers for template statuses.
-
ff
protected final FilterFactory ff
-
pmf
protected final ProcessModelFactory pmf
-
-
Constructor Detail
-
TemplateManagerWebService
public TemplateManagerWebService(TemplateManager service, ProcessManagerWebService parent) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in classAbstractSubResourceWebService<TemplateManager>
-
getTemplIdRemoteIteratorWebService
public TemplIdRemoteIteratorWebService getTemplIdRemoteIteratorWebService()
-
getTemplRefRemoteIteratorWebService
public TemplRefRemoteIteratorWebService getTemplRefRemoteIteratorWebService()
-
getTemplRemoteIteratorWebService
public TemplRemoteIteratorWebService getTemplRemoteIteratorWebService()
-
getTemplKindRemoteIteratorWebService
public TemplKindRemoteIteratorWebService getTemplKindRemoteIteratorWebService()
-
getTemplStatusRemoteIteratorWebService
public TemplStatusRemoteIteratorWebService getTemplStatusRemoteIteratorWebService()
-
getAllTemplateIds
@Valid public @Valid TemplIdInitialRemoteIteratorData getAllTemplateIds(@NotNull @Valid @NotNull @Valid SessionToken session, @Size(min=1) @Size(min=1) List<TemplateManager.TemplateKind> templKinds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
DataSourceException
DataConsistencyException
- See Also:
TemplateManager.getAllTemplateIDs(de.aristaflow.adept2.base.sessionmanagement.SessionToken)
,TemplateManager.getAllTemplateIDsIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken)
,TemplateManager.getAllTemplateIDs(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.core.processmanager.TemplateManager.TemplateKind)
,TemplateManager.getAllTemplateIDsIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.core.processmanager.TemplateManager.TemplateKind)
-
getTemplateRefs
@Valid public @Valid TemplRefInitialRemoteIteratorData getTemplateRefs(@NotNull @Valid @NotNull @Valid SessionToken session, @Size(min=1) @Size(min=1) List<UUID> templIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
DataSourceException
DataConsistencyException
- See Also:
TemplateManager.getAllTemplateReferences(de.aristaflow.adept2.base.sessionmanagement.SessionToken)
,TemplateManager.getAllTemplateReferencesIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken)
,TemplateManager.findTemplates(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.filter.Filter, de.aristaflow.adept2.model.filter.Filter)
,TemplateManager.findTemplatesIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.filter.Filter, de.aristaflow.adept2.model.filter.Filter)
-
getTemplates
@Valid public @Valid TemplInitialRemoteIteratorData getTemplates(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> templIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
getTemplateKinds
@Valid public @Valid TemplKindInitialRemoteIteratorData getTemplateKinds(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> templIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
getTemplateStatuses
@Valid public @Valid TemplStatusInitialRemoteIteratorData getTemplateStatuses(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty List<UUID> templIds, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
-
getAndLockTemplateStatus
@NotNull @Valid public @NotNull @Valid TemplateStatus getAndLockTemplateStatus(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID templId) throws ParameterException, LockException
-
setTemplateStatus
public void setTemplateStatus(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid TemplateStatus templStatus) throws ParameterException, LockException, InvalidTemplateStateException
-
unlockTemplateStatus
public void unlockTemplateStatus(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull UUID templId) throws ParameterException, LockException
-
-