public interface SupersedingEventLookupSession extends OsidSession
This session provides methods for retrieving SupersedingEvents.
This session defines views that offer differing behaviors when retrieving multiple objects.
SupersedingEventAdminSession.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupSupersedingEvents()
Tests if this user can perform
SupersedingEvent
lookups. |
Calendar |
getCalendar()
Gets the
Calendar associated with this session. |
Id |
getCalendarId()
Gets the
Calendar Id associated with
this session. |
SupersedingEvent |
getSupersedingEvent(Id supersedingEventId)
Gets the
Superseding specified by its Id. |
SupersedingEventList |
getSupersedingEvents()
Gets all
SupersedingEvents. |
SupersedingEventList |
getSupersedingEventsByGenusType(Type supersedingEventGenusType)
Gets a
SupersedingEventList corresponding to the given
superseding event genus Type which does not include
superseding events of genus types derived from the specified
Type. |
SupersedingEventList |
getSupersedingEventsByIds(IdList supersedingEventIds)
Gets a
SupersedingEventList corresponding to the given
IdList. |
SupersedingEventList |
getSupersedingEventsByParentGenusType(Type supersedingEventGenusType)
Gets a
SupersedingEventList corresponding to the given
superseding event genus Type and include any additional
superseding event with genus types derived from the specified
Type. |
SupersedingEventList |
getSupersedingEventsByRecordType(Type supersedingEventRecordType)
Gets a
SupersedingEventList containing the given
superseding event record Type. |
SupersedingEventList |
getSupersedingEventsBySupersededEvent(Id supersededEventId)
Gets the
SupersedingEvents related to the relative
event Id. |
void |
useActiveSupersedingEventView()
Only active superseding events are returned by methods in this
session.
|
void |
useAnyStatusSupersedingEventView()
All active and inactive superseding events are returned by methods in
this session.
|
void |
useComparativeSupersedingEventView()
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 |
useFederatedCalendarView()
Federates the view for methods in this session.
|
void |
useIsolatedCalendarView()
Isolates the view for methods in this session.
|
void |
usePlenarySupersedingEventView()
A complete view of the
SupersedingEvent returns is
desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getCalendarId()
Calendar Id associated with
this session. Calendar Id associated with this sessionmandatory - This method must be implemented. Calendar getCalendar() throws OperationFailedException, PermissionDeniedException
Calendar associated with this session. Calendar associated with this sessionOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupSupersedingEvents()
SupersedingEvent
lookups. A return of true does not guarantee successful authorization.
A return of false indicates that it is known all methods in this
session will result in a PERMISSION_DENIED. This is
intended as a hint to an application that may opt not to offer lookup
operations to unauthorized users. false if lookup methods are not authorized,
true otherwisemandatory - This method must be implemented. void useComparativeSupersedingEventView()
mandatory - This method is must be implemented. void usePlenarySupersedingEventView()
SupersedingEvent 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. void useFederatedCalendarView()
mandatory - This method is must be implemented. void useIsolatedCalendarView()
mandatory - This method is must be implemented. void useActiveSupersedingEventView()
mandatory - This method is must be implemented. void useAnyStatusSupersedingEventView()
mandatory - This method is must be implemented. SupersedingEvent getSupersedingEvent(Id supersedingEventId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Superseding specified by its Id.
In plenary mode, the exact Id is found
or a NOT_FOUND results. Otherwise, the returned
SupersedingEvent may have a different Id than
requested, such as the case where a duplicate Id was
assigned to a Superseding and retained for
compatibility.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersedingEventId - Id of the
SupersedingEvent NotFoundException - supersedngEventId
not foundNullArgumentException - supersedingEventId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method is must be implemented. SupersedingEventList getSupersedingEventsByIds(IdList supersedingEventIds) throws NotFoundException, OperationFailedException, PermissionDeniedException
SupersedingEventList corresponding to the given
IdList.
In plenary mode, the returned list contains all of the
superseding events specified in the Id list, in the
order of the list, including duplicates, or an error results if an
Id in the supplied list is not found or inaccessible.
Otherwise, inaccessible SupersedingEvents may be
omitted from the list and may present the elements in any order
including returning a unique set.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersedingEventIds - the list of Ids to retrieve SupersedingEvent listNotFoundException - an Id was not foundNullArgumentException - supersedingEventIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. SupersedingEventList getSupersedingEventsByGenusType(Type supersedingEventGenusType) throws OperationFailedException, PermissionDeniedException
SupersedingEventList corresponding to the given
superseding event genus Type which does not include
superseding events of genus types derived from the specified
Type.
In plenary mode, the returned list contains all known
superseding events or an error results. Otherwise, the returned list
may contain only those superseding events that are accessible through
this session.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersedingEventGenusType - a superseding event genus type SupersedingEvent listNullArgumentException -
supersedingEventGenusType is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. SupersedingEventList getSupersedingEventsByParentGenusType(Type supersedingEventGenusType) throws OperationFailedException, PermissionDeniedException
SupersedingEventList corresponding to the given
superseding event genus Type and include any additional
superseding event with genus types derived from the specified
Type.
In plenary mode, the returned list contains all known
superseding events or an error results. Otherwise, the returned list
may contain only those superseding events that are accessible through
this session.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersedingEventGenusType - a superseding event genus type SupersedingEvent listNullArgumentException -
supersedingEventGenusType is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. SupersedingEventList getSupersedingEventsByRecordType(Type supersedingEventRecordType) throws OperationFailedException, PermissionDeniedException
SupersedingEventList containing the given
superseding event record Type.
In plenary mode, the returned list contains all known
superseding events or an error results. Otherwise, the returned list
may contain only those superseding events that are accessible through
this session.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersedingEventRecordType - a superseding event record type SupersedingEvent listNullArgumentException -
supersedingEventRecordType is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. SupersedingEventList getSupersedingEventsBySupersededEvent(Id supersededEventId) throws NotFoundException, OperationFailedException, PermissionDeniedException
SupersedingEvents related to the relative
event Id.
In plenary mode, the returned list contains all known superseding
events or an error results. Otherwise, the returned list may contain
only those superseding events that are accessible through this
session.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned.supersededEventId - Id of the related eventNotFoundException - supersededEventId
not foundNullArgumentException - supersededEventId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method is must be implemented. SupersedingEventList getSupersedingEvents() throws OperationFailedException, PermissionDeniedException
SupersedingEvents.
In plenary mode, the returned list contains all known superseding
events or an error results. Otherwise, the returned list may contain
only those superseding events that are accessible through this
session.
In active mode, supersdeing events are returned that are currently
active. In any status mode, active and inactive superseding events are
returned. SupersedingEventList OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.