public final class ContextBoServiceImpl extends Object implements ContextBoService
Constructor and Description |
---|
ContextBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ContextDefinition |
createContext(ContextDefinition context)
This method will create a
ContextDefinition as described
by 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 |
setDataObjectService(DataObjectService dataObjectService)
Sets the dataObjectService attribute value.
|
void |
updateContext(ContextDefinition context)
This method updates an existing Context in the repository.
|
public ContextBoServiceImpl()
public ContextDefinition createContext(ContextDefinition context)
ContextDefinition
as described
by the parameter passed in.createContext
in interface ContextBoService
context
- The Context to createContextBoService.createContext(org.kuali.rice.krms.api.repository.context.ContextDefinition)
public void updateContext(ContextDefinition context)
updateContext
in interface ContextBoService
context
- The Context to updatepublic ContextDefinition getContextByContextId(String contextId)
ContextBoService
getContextByContextId
in interface ContextBoService
contextId
- the id of the Context to retrieveContextDefinition
identified by the given contextId.
A null reference is returned if an invalid or non-existent id is supplied.public ContextDefinition getContextByNameAndNamespace(String name, String namespace)
ContextBoService
getContextByNameAndNamespace
in interface ContextBoService
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.public void setDataObjectService(DataObjectService dataObjectService)
dataObjectService
- The dataObjectService to set.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.