public interface TriggerSystemSession extends OsidSession
This session provides methods to retrieve Trigger to
System mappings. A Trigger may appear in
multiple System objects. Each system may have its own
authorizations governing who is allowed to look at it.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupTriggerSystemMappings()
Tests if this user can perform lookups of trigger/system mappings.
|
IdList |
getSystemIdsByTrigger(Id triggerId)
Gets the
System Ids mapped to a
Trigger. |
SystemList |
getSystemsByTrigger(Id triggerId)
Gets the
Systems mapped to a Trigger. |
IdList |
getTriggerIdsBySystem(Id systemId)
Gets the list of
Trigger Ids associated with a
System. |
IdList |
getTriggerIdsBySystems(IdList systemIds)
Gets the list of
Trigger Ids corresponding to a list of
Systems. |
TriggerList |
getTriggersBySystem(Id systemId)
Gets the list of
Triggers associated with a
System. |
TriggerList |
getTriggersBySystems(IdList systemIds)
Gets the list of
Trigger corresponding to a list of
Systems. |
void |
useComparativeTriggerSystemView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryTriggerSystemView()
A complete view of the
Trigger and System
returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupTriggerSystemMappings()
PERMISSION_DENIED. This is intended as
a hint to an application that may opt not to offer lookup operations
to unauthorized users. false if looking up mappings is not authorized,
true otherwisemandatory - This method must be implemented. void useComparativeTriggerSystemView()
mandatory - This method is must be implemented. void usePlenaryTriggerSystemView()
Trigger and System
returns is desired. Methods will return what is requested or
result in an error. This view is used when greater precision is
desired at the expense of interoperability.mandatory - This method is must be implemented. IdList getTriggerIdsBySystem(Id systemId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Trigger Ids associated with a
System. systemId - Id of the System Ids NotFoundException - systemId is not
foundNullArgumentException - systemId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. TriggerList getTriggersBySystem(Id systemId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Triggers associated with a
System. systemId - Id of the System NotFoundException - systemId is not
foundNullArgumentException - systemId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getTriggerIdsBySystems(IdList systemIds) throws OperationFailedException, PermissionDeniedException
Trigger Ids corresponding to a list of
Systems. systemIds - list of system Ids Ids NullArgumentException - systemIds is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. TriggerList getTriggersBySystems(IdList systemIds) throws OperationFailedException, PermissionDeniedException
Trigger corresponding to a list of
Systems. systemIds - list of system Ids NullArgumentException - systemIds is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getSystemIdsByTrigger(Id triggerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
System Ids mapped to a
Trigger. triggerId - Id of a Trigger NotFoundException - triggerId is not
foundNullArgumentException - triggerId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. SystemList getSystemsByTrigger(Id triggerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Systems mapped to a Trigger. triggerId - Id of a Trigger NotFoundException - triggerId is not
foundNullArgumentException - triggerId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.