public interface HierarchyManager extends OsidManager, HierarchyProfile
The hierarchy manager provides access sessions to traverse and manage
hierrachies of Ids.
The sessions included in this manager
are:
HierarchyTraversalSession:
a basic session
traversing a hierarchy HierarchyDesignSession:
a session to design a
hierarchy HierarchySequencingSession:
a session to sequence
nodes in a hierarchy HierarchyStructureNotificationSession:
a session
for notififcations within a hierarchy structure HierarchyLookupSession:
a session looking up
hiererachies HierarchyQuerySession:
a session querying
hiererachies HierarchySearchSession:
a session for searching
for hierarchies HierarchyAdminSession:
a session for creating and
deleting hierarchies HierarchyNotificationSession:
a session for
subscribing to changes in hierarchies Modifier and Type | Method and Description |
---|---|
HierarchyAdminSession |
getHierarchyAdminSession()
Gets the hierarchy administrative session.
|
HierarchyDesignSession |
getHierarchyDesignSession()
Gets the
OsidSession associated with the hierarchy
design service. |
HierarchyDesignSession |
getHierarchyDesignSessionForHierarchy(Id hierarchyId)
Gets the
OsidSession associated with the topology
design service using for the given hierarchy. |
HierarchyLookupSession |
getHierarchyLookupSession()
Gets the
OsidSession associated with the hierarchy
lookup service. |
HierarchyNotificationSession |
getHierarchyNotificationSession(HierarchyReceiver hierarchyReceiver)
Gets a hierarchy notification session.
|
HierarchyQuerySession |
getHierarchyQuerySession()
Gets the
OsidSession associated with the hierarchy
query service. |
HierarchySearchSession |
getHierarchySearchSession()
Gets the
OsidSession associated with the hierarchy
search service. |
HierarchySequencingSession |
getHierarchySequencingSession()
Gets the
OsidSession associated with the hierarchy
sequencing service. |
HierarchySequencingSession |
getHierarchySequencingSessionForHierarchy(Id hierarchyId)
Gets the
OsidSession associated with the sequencing
design service using for the given hierarchy. |
HierarchyStructureNotificationSession |
getHierarchyStructureNotificationSession(HierarchyStructureReceiver hierarchyStructureReceiver)
Gets the session for subscribing to notifications of changes within a
hierarchy structure.
|
HierarchyStructureNotificationSession |
getHierarchyStructureNotificationSessionForHierarchy(HierarchyStructureReceiver hierarchyStructureReceiver,
Id hierarchyId)
Gets the session for subscribing to notifications of changes within a
hierarchy structure for the given hierarchy.
|
HierarchyTraversalSession |
getHierarchyTraversalSession()
Gets the
OsidSession associated with the hierarchy
traversal service. |
HierarchyTraversalSession |
getHierarchyTraversalSessionForHierarchy(Id hierarchyId)
Gets the
OsidSession associated with the hierarchy
traversal service for the given hierarchy. |
changeBranch, initialize, rollbackService
close
getHierarchyRecordTypes, getHierarchySearchRecordTypes, supportsHierarchyAdmin, supportsHierarchyDesign, supportsHierarchyLookup, supportsHierarchyNotification, supportsHierarchyQuery, supportsHierarchyRecordType, supportsHierarchySearch, supportsHierarchySearchRecordType, supportsHierarchySequencing, supportsHierarchyStructureNotification, supportsHierarchyTraversal, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
HierarchyTraversalSession getHierarchyTraversalSession() throws OperationFailedException
OsidSession
associated with the hierarchy
traversal service. HierarchyTraversalSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyTraversal()
is false
optional
- This method must be implemented if
supportsHierarchyTraversal()
is true.
HierarchyTraversalSession getHierarchyTraversalSessionForHierarchy(Id hierarchyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the hierarchy
traversal service for the given hierarchy.hierarchyId
- the Id
of the hierarchy HierarchyTraversalSession
NotFoundException
- hierarchyId
not
foundNullArgumentException
- hierarchyid
is
null
OperationFailedException
- unable to complete
request
UnimplementedException
-
supportsHierarchyTraversal()
or
supportsVisibleFedaration()
is false
optional
- This method must be implemented if
supportsHierarchyTraversal()
and
supportsVisibleFederation()
are true.
HierarchyDesignSession getHierarchyDesignSession() throws OperationFailedException
OsidSession
associated with the hierarchy
design service. HierarchyDesignSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyDesign()
is false
optional
- This method must be implemented if
supportsHierarchyDesign()
is true.
HierarchyDesignSession getHierarchyDesignSessionForHierarchy(Id hierarchyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the topology
design service using for the given hierarchy.hierarchyId
- the Id
of the graph HierarchyDesignSession
NotFoundException
- hierarchyId
is not
foundNullArgumentException
- hierarchyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyDesign()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsHierarchyDesign()
and
supportsVisibleFederation()
are true.
HierarchySequencingSession getHierarchySequencingSession() throws OperationFailedException
OsidSession
associated with the hierarchy
sequencing service. HierarchySequencingSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchySequencing()
is false
optional
- This method must be implemented if
supportsHierarchySequencing()
is true.
HierarchySequencingSession getHierarchySequencingSessionForHierarchy(Id hierarchyId) throws NotFoundException, OperationFailedException
OsidSession
associated with the sequencing
design service using for the given hierarchy.hierarchyId
- the Id
of the graph HierarchySequencingSession
NotFoundException
- hierarchyId
is not
foundNullArgumentException
- hierarchyId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchySequencing()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsHierarchySequencing()
and
supportsVisibleFederation()
are true.
HierarchyStructureNotificationSession getHierarchyStructureNotificationSession(HierarchyStructureReceiver hierarchyStructureReceiver) throws OperationFailedException
hierarchyStructureReceiver
- a receiver HierarchyStructureNotificationSession
NullArgumentException
-
hierarchyStructureReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyStructureNotification()
is
false
optional
- This method must be implemented if
supportsHierarchyStructureNotification()
is
true.
HierarchyStructureNotificationSession getHierarchyStructureNotificationSessionForHierarchy(HierarchyStructureReceiver hierarchyStructureReceiver, Id hierarchyId) throws NotFoundException, OperationFailedException
hierarchyStructureReceiver
- a receiverhierarchyId
- the Id
of the graph HierarchyStructureNotificationSession
NotFoundException
- hierarchyId
is not
foundNullArgumentException
-
hierarchyStructureReceiver
or hierarchyId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyStructureNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsHierarchyStructureNotification()
and
supportsVisibleFederation()
are
true.
HierarchyLookupSession getHierarchyLookupSession() throws OperationFailedException
OsidSession
associated with the hierarchy
lookup service. HierarchyLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyLookup()
is false
optional
- This method must be implemented if
supportsHierarchyLookup()
is true.
HierarchyQuerySession getHierarchyQuerySession() throws OperationFailedException
OsidSession
associated with the hierarchy
query service. HierarchyQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyQuery()
is false
optional
- This method must be implemented if
supportsHierarchyQuery()
is true.
HierarchySearchSession getHierarchySearchSession() throws OperationFailedException
OsidSession
associated with the hierarchy
search service. HierarchySearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchySearch()
is false
optional
- This method must be implemented if
supportsHierarchySearch()
is true.
HierarchyAdminSession getHierarchyAdminSession() throws OperationFailedException
HierarchyAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyAdmin()
is false
optional
- This method must be implemented if
supportsHierarchyAdmin()
is true.
HierarchyNotificationSession getHierarchyNotificationSession(HierarchyReceiver hierarchyReceiver) throws OperationFailedException
hierarchyReceiver
- notification callback HierarchyNotificationSession
NullArgumentException
- hierarchyReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsHierarchyNotification()
is false
optional
- This method must be implemented if
supportsHierarchyNotification()
is true.