Interface RepositoryRulesProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, RepositoryRulesProfile, Sourceable
The repository rules proxy manager provides access to repository rules
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager pass a Proxy for passing
information from server environments. 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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the composition enabler administration service.getCompositionEnablerAdminSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler administration service for the given repository.Gets theOsidSessionassociated with the composition enabler lookup service.getCompositionEnablerLookupSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler lookup service for the given repository.getCompositionEnablerNotificationSession(CompositionEnablerReceiver compositionEnablerReceiver, Proxy proxy) Gets theOsidSessionassociated with the composition enabler notification service.getCompositionEnablerNotificationSessionForRepository(CompositionEnablerReceiver compositionEnablerReceiver, Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler notification service for the given repository.Gets theOsidSessionassociated with the composition enabler query service.getCompositionEnablerQuerySessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler query service for the given repository.Gets theOsidSessionassociated with assigning composition enablers to repositories.Gets theOsidSessionto lookup composition enabler/composition mappings for composition enablers.Gets theOsidSessionassociated with the composition enabler assignment service to apply enablers to compositions.getCompositionEnablerRuleApplicationSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler assignment service for the given composition to apply enablers to compositions.Gets theOsidSessionassociated with the composition enabler mapping lookup service for looking up the rules applied to the composition.getCompositionEnablerRuleLookupSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enabler mapping lookup service for the given composition for looking up rules applied to a composition.Gets theOsidSessionassociated with the composition enabler search service.getCompositionEnablerSearchSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the composition enablers earch service for the given repository.getCompositionEnablerSmartRepositorySession(Id repositoryId, Proxy proxy) Gets theOsidSessionto manage composition enabler smart repositories.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface RepositoryRulesProfile
getCompositionEnablerRecordTypes, getCompositionEnablerSearchRecordTypes, supportsCompositionEnablerAdmin, supportsCompositionEnablerLookup, supportsCompositionEnablerNotification, supportsCompositionEnablerQuery, supportsCompositionEnablerRecordType, supportsCompositionEnablerRepository, supportsCompositionEnablerRepositoryAssignment, supportsCompositionEnablerRuleApplication, supportsCompositionEnablerRuleLookup, supportsCompositionEnablerSearch, supportsCompositionEnablerSearchRecordType, supportsCompositionEnablerSmartRepository, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedCompositionEnablerrecord types.Gets the supportedCompositionEnablersearch record types.booleanTests if a composition enabler administrative service is supported.booleanTests if looking up composition enablers is supported.booleanTests if a composition enabler notification service is supported.booleanTests if querying composition enablers is supported.booleansupportsCompositionEnablerRecordType(Type compositionEnablerRecordType) Tests if the givenCompositionEnablerrecord type is supported.booleanTests if a composition enabler repository lookup service is supported.booleanTests if a composition enabler repository service is supported.booleanTests if a composition enabler rule application service is supported.booleanTests if a composition enabler rule lookup service is supported.booleanTests if searching composition enablers is supported.booleansupportsCompositionEnablerSearchRecordType(Type compositionEnablerSearchRecordType) Tests if the givenCompositionEnablersearch record type is supported.booleanTests if a composition enabler repository lookup service is supported.booleanTests if any broker federation is exposed.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
-
getCompositionEnablerLookupSession
CompositionEnablerLookupSession getCompositionEnablerLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler lookup service.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerLookup()} is {@code true} .
-
getCompositionEnablerLookupSessionForRepository
CompositionEnablerLookupSession getCompositionEnablerLookupSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler lookup service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerLookupSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerQuerySession
CompositionEnablerQuerySession getCompositionEnablerQuerySession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler query service.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerQuery()} is {@code true} .
-
getCompositionEnablerQuerySessionForRepository
CompositionEnablerQuerySession getCompositionEnablerQuerySessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler query service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerQuerySession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerSearchSession
CompositionEnablerSearchSession getCompositionEnablerSearchSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler search service.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerSearch()} is {@code true} .
-
getCompositionEnablerSearchSessionForRepository
CompositionEnablerSearchSession getCompositionEnablerSearchSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enablers earch service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerSearchSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerAdminSession
CompositionEnablerAdminSession getCompositionEnablerAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler administration service.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerAdmin()} is {@code true} .
-
getCompositionEnablerAdminSessionForRepository
CompositionEnablerAdminSession getCompositionEnablerAdminSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler administration service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerAdminSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerNotificationSession
CompositionEnablerNotificationSession getCompositionEnablerNotificationSession(CompositionEnablerReceiver compositionEnablerReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler notification service.- Parameters:
compositionEnablerReceiver- the notification callbackproxy- a proxy- Returns:
- a
CompositionEnablerNotificationSession - Throws:
NullArgumentException-compositionEnablerReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerNotification()} is {@code true} .
-
getCompositionEnablerNotificationSessionForRepository
CompositionEnablerNotificationSession getCompositionEnablerNotificationSessionForRepository(CompositionEnablerReceiver compositionEnablerReceiver, Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler notification service for the given repository.- Parameters:
compositionEnablerReceiver- the notification callbackrepositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerNotificationSession - Throws:
NotFoundException- no repository found by the givenIdNullArgumentException-compositionEnablerReceiver, repositoryId, orproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerRepositorySession
CompositionEnablerRepositorySession getCompositionEnablerRepositorySession(Proxy proxy) throws OperationFailedException Gets theOsidSessionto lookup composition enabler/composition mappings for composition enablers.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerRepositorySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerRepository()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRepository()} is {@code true} .
-
getCompositionEnablerRepositoryAssignmentSession
CompositionEnablerRepositoryAssignmentSession getCompositionEnablerRepositoryAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning composition enablers to repositories.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerRepositoryAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerCompositionAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRepositoryAssignment()} is {@code true} .
-
getCompositionEnablerSmartRepositorySession
CompositionEnablerSmartRepositorySession getCompositionEnablerSmartRepositorySession(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage composition enabler smart repositories.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerSmartRepositorySession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerSmartRepository()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerSmartRepository()} is {@code true} .
-
getCompositionEnablerRuleLookupSession
CompositionEnablerRuleLookupSession getCompositionEnablerRuleLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler mapping lookup service for looking up the rules applied to the composition.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerRuleLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRuleLookup()} is {@code true} .
-
getCompositionEnablerRuleLookupSessionForRepository
CompositionEnablerRuleLookupSession getCompositionEnablerRuleLookupSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler mapping lookup service for the given composition for looking up rules applied to a composition.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerRuleLookupSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCompositionEnablerRuleApplicationSession
CompositionEnablerRuleApplicationSession getCompositionEnablerRuleApplicationSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the composition enabler assignment service to apply enablers to compositions.- Parameters:
proxy- a proxy- Returns:
- a
CompositionEnablerRuleApplicationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRuleApplication()} is {@code true} .
-
getCompositionEnablerRuleApplicationSessionForRepository
CompositionEnablerRuleApplicationSession getCompositionEnablerRuleApplicationSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the composition enabler assignment service for the given composition to apply enablers to compositions.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionEnablerRuleApplicationSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-