Interface ProfileBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, ProfileBatchProfile, Sourceable
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 Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk profile administration service.Gets theOsidSessionassociated with the bulk profile entry administration service.getProfileEntryBatchAdminSessionForProfile(Id profileId) Gets theOsidSessionassociated with the bulk profile entry administration service for the given profile.Gets theOsidSessionassociated with the bulk profile item administration service.getProfileItemBatchAdminSessionForProfile(Id profileId) Gets theOsidSessionassociated with the bulk profile item administration service for the given profile.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 ProfileBatchProfile
supportsProfileBatchAdmin, supportsProfileEntryBatchAdmin, supportsProfileItemBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of profiles is available.booleanTests if bulk administration of profile entries is available.booleanTests if bulk administration of profile items is available.booleanTests if federation is visible.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
-
getProfileEntryBatchAdminSession
Gets theOsidSessionassociated with the bulk profile entry administration service.- Returns:
- a
ProfileEntryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryBatchAdmin()} is {@code true} .
-
getProfileEntryBatchAdminSessionForProfile
ProfileEntryBatchAdminSession getProfileEntryBatchAdminSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk profile entry administration service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileEntryBatchAdminSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileEntryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProfileItemBatchAdminSession
Gets theOsidSessionassociated with the bulk profile item administration service.- Returns:
- a
ProfileItemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileItemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileItemBatchAdmin()} is {@code true} .
-
getProfileItemBatchAdminSessionForProfile
ProfileItemBatchAdminSession getProfileItemBatchAdminSessionForProfile(Id profileId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk profile item administration service for the given profile.- Parameters:
profileId- theIdof theProfile- Returns:
- a
ProfileItemBatchAdminSession - Throws:
NotFoundException- noProfilefound by the givenIdNullArgumentException-profileIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProfileItemBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileItemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProfileBatchAdminSession
Gets theOsidSessionassociated with the bulk profile administration service.- Returns:
- a
ProfileBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProfileBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProfileBatchAdmin()} is {@code true} .
-