com.ibm.task.api

Class WorkBasketDefinitionFactory

  • java.lang.Object
    • com.ibm.task.api.WorkBasketDefinitionFactory


  • public class WorkBasketDefinitionFactory
    extends java.lang.Object
    Factory to create a work basket definition object.
    Since:
    6.2.0.3
    • Method Detail

      • newInstance

        public static WorkBasketDefinitionFactory newInstance()
        Returns the single instance of a WorkBasketDefinitionFactory.
        Returns:
        WorkBasketDefinitionFactory The WorkBasketDefinitionFactory object.
      • createWorkBasketDefinition

        public WorkBasketDefinition createWorkBasketDefinition(java.lang.String name)
                                                        throws ParameterNullException
        Creates a work basket definition object with the specified work basket name. A work basket definition object is used to create a persistently stored work basket. The work basket definition object itself is not stored on the database.

        Note that the type is set to TYPE_GROUP and the substitution policy to SUBSTITUTION_POLICY_NO_SUBSTITUTION.

        Parameters:
        name - The name of the work basket. Note that work basket names must conform to the XML NCName specification.
        Returns:
        The work basket definition object.
        Throws:
        ParameterNullException
      • createWorkBasketDefinition

        public WorkBasketDefinition createWorkBasketDefinition(java.lang.String name,
                                                      WorkBasketDefinition fromWorkBasketDefinition)
                                                        throws ParameterNullException
        Creates a work basket definition object based on the specified work basket definition. All properties except the work basket name are copied from the specified work basket definition into the newly created work basket definition.
        Parameters:
        name - The name of the work basket. Note that work basket names must conform to the XML NCName specification.
        fromWorkBasketDefinition - The work basket definition to be copied.
        Returns:
        The newly created work basket definition object.
        Throws:
        ParameterNullException
IBM Business Process ManagerTM
Release 8