Class ActivityStartingWebService
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<ActivityStarting>
-
- de.aristaflow.ilm.ws.core.executionmanager.ActivityStartingWebService
-
public class ActivityStartingWebService extends AbstractSubResourceWebService<ActivityStarting>
- See Also:
ActivityStarting
-
-
Field Summary
Fields Modifier and Type Field Description protected EcRemoteIteratorWebService
eriws
The web service for remote iterator handlers for execution contexts.protected ProcessModelFactory
pmf
protected QaRemoteIteratorWebService
qriws
The web service for remote iterator handlers for qualified agents.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.
-
Constructor Summary
Constructors Constructor Description ActivityStartingWebService(ActivityStarting service, ExecutionManagerWebService 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.
-
qriws
protected final QaRemoteIteratorWebService qriws
The web service for remote iterator handlers for qualified agents.
-
eriws
protected final EcRemoteIteratorWebService eriws
The web service for remote iterator handlers for execution contexts.
-
pmf
protected final ProcessModelFactory pmf
-
-
Constructor Detail
-
ActivityStartingWebService
public ActivityStartingWebService(ActivityStarting service, ExecutionManagerWebService 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<ActivityStarting>
-
getQaRemoteIteratorWebService
public QaRemoteIteratorWebService getQaRemoteIteratorWebService()
-
getEcRemoteIteratorWebService
public EcRemoteIteratorWebService getEcRemoteIteratorWebService()
-
selectActivity
public void selectActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
deselectActivity
public void deselectActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
startActivity
public void startActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act, ProcessConstants.ExecutionMode em) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException, AgentUnknownException
- Throws:
ParameterException
InvalidActivityStateException
InvalidInstanceStateException
WrongAgentException
AgentUnknownException
- See Also:
ActivityStarting.startActivity(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.EBPInstanceReference, de.aristaflow.adept2.model.globals.ProcessConstants.ExecutionMode)
-
resumeActivity
public void resumeActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException, AgentUnknownException
-
getEnquiryRecipients
@Valid public @Valid QaInitialRemoteIteratorData getEnquiryRecipients(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act, @Positive @Positive Integer count) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
DataSourceException
DataConsistencyException
- See Also:
ActivityStarting.getEnquiryRecipients(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.EBPInstanceReference)
,ActivityStarting.getEnquiryRecipientsIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.EBPInstanceReference)
-
enquireActivity
public void enquireActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act, @NotEmpty @NotEmpty Collection<@Valid QualifiedAgent> recipients, String question) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
replyEnquiry
public void replyEnquiry(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act, String reply) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException
-
getExecutionContext
@NotNull @Valid public @NotNull @Valid ExecutionContext getExecutionContext(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference act) throws ParameterException, InvalidActivityStateException, InvalidInstanceStateException, WrongAgentException, InvalidDataContainerException
- Throws:
ParameterException
InvalidActivityStateException
InvalidInstanceStateException
WrongAgentException
InvalidDataContainerException
- See Also:
ActivityStarting.getExecutionContext(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.EBPInstanceReference)
-
getExecutionContexts
@Valid public @Valid EcInitialRemoteIteratorData getExecutionContexts(@NotNull @Valid @NotNull @Valid SessionToken session, @NotEmpty @NotEmpty Collection<@Valid EbpInstanceReference> acts, @Positive @Positive Integer count) throws ParameterException, InvalidDataContainerException, DataSourceException, DataConsistencyException
-
-