Interface OntologyBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, OntologyBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The ontology batch manager provides access to ontology batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
SubjectBatchAdminSession: a session to create, modify and delete subjects in bulk -
RelevancyBatchSession: a session to create, modify and delete relevancies in bulk -
OntologyBatchAdminSession: a session to create, modify and delete ontologies in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk ontology administration service.Gets theOsidSessionassociated with the bulk relevancy administration service.getRelevancyBatchAdminSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the bulk relevancy administration service for the given ontology.Gets theOsidSessionassociated with the bulk subject administration service.getSubjectBatchAdminSessionForOntology(Id ontologyId) Gets theOsidSessionassociated with the bulk subject administration service for the given ontology.Methods inherited from interface OntologyBatchProfile
supportsOntologyBatchAdmin, supportsRelevancyBatchAdmin, supportsSubjectBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of ontologies is available.booleanTests if bulk administration of relevancies is available.booleanTests if bulk administration of subjects is available.booleanTests if federation is visible.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
-
getSubjectBatchAdminSession
Gets theOsidSessionassociated with the bulk subject administration service.- Returns:
- a
SubjectBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsSubjectBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectBatchAdmin()} is {@code true} .
-
getSubjectBatchAdminSessionForOntology
SubjectBatchAdminSession getSubjectBatchAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk subject administration service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
SubjectBatchAdminSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsSubjectBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubjectBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRelevancyBatchAdminSession
Gets theOsidSessionassociated with the bulk relevancy administration service.- Returns:
- a
RelevancyBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyBatchAdmin()} is {@code true} .
-
getRelevancyBatchAdminSessionForOntology
RelevancyBatchAdminSession getRelevancyBatchAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk relevancy administration service for the given ontology.- Parameters:
ontologyId- theIdof theOntology- Returns:
- a
RelevancyBatchAdminSession - Throws:
NotFoundException- noOntologyfound by the givenIdNullArgumentException-ontologyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRelevancyBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRelevancyBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getOntologyBatchAdminSession
Gets theOsidSessionassociated with the bulk ontology administration service.- Returns:
- an
OntologyBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsOntologyBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsOntologyBatchAdmin()} is {@code true} .
-