Class ContextBoServiceImpl
java.lang.Object
org.kuali.rice.krms.impl.repository.ContextBoServiceImpl
- All Implemented Interfaces:
ContextBoService
This is the interface for accessing KRMS repository Context related
business objects.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krms.api.repository.context.ContextDefinitioncreateContext(org.kuali.rice.krms.api.repository.context.ContextDefinition context) This method will create aContextDefinitionas described by the parameter passed in.org.kuali.rice.krms.api.repository.context.ContextDefinitiongetContextByContextId(String contextId) Retrieves an Context from the repository based on the given context id.org.kuali.rice.krms.api.repository.context.ContextDefinitiongetContextByNameAndNamespace(String name, String namespace) Retrieves an Context from the repository based on the provided context name and namespace.voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) Sets the dataObjectService attribute value.org.kuali.rice.krms.api.repository.context.ContextDefinitionupdateContext(org.kuali.rice.krms.api.repository.context.ContextDefinition context) This method updates an existing Context in the repository.
-
Constructor Details
-
ContextBoServiceImpl
public ContextBoServiceImpl()
-
-
Method Details
-
createContext
public org.kuali.rice.krms.api.repository.context.ContextDefinition createContext(org.kuali.rice.krms.api.repository.context.ContextDefinition context) This method will create aContextDefinitionas described by the parameter passed in.- Specified by:
createContextin interfaceContextBoService- Parameters:
context- The Context to create- See Also:
-
updateContext
public org.kuali.rice.krms.api.repository.context.ContextDefinition updateContext(org.kuali.rice.krms.api.repository.context.ContextDefinition context) This method updates an existing Context in the repository.- Specified by:
updateContextin interfaceContextBoService- Parameters:
context- The Context to update
-
getContextByContextId
public org.kuali.rice.krms.api.repository.context.ContextDefinition getContextByContextId(String contextId) Description copied from interface:ContextBoServiceRetrieves an Context from the repository based on the given context id.- Specified by:
getContextByContextIdin interfaceContextBoService- Parameters:
contextId- the id of the Context to retrieve- Returns:
- an
ContextDefinitionidentified by the given contextId. A null reference is returned if an invalid or non-existent id is supplied.
-
getContextByNameAndNamespace
public org.kuali.rice.krms.api.repository.context.ContextDefinition getContextByNameAndNamespace(String name, String namespace) Description copied from interface:ContextBoServiceRetrieves an Context from the repository based on the provided context name and namespace.- Specified by:
getContextByNameAndNamespacein interfaceContextBoService- Parameters:
name- the name of the Context to retrieve.namespace- the namespace that the context is under.- Returns:
- an
ContextDefinitionidentified by the given name and namespace. A null reference is returned if an invalid or non-existent name and namespace combination is supplied.
-
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) Sets the dataObjectService attribute value.- Parameters:
dataObjectService- The dataObjectService to set.
-