Interface DictionaryManager
- All Superinterfaces:
AutoCloseable, Closeable, DictionaryProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The dictionary manager provides access to dictionary sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
EntryRetrievalSession: a basic session for retrieving dictoonary entries -
EntryLookupSession: a session for looking up dictionary entries -
EntryQuerySession: a session for querying dictionary entries -
EntrySearchSession: a session for searching for dictionary entries -
EntryAdminSession: a session for creating, updating, and delting dictionary entries -
EntryNotificationSession: a session for subscribing to notifications about dictionary entries -
EntryDictionarySession: a session to look up entry to dictionary mappings -
EntryDictionaryAssignmentSession: a session to manage entry to dictionary mappings -
EntrySmartDictionarySession: a session to manage smart entry dictionaries -
DictionaryLookupSessiona session for looking up dictionaries -
DictionaryQuerySessiona session for querying dictionaries -
DictionarySearchSessiona session for searchin gamong dictionaries -
DictionaryAdminSessiona session creating, updating or deleting dictionaries -
DictionaryNotificationSession: a session for subscribing to adds and changes of dictionaries -
DictionaryHierarchySession: a session for traversing the hierarchy of dictionaries -
DictionaryHierarchyDesignSession: a session for managing the dictionary hierarchy
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionused to administer dictionariesGets aDictionaryBatchManager.Gets hierarchy service for structuringDictionaryobjects.Gets hierarchy service for traversing theDictionaryhierarchy.Gets theOsidSessionused to lookup dictionaries.getDictionaryNotificationSession(DictionaryReceiver dictionaryReceiver) Gets theOsidSessionused to receive notifications of dictionary changes.Gets theOsidSessionused to query dictionaries.Gets theOsidSessionused to search dictionaries.Gets theOsidSessionused to administer dictionary entries.getEntryAdminSessionForDictionary(Id dictionaryId) Gets theOsidSessionused to administer dictionary entries for the specifiedDictionary.Gets the session for assigning entry to dictionary mappings.Gets the session for retrieving entry to dictionary mappings.Gets theOsidSessionused to retrieve dictionary entries.getEntryLookupSessionForDictionary(Id dictionaryId) Gets theOsidSessionused to lookup dictionary entries for the specifiedDictionary.getEntryNotificationSession(EntryReceiver entryReceiver) Gets anEntryNotificationSessionwhich is responsible for subscribing to entry changes within a defaultDictionary.getEntryNotificationSessionForDictionary(EntryReceiver entryReceiver, Id dictionaryId) Gets anEntryNotificationSessionwhich is responsible for subscribing to entry changes for a specifiedDictionary.Gets theOsidSessionused to query dictionary entries.getEntryQuerySessionForDictionary(Id dictionaryId) Gets theOsidSessionused to query dictionary entries for the specifiedDictionary.Gets theOsidSessionused to retrieve dictionary entries.getEntryRetrievalSessionForDictionary(Id dictionaryId) Gets theOsidSessionused to retrieve dictionary entries for the specifiedDictionary.Gets theOsidSessionused to search dictionary entries.getEntrySearchSessionForDictionary(Id dictionaryId) Gets theOsidSessionused to search dictionary entries for the specifiedDictionary.getEntrySmartDictionarySession(Id dictionaryId) Gets the session for managing dynamic entry dictionarys.Methods inherited from interface DictionaryProfile
getDictionaryRecordTypes, getDictionarySearchRecordTypes, getEntryKeyTypes, getEntryRecordTypes, getEntrySearchRecordTypes, getEntryValueTypes, getEntryValueTypesForKeyType, supportsDictionaryAdmin, supportsDictionaryBatch, supportsDictionaryHierachyDesign, supportsDictionaryHierachyTraversal, supportsDictionaryLookup, supportsDictionaryNotification, supportsDictionaryQuery, supportsDictionaryRecordType, supportsDictionarySearch, supportsDictionarySearchRecordType, supportsEntryAdmin, supportsEntryDictionary, supportsEntryDictionaryAssignment, supportsEntryKeyType, supportsEntryLookup, supportsEntryNotification, supportsEntryQuery, supportsEntryRecordType, supportsEntryRetrieval, supportsEntrySearch, supportsEntrySearchRecordType, supportsEntrySmartDictionary, supportsEntryTypes, supportsEntryValueType, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedDictionaryrecord types.Gets the supportedDictionarysearch record types.Gets the supportedEntrykey types.Gets the supportedEntryrecord types.Gets the supportedEntrysearch record types.Gets the supportedEntryvalue types.getEntryValueTypesForKeyType(Type entryKeyType) Gets the list of value types supported for the given key type.booleanTests if a dictionary administrative service is supported.booleanTests if a dictionary batch service is supported.booleanTests if a dictionary hierarchy design service is supported.booleanTests if a dictionary hierarchy traversal service is supported.booleanTests if a dictionary lookup service is supported.booleanTests if a dictionary notification service is supported.booleanTests if a dictionary query service is supported.booleansupportsDictionaryRecordType(Type dictionaryRecordType) Tests if the givenDictionaryrecord type is supported.booleanTests if a dictionary search service is supported.booleansupportsDictionarySearchRecordType(Type dictionarySearchRecordType) Tests if the givenDictionarysearch record type is supported.booleanTests if a dictionary entry administrative service is supported.booleanTests if retrieving mappings of entry and dictionarys is supported.booleanTests if managing mappings of entry and dictionarys is supported.booleansupportsEntryKeyType(Type entryKeyType) Tests if the givenEntrykey type is supported.booleanTests if looking up dictionary entries are supported.booleanTests if a dictionary entry notification service is supported.booleanTests if querying dictionary entries are supported.booleansupportsEntryRecordType(Type entryRecordType) Tests if the givenEntryrecord type is supported.booleanTests if retrieving dictionary entries are supported.booleanTests if searching dictionary entries are supported.booleansupportsEntrySearchRecordType(Type entrySearchRecordType) Tests if the givenEntrysearch record type is supported.booleanTests if entry smart dictionarys are available.booleansupportsEntryTypes(Type entryKeyType, Type entryValueType) Tests if the givenEntrykey and value types are supported.booleansupportsEntryValueType(Type entryValueType) Tests if the givenEntryvalue type is supported.booleanTests if any dictionary federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getEntryRetrievalSession
Gets theOsidSessionused to retrieve dictionary entries.- Returns:
- the new
EntryRetrievalSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryRetrieval()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryRetrieval()} is {@code true} .
-
getEntryRetrievalSessionForDictionary
EntryRetrievalSession getEntryRetrievalSessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException Gets theOsidSessionused to retrieve dictionary entries for the specifiedDictionary.- Parameters:
dictionaryId- theIdof theDictionaryto use- Returns:
- an
EntryRetrievalSession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryRetrieval()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryRetrieval()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryLookupSession
Gets theOsidSessionused to retrieve dictionary entries.- Returns:
- an
EntryLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryLookup()} is {@code true} .
-
getEntryLookupSessionForDictionary
EntryLookupSession getEntryLookupSessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException Gets theOsidSessionused to lookup dictionary entries for the specifiedDictionary.- Parameters:
dictionaryId- theIdof theDictionaryto use- Returns:
- an
EntryLookupSession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryQuerySession
Gets theOsidSessionused to query dictionary entries.- Returns:
- an
EntryQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryQuery()} is {@code true} .
-
getEntryQuerySessionForDictionary
EntryQuerySession getEntryQuerySessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException Gets theOsidSessionused to query dictionary entries for the specifiedDictionary.- Parameters:
dictionaryId- theIdof theDictionaryto use- Returns:
- an
EntryQuerySession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntrySearchSession
Gets theOsidSessionused to search dictionary entries.- Returns:
- an
EntrySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntrySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySearch()} is {@code true} .
-
getEntrySearchSessionForDictionary
EntrySearchSession getEntrySearchSessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException Gets theOsidSessionused to search dictionary entries for the specifiedDictionary.- Parameters:
dictionaryId- theIdof theDictionaryto use- Returns:
- an
EntrySearchSession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntrySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryAdminSession
Gets theOsidSessionused to administer dictionary entries.- Returns:
- an
EntryAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryAdmin()} is {@code true} .
-
getEntryAdminSessionForDictionary
EntryAdminSession getEntryAdminSessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException Gets theOsidSessionused to administer dictionary entries for the specifiedDictionary.- Parameters:
dictionaryId- theIdof theDictionaryto use- Returns:
- an
EntryAdminSession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryAdmin()ossupportsVisibleFederration()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryNotificationSession
EntryNotificationSession getEntryNotificationSession(EntryReceiver entryReceiver) throws OperationFailedException Gets anEntryNotificationSessionwhich is responsible for subscribing to entry changes within a defaultDictionary.- Parameters:
entryReceiver- the notification callback- Returns:
- an
EntryNotificationSession - Throws:
NullArgumentException-entryReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryNotification()} is {@code true} .
-
getEntryNotificationSessionForDictionary
EntryNotificationSession getEntryNotificationSessionForDictionary(EntryReceiver entryReceiver, Id dictionaryId) throws NotFoundException, OperationFailedException Gets anEntryNotificationSessionwhich is responsible for subscribing to entry changes for a specifiedDictionary.- Parameters:
entryReceiver- the notification callbackdictionaryId- theIdof theDictionaryto use- Returns:
- an
EntryNotificationSession - Throws:
NotFoundException- noDictionaryfound by the givenIdNullArgumentException-entryReceiverordictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryNotification ()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryDictionarySession
Gets the session for retrieving entry to dictionary mappings.- Returns:
- a
EntryDictionarySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryDictionary()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryDictionary()} is {@code true} .
-
getEntryDictionaryAssignmentSession
EntryDictionaryAssignmentSession getEntryDictionaryAssignmentSession() throws OperationFailedExceptionGets the session for assigning entry to dictionary mappings.- Returns:
- a
EntryDictionaryAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryDictionaryAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryDictionaryAssignment()} is {@code true} .
-
getEntrySmartDictionarySession
EntrySmartDictionarySession getEntrySmartDictionarySession(Id dictionaryId) throws NotFoundException, OperationFailedException Gets the session for managing dynamic entry dictionarys.- Parameters:
dictionaryId- theIdof the dictionary- Returns:
- a
EntrySmartDictionarySession - Throws:
NotFoundException-dictionaryIdnot foundNullArgumentException-dictionaryIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntrySmartDictionary()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySmartDictionary()} is {@code true} .
-
getDictionaryLookupSession
Gets theOsidSessionused to lookup dictionaries.- Returns:
- a
DictionaryLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDictionaryLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getDictionaryQuerySession
Gets theOsidSessionused to query dictionaries.- Returns:
- a
DictionaryQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDictionaryQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getDictionarySearchSession
Gets theOsidSessionused to search dictionaries.- Returns:
- a
DictionarySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionarySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDictionarySearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getDictionaryAdminSession
Gets theOsidSessionused to administer dictionaries- Returns:
- a
DictionaryAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDictionaryAdmin()} is {@code true} .
-
getDictionaryNotificationSession
DictionaryNotificationSession getDictionaryNotificationSession(DictionaryReceiver dictionaryReceiver) throws OperationFailedException Gets theOsidSessionused to receive notifications of dictionary changes.- Parameters:
dictionaryReceiver- the notification callback- Returns:
- a
DictionaryNotificationSession - Throws:
NullArgumentException-dictionaryReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDictionaryNotification()} is {@code true} .
-
getDictionaryHierarchySession
Gets hierarchy service for traversing theDictionaryhierarchy. A parent includes all the dictionary entries of its children.- Returns:
- a Dictionary
HierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryHierarchyTraversal()isfalse- Compliance:
optional- This method must be implemented.
-
getDictionaryHierarchyDesignSession
DictionaryHierarchyDesignSession getDictionaryHierarchyDesignSession() throws OperationFailedExceptionGets hierarchy service for structuringDictionaryobjects.- Returns:
- a
DictionaryHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented.
-
getDictionaryBatchManager
Gets aDictionaryBatchManager.- Returns:
- a
DictionaryBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDictionaryBatch()isfalse- Compliance:
optional- This method must be implemented.
-