public interface ElementLookupSession extends OsidSession
This session provides methods to get the sequence of elements in a
Chain.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupElements()
Tests if this user can lookup eleemnts to a chain.
|
Antimatroid |
getAntimatroid()
Gets the
Antimatroid associated with this session. |
Id |
getAntimatroidId()
Gets the
Antimatroid Id associated with
this session. |
void |
getElements(Id chainId)
Gets the ordered list of elements from a
Chain. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getAntimatroidId()
Antimatroid Id associated with
this session. Antimatroid Id associated with this sessionmandatory - This method must be implemented. Antimatroid getAntimatroid() throws OperationFailedException, PermissionDeniedException
Antimatroid associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupElements()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer these operations to an
unauthorized user. false if looking up elements is not authorized,
true otherwisemandatory - This method must be implemented. void getElements(Id chainId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Chain. chainId - the Id of the chainNotFoundException - chainId not foundNullArgumentException - chainId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.