Interface ParticipantLookupSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session defines methods for retrieving participants.
This lookup session defines several views:
- comparative view: elements may be silently omitted or re-ordered
- plenary view: provides a complete result set or is an error condition
- isolated catalogue view: All participant methods in this session
operate, retrieve and pertain to participants defined explicitly in
the current catalogue. Using an isolated view is useful for managing
participants with the
ParticipantAdminSession. - federated catalogue view: All participant lookup methods in this session operate, retrieve and pertain to all participants defined in this catalogue and any other catalogues implicitly available in this catalogue through catalogue inheritence.
- effective participant view: All participant lookup methods return participants where the current date falls in between the effective dates inclusive.
- any effective participant view: Participants of any effective date are returned from methods.
The methods useFederatedCatalogueView() and
useIsolatedCatalogueView() behave as a radio group and one should be
selected before invoking any lookup methods.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if this user can examine this catalogue.Gets theCatalogueassociated with this session.Gets theCatalogueIdassociated with this session.getParticipant(Id participantId) Gets theParticipantspecified by itsId.Gets all participants.getParticipantsByGenusType(Type participantGenusType) Gets aParticipantListcorresponding to the given participant genusTypewhich does not include participants of types derived from the specifiedType.getParticipantsByGenusTypeForOffering(Id offeringId, Type participantGenusType) Gets aParticipantListby genus type for the given offering.getParticipantsByGenusTypeForOfferingAndResource(Id offeringId, Id resourceId, Type participantGenusType) Gets aParticipantListby genus type for the given offering and resource.getParticipantsByGenusTypeForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for an offering, resource, and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByGenusTypeForOfferingOnDate(Id offeringId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for an offering and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByGenusTypeForResource(Id resourceId, Type participantGenusType) Gets aParticipantListby genus type for the given resource.getParticipantsByGenusTypeForResourceOnDate(Id resourceId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for a resource and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByGenusTypeOnDate(Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByIds(IdList participantIds) Gets aParticipantListcorresponding to the givenIdList.getParticipantsByParentGenusType(Type participantGenusType) Gets aParticipantListcorresponding to the given participant genusTypeand include any additional participants with genus types derived from the specifiedType.getParticipantsByRecordType(Type participantRecordType) Gets aParticipantListcontaining the given participant recordType.getParticipantsByTimePeriodAndGenusTypeForOffering(Id offeringId, Id timePeriodId, Type participantGenusType) Gets aParticipantListby genus type for the given offering in a time period.getParticipantsByTimePeriodAndGenusTypeForOfferingAndResource(Id offeringId, Id resourceId, Id timePeriodId, Type participantGenusType) Gets aParticipantListby genus type for the given offering and resource in a time period.getParticipantsByTimePeriodAndGenusTypeForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for an offering and resource in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByTimePeriodAndGenusTypeForOfferingOnDate(Id offeringId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for an offering in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByTimePeriodAndGenusTypeForResource(Id resourceId, Id timePeriodId, Type participantGenusType) Gets aParticipantListby genus type for the given resource in a time period.getParticipantsByTimePeriodAndGenusTypeForResourceOnDate(Id resourceId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) Gets aParticipantListby genus type for a resource in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByTimePeriodForOffering(Id offeringId, Id timePeriodId) Gets aParticipantListfor the given offering in a time period.getParticipantsByTimePeriodForOfferingAndResource(Id offeringId, Id resourceId, Id timePeriodId) Gets aParticipantListfor the given offering and resource in a time period.getParticipantsByTimePeriodForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Id timePeriodId, DateTime from, DateTime to) Gets aParticipantListfor an offering and resource in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByTimePeriodForOfferingOnDate(Id offeringId, Id timePeriodId, DateTime from, DateTime to) Gets aParticipantListfor an offering in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsByTimePeriodForResource(Id resourceId, Id timePeriodId) Gets aParticipantListfor the given resource in a time period.getParticipantsByTimePeriodForResourceOnDate(Id resourceId, Id timePeriodId, DateTime from, DateTime to) Gets aParticipantListfor a resource in a time period and effective during the entire given date range inclusive but not confined to the date range.getParticipantsForOffering(Id offeringId) Gets aParticipantListfor the given offering.getParticipantsForOfferingAndResource(Id offeringId, Id resourceId) Gets aParticipantListfor the given offering and resource.getParticipantsForOfferingAndResourceOnDate(Id offeringId, Id resourceId, DateTime from, DateTime to) Gets aParticipantListfor an offering, resource, and effective during the entire given date range inclusive but not confined to the date range.getParticipantsForOfferingOnDate(Id offeringId, DateTime from, DateTime to) Gets aParticipantListfor an offering and effective during the entire given date range inclusive but not confined to the date range.getParticipantsForResource(Id resourceId) Gets aParticipantListfor the given resource.getParticipantsForResourceOnDate(Id resourceId, DateTime from, DateTime to) Gets aParticipantListfor a resource and effective during the entire given date range inclusive but not confined to the date range.getParticipantsOnDate(DateTime from, DateTime to) Gets aParticipantListeffective during the entire given date range inclusive but not confined to the date range.voidAll participants of any effective dates are returned by methods in this session.voidThe returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error.voidOnly participants whose effective dates are current are returned by methods in this session.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.voidA complete view of theParticipantreturns is desired.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getCatalogueId
Id getCatalogueId()Gets theCatalogueIdassociated with this session.- Returns:
- the
Catalogue Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getCatalogue
Gets theCatalogueassociated with this session.- Returns:
- the catalogue
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canLookupParticipants
boolean canLookupParticipants()Tests if this user can examine this catalogue. 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 aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer these operations.- Returns:
falseif catalogue reading methods are not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
useComparativeParticipantView
void useComparativeParticipantView()The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision.- Compliance:
mandatory- This method is must be implemented.
-
usePlenaryParticipantView
void usePlenaryParticipantView()A complete view of theParticipantreturns 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.- Compliance:
mandatory- This method is must be implemented.
-
useFederatedCatalogueView
void useFederatedCatalogueView()Federates the view for methods in this session. A federated view will include participants in catalogues which are children of this catalogue in the catalogue hierarchy.- Compliance:
mandatory- This method is must be implemented.
-
useIsolatedCatalogueView
void useIsolatedCatalogueView()Isolates the view for methods in this session. An isolated view restricts retrievals to this catalogue only.- Compliance:
mandatory- This method is must be implemented.
-
useEffectiveParticipantView
void useEffectiveParticipantView()Only participants whose effective dates are current are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
useAnyEffectiveParticipantView
void useAnyEffectiveParticipantView()All participants of any effective dates are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
getParticipant
Participant getParticipant(Id participantId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets theParticipantspecified by itsId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedParticipantmay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aParticipantand retained for compatibility. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
participantId- theIdof theParticipantto retrieve- Returns:
- the returned
Participant - Throws:
NotFoundException- noParticipantfound with the givenIdNullArgumentException-participantIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByIds
ParticipantList getParticipantsByIds(IdList participantIds) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets aParticipantListcorresponding to the givenIdList. In plenary mode, the returned list contains all of the participants specified in theIdlist, in the order of the list, including duplicates, or an error results if anIdin the supplied list is not found or inaccessible. Otherwise, inaccessible participants may be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
participantIds- the list ofIdsto retrieve- Returns:
- the returned
Participant list - Throws:
NotFoundException- anId wasnot foundNullArgumentException-participantIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusType
ParticipantList getParticipantsByGenusType(Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListcorresponding to the given participant genusTypewhich does not include participants of types derived from the specifiedType. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
participantGenusType- a participant genus type- Returns:
- the returned
Participant list - Throws:
NullArgumentException-participantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByParentGenusType
ParticipantList getParticipantsByParentGenusType(Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListcorresponding to the given participant genusTypeand include any additional participants with genus types derived from the specifiedType. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In active mode, participants are returned that are currently active. In any status mode, active and inactive participants are returned.- Parameters:
participantGenusType- a participant genus type- Returns:
- the returned
Participant list - Throws:
NullArgumentException-participantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByRecordType
ParticipantList getParticipantsByRecordType(Type participantRecordType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListcontaining the given participant recordType. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
participantRecordType- a participant record type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-participantRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsOnDate
ParticipantList getParticipantsOnDate(DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
from- start of date rangeto- end of date range- Returns:
- the returned
ParticipantList - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeOnDate
ParticipantList getParticipantsByGenusTypeOnDate(Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
participantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- the returned
ParticipantList - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForOffering
ParticipantList getParticipantsForOffering(Id offeringId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given offering. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForOffering
ParticipantList getParticipantsByGenusTypeForOffering(Id offeringId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given offering. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-participantGenusTypeorofferingIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForOfferingOnDate
ParticipantList getParticipantsForOfferingOnDate(Id offeringId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor an offering and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForOfferingOnDate
ParticipantList getParticipantsByGenusTypeForOfferingOnDate(Id offeringId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for an offering and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForOffering
ParticipantList getParticipantsByTimePeriodForOffering(Id offeringId, Id timePeriodId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given offering in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdtimePeriodId- a time periodId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringIdortimePeriodIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForOffering
ParticipantList getParticipantsByTimePeriodAndGenusTypeForOffering(Id offeringId, Id timePeriodId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given offering in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringId, timePeriodId, orparticipantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForOfferingOnDate
ParticipantList getParticipantsByTimePeriodForOfferingOnDate(Id offeringId, Id timePeriodId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor an offering in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdtimePeriodId- a time periodIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, timePeriodId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForOfferingOnDate
ParticipantList getParticipantsByTimePeriodAndGenusTypeForOfferingOnDate(Id offeringId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for an offering in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, timePeriodId, participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForResource
ParticipantList getParticipantsForResource(Id resourceId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given resource. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-resourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForResource
ParticipantList getParticipantsByGenusTypeForResource(Id resourceId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given resource. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-resourceIdorparticipantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForResourceOnDate
ParticipantList getParticipantsForResourceOnDate(Id resourceId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor a resource and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForResourceOnDate
ParticipantList getParticipantsByGenusTypeForResourceOnDate(Id resourceId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for a resource and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForResource
ParticipantList getParticipantsByTimePeriodForResource(Id resourceId, Id timePeriodId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given resource in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdtimePeriodId- a time periodId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-resourceIdortimePeriodIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForResource
ParticipantList getParticipantsByTimePeriodAndGenusTypeForResource(Id resourceId, Id timePeriodId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given resource in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-resourceId, timePeriodId, orparticipantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForResourceOnDate
ParticipantList getParticipantsByTimePeriodForResourceOnDate(Id resourceId, Id timePeriodId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor a resource in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdtimePeriodId- a time periodIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, timePeriodId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForResourceOnDate
ParticipantList getParticipantsByTimePeriodAndGenusTypeForResourceOnDate(Id resourceId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for a resource in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
resourceId- a resourceIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, timePeriodId, participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForOfferingAndResource
ParticipantList getParticipantsForOfferingAndResource(Id offeringId, Id resourceId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given offering and resource. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringIdorresourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForOfferingAndResource
ParticipantList getParticipantsByGenusTypeForOfferingAndResource(Id offeringId, Id resourceId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given offering and resource. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringId, resourceIdorparticipantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsForOfferingAndResourceOnDate
ParticipantList getParticipantsForOfferingAndResourceOnDate(Id offeringId, Id resourceId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor an offering, resource, and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByGenusTypeForOfferingAndResourceOnDate
ParticipantList getParticipantsByGenusTypeForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for an offering, resource, and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForOfferingAndResource
ParticipantList getParticipantsByTimePeriodForOfferingAndResource(Id offeringId, Id resourceId, Id timePeriodId) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor the given offering and resource in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdtimePeriodId- a time periodId- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringId, resourceId, ortimePeriodIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForOfferingAndResource
ParticipantList getParticipantsByTimePeriodAndGenusTypeForOfferingAndResource(Id offeringId, Id resourceId, Id timePeriodId, Type participantGenusType) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for the given offering and resource in a time period. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus type- Returns:
- the returned
ParticipantList - Throws:
NullArgumentException-offeringId, resourceId,timePeriodIdorparticipantGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodForOfferingAndResourceOnDate
ParticipantList getParticipantsByTimePeriodForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Id timePeriodId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListfor an offering and resource in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdtimePeriodId- a time periodIdfrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, resourceId, timePeriodId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipantsByTimePeriodAndGenusTypeForOfferingAndResourceOnDate
ParticipantList getParticipantsByTimePeriodAndGenusTypeForOfferingAndResourceOnDate(Id offeringId, Id resourceId, Id timePeriodId, Type participantGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aParticipantListby genus type for an offering and resource in a time period and effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Parameters:
offeringId- an offeringIdresourceId- a resourceIdtimePeriodId- a time periodIdparticipantGenusType- a participant genus typefrom- start of date rangeto- end of date range- Returns:
- a list of participants
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-offeringId, resourceId, timePeriodId,participantGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getParticipants
Gets all participants. In plenary mode, the returned list contains all known participants or an error results. Otherwise, the returned list may contain only those participants that are accessible through this session. In effective mode, participants are returned that are currently effective. In any effective mode, effective participants and those currently expired are returned.- Returns:
- a list of participants
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-