Interface ResourceManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, ResourceProfile, Sourceable
The resource manager provides access to resource lookup and creation sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ResourceLookupSession: a session to retrieve resources -
ResourceQuerySession: a session to query resources -
ResourceSearchSession: a session to search for resources -
ResourceAdminSession: a session to create and delete resources -
ResourceNotificationSession: a session to receive notifications pertaining to resource changes -
ResourceBinSession: a session to look up resource to bin mappings -
ResourceBinAssignmentSession: a session to manage resource to bin mappings -
ResourceSmartBinSession: a session to manage smart resource bins -
MembershipSession: a session to query memberships -
GroupSession: a session to retrieve group memberships -
GroupAssignmentSession: a session to manage groups -
GroupNotificationSession: a session to retrieve notifications on changes to group membership -
GroupHierarchySession: a session to view a group hierarchy -
RsourceAgentSession: a session to retrieveResourceandAgentmappings -
ResourceAgentAssignmentSession: a session to manageResourceandAgentmappings
-
ResourceRelationshipLookupSession: a session to retrieve resource relationships -
ResourceRelationshipQuerySession: a session to query for resource relationships -
ResourceRelationshipSearchSession: a session to search for resource relationships -
ResourceRelationshipAdminSession: a session to create and delete resource relationships -
ResourceRelationshipNotificationSession: a session to receive notifications pertaining to resource relationshipchanges -
ResourceRelationshipBinSession: a session to look up resource relationship to bin mappings -
ResourceRelationshipBinAssignmentSession: a session to manage resource relationship to bin mappings -
ResourceRelationshipSmartBinSession: a session to manage smart resource relationship bins
-
BinLookupSession: asession to retrieve bins -
BinQuerySession: a session to query bins -
BinSearchSession: a session to search for bins -
BinAdminSession: a session to create, update and delete bins -
BinNotificationSession: a session to receive notifications pertaining to changes in bins -
BinHierarchySession: a session to traverse bin hierarchies -
BinHierarchyDesignSession: a session to manage bin hierarchies
-
Method Summary
Modifier and TypeMethodDescriptionGets the bin administrative session for creating, updating and deleteing bins.Gets the bin hierarchy design session.Gets the bin hierarchy traversal session.Gets the bin lookup session.getBinNotificationSession(BinReceiver binReceiver) Gets the notification session for subscribing to changes to a bin.Gets the bin query session.Gets the bin search session.Gets the session for assigning resources to groups.Gets a group assignment session for the given bin.Gets a session for retrieving gropup hierarchies.getGroupHierarchySessionForBin(Id binId) Gets a group hierarchy session for the given bin.getGroupNotificationSession(GroupReceiver groupRceeiver) Gets the notification session for notifications pertaining to resource changes.getGroupNotificationSessionForBin(GroupReceiver groupRceeiver, Id binId) Gets the group notification session for the given bin.Gets the session for retrieving gropup memberships.getGroupSessionForBin(Id binId) Gets a group session for the given bin.Gets the session for querying memberships.getMembershipSessionForBin(Id binId) Gets a resource membership session for the given bin.Gets a resource administration session for creating, updating and deleting resources.getResourceAdminSessionForBin(Id binId) Gets a resource administration session for the given bin.Gets the session for assigning agents to resources.Gets a resource agent session for the given bin.Gets the session for retrieving resource agent mappings.getResourceAgentSessionForBin(Id binId) Gets a resource agent session for the given bin.Gets theResourceBatchManager.Gets the session for assigning resource to bin mappings.Gets the session for retrieving resource to bin mappings.Gets theResourceDemographicManager.Gets theOsidSessionassociated with the resource lookup service.getResourceLookupSessionForBin(Id binId) Gets theOsidSessionassociated with the resource lookup service for the given bin.getResourceNotificationSession(ResourceReceiver resourceReceiver) Gets the notification session for notifications pertaining to resource changes.getResourceNotificationSessionForBin(ResourceReceiver resourceReceiver, Id binId) Gets the resource notification session for the given bin.Gets a resource query session.getResourceQuerySessionForBin(Id binId) Gets a resource query session for the given bin.Gets theOsidSessionassociated with the resource relationship administration service.Gets theOsidSessionassociated with the resource relationship administration service for the given bin.Gets the session for assigning resource relationships to bin mappings.Gets the session for retrieving resource relationship to bin mappings.Gets theOsidSessionassociated with the resource relationship lookup service.Gets theOsidSessionassociated with the resource relationship lookup service for the given bin.getResourceRelationshipNotificationSession(ResourceRelationshipReceiver resourceRelationshipReceiver) Gets theOsidSessionassociated with the resource relationship notification service.getResourceRelationshipNotificationSessionForBin(ResourceRelationshipReceiver resourceRelationshipReceiver, Id binId) Gets theOsidSessionassociated with the resource relationship notification service for the given bin.Gets theOsidSessionassociated with the resource relationship query service.Gets theOsidSessionassociated with the resource relationship query service for the given bin.Gets theOsidSessionassociated with the resource relationship search service.Gets theOsidSessionassociated with the resource relationship search service for the given bin.Gets the session for managing dynamic resource relationship bins.Gets a resource search session.getResourceSearchSessionForBin(Id binId) Gets a resource search session for the given bin.getResourceSmartBinSession(Id binId) Gets the session for managing dynamic resource bins.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 ResourceProfile
getBinRecordTypes, getBinSearchRecordTypes, getResourceRecordTypes, getResourceRelationshipRecordTypes, getResourceRelationshipSearchRecordTypes, getResourceSearchRecordTypes, supportsBinAdmin, supportsBinHierarchy, supportsBinHierarchyDesign, supportsBinLookup, supportsBinNotification, supportsBinQuery, supportsBinRecordType, supportsBinSearch, supportsBinSearchRecordType, supportsGroup, supportsGroupAssignment, supportsGroupHierarchy, supportsGroupNotification, supportsMembership, supportsResourceAdmin, supportsResourceAgent, supportsResourceAgentAssignment, supportsResourceBatch, supportsResourceBin, supportsResourceBinAssignment, supportsResourceDemographic, supportsResourceLookup, supportsResourceNotification, supportsResourceQuery, supportsResourceRecordType, supportsResourceRelationshipAdmin, supportsResourceRelationshipBin, supportsResourceRelationshipBinAssignment, supportsResourceRelationshipLookup, supportsResourceRelationshipNotification, supportsResourceRelationshipQuery, supportsResourceRelationshipRecordType, supportsResourceRelationshipSearch, supportsResourceRelationshipSearchRecordType, supportsResourceRelationshipSmartBin, supportsResourceSearch, supportsResourceSearchRecordType, supportsResourceSmartBin, supportsVisibleFederationModifier and TypeMethodDescriptionGets all the bin record types supported.Gets all the bin search record types supported.Gets all the resource record types supported.Gets the supportedResourceRelationshiprecord types.Gets the supportedResourceRelationshipsearch record types.Gets all the resource search record types supported.booleanTests if bin administration is supported.booleanTests if a bin hierarchy traversal is supported.booleanTests if a bin hierarchy design is supported.booleanTests if bin lookup is supported.booleanTests if bin notification is supported.booleanTests if bin query is supported.booleansupportsBinRecordType(Type binRecordType) Tests if a given bin record type is supported.booleanTests if bin search is supported.booleansupportsBinSearchRecordType(Type binSearchRecordType) Tests if a given bin search record type is supported.booleanTests if group resources are supported.booleanTests if group resource assignment is supported.booleanTests if a group resource hierarchy service is supported.booleanTests if group resource notification is supported.booleanTests if membership queries are supported.booleanTests if resource administration is supported.booleanTests if retrieving mappings of resource and agents is supported.booleanTests if managing mappings of resources and agents is supported.booleanTests if a resource batch service is available.booleanTests if retrieving mappings of resource and bins is supported.booleanTests if managing mappings of resource and bins is supported.booleanTests if a resource demographic service is available.booleanTests if resource lookup is supported.booleanTests if resource notification is supported.booleanTests if resource query is supported.booleansupportsResourceRecordType(Type resourceRecordType) Tests if a given resource record type is supported.booleanTests if a resource relationships administrative service is supported.booleanTests if retrieving mappings of resource relationships and bins is supported.booleanTests if managing mappings of resource relationships and bins is supported.booleanTests if looking up resource relationships is supported.booleanTests if a resource relationships notification service is supported.booleanTests if querying resource relationships is supported.booleansupportsResourceRelationshipRecordType(Type resourceRelationshipRecordType) Tests if the givenResourceRelationshiprecord type is supported.booleanTests if searching resource relationships is supported.booleansupportsResourceRelationshipSearchRecordType(Type resourceRelationshipSearchRecordType) Tests if the givenResourceRelationshipsearch record type is supported.booleanTests if resource relationship smart bins are available.booleanTests if resource search is supported.booleansupportsResourceSearchRecordType(Type resourceSearchRecordType) Tests if a given resource search type is supported.booleanTests if resource smart bins are 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
-
getResourceLookupSession
Gets theOsidSessionassociated with the resource lookup service.- Returns:
a ResourceLookupSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceLookup()} is {@code true} .
-
getResourceLookupSessionForBin
ResourceLookupSession getResourceLookupSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource lookup service for the given bin.- Parameters:
binId- theIdof the bin- Returns:
a ResourceLookupSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsResourceLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceQuerySession
Gets a resource query session.- Returns:
a ResourceQuerySession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceQuery()} is {@code true} .
-
getResourceQuerySessionForBin
ResourceQuerySession getResourceQuerySessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource query session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
a ResourceQuerySession- Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsResourceQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceSearchSession
Gets a resource search session.- Returns:
a ResourceSearchSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceSearch()} is {@code true} .
-
getResourceSearchSessionForBin
ResourceSearchSession getResourceSearchSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource search session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
a ResourceSearchSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsResourceSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceAdminSession
Gets a resource administration session for creating, updating and deleting resources.- Returns:
a ResourceAdminSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAdmin()} is {@code true} .
-
getResourceAdminSessionForBin
ResourceAdminSession getResourceAdminSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource administration session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
a ResourceAdminSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceNotificationSession
ResourceNotificationSession getResourceNotificationSession(ResourceReceiver resourceReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to resource changes.- Parameters:
resourceReceiver- the notification callback- Returns:
a ResourceNotificationSession- Throws:
NullArgumentException-resourceReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceNotification()} is {@code true} .
-
getResourceNotificationSessionForBin
ResourceNotificationSession getResourceNotificationSessionForBin(ResourceReceiver resourceReceiver, Id binId) throws NotFoundException, OperationFailedException Gets the resource notification session for the given bin.- Parameters:
resourceReceiver- the notification callbackbinId- theIdof the bin- Returns:
a ResourceNotificationSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-resourceReceiverorbinIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsResourceNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceBinSession
Gets the session for retrieving resource to bin mappings.- Returns:
- a
ResourceBinSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceBin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceBin()} is {@code true} .
-
getResourceBinAssignmentSession
Gets the session for assigning resource to bin mappings.- Returns:
- a
ResourceBinAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceBinAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceBinAssignment()} is {@code true} .
-
getResourceSmartBinSession
ResourceSmartBinSession getResourceSmartBinSession(Id binId) throws NotFoundException, OperationFailedException Gets the session for managing dynamic resource bins.- Parameters:
binId- theIdof the bin- Returns:
- a
ResourceSmartBinSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceSmartBin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceSmartBin()} is {@code true} .
-
getMembershipSession
Gets the session for querying memberships.- Returns:
- a
MembershipSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsMembership()isfalse- Compliance:
optional- This method must be implemented if {@code supportMembership()} is {@code true} .
-
getMembershipSessionForBin
MembershipSession getMembershipSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource membership session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
a MembershipSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMembership()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMembership()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGroupSession
Gets the session for retrieving gropup memberships.- Returns:
- a
GroupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGroup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroup()} is {@code true} .
-
getGroupSessionForBin
Gets a group session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
- a
GroupSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGroup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGroupAssignmentSession
Gets the session for assigning resources to groups.- Returns:
- a
GroupAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGroupAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupAssignment()} is {@code true} .
-
getGroupAssignmentSessionForBin
GroupAssignmentSession getGroupAssignmentSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a group assignment session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
- a
GroupAssignmentSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGroupAssignment()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupAssignment()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGroupNotificationSession
GroupNotificationSession getGroupNotificationSession(GroupReceiver groupRceeiver) throws OperationFailedException Gets the notification session for notifications pertaining to resource changes.- Parameters:
groupRceeiver- the notification callback- Returns:
a GroupNotificationSession- Throws:
NullArgumentException-groupReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGroupNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupNotification()} is {@code true} .
-
getGroupNotificationSessionForBin
GroupNotificationSession getGroupNotificationSessionForBin(GroupReceiver groupRceeiver, Id binId) throws NotFoundException, OperationFailedException Gets the group notification session for the given bin.- Parameters:
groupRceeiver- the notification callbackbinId- theIdof the bin- Returns:
a GroupNotificationSession- Throws:
NotFoundException-binIdnot foundNullArgumentException-groupReceiverorbinIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGroupNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGroupHierarchySession
Gets a session for retrieving gropup hierarchies.- Returns:
a GroupHierarchySession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGroupHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupHierarchy()} is {@code true} .
-
getGroupHierarchySessionForBin
GroupHierarchySession getGroupHierarchySessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a group hierarchy session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
- a
GroupHierarchySession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGroupHierarchy()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGroupHierarchy()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceAgentSession
Gets the session for retrieving resource agent mappings.- Returns:
- a
ResourceAgentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceAgent()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAgent()} is {@code true} .
-
getResourceAgentSessionForBin
ResourceAgentSession getResourceAgentSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource agent session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
- a
ResourceAgentSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceAgent()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAgent()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceAgentAssignmentSession
Gets the session for assigning agents to resources.- Returns:
- a
ResourceAgentAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceAgentAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAgentAssignment()} is {@code true} .
-
getResourceAgentAssignmentSessionForBin
ResourceAgentAssignmentSession getResourceAgentAssignmentSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets a resource agent session for the given bin.- Parameters:
binId- theIdof the bin- Returns:
- a
ResourceAgentAssignmentSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceAgentAssignment()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceAgentAssignment()} and {@code supportsVisibleFederation()} are {@code true} .
-
getResourceRelationshipLookupSession
ResourceRelationshipLookupSession getResourceRelationshipLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the resource relationship lookup service.- Returns:
- a
ResourceRelationshipLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipLookup()} is {@code true} .
-
getResourceRelationshipLookupSessionForBin
ResourceRelationshipLookupSession getResourceRelationshipLookupSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource relationship lookup service for the given bin.- Parameters:
binId- theIdof theBin- Returns:
- a
ResourceRelationshipLookupSession - Throws:
NotFoundException- noBinfound by the givenIdNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipQuerySession
ResourceRelationshipQuerySession getResourceRelationshipQuerySession() throws OperationFailedExceptionGets theOsidSessionassociated with the resource relationship query service.- Returns:
- a
ResourceRelationshipQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipQuery()} is {@code true} .
-
getResourceRelationshipQuerySessionForBin
ResourceRelationshipQuerySession getResourceRelationshipQuerySessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource relationship query service for the given bin.- Parameters:
binId- theIdof theBin- Returns:
- a
ResourceRelationshipQuerySession - Throws:
NotFoundException- noBinfound by the givenIdNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipSearchSession
ResourceRelationshipSearchSession getResourceRelationshipSearchSession() throws OperationFailedExceptionGets theOsidSessionassociated with the resource relationship search service.- Returns:
- a
ResourceRelationshipSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipSearch()} is {@code true} .
-
getResourceRelationshipSearchSessionForBin
ResourceRelationshipSearchSession getResourceRelationshipSearchSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource relationship search service for the given bin.- Parameters:
binId- theIdof theBin- Returns:
- a
ResourceRelationshipSearchSession - Throws:
NotFoundException- no bin found by the givenIdNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipAdminSession
ResourceRelationshipAdminSession getResourceRelationshipAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the resource relationship administration service.- Returns:
- a
ResourceRelationshipAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipAdmin()} is {@code true} .
-
getResourceRelationshipAdminSessionForBin
ResourceRelationshipAdminSession getResourceRelationshipAdminSessionForBin(Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource relationship administration service for the given bin.- Parameters:
binId- theIdof theBin- Returns:
- a
ResourceRelationshipAdminSession - Throws:
NotFoundException- no bin found by the givenIdNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipNotificationSession
ResourceRelationshipNotificationSession getResourceRelationshipNotificationSession(ResourceRelationshipReceiver resourceRelationshipReceiver) throws OperationFailedException Gets theOsidSessionassociated with the resource relationship notification service.- Parameters:
resourceRelationshipReceiver- the notification callback- Returns:
- a
ResourceRelationshipNotificationSession - Throws:
NullArgumentException-resourceRelationshipReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipNotification()} is {@code true} .
-
getResourceRelationshipNotificationSessionForBin
ResourceRelationshipNotificationSession getResourceRelationshipNotificationSessionForBin(ResourceRelationshipReceiver resourceRelationshipReceiver, Id binId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource relationship notification service for the given bin.- Parameters:
resourceRelationshipReceiver- the notification callbackbinId- theIdof theBin- Returns:
- a
ResourceRelationshipNotificationSession - Throws:
NotFoundException- no bin found by the givenIdNullArgumentException-resourceRelationshipReceiverorbinIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshiptNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRelationshipBinSession
Gets the session for retrieving resource relationship to bin mappings.- Returns:
- a
ResourceRelationshipBinSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipBin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipBin()} is {@code true} .
-
getResourceRelationshipBinAssignmentSession
ResourceRelationshipBinAssignmentSession getResourceRelationshipBinAssignmentSession() throws OperationFailedExceptionGets the session for assigning resource relationships to bin mappings.- Returns:
- a
ResourceRelationshipBinAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipBinAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipBinAssignment()} is {@code true} .
-
getResourceRelationshipSmartBinSession
ResourceRelationshipSmartBinSession getResourceRelationshipSmartBinSession(Id binId) throws NotFoundException, OperationFailedException Gets the session for managing dynamic resource relationship bins.- Parameters:
binId- theIdof the bin- Returns:
- a
ResourceRelationshipSmartBinSession - Throws:
NotFoundException-binIdnot foundNullArgumentException-binIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRelationshipSmartBin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRelationshipSmartBin()} is {@code true} .
-
getBinLookupSession
Gets the bin lookup session.- Returns:
- a
BinLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinLookup()} is {@code true} .
-
getBinQuerySession
Gets the bin query session.- Returns:
- a
BinQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinQuery()} is {@code true} .
-
getBinSearchSession
Gets the bin search session.- Returns:
- a
BinSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinSearch()} is {@code true} .
-
getBinAdminSession
Gets the bin administrative session for creating, updating and deleteing bins.- Returns:
- a
BinAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinAdmin()} is {@code true} .
-
getBinNotificationSession
BinNotificationSession getBinNotificationSession(BinReceiver binReceiver) throws OperationFailedException Gets the notification session for subscribing to changes to a bin.- Parameters:
binReceiver- the notification callback- Returns:
- a
BinNotificationSession - Throws:
NullArgumentException-binReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBinNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinNotification()} is {@code true} .
-
getBinHierarchySession
Gets the bin hierarchy traversal session.- Returns:
a BinHierarchySession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinHierarchy()} is {@code true} .
-
getBinHierarchyDesignSession
Gets the bin hierarchy design session.- Returns:
- a
BinHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBinHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBinHierarchyDesign()} is {@code true} .
-
getResourceBatchManager
Gets theResourceBatchManager.- Returns:
- a
ResourceBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceBatch()} is {@code true} .
-
getResourceDemographicManager
Gets theResourceDemographicManager.- Returns:
- a
ResourceDemographicManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceDemographic()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceDemographic()} is {@code true} .
-