Interface TypeProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable, TypeProfile
This manager provides access to the available sessions of the type
service. Methods in this manager support the passing of a Proxy
object for the purpose of passing information from a server environment.
The TypeLookupSession is used for looking up Types and the
TypeAdminSession is used for managing and registering new Types.
-
Method Summary
Modifier and TypeMethodDescriptiongetTypeAdminSession(Proxy proxy) Gets theOsidSessionassociated with theTypeAdminservice.getTypeLookupSession(Proxy proxy) Gets theOsidSessionassociated with the type lookup service.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 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.Methods inherited from interface TypeProfile
supportsTypeAdmin, supportsTypeLookupModifier and TypeMethodDescriptionbooleanTests if aTypeadministrative service is supported.booleanTests ifTypelookup is supported.
-
Method Details
-
getTypeLookupSession
Gets theOsidSessionassociated with the type lookup service.- Parameters:
proxy- a proxy- Returns:
- a
TypeLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsTypeLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTypeLookup()} is {@code true} .
-
getTypeAdminSession
Gets theOsidSessionassociated with theTypeAdminservice.- Parameters:
proxy- a proxy- Returns:
- the new
TypeAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsTypeAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTypeAdmin()} is {@code true} .
-