public interface JobProcessorEnablerRuleApplicationSession extends OsidSession
This session provides methods to apply JobProcessorEnablers
to JobProcessors. A JobProcessor
with multiple JobProcessorEnablers means any positive rule
evaluation across the enablers result in an effective JobProcessor.
| Modifier and Type | Method and Description |
|---|---|
void |
assignJobProcessorEnablerToJobProcessor(Id jobProcessorEnablerId,
Id jobProcessorId)
Adds an existing
JobProcessorEnabler to a
JobProcessor. |
boolean |
canAssignJobProcessorEnablers()
Tests if this user can alter job processor enabler/job processor
mappings.
|
boolean |
canSequenceJobProcessorEnablers()
Tests if this user can order
JobProcessorEnablers. |
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
void |
moveJobProcessorEnablerAhead(Id jobProcessorEnablerId,
Id jobProcessorId,
Id referenceId)
Reorders job processor enablers for a job processor by moving the
specified job processor enabler in front of a reference job processor
enabler.
|
void |
moveJobProcessorEnablerBehind(Id jobProcessorEnablerId,
Id jobProcessorId,
Id referenceId)
Reorders job processor enablers for a job processor by moving the
specified job processor enabler behind a reference job processor
enabler.
|
void |
orderJobProcessorEnablers(Id[] jobProcessorEnablerIds,
Id jobProcessorId)
Reorders a set of job processor enablers for a job processor.
|
void |
unassignJobProcessorEnablerFromJobProcessor(Id jobProcessorEnablerId,
Id jobProcessorId)
Removes a
JobProcessorEnabler from a
JobProcessor. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFoundryId()
Foundry Id associated with this
session. Foundry Id associated with this sessionmandatory - This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canAssignJobProcessorEnablers()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false if mapping is not authorized, true
otherwisemandatory - This method must be implemented. void assignJobProcessorEnablerToJobProcessor(Id jobProcessorEnablerId, Id jobProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
JobProcessorEnabler to a
JobProcessor. jobProcessorEnablerId - the Id of the
JobProcessorEnabler jobProcessorId - the Id of the
JobProcessor AlreadyExistsException - jobProcessorEnablerId
is already applied to jobProcessorId NotFoundException - jobProcessorEnablerId
or jobProcessorId not foundNullArgumentException - jobProcessorEnablerId
or jobProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignJobProcessorEnablerFromJobProcessor(Id jobProcessorEnablerId, Id jobProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
JobProcessorEnabler from a
JobProcessor. jobProcessorEnablerId - the Id of the
JobProcessorEnabler jobProcessorId - the Id of the
JobProcessor NotFoundException - jobProcessorEnablerId
or jobProcessorId not found or
jobProcessorEnablerId not applied to
jobProcessorId NullArgumentException - jobProcessorEnablerId
or jobProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSequenceJobProcessorEnablers()
JobProcessorEnablers. A
return of true does not guarantee successful authorization. A return
of false indicates that it is known sequencing operations will result
in a PERMISSION_DENIED. This is intended as a hint to
an application that may opt not to offer sequencing operations to an
unauthorized user. false if JobProcessornEnabler
ordering is not authorized, true otherwisemandatory - This method must be implemented. void moveJobProcessorEnablerAhead(Id jobProcessorEnablerId, Id jobProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
jobProcessorEnablerId - the Id of a
JobProcessorEnabler jobProcessorId - the Id of a JobProcessor
referenceId - the reference job processor enabler Id
NotFoundException - jobProcessorEnablerId,
jobProcessorId, or referenceId not
found or, jobProcessorEnablerId or
referenceId not related to jobProcessorId
NullArgumentException - jobProcessorEnablerId,
jobProcessorId, or referenceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void moveJobProcessorEnablerBehind(Id jobProcessorEnablerId, Id jobProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
jobProcessorEnablerId - the Id of a
JobProcessorEnabler jobProcessorId - the Id of a JobProcessor
referenceId - the reference job processor enabler Id
NotFoundException - jobProcessorEnablerId,
jobProcessorId, or referenceId not
found or, jobProcessorEnablerId or
referenceId not related to jobProcessorId
NullArgumentException - jobProcessorEnablerId,
jobProcessorId, or referenceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void orderJobProcessorEnablers(Id[] jobProcessorEnablerIds, Id jobProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
jobProcessorEnablerIds - the Ids for a set of
JobProcessorEnablers jobProcessorId - the Id of a JobProcessor
NotFoundException - jobProcessorId not
found or, a jobProcessorEnablerId not related
to jobProcessorId NullArgumentException - jobProcessorEnablerIds
or jobProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.