Interface RelevancyLookupSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session provides methods for examining subject relevancy.
This session defines views that offer differing behaviors when retrieving multiple objects.
- comparative view: elements may be silently omitted or re-ordered
- plenary view: provides a complete set or is an error condition
- isolated ontology view: All relevancy methods in this session
operate, retrieve and pertain to relevancies defined explicitly in the
current ontology. Using an isolated view is useful for managing
relevancies with the
RelevancyAdminSession. - federated ontology view: All relevancy methods in this session operate, retrieve and pertain to all relevancies defined in this ontology and any other obtologies implicitly available in this ontology through ontology inheritence.
- effective relevancy view: All relevancy methods return effective relevancies.
- any effective relevancy view: Both effective and ineffective relevancies are returned.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if this user can lookup subject relevancies.Gets theOntologyassociated with this session.Gets theOntologyIdassociated with this session.Gets all relevancies.getRelevanciesByGenusType(Type relevancyGenusType) Gets the relevancies for the given relevancy and genus type.getRelevanciesByGenusTypeForMappedId(Id id, Type relevancyGenusType) Gets theRelevancyelements mapped to anIdof the given relevancy genusTypewhich includes derived genusTypes.getRelevanciesByGenusTypeForMappedIdOnDate(Id id, Type relevancyGenusType, DateTime from, DateTime to) Gets aRelevancyListof the given genus type for the given mappedIdeffective during the entire given date range inclusive but not confined to the date range.getRelevanciesByGenusTypeForSubject(Id subjectId, Type relevancyGenusType) Gets theRelevancymapped to a subjectIdand relevancygenus Type.getRelevanciesByGenusTypeForSubjectAndMappedId(Id subjectId, Id id, Type relevancyGenusType) Gets theRelevancyof the given genus type and mapped to a subject and mappedId.getRelevanciesByGenusTypeForSubjectAndMappedIdOnDate(Id subjectId, Id id, Type relevancyGenusType, DateTime from, DateTime to) Gets aRelevancyListof the given genus type and related to the given subject and mappedIdeffective during the entire given date range inclusive but not confined to the date range.getRelevanciesByGenusTypeForSubjectOnDate(Id subjectId, Type relevancyGenusType, DateTime from, DateTime to) Gets aRelevancyListof the given genus type for the given subject effective during the entire given date range inclusive but not confined to the date range.getRelevanciesByGenusTypeOnDate(Type relevancyGenusType, DateTime from, DateTime to) Gets aRelevancyListof the given genus type and effective during the entire given date range inclusive but not confined to the date range.getRelevanciesByIds(IdList relevancyIds) Gets aRelevancyListcorresponding to the givenIdList.getRelevanciesByParentGenusType(Type relevancyGenusType) Gets the relevancies for the given relevancy genus type and include any relevancies with a genus type derived from the specified genus type.getRelevanciesByRecordType(Type relevancyRecordType) Gets aRelevancyListcontaining the given relevancy recordType.Gets theRelevancyelements mapped to anId.getRelevanciesForMappedIdOnDate(Id id, DateTime from, DateTime to) Gets aRelevancyListfor the given mappedIdeffective during the entire given date range inclusive but not confined to the date range.Gets the relevancies for the given mappedIds.getRelevanciesForSubject(Id subjectId) Gets theRelevancymapped to a subjectId.getRelevanciesForSubjectAndMappedId(Id subjectId, Id id) Gets theRelevancymapped to a subject and mappedId.getRelevanciesForSubjectAndMappedIdOnDate(Id subjectId, Id id, DateTime from, DateTime to) Gets aRelevancyListfor the given subject and mappedIdeffective during the entire given date range inclusive but not confined to the date range.getRelevanciesForSubjectOnDate(Id subjectId, DateTime from, DateTime to) Gets aRelevancyListfor the given subject effective during the entire given date range inclusive but not confined to the date range.getRelevanciesForSubjects(IdList subjectIds) Gets the relevancies for the given subjectIds.getRelevanciesOnDate(DateTime from, DateTime to) Gets aRelevancyListeffective during the entire given date range inclusive but not confined to the date range.getRelevancy(Id relevancyId) Gets theRelevancyspecified by itsId.voidBoth effective and ineffective relavcnies are returned.voidThe returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error.voidThe returns from the lookup methods return only effetive relevancies.voidFederates the view for methods in this session.voidIsolates the view for methods in this session.voidA complete view of theRelevancyreturns 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
-
getOntologyId
Id getOntologyId()Gets theOntologyIdassociated with this session.- Returns:
- the
Ontology Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getOntology
Gets theOntologyassociated with this session.- Returns:
- the
Ontologyassociated with this session - Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canLookupRelevancies
boolean canLookupRelevancies()Tests if this user can lookup subject relevancies. 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 lookup operations to unauthorized users.- Returns:
falseif lookup methods are not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
useComparativeRelevancyView
void useComparativeRelevancyView()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.
-
usePlenaryRelevancyView
void usePlenaryRelevancyView()A complete view of theRelevancyreturns 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.
-
useFederatedOntologyView
void useFederatedOntologyView()Federates the view for methods in this session. A federated view will include relevancies in ontologies which are children of this ontology in the ontology hierarchy.- Compliance:
mandatory- This method is must be implemented.
-
useIsolatedOntologyView
void useIsolatedOntologyView()Isolates the view for methods in this session. An isolated view restricts lookups to this ontology only.- Compliance:
mandatory- This method is must be implemented.
-
useEffectiveRelevancyView
void useEffectiveRelevancyView()The returns from the lookup methods return only effetive relevancies.- Compliance:
mandatory- This method is must be implemented.
-
useAnyEffectiveRelevancyView
void useAnyEffectiveRelevancyView()Both effective and ineffective relavcnies are returned.- Compliance:
mandatory- This method is must be implemented.
-
getRelevancy
Relevancy getRelevancy(Id relevancyId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets theRelevancyspecified by itsId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyId-Idof theRelevancy- Returns:
- the relevancy
- Throws:
NotFoundException-relevancyIdnot foundNullArgumentException-relevancyIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByIds
RelevancyList getRelevanciesByIds(IdList relevancyIds) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets aRelevancyListcorresponding to the givenIdList. In plenary mode, the returned list contains all of the relevancies 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 relevancies may be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyIds- the list ofIdsto retrieve- Returns:
- the returned
Relevancy list - Throws:
NotFoundException- anId wasnot foundNullArgumentException-relevancyIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesByGenusType
RelevancyList getRelevanciesByGenusType(Type relevancyGenusType) throws OperationFailedException, PermissionDeniedException Gets the relevancies for the given relevancy and genus type. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyGenusType- relevancy genus type- Returns:
- list of relevancies
- Throws:
NullArgumentException-relevancyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByParentGenusType
RelevancyList getRelevanciesByParentGenusType(Type relevancyGenusType) throws OperationFailedException, PermissionDeniedException Gets the relevancies for the given relevancy genus type and include any relevancies with a genus type derived from the specified genus type. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyGenusType- relevancy genus type- Returns:
- list of relevancies
- Throws:
NullArgumentException-relevancyGenusTYpeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByRecordType
RelevancyList getRelevanciesByRecordType(Type relevancyRecordType) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListcontaining the given relevancy recordType. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyRecordType- a relevancy record type- Returns:
- list of relevancies
- Throws:
NullArgumentException-relevancyRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesOnDate
RelevancyList getRelevanciesOnDate(DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
from- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesByGenusTypeOnDate
RelevancyList getRelevanciesByGenusTypeOnDate(Type relevancyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListof the given 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 relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
relevancyGenusType- relevancy genus typefrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-relevancyGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesForSubject
RelevancyList getRelevanciesForSubject(Id subjectId) throws OperationFailedException, PermissionDeniedException Gets theRelevancymapped to a subjectId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectId- Returns:
- list of relevancies
- Throws:
NullArgumentException-subjectIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesForSubjectOnDate
RelevancyList getRelevanciesForSubjectOnDate(Id subjectId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListfor the given subject effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdfrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-subjectId, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesByGenusTypeForSubject
RelevancyList getRelevanciesByGenusTypeForSubject(Id subjectId, Type relevancyGenusType) throws OperationFailedException, PermissionDeniedException Gets theRelevancymapped to a subjectIdand relevancygenus Type. GenusTypesderived from the given genusTypeare included. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdrelevancyGenusType- relevancy genus type- Returns:
- list of relevancies
- Throws:
NullArgumentException-subjectIdorrelevancyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByGenusTypeForSubjectOnDate
RelevancyList getRelevanciesByGenusTypeForSubjectOnDate(Id subjectId, Type relevancyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListof the given genus type for the given subject effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdrelevancyGenusType- relevancy genus typefrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-subjectId, relevancyGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesForSubjects
RelevancyList getRelevanciesForSubjects(IdList subjectIds) throws OperationFailedException, PermissionDeniedException Gets the relevancies for the given subjectIds. In plenary mode, the returned list contains all of the relevancies specified in the subjectIdlist, in the order of the list, including duplicates, or an error results if a relevancyIdin the supplied list is not found or inaccessible. Otherwise, inaccessible relevancies may be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectIds- list of subjectIds- Returns:
- list of relevancies
- Throws:
NullArgumentException-subjectIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesForMappedId
RelevancyList getRelevanciesForMappedId(Id id) throws OperationFailedException, PermissionDeniedException Gets theRelevancyelements mapped to anId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
id- anId- Returns:
- list of relevancies
- Throws:
NullArgumentException-idisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesForMappedIdOnDate
RelevancyList getRelevanciesForMappedIdOnDate(Id id, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListfor the given mappedIdeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
id- anIdfrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-id, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesByGenusTypeForMappedId
RelevancyList getRelevanciesByGenusTypeForMappedId(Id id, Type relevancyGenusType) throws OperationFailedException, PermissionDeniedException Gets theRelevancyelements mapped to anIdof the given relevancy genusTypewhich includes derived genusTypes. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
id- anIdrelevancyGenusType- relevancy genus type- Returns:
- list of relevancies
- Throws:
NullArgumentException-idorrelevancyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByGenusTypeForMappedIdOnDate
RelevancyList getRelevanciesByGenusTypeForMappedIdOnDate(Id id, Type relevancyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListof the given genus type for the given mappedIdeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
id- anIdrelevancyGenusType- relevancy genus typefrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-id, relevancyGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesForMappedIds
RelevancyList getRelevanciesForMappedIds(IdList ids) throws OperationFailedException, PermissionDeniedException Gets the relevancies for the given mappedIds. In plenary mode, the returned list contains all of the relevancies mapped to theIdor an error results if anIdin the supplied list is not found or inaccessible. Otherwise, inaccessible relevancies may be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
ids- a list ofIds- Returns:
- list of relevancies
- Throws:
NullArgumentException-idsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesForSubjectAndMappedId
RelevancyList getRelevanciesForSubjectAndMappedId(Id subjectId, Id id) throws OperationFailedException, PermissionDeniedException Gets theRelevancymapped to a subject and mappedId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdid- the mappedId- Returns:
- list of relevancies
- Throws:
NullArgumentException-subjectIdoridisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesForSubjectAndMappedIdOnDate
RelevancyList getRelevanciesForSubjectAndMappedIdOnDate(Id subjectId, Id id, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListfor the given subject and mappedIdeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdid- the mappedIdfrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-subjectId, id, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevanciesByGenusTypeForSubjectAndMappedId
RelevancyList getRelevanciesByGenusTypeForSubjectAndMappedId(Id subjectId, Id id, Type relevancyGenusType) throws OperationFailedException, PermissionDeniedException Gets theRelevancyof the given genus type and mapped to a subject and mappedId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedRelevancymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aRelevancyand retained for compatibility. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdid- the mappedIdrelevancyGenusType- relevancy genus type- Returns:
- list of relevancies
- Throws:
NullArgumentException-subjectId, id, orrelevancyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-
getRelevanciesByGenusTypeForSubjectAndMappedIdOnDate
RelevancyList getRelevanciesByGenusTypeForSubjectAndMappedIdOnDate(Id subjectId, Id id, Type relevancyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aRelevancyListof the given genus type and related to the given subject and mappedIdeffective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Parameters:
subjectId- the subjectIdid- the mappedIdrelevancyGenusType- relevancy genus typefrom- a starting dateto- an ending date- Returns:
- list of relevancies
- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-subjectId, id, relevancyGenusTYpe, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getRelevancies
Gets all relevancies. In plenary mode, the returned list contains all known relevancies or an error results. Otherwise, the returned list may contain only those relevancies that are accessible through this session. In effective mode, relevancies are returned that are currently effective. In any effective mode, effective relevancies and those currently expired are returned.- Returns:
- list of relevancies
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method is must be implemented.
-