|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Assignable
Interface implemented by all assignable task enactments. One of its assignment methods will be called by the AssignmentHandler implementation to create an assignment.
Every class that implements this interface is the enactment-time alter-ego of a process node that implements the interface AssignableDefineable. Such a class is one that supports the notions of an assignment mode and an assignment expression, as interpreted by the AssignmentHandler.
AssignableDefinable
,
AssignmentHandler
Method Summary | |
---|---|
void |
acceptActorId(java.lang.String actorId,
java.lang.String reason,
java.lang.String caller)
Set the actor id to be used by the receiver but do this without checking with the assignment handler that this is acceptable. |
java.lang.String |
getActorId()
Retrieve the actorId set for the receiver, or null if it has not yet been assigned |
java.lang.String |
getAssignableName(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
Returns the name of the assignable object |
java.lang.String |
getAssignmentExpression()
Returns the assignment expression |
int |
getAssignmentMode()
Answer the mode of assignment set for this assignable |
java.util.Collection |
getPooledActorIds()
Retrieve the pooled actors for the receiver, or null if no pooled actors exist |
void |
setActorId(java.lang.String actorId,
boolean forceAcceptance,
java.lang.String reason,
java.lang.String caller)
Set the individual actor that is responsible for executing the task. |
void |
setDynamicProxy(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
Set the proxy to be used, if necessary, to answer other components of this interface |
void |
setPooledActors(java.util.List pooledActors,
java.lang.String reason,
java.lang.String caller)
Set the list of pooled candidate actors that can take the task. |
boolean |
supportsActorPools()
Answers true if the assignable in question supports actor pools for assignment |
void |
unsetActorId(java.lang.String reason,
java.lang.String caller,
com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
Unsets the individual actor that is responsible for executing the task. |
Method Detail |
---|
void setDynamicProxy(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy)
void setActorId(java.lang.String actorId, boolean forceAcceptance, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.ConcurrentUpdateException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException, InvalidAssignmentException, com.ebasetech.ufs.kernel.SetupPropertiesException, ResourceManagementException, java.sql.SQLException, com.ebasetech.ufs.workflow.server.enactment.ProcessAttributeException, com.ebasetech.ufs.workflow.server.enactment.ProcessStructureException
com.ebasetech.ufs.utility.ConcurrentUpdateException
- If some other thread has been in an modified the database record
under our feet
com.ebasetech.ufs.utility.PersistenceException
- If there is some error with the database access
InvalidAssignmentException
- If the supplied actor is not in one ofthe already defined pools
com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
com.ebasetech.ufs.kernel.SetupPropertiesException
ResourceManagementException
java.sql.SQLException
com.ebasetech.ufs.workflow.server.enactment.ProcessAttributeException
com.ebasetech.ufs.workflow.server.enactment.ProcessStructureException
void acceptActorId(java.lang.String actorId, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.utility.ConcurrentUpdateException, com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
com.ebasetech.ufs.utility.PersistenceException
com.ebasetech.ufs.utility.ConcurrentUpdateException
com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
void unsetActorId(java.lang.String reason, java.lang.String caller, com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy) throws com.ebasetech.ufs.utility.ConcurrentUpdateException, com.ebasetech.ufs.utility.PersistenceException, com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
com.ebasetech.ufs.utility.ConcurrentUpdateException
- If some other thread has been in an modified the database record
under our feet
com.ebasetech.ufs.utility.PersistenceException
- If there is some error with the database access
com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
java.lang.String getActorId()
boolean supportsActorPools() throws java.sql.SQLException, com.ebasetech.ufs.utility.PersistenceException
java.sql.SQLException
com.ebasetech.ufs.utility.PersistenceException
java.util.Collection getPooledActorIds()
void setPooledActors(java.util.List pooledActors, java.lang.String reason, java.lang.String caller) throws com.ebasetech.ufs.utility.ConcurrentUpdateException, com.ebasetech.ufs.utility.PersistenceException, PooledActorsNotSupportedException, com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
pooledActors
- A list of strings representing the names of the pools/groupsreason
- the reason passed into the API when the method that ultimately called this one
was invokedcaller
- the id of the caller of the external API method that ultimately called this one
was invoked
com.ebasetech.ufs.utility.ConcurrentUpdateException
com.ebasetech.ufs.utility.PersistenceException
PooledActorsNotSupportedException
com.ebasetech.ufs.workflow.server.enactment.InvalidStateTransitionException
java.lang.String getAssignmentExpression() throws com.ebasetech.ufs.utility.PersistenceException, java.sql.SQLException
com.ebasetech.ufs.utility.PersistenceException
java.sql.SQLException
java.lang.String getAssignableName(com.ebasetech.ufs.kernel.IUFSServletContextProxy proxy) throws com.ebasetech.ufs.utility.PersistenceException, java.sql.SQLException
com.ebasetech.ufs.utility.PersistenceException
java.sql.SQLException
int getAssignmentMode() throws java.sql.SQLException, com.ebasetech.ufs.utility.PersistenceException
java.sql.SQLException
com.ebasetech.ufs.utility.PersistenceException
AssignmentMode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |