Interface ResourceBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, ResourceBatchProfile, Sourceable
The resource batch proxy manager provides access to resource batch
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
object. The sessions included in this manager are:
-
ResourceBatchAdminSession: a session to manage resources in bulk -
ResourceRelationshipBatchAdminSession: a session to manage resource relationships in bulk -
BinBatchAdminSession: a session to create, modify and deleteBinsin bulk
-
Method Summary
Modifier and TypeMethodDescriptiongetBinBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk bin administration service.Gets theOsidSessionassociated with the bulk resource administration service.getResourceBatchAdminSessionForBin(Id binId, Proxy proxy) Gets theOsidSessionassociated with the bulk resource administration service for the given bin.Gets theOsidSessionassociated with the bulk resource administration service.getResourceRelationshipBatchAdminSessionForBin(Id binId, Proxy proxy) Gets theOsidSessionassociated with the bulk resource relationship administration service for the given bin.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface ResourceBatchProfile
supportsBinBatchAdmin, supportsResourceBatchAdmin, supportsResourceRelationshipBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of bins is available.booleanTests if bulk administration of resources is available.booleanTests if bulk administration of resource relationships 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
-
getResourceBatchAdminSession
Gets theOsidSessionassociated with the bulk resource administration service.- Parameters:
proxy- a proxy- Returns:
- a
ResourceBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceBatchAdmin()} is {@code true} .
-
getResourceBatchAdminSessionForBin
ResourceBatchAdminSession getResourceBatchAdminSessionForBin(Id binId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk resource administration service for the given bin.- Parameters:
binId- theIdof theBinproxy- a proxy- Returns:
- a
ResourceBatchAdminSession - Throws:
NotFoundException- noBinfound by the givenIdNullArgumentException-binId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipBatchAdminSession
ResourceRelationshipBatchAdminSession getResourceRelationshipBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk resource administration service.- Parameters:
proxy- a proxy- Returns:
- a
ResourceRelationshipBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipBatchAdmin()} is {@code true} .
-
getResourceRelationshipBatchAdminSessionForBin
ResourceRelationshipBatchAdminSession getResourceRelationshipBatchAdminSessionForBin(Id binId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk resource relationship administration service for the given bin.- Parameters:
binId- theIdof theBinproxy- a proxy- Returns:
- a
ResourceRelationshipBatchAdminSession - Throws:
NotFoundException- noBinfound by the givenIdNullArgumentException-binId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getBinBatchAdminSession
Gets theOsidSessionassociated with the bulk bin administration service.- Parameters:
proxy- a proxy- Returns:
- a
BinBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBinBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinBatchAdmin()} is {@code true} .
-