|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICapabilityManager
Interface for managing and evaluating capability definitions
Note: new methods may be added to this interface periodically -- therefore, this not a good CM extension point.
The recommended extension point is at the Service Provider Interface, in package com.bea.content.spi.
| Method Summary | |
|---|---|
CapabilityLevel |
checkRepositoryCapability(ContentContext context,
ICapabilityDefinition capabilityDef,
String repoName)
Determine support for the specified capability definition in the specified repository |
Set<ICapabilityDefinition> |
getCapabilityDefsOfType(ContentContext context,
CapabilityType type,
String repoName)
Retrieve all capability definitions of the specified type, for the specified repository |
Set<ICapabilityDefinition> |
getRepositoryDefinedCapabilities(ContentContext context,
String repoName)
Create a capability definition referring to the specified named capability definition. |
| Method Detail |
|---|
Set<ICapabilityDefinition> getRepositoryDefinedCapabilities(ContentContext context,
String repoName)
throws AuthenticationException,
RepositoryException
context - the content contextrepoName - the repository name
AuthenticationException - - if the user attempting the operation isn't authenticated against the repository.
RepositoryException - - for any other exception
Set<ICapabilityDefinition> getCapabilityDefsOfType(ContentContext context,
CapabilityType type,
String repoName)
throws AuthenticationException,
RepositoryException
context - the content contexttype - the capability type to retrieverepoName - the repository name
AuthenticationException - - if the user attempting the operation isn't authenticated against the repository.
RepositoryException - - for any other exception
CapabilityLevel checkRepositoryCapability(ContentContext context,
ICapabilityDefinition capabilityDef,
String repoName)
throws AuthenticationException,
RepositoryException
context - the ContentContext objectcapabilityDef - the capability definition to evaluaterepoName - the repository name
AuthenticationException - - if the user attempting the operation isn't authenticated against the repository.
RepositoryException - - for any other exception
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||