Interface ProficiencyLookupSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session defines methods for retrieving proficiencies.
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 objective bank view: All proficiency methods in this
session operate, retrieve and pertain to proficiencies defined
explicitly in the current objective bank. Using an isolated view is
useful for managing
Proficiencieswith theProficiencyAdminSession. - federated objective bank view: All proficiency lookup methods in this session operate, retrieve and pertain to all proficiencies defined in this objective bank and any other proficiencies implicitly available in this objective bank through objective bank inheritence.
- effective proficiency view: All proficiency lookup methods return proficiencies where the current date falls in between the effective dates inclusive.
- any proficiency view: Proficiencies of any effective date are returned from methods.
The methods useFederatedObjectiveBankView() and
useIsolatedObjectiveBankView() behave as a radio group and one should be
selected before invoking any lookup methods.
Proficiencies may have an additional records indicated by their
respective record types. The record may not be accessed through a cast of
the Proficiencies .
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTests if this user can performProficiencylookups.Gets theObjectiveBankassociated with this session.Gets theObjectiveBankIdassociated with this session.Gets allProficiencies.getProficienciesByGenusType(Type proficiencyGenusType) Gets aProficiencyListcorresponding to the given proficiency genusTypewhich does not include proficiencies of types derived from the specifiedType.getProficienciesByGenusTypeForObjective(Id objectiveId, Type proficiencyGenusType) Gets aProficiencyListrelating to the given objective and proficiency genusType.getProficienciesByGenusTypeForObjectiveAndResource(Id objectiveId, Id resourceId, Type proficiencyGenusType) Gets aProficiencyListof the given genus type relating to the given objective and resource.getProficienciesByGenusTypeForObjectiveAndResourceOnDate(Id objectiveId, Id resourceId, Type proficiencyGenusType, DateTime from, DateTime to) Gets aProficiencyListof the given genus type relating to the given resource and objective effective during the entire given date range inclusive but not confined to the date range.getProficienciesByGenusTypeForObjectiveOnDate(Id objectiveId, Type proficiencyGenusType, DateTime from, DateTime to) Gets aProficiencyListof the given proficiency genus type relating to the given objective effective during the entire given date range inclusive but not confined to the date range.getProficienciesByGenusTypeForResource(Id resourceId, Type proficiencyGenusType) Gets aProficiencyListrelating to the given resource and proficiency genusType.getProficienciesByGenusTypeForResourceOnDate(Id resourceId, Type proficiencyGenusType, DateTime from, DateTime to) Gets aProficiencyListof the given proficiency genus type relating to the given resource effective during the entire given date range inclusive but not confined to the date range.getProficienciesByGenusTypeOnDate(Type proficiencyGenusType, DateTime from, DateTime to) Gets aProficiencyListof the given proficiency genus type effective during the entire given date range inclusive but not confined to the date range.getProficienciesByIds(IdList proficiencyIds) Gets aProficiencyListcorresponding to the givenIdList.getProficienciesByParentGenusType(Type proficiencyGenusType) Gets aProficiencyListcorresponding to the given proficiency genusTypeand include any additional proficiencies with genus types derived from the specifiedType.getProficienciesByRecordType(Type proficiencyRecordType) Gets aProficiencyListcontaining the given proficiency recordType.getProficienciesForObjective(Id objectiveId) Gets aProficiencyListrelating to the given objective.getProficienciesForObjectiveAndResource(Id objectiveId, Id resourceId) Gets aProficiencyListrelating to the given objective and resource.getProficienciesForObjectiveAndResourceOnDate(Id objectiveId, Id resourceId, DateTime from, DateTime to) Gets aProficiencyListrelating to the given resource and objective effective during the entire given date range inclusive but not confined to the date range.getProficienciesForObjectiveOnDate(Id objectiveId, DateTime from, DateTime to) Gets aProficiencyListrelating to the given objective effective during the entire given date range inclusive but not confined to the date range.getProficienciesForObjectives(IdList objectiveIds) Gets aProficiencyListrelating to the given objectives.getProficienciesForResource(Id resourceId) Gets aProficiencyListrelating to the given resource.getProficienciesForResourceOnDate(Id resourceId, DateTime from, DateTime to) Gets aProficiencyListrelating to the given resource effective during the entire given date range inclusive but not confined to the date range.getProficienciesForResources(IdList resourceIds) Gets aProficiencyListrelating to the given resources.getProficienciesOnDate(DateTime from, DateTime to) Gets aProficiencyListeffecyive during the entire given date range inclusive but not confined to the date range.getProficiency(Id proficiencyId) Gets theProficiencyspecified by itsId.voidAll proficienies 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 proficiencies 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 theProficiencyreturns 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
-
getObjectiveBankId
Id getObjectiveBankId()Gets theObjectiveBankIdassociated with this session.- Returns:
- the
ObjectiveBank Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getObjectiveBank
Gets theObjectiveBankassociated with this session.- Returns:
- the obective bank
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canLookupProficiencies
boolean canLookupProficiencies()Tests if this user can performProficiencylookups. 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 not offer lookup operations to unauthorized users.- Returns:
falseif lookup methods are not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
useComparativeProficiencyView
void useComparativeProficiencyView()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.
-
usePlenaryProficiencyView
void usePlenaryProficiencyView()A complete view of theProficiencyreturns 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.
-
useFederatedObjectiveBankView
void useFederatedObjectiveBankView()Federates the view for methods in this session. A federated view will include proficiencies in objective banks which are children of this objective bank in the obective bank hierarchy.- Compliance:
mandatory- This method is must be implemented.
-
useIsolatedObjectiveBankView
void useIsolatedObjectiveBankView()Isolates the view for methods in this session. An isolated view restricts retrievals to this objective bank only.- Compliance:
mandatory- This method is must be implemented.
-
useEffectiveProficiencyView
void useEffectiveProficiencyView()Only proficiencies whose effective dates are current are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
useAnyEffectiveProficiencyView
void useAnyEffectiveProficiencyView()All proficienies of any effective dates are returned by methods in this session.- Compliance:
mandatory- This method is must be implemented.
-
getProficiency
Proficiency getProficiency(Id proficiencyId) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets theProficiencyspecified by itsId. In plenary mode, the exactIdis found or aNOT_FOUNDresults. Otherwise, the returnedProficiencymay have a differentIdthan requested, such as the case where a duplicateIdwas assigned to aProficiencyand retained for compatibility. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyId- theIdof theProficiencyto retrieve- Returns:
- the returned
Proficiency - Throws:
NotFoundException- noProficiencyfound with the givenIdNullArgumentException-proficiencyIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByIds
ProficiencyList getProficienciesByIds(IdList proficiencyIds) throws NotFoundException, OperationFailedException, PermissionDeniedException Gets aProficiencyListcorresponding to the givenIdList. In plenary mode, the returned list contains all of the proficiencies 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, inaccessibleProficienciesmay be omitted from the list and may present the elements in any order including returning a unique set. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyIds- the list ofIdsto retrieve- Returns:
- the returned
Proficiencylist - Throws:
NotFoundException- anIdwas not foundNullArgumentException-proficiencyIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusType
ProficiencyList getProficienciesByGenusType(Type proficiencyGenusType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListcorresponding to the given proficiency genusTypewhich does not include proficiencies of types derived from the specifiedType. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyGenusType- a proficiency genus type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-proficiencyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByParentGenusType
ProficiencyList getProficienciesByParentGenusType(Type proficiencyGenusType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListcorresponding to the given proficiency genusTypeand include any additional proficiencies with genus types derived from the specifiedType. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyGenusType- a proficiency genus type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-proficiencyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByRecordType
ProficiencyList getProficienciesByRecordType(Type proficiencyRecordType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListcontaining the given proficiency recordType. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyRecordType- a proficiency record type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-proficiencyRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesOnDate
ProficiencyList getProficienciesOnDate(DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListeffecyive during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
from- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeOnDate
ProficiencyList getProficienciesByGenusTypeOnDate(Type proficiencyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListof the given proficiency genus type effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
proficiencyGenusType- a proficiency genus typefrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-proficiencyGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForObjective
ProficiencyList getProficienciesForObjective(Id objectiveId) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given objective. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveId- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-objectiveIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForObjectiveOnDate
ProficiencyList getProficienciesForObjectiveOnDate(Id objectiveId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given objective effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdfrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-objectiveId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForObjective
ProficiencyList getProficienciesByGenusTypeForObjective(Id objectiveId, Type proficiencyGenusType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given objective and proficiency genusType. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdproficiencyGenusType- a proficiency genus type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-objectiveIdorproficiencyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForObjectiveOnDate
ProficiencyList getProficienciesByGenusTypeForObjectiveOnDate(Id objectiveId, Type proficiencyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListof the given proficiency genus type relating to the given objective effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdproficiencyGenusType- a proficiency genus typefrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-objectiveId, proficiencyGenusType, from, ortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForObjectives
ProficiencyList getProficienciesForObjectives(IdList objectiveIds) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given objectives. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveIds- the objectiveIds- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-objectiveIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForResource
ProficiencyList getProficienciesForResource(Id resourceId) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given resource. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
resourceId- a resourceId- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-resourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForResourceOnDate
ProficiencyList getProficienciesForResourceOnDate(Id resourceId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given resource effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
resourceId- a resourceIdfrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForResource
ProficiencyList getProficienciesByGenusTypeForResource(Id resourceId, Type proficiencyGenusType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given resource and proficiency genusType. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
resourceId- a resourceIdproficiencyGenusType- a proficiency genus type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-resourceIdorproficiencyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForResourceOnDate
ProficiencyList getProficienciesByGenusTypeForResourceOnDate(Id resourceId, Type proficiencyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListof the given proficiency genus type relating to the given resource effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
resourceId- a resourceIdproficiencyGenusType- a proficiency genus typefrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-resourceId, proficiencyGenusType, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForResources
ProficiencyList getProficienciesForResources(IdList resourceIds) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given resources. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
resourceIds- the resourceIds- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-resourceIdsisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForObjectiveAndResource
ProficiencyList getProficienciesForObjectiveAndResource(Id objectiveId, Id resourceId) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given objective and resource. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdresourceId- a resourceId- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-objectiveIdorresourceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesForObjectiveAndResourceOnDate
ProficiencyList getProficienciesForObjectiveAndResourceOnDate(Id objectiveId, Id resourceId, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListrelating to the given resource and objective effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdresourceId- a resourceIdfrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-objectiveId, resourceId, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForObjectiveAndResource
ProficiencyList getProficienciesByGenusTypeForObjectiveAndResource(Id objectiveId, Id resourceId, Type proficiencyGenusType) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListof the given genus type relating to the given objective and resource. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdresourceId- a resourceIdproficiencyGenusType- a proficiency genus type- Returns:
- the returned
Proficiencylist - Throws:
NullArgumentException-objectiveId, resourceIdorproficiencyGenusTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficienciesByGenusTypeForObjectiveAndResourceOnDate
ProficiencyList getProficienciesByGenusTypeForObjectiveAndResourceOnDate(Id objectiveId, Id resourceId, Type proficiencyGenusType, DateTime from, DateTime to) throws OperationFailedException, PermissionDeniedException Gets aProficiencyListof the given genus type relating to the given resource and objective effective during the entire given date range inclusive but not confined to the date range. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Parameters:
objectiveId- an objectiveIdresourceId- a resourceIdproficiencyGenusType- a proficiency genus typefrom- starting dateto- ending date- Returns:
- the returned
Proficiencylist - Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-objectiveId, resourceId, proficiencyGenusType, fromortoisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
getProficiencies
Gets allProficiencies. In plenary mode, the returned list contains all known proficiencies or an error results. Otherwise, the returned list may contain only those proficiencies that are accessible through this session. In effective mode, proficiencies are returned that are currently effective. In any effective mode, effective proficiencies and those currently expired are returned.- Returns:
- a list of
Proficiencies - Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-