Class ContextBoServiceImpl

java.lang.Object
org.kuali.rice.krms.impl.repository.ContextBoServiceImpl
All Implemented Interfaces:
ContextBoService

public class ContextBoServiceImpl extends Object implements ContextBoService
This is the interface for accessing KRMS repository Context related business objects.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.rice.krms.api.repository.context.ContextDefinition
    createContext(org.kuali.rice.krms.api.repository.context.ContextDefinition context)
    This method will create a ContextDefinition as described by the parameter passed in.
    org.kuali.rice.krms.api.repository.context.ContextDefinition
    Retrieves an Context from the repository based on the given context id.
    org.kuali.rice.krms.api.repository.context.ContextDefinition
    Retrieves an Context from the repository based on the provided context name and namespace.
    void
    setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
    Sets the dataObjectService attribute value.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 a ContextDefinition as described by the parameter passed in.
      Specified by:
      createContext in interface ContextBoService
      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:
      updateContext in interface ContextBoService
      Parameters:
      context - The Context to update
    • getContextByContextId

      public org.kuali.rice.krms.api.repository.context.ContextDefinition getContextByContextId(String contextId)
      Description copied from interface: ContextBoService
      Retrieves an Context from the repository based on the given context id.
      Specified by:
      getContextByContextId in interface ContextBoService
      Parameters:
      contextId - the id of the Context to retrieve
      Returns:
      an ContextDefinition identified 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: ContextBoService
      Retrieves an Context from the repository based on the provided context name and namespace.
      Specified by:
      getContextByNameAndNamespace in interface ContextBoService
      Parameters:
      name - the name of the Context to retrieve.
      namespace - the namespace that the context is under.
      Returns:
      an 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.
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
      Sets the dataObjectService attribute value.
      Parameters:
      dataObjectService - The dataObjectService to set.