public interface ResourceManager extends OsidManager, ResourceProfile
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 retrieve
Resource
and Agent
mappings ResourceAgentAssignmentSession:
a session to
manage Resource
and Agent
mappings 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: a
session 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 Modifier and Type | Method and Description |
---|---|
BinAdminSession |
getBinAdminSession()
Gets the bin administrative session for creating, updating and
deleteing bins.
|
BinHierarchyDesignSession |
getBinHierarchyDesignSession()
Gets the bin hierarchy design session.
|
BinHierarchySession |
getBinHierarchySession()
Gets the bin hierarchy traversal session.
|
BinLookupSession |
getBinLookupSession()
Gets the bin lookup session.
|
BinNotificationSession |
getBinNotificationSession(BinReceiver binReceiver)
Gets the notification session for subscribing to changes to a bin.
|
BinQuerySession |
getBinQuerySession()
Gets the bin query session.
|
BinSearchSession |
getBinSearchSession()
Gets the bin search session.
|
GroupAssignmentSession |
getGroupAssignmentSession()
Gets the session for assigning resources to groups.
|
GroupAssignmentSession |
getGroupAssignmentSessionForBin(Id binId)
Gets a group assignment session for the given bin.
|
GroupHierarchySession |
getGroupHierarchySession()
Gets a session for retrieving gropup hierarchies.
|
GroupHierarchySession |
getGroupHierarchySessionForBin(Id binId)
Gets a group hierarchy session for the given bin.
|
GroupNotificationSession |
getGroupNotificationSession(GroupReceiver groupRceeiver)
Gets the notification session for notifications pertaining to resource
changes.
|
GroupNotificationSession |
getGroupNotificationSessionForBin(GroupReceiver groupRceeiver,
Id binId)
Gets the group notification session for the given bin.
|
GroupSession |
getGroupSession()
Gets the session for retrieving gropup memberships.
|
GroupSession |
getGroupSessionForBin(Id binId)
Gets a group session for the given bin.
|
MembershipSession |
getMembershipSession()
Gets the session for querying memberships.
|
MembershipSession |
getMembershipSessionForBin(Id binId)
Gets a resource membership session for the given bin.
|
ResourceAdminSession |
getResourceAdminSession()
Gets a resource administration session for creating, updating and
deleting resources.
|
ResourceAdminSession |
getResourceAdminSessionForBin(Id binId)
Gets a resource administration session for the given bin.
|
ResourceAgentAssignmentSession |
getResourceAgentAssignmentSession()
Gets the session for assigning agents to resources.
|
ResourceAgentAssignmentSession |
getResourceAgentAssignmentSessionForBin(Id binId)
Gets a resource agent session for the given bin.
|
ResourceAgentSession |
getResourceAgentSession()
Gets the session for retrieving resource agent mappings.
|
ResourceAgentSession |
getResourceAgentSessionForBin(Id binId)
Gets a resource agent session for the given bin.
|
ResourceBatchManager |
getResourceBatchManager()
Gets the
ResourceBatchManager. |
ResourceBinAssignmentSession |
getResourceBinAssignmentSession()
Gets the session for assigning resource to bin mappings.
|
ResourceBinSession |
getResourceBinSession()
Gets the session for retrieving resource to bin mappings.
|
ResourceDemographicManager |
getResourceDemographicManager()
Gets the
ResourceDemographicManager. |
ResourceLookupSession |
getResourceLookupSession()
Gets the
OsidSession associated with the resource
lookup service. |
ResourceLookupSession |
getResourceLookupSessionForBin(Id binId)
Gets the
OsidSession associated with the resource
lookup service for the given bin. |
ResourceNotificationSession |
getResourceNotificationSession(ResourceReceiver resourceReceiver)
Gets the notification session for notifications pertaining to resource
changes.
|
ResourceNotificationSession |
getResourceNotificationSessionForBin(ResourceReceiver resourceReceiver,
Id binId)
Gets the resource notification session for the given bin.
|
ResourceQuerySession |
getResourceQuerySession()
Gets a resource query session.
|
ResourceQuerySession |
getResourceQuerySessionForBin(Id binId)
Gets a resource query session for the given bin.
|
ResourceRelationshipAdminSession |
getResourceRelationshipAdminSession()
Gets the
OsidSession associated with the resource
relationship administration service. |
ResourceRelationshipAdminSession |
getResourceRelationshipAdminSessionForBin(Id binId)
Gets the
OsidSession associated with the resource
relationship administration service for the given bin. |
ResourceRelationshipBinAssignmentSession |
getResourceRelationshipBinAssignmentSession()
Gets the session for assigning resource relationships to bin mappings.
|
ResourceRelationshipBinSession |
getResourceRelationshipBinSession()
Gets the session for retrieving resource relationship to bin mappings.
|
ResourceRelationshipLookupSession |
getResourceRelationshipLookupSession()
Gets the
OsidSession associated with the resource
relationship lookup service. |
ResourceRelationshipLookupSession |
getResourceRelationshipLookupSessionForBin(Id binId)
Gets the
OsidSession associated with the resource
relationship lookup service for the given bin. |
ResourceRelationshipNotificationSession |
getResourceRelationshipNotificationSession(ResourceRelationshipReceiver resourceRelationshipReceiver)
Gets the
OsidSession associated with the resource
relationship notification service. |
ResourceRelationshipNotificationSession |
getResourceRelationshipNotificationSessionForBin(ResourceRelationshipReceiver resourceRelationshipReceiver,
Id binId)
Gets the
OsidSession associated with the resource
relationship notification service for the given bin. |
ResourceRelationshipQuerySession |
getResourceRelationshipQuerySession()
Gets the
OsidSession associated with the resource
relationship query service. |
ResourceRelationshipQuerySession |
getResourceRelationshipQuerySessionForBin(Id binId)
Gets the
OsidSession associated with the resource
relationship query service for the given bin. |
ResourceRelationshipSearchSession |
getResourceRelationshipSearchSession()
Gets the
OsidSession associated with the resource
relationship search service. |
ResourceRelationshipSearchSession |
getResourceRelationshipSearchSessionForBin(Id binId)
Gets the
OsidSession associated with the resource
relationship search service for the given bin. |
ResourceRelationshipSmartBinSession |
getResourceRelationshipSmartBinSession(Id binId)
Gets the session for managing dynamic resource relationship bins.
|
ResourceSearchSession |
getResourceSearchSession()
Gets a resource search session.
|
ResourceSearchSession |
getResourceSearchSessionForBin(Id binId)
Gets a resource search session for the given bin.
|
ResourceSmartBinSession |
getResourceSmartBinSession(Id binId)
Gets the session for managing dynamic resource bins.
|
changeBranch, initialize, rollbackService
close
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, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
ResourceLookupSession getResourceLookupSession() throws OperationFailedException
OsidSession
associated with the resource
lookup service. a ResourceLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceLookup()
is false
optional
- This method must be implemented if
supportsResourceLookup()
is true.
ResourceLookupSession getResourceLookupSessionForBin(Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
lookup service for the given bin.binId
- the Id
of the bin a ResourceLookupSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete
request
UnimplementedException
-
supportsResourceLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceLookup()
and
supportsVisibleFederation()
are true.
ResourceQuerySession getResourceQuerySession() throws OperationFailedException
a ResourceQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceQuery()
is false
optional
- This method must be implemented if
supportsResourceQuery()
is true.
ResourceQuerySession getResourceQuerySessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin a ResourceQuerySession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete
request
UnimplementedException
- supportsResourceQuery()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsResourceQuery()
and
supportsVisibleFederation()
are true.
ResourceSearchSession getResourceSearchSession() throws OperationFailedException
a ResourceSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceSearch()
is false
optional
- This method must be implemented if
supportsResourceSearch()
is true.
ResourceSearchSession getResourceSearchSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin a ResourceSearchSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete
request
UnimplementedException
-
supportsResourceSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceSearch()
and
supportsVisibleFederation()
are true.
ResourceAdminSession getResourceAdminSession() throws OperationFailedException
a ResourceAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceAdmin()
is false
optional
- This method must be implemented if
supportsResourceAdmin()
is true.
ResourceAdminSession getResourceAdminSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin a ResourceAdminSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsResourceAdmin()
and
supportsVisibleFederation()
are true.
ResourceNotificationSession getResourceNotificationSession(ResourceReceiver resourceReceiver) throws OperationFailedException
resourceReceiver
- the notification callback a ResourceNotificationSession
NullArgumentException
- resourceReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceNotification()
is false
optional
- This method must be implemented if
supportsResourceNotification()
is true.
ResourceNotificationSession getResourceNotificationSessionForBin(ResourceReceiver resourceReceiver, Id binId) throws NotFoundException, OperationFailedException
resourceReceiver
- the notification callbackbinId
- the Id
of the bin a ResourceNotificationSession
NotFoundException
- binId
not foundNullArgumentException
- resourceReceiver
or binId
is null
OperationFailedException
- unable to complete
request
UnimplementedException
-
supportsResourceNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceNotfication()
and
supportsVisibleFederation()
are true.
ResourceBinSession getResourceBinSession() throws OperationFailedException
ResourceBinSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceBin()
is false
optional
- This method must be implemented if
supportsResourceBin()
is true.
ResourceBinAssignmentSession getResourceBinAssignmentSession() throws OperationFailedException
ResourceBinAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceBinAssignment()
is false
optional
- This method must be implemented if
supportsResourceBinAssignment()
is true.
ResourceSmartBinSession getResourceSmartBinSession(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin ResourceSmartBinSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceSmartBin()
is false
optional
- This method must be implemented if
supportsResourceSmartBin()
is true.
MembershipSession getMembershipSession() throws OperationFailedException
MembershipSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMembership()
is false
optional
- This method must be implemented if
supportMembership()
is true.
MembershipSession getMembershipSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin a MembershipSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsMembership()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsMembership()
and
supportsVisibleFederation()
are true.
GroupSession getGroupSession() throws OperationFailedException
GroupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsGroup()
is false
optional
- This method must be implemented if
supportsGroup()
is true.
GroupSession getGroupSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin GroupSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsGroup()
or supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsGroup()
and
supportsVisibleFederation()
are true.
GroupAssignmentSession getGroupAssignmentSession() throws OperationFailedException
GroupAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsGroupAssignment()
is false
optional
- This method must be implemented if
supportsGroupAssignment()
is true.
GroupAssignmentSession getGroupAssignmentSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin GroupAssignmentSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsGroupAssignment()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsGroupAssignment()
and
supportsVisibleFederation()
are true.
GroupNotificationSession getGroupNotificationSession(GroupReceiver groupRceeiver) throws OperationFailedException
groupRceeiver
- the notification callback a GroupNotificationSession
NullArgumentException
- groupReceiver
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsGroupNotification()
is false
optional
- This method must be implemented if
supportsGroupNotification()
is true.
GroupNotificationSession getGroupNotificationSessionForBin(GroupReceiver groupRceeiver, Id binId) throws NotFoundException, OperationFailedException
groupRceeiver
- the notification callbackbinId
- the Id
of the bin a GroupNotificationSession
NotFoundException
- binId
not foundNullArgumentException
- groupReceiver
or
binId
is null
OperationFailedException
- unable to complete
request
UnimplementedException
-
supportsGroupNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsGroupNotfication()
and
supportsVisibleFederation()
are true.
GroupHierarchySession getGroupHierarchySession() throws OperationFailedException
a GroupHierarchySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsGroupHierarchy()
is false
optional
- This method must be implemented if
supportsGroupHierarchy()
is true.
GroupHierarchySession getGroupHierarchySessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin GroupHierarchySession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsGroupHierarchy()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsGroupHierarchy()
and
supportsVisibleFederation()
are true.
ResourceAgentSession getResourceAgentSession() throws OperationFailedException
ResourceAgentSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceAgent()
is false
optional
- This method must be implemented if
supportsResourceAgent()
is true.
ResourceAgentSession getResourceAgentSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin ResourceAgentSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceAgent()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsResourceAgent()
and
supportsVisibleFederation()
are true.
ResourceAgentAssignmentSession getResourceAgentAssignmentSession() throws OperationFailedException
ResourceAgentAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceAgentAssignment()
is false
optional
- This method must be implemented if
supportsResourceAgentAssignment()
is true.
ResourceAgentAssignmentSession getResourceAgentAssignmentSessionForBin(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin ResourceAgentAssignmentSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceAgentAssignment()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceAgentAssignment()
and
supportsVisibleFederation()
are true.
ResourceRelationshipLookupSession getResourceRelationshipLookupSession() throws OperationFailedException
OsidSession
associated with the resource
relationship lookup service. ResourceRelationshipLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipLookup()
is false
optional
- This method must be implemented if
supportsResourceRelationshipLookup()
is
true.
ResourceRelationshipLookupSession getResourceRelationshipLookupSessionForBin(Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
relationship lookup service for the given bin.binId
- the Id
of the Bin
ResourceRelationshipLookupSession
NotFoundException
- no Bin
found by the
given Id
NullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceRelationshipLookup()
and
supportsVisibleFederation()
are true
ResourceRelationshipQuerySession getResourceRelationshipQuerySession() throws OperationFailedException
OsidSession
associated with the resource
relationship query service. ResourceRelationshipQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipQuery()
is false
optional
- This method must be implemented if
supportsResourceRelationshipQuery()
is
true.
ResourceRelationshipQuerySession getResourceRelationshipQuerySessionForBin(Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
relationship query service for the given bin.binId
- the Id
of the Bin
ResourceRelationshipQuerySession
NotFoundException
- no Bin
found by the
given Id
NullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipQuery()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceRelationshipQuery()
and
supportsVisibleFederation()
are true
ResourceRelationshipSearchSession getResourceRelationshipSearchSession() throws OperationFailedException
OsidSession
associated with the resource
relationship search service. ResourceRelationshipSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipSearch()
is false
optional
- This method must be implemented if
supportsResourceRelationshipSearch()
is
true.
ResourceRelationshipSearchSession getResourceRelationshipSearchSessionForBin(Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
relationship search service for the given bin.binId
- the Id
of the Bin
ResourceRelationshipSearchSession
NotFoundException
- no bin found by the given Id
NullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceRelationshipSearch()
and
supportsVisibleFederation()
are true
ResourceRelationshipAdminSession getResourceRelationshipAdminSession() throws OperationFailedException
OsidSession
associated with the resource
relationship administration service. ResourceRelationshipAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipAdmin()
is false
optional
- This method must be implemented if
supportsResourceRelationshipAdmin()
is
true.
ResourceRelationshipAdminSession getResourceRelationshipAdminSessionForBin(Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
relationship administration service for the given bin.binId
- the Id
of the Bin
ResourceRelationshipAdminSession
NotFoundException
- no bin found by the given Id
NullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceRelationshipAdmin()
and
supportsVisibleFederation()
are true
ResourceRelationshipNotificationSession getResourceRelationshipNotificationSession(ResourceRelationshipReceiver resourceRelationshipReceiver) throws OperationFailedException
OsidSession
associated with the resource
relationship notification service.resourceRelationshipReceiver
- the notification callback ResourceRelationshipNotificationSession
NullArgumentException
-
resourceRelationshipReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipNotification()
is
false
optional
- This method must be implemented if
supportsResourceRelationshipNotification()
is
true.
ResourceRelationshipNotificationSession getResourceRelationshipNotificationSessionForBin(ResourceRelationshipReceiver resourceRelationshipReceiver, Id binId) throws NotFoundException, OperationFailedException
OsidSession
associated with the resource
relationship notification service for the given bin.resourceRelationshipReceiver
- the notification callbackbinId
- the Id
of the Bin
ResourceRelationshipNotificationSession
NotFoundException
- no bin found by the given Id
NullArgumentException
-
resourceRelationshipReceiver
or binId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshiptNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsResourceRelationshipNotification()
and
supportsVisibleFederation()
are true
ResourceRelationshipBinSession getResourceRelationshipBinSession() throws OperationFailedException
ResourceRelationshipBinSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipBin()
is false
optional
- This method must be implemented if
supportsResourceRelationshipBin()
is true.
ResourceRelationshipBinAssignmentSession getResourceRelationshipBinAssignmentSession() throws OperationFailedException
ResourceRelationshipBinAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipBinAssignment()
is
false
optional
- This method must be implemented if
supportsResourceRelationshipBinAssignment()
is
true.
ResourceRelationshipSmartBinSession getResourceRelationshipSmartBinSession(Id binId) throws NotFoundException, OperationFailedException
binId
- the Id
of the bin ResourceRelationshipSmartBinSession
NotFoundException
- binId
not foundNullArgumentException
- binId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceRelationshipSmartBin()
is false
optional
- This method must be implemented if
supportsResourceRelationshipSmartBin()
is
true.
BinLookupSession getBinLookupSession() throws OperationFailedException
BinLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBinLookup()
is false
optional
- This method must be implemented if
supportsBinLookup()
is true.
BinQuerySession getBinQuerySession() throws OperationFailedException
BinQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBinQuery()
is false
optional
- This method must be implemented if
supportsBinQuery()
is true.
BinSearchSession getBinSearchSession() throws OperationFailedException
BinSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBinSearch()
is false
optional
- This method must be implemented if
supportsBinSearch()
is true.
BinAdminSession getBinAdminSession() throws OperationFailedException
BinAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBinAdmin()
is false
optional
- This method must be implemented if
supportsBinAdmin()
is true.
BinNotificationSession getBinNotificationSession(BinReceiver binReceiver) throws OperationFailedException
binReceiver
- the notification callback BinNotificationSession
NullArgumentException
- binReceiver
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsBinNotification()
is false
optional
- This method must be implemented if
supportsBinNotification()
is true.
BinHierarchySession getBinHierarchySession() throws OperationFailedException
a BinHierarchySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsBinHierarchy()
is false
optional
- This method must be implemented if
supportsBinHierarchy()
is true.
BinHierarchyDesignSession getBinHierarchyDesignSession() throws OperationFailedException
BinHierarchyDesignSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsBinHierarchyDesign()
is false
optional
- This method must be implemented if
supportsBinHierarchyDesign()
is true.
ResourceBatchManager getResourceBatchManager() throws OperationFailedException
ResourceBatchManager.
ResourceBatchManager
OperationFailedException
- unable to complete requestUnimplementedException
- supportsResourceBatch()
is false
optional
- This method must be implemented if
supportsResourceBatch()
is true.
ResourceDemographicManager getResourceDemographicManager() throws OperationFailedException
ResourceDemographicManager.
ResourceDemographicManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsResourceDemographic()
is false
optional
- This method must be implemented if
supportsResourceDemographic()
is true.