Interface DictionaryBatchManager

All Superinterfaces:
AutoCloseable, Closeable, DictionaryBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable

public interface DictionaryBatchManager extends OsidManager, DictionaryBatchProfile

The dictionary batch manager provides access to dictionary batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • EntryBatchAdminSession : a session to create, modify and delete entries in bulk
  • DictionaryBatchAdminSession : a session to create, modify and delete dictionaries in bulk
  • Method Details

    • getEntryBatchAdminSession

      EntryBatchAdminSession getEntryBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk entry administration service.
      Returns:
      an EntryBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsEntryBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsEntryBatchAdmin()} is {@code true} .
    • getEntryBatchAdminSessionForDictionary

      EntryBatchAdminSession getEntryBatchAdminSessionForDictionary(Id dictionaryId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the bulk entry administration service for the given dictionary.
      Parameters:
      dictionaryId - the Id of the Dictionary
      Returns:
      an EntryBatchAdminSession
      Throws:
      NotFoundException - no Dictionary found by the given Id
      NullArgumentException - dictionaryId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsEntryBatchAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
    • getDictionaryBatchAdminSession

      DictionaryBatchAdminSession getDictionaryBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk dictionary administration service.
      Returns:
      a DictionaryBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsDictionaryBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsDictionaryBatchAdmin()} is {@code true} .