public interface RepositoryRulesManager extends OsidManager, RepositoryRulesProfile
The repository rules manager provides access to repository rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
CompositionEnablerLookupSession:
a session to
retrieve composition enablers CompositionEnablerQuerySession:
a session to query
for composition enablers CompositionEnablerSearchSession:
a session to
search for composition enablers CompositionEnablerAdminSession:
a session to
create and delete composition enablers CompositionEnablerNotificationSession:
a session
to receive notifications pertaining to composition enabler changes
CompositionEnablerRepositorySession:
a session to
look up composition enabler repository mappings CompositionEnablerRepositoryAssignmentSession:
a
session to manage composition enabler to repository mappings CompositionEnablerSmartRepositorySession:
a
session to manage dynamic repositories of composition enablers CompositionEnablerRuleLookupSession:
a session to
look up composition enabler to composition mappings CompositionEnablerRuleApplicationSession:
a
session to apply composition enablers to compositions Modifier and Type | Method and Description |
---|---|
CompositionEnablerAdminSession |
getCompositionEnablerAdminSession()
Gets the
OsidSession associated with the composition
enabler administration service. |
CompositionEnablerAdminSession |
getCompositionEnablerAdminSessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enabler administration service for the given repository. |
CompositionEnablerLookupSession |
getCompositionEnablerLookupSession()
Gets the
OsidSession associated with the composition
enabler lookup service. |
CompositionEnablerLookupSession |
getCompositionEnablerLookupSessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enabler lookup service for the given repository. |
CompositionEnablerNotificationSession |
getCompositionEnablerNotificationSession(CompositionEnablerReceiver compositionEnablerReceiver)
Gets the
OsidSession associated with the composition
enabler notification service. |
CompositionEnablerNotificationSession |
getCompositionEnablerNotificationSessionForRepository(CompositionEnablerReceiver compositionEnablerReceiver,
Id repositoryId)
Gets the
OsidSession associated with the composition
enabler notification service for the given repository. |
CompositionEnablerQuerySession |
getCompositionEnablerQuerySession()
Gets the
OsidSession associated with the composition
enabler query service. |
CompositionEnablerQuerySession |
getCompositionEnablerQuerySessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enabler query service for the given repository. |
CompositionEnablerRepositoryAssignmentSession |
getCompositionEnablerRepositoryAssignmentSession()
Gets the
OsidSession associated with assigning
composition enablers to repositories. |
CompositionEnablerRepositorySession |
getCompositionEnablerRepositorySession()
Gets the
OsidSession to lookup composition enabler
repository mappings for composition enablers. |
CompositionEnablerRuleApplicationSession |
getCompositionEnablerRuleApplicationSession()
Gets the
OsidSession associated with the composition
enabler assignment service to apply enablers to compositions. |
CompositionEnablerRuleApplicationSession |
getCompositionEnablerRuleApplicationSessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enabler assignment service for the given composition to apply enablers
to compositions. |
CompositionEnablerRuleLookupSession |
getCompositionEnablerRuleLookupSession()
Gets the
OsidSession associated with the composition
enabler mapping lookup service for looking up the rules applied to a
composition. |
CompositionEnablerRuleLookupSession |
getCompositionEnablerRuleLookupSessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enabler mapping lookup service for the given composition for looking
up rules applied to a composition. |
CompositionEnablerSearchSession |
getCompositionEnablerSearchSession()
Gets the
OsidSession associated with the composition
enabler search service. |
CompositionEnablerSearchSession |
getCompositionEnablerSearchSessionForRepository(Id repositoryId)
Gets the
OsidSession associated with the composition
enablers earch service for the given repository. |
CompositionEnablerSmartRepositorySession |
getCompositionEnablerSmartRepositorySession(Id repositoryId)
Gets the
OsidSession to manage composition enabler
smart repositories. |
changeBranch, initialize, rollbackService
close
getCompositionEnablerRecordTypes, getCompositionEnablerSearchRecordTypes, supportsCompositionEnablerAdmin, supportsCompositionEnablerLookup, supportsCompositionEnablerNotification, supportsCompositionEnablerQuery, supportsCompositionEnablerRecordType, supportsCompositionEnablerRepository, supportsCompositionEnablerRepositoryAssignment, supportsCompositionEnablerRuleApplication, supportsCompositionEnablerRuleLookup, supportsCompositionEnablerSearch, supportsCompositionEnablerSearchRecordType, supportsCompositionEnablerSmartRepository, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
CompositionEnablerLookupSession getCompositionEnablerLookupSession() throws OperationFailedException
OsidSession
associated with the composition
enabler lookup service. CompositionEnablerLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerLookup()
is false
optional
- This method must be implemented if
supportsCompositionEnablerLookup()
is true.
CompositionEnablerLookupSession getCompositionEnablerLookupSessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler lookup service for the given repository.repositoryId
- the Id
of the Repository
CompositionEnablerLookupSession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerLookup()
and
supportsVisibleFederation()
are true.
CompositionEnablerQuerySession getCompositionEnablerQuerySession() throws OperationFailedException
OsidSession
associated with the composition
enabler query service. CompositionEnablerQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerQuery()
is false
optional
- This method must be implemented if
supportsCompositionEnablerQuery()
is true.
CompositionEnablerQuerySession getCompositionEnablerQuerySessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler query service for the given repository.repositoryId
- the Id
of the Repository
CompositionEnablerQuerySession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerQuery()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerQuery()
and
supportsVisibleFederation()
are true.
CompositionEnablerSearchSession getCompositionEnablerSearchSession() throws OperationFailedException
OsidSession
associated with the composition
enabler search service. CompositionEnablerSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerSearch()
is false
optional
- This method must be implemented if
supportsCompositionEnablerSearch()
is true.
CompositionEnablerSearchSession getCompositionEnablerSearchSessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enablers earch service for the given repository.repositoryId
- the Id
of the Repository
CompositionEnablerSearchSession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerSearch()
and
supportsVisibleFederation()
are true.
CompositionEnablerAdminSession getCompositionEnablerAdminSession() throws OperationFailedException
OsidSession
associated with the composition
enabler administration service. CompositionEnablerAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerAdmin()
is false
optional
- This method must be implemented if
supportsCompositionEnablerAdmin()
is true.
CompositionEnablerAdminSession getCompositionEnablerAdminSessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler administration service for the given repository.repositoryId
- the Id
of the Repository
CompositionEnablerAdminSession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerAdmin()
and
supportsVisibleFederation()
are true.
CompositionEnablerNotificationSession getCompositionEnablerNotificationSession(CompositionEnablerReceiver compositionEnablerReceiver) throws OperationFailedException
OsidSession
associated with the composition
enabler notification service.compositionEnablerReceiver
- the notification callback CompositionEnablerNotificationSession
NullArgumentException
-
compositionEnablerReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerNotification()
is
false
optional
- This method must be implemented if
supportsCompositionEnablerNotification()
is
true.
CompositionEnablerNotificationSession getCompositionEnablerNotificationSessionForRepository(CompositionEnablerReceiver compositionEnablerReceiver, Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler notification service for the given repository.compositionEnablerReceiver
- the notification callbackrepositoryId
- the Id
of the Repository
CompositionEnablerNotificationSession
NotFoundException
- no repository found by the given
Id
NullArgumentException
-
compositionEnablerReceiver
or repositoryId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerNotification()
and
supportsVisibleFederation()
are
true.
CompositionEnablerRepositorySession getCompositionEnablerRepositorySession() throws OperationFailedException
OsidSession
to lookup composition enabler
repository mappings for composition enablers. CompositionEnablerCompositionSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerRepository()
is false
optional
- This method must be implemented if
supportsCompositionEnablerRepository()
is
true.
CompositionEnablerRepositoryAssignmentSession getCompositionEnablerRepositoryAssignmentSession() throws OperationFailedException
OsidSession
associated with assigning
composition enablers to repositories. CompositionEnablerRepositoryAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerCompositionAssignment()
is
false
optional
- This method must be implemented if
supportsCompositionEnablerRepositoryAssignment()
is true.
CompositionEnablerSmartRepositorySession getCompositionEnablerSmartRepositorySession(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
to manage composition enabler
smart repositories.repositoryId
- the Id of the Repository
CompositionEnablerSmartRepositorySession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerSmartRepository()
is
false
optional
- This method must be implemented if
supportsCompositionEnablerSmartRepository()
is
true.
CompositionEnablerRuleLookupSession getCompositionEnablerRuleLookupSession() throws OperationFailedException
OsidSession
associated with the composition
enabler mapping lookup service for looking up the rules applied to a
composition. CompositionEnablerRuleLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerRuleLookup()
is false
optional
- This method must be implemented if
supportsCompositionEnablerRuleLookup()
is
true.
CompositionEnablerRuleLookupSession getCompositionEnablerRuleLookupSessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler mapping lookup service for the given composition for looking
up rules applied to a composition.repositoryId
- the Id
of the Repository
CompositionEnablerRuleLookupSession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerRuleLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerRuleLookup()
and
supportsVisibleFederation()
are true.
CompositionEnablerRuleApplicationSession getCompositionEnablerRuleApplicationSession() throws OperationFailedException
OsidSession
associated with the composition
enabler assignment service to apply enablers to compositions. CompositionEnablerRuleApplicationSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerRuleApplication()
is
false
optional
- This method must be implemented if
supportsCompositionEnablerRuleApplication()
is
true.
CompositionEnablerRuleApplicationSession getCompositionEnablerRuleApplicationSessionForRepository(Id repositoryId) throws NotFoundException, OperationFailedException
OsidSession
associated with the composition
enabler assignment service for the given composition to apply enablers
to compositions.repositoryId
- the Id
of the Repository
CompositionEnablerRuleApplicationSession
NotFoundException
- no Repository
found
by the given Id
NullArgumentException
- repositoryId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsCompositionEnablerRuleApplication()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsCompositionEnablerRuleApplication()
and
supportsVisibleFederation()
are
true.