Interface ProfileBatchManager

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

public interface ProfileBatchManager extends OsidManager, ProfileBatchProfile

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

  • ProfileEntryBatchSession : a session to create, modify and delete profile entries in bulk
  • ProfileItemBatchAdminSession : a session to create, modify and delete profile items in bulk
  • ProfileBatchAdminSession : a session to create, modify and delete profiles in bulk
  • Method Details

    • getProfileEntryBatchAdminSession

      ProfileEntryBatchAdminSession getProfileEntryBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk profile entry administration service.
      Returns:
      a ProfileEntryBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsProfileEntryBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsProfileEntryBatchAdmin()} is {@code true} .
    • getProfileEntryBatchAdminSessionForProfile

      ProfileEntryBatchAdminSession getProfileEntryBatchAdminSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the bulk profile entry administration service for the given profile.
      Parameters:
      profileId - the Id of the Profile
      Returns:
      a ProfileEntryBatchAdminSession
      Throws:
      NotFoundException - no Profile found by the given Id
      NullArgumentException - profileId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsProfileEntryBatchAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsProfileEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
    • getProfileItemBatchAdminSession

      ProfileItemBatchAdminSession getProfileItemBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk profile item administration service.
      Returns:
      a ProfileItemBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsProfileItemBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsProfileItemBatchAdmin()} is {@code true} .
    • getProfileItemBatchAdminSessionForProfile

      ProfileItemBatchAdminSession getProfileItemBatchAdminSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the bulk profile item administration service for the given profile.
      Parameters:
      profileId - the Id of the Profile
      Returns:
      a ProfileItemBatchAdminSession
      Throws:
      NotFoundException - no Profile found by the given Id
      NullArgumentException - profileId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsProfileItemBatchAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsProfileItemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
    • getProfileBatchAdminSession

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