|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextBoService
This is the interface for accessing KRMS repository Context related bos
| Method Summary | |
|---|---|
ContextDefinition |
createContext(ContextDefinition context)
This will create a ContextDefinition exactly like the parameter passed in. |
ContextDefinition |
getContextByContextId(String contextId)
Retrieves an Context from the repository based on the given context id. |
ContextDefinition |
getContextByNameAndNamespace(String name,
String namespace)
Retrieves an Context from the repository based on the provided context name and namespace. |
void |
updateContext(ContextDefinition context)
This will update an existing ContextDefinition. |
| Method Detail |
|---|
ContextDefinition createContext(ContextDefinition context)
ContextDefinition exactly like the parameter passed in.
context - The Context to create
IllegalArgumentException - if the context is null
IllegalStateException - if the context already exists in the systemvoid updateContext(ContextDefinition context)
ContextDefinition.
context - The Context to update
IllegalArgumentException - if the Context is null
IllegalStateException - if the Context does not exists in the systemContextDefinition getContextByContextId(String contextId)
contextId - the id of the Context to retrieve
ContextDefinition identified by the given contextId.
A null reference is returned if an invalid or non-existent id is supplied.
IllegalArgumentException - if the contextId is null or blank.
ContextDefinition getContextByNameAndNamespace(String name,
String namespace)
name - the name of the Context to retrieve.namespace - the namespace that the context is under.
ContextDefinition identified by the given name and namespace.
A null reference is returned if an invalid or non-existent name and
namespace combination is supplied.
IllegalArgumentException - if the either the name or the namespace
is null or blank.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||