com.ibm.task.api

Class WorkBasketDefinitionFactory

  1. java.lang.Object
  2. extended bycom.ibm.task.api.WorkBasketDefinitionFactory

  1. public class WorkBasketDefinitionFactory
  2. extends java.lang.Object
Factory to create a work basket definition object.
Since:
6.2.0.3

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. WorkBasketDefinition
createWorkBasketDefinition(java.lang.String name)
Creates a work basket definition object with the specified work basket name.
  1. WorkBasketDefinition
createWorkBasketDefinition(java.lang.String name,WorkBasketDefinition fromWorkBasketDefinition)
Creates a work basket definition object based on the specified work basket definition.
  1. static
  2. WorkBasketDefinitionFactory
newInstance()
Returns the single instance of a WorkBasketDefinitionFactory.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
See Also:

Method Detail

newInstance

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

createWorkBasketDefinition

  1. public WorkBasketDefinition createWorkBasketDefinition( java.lang.String name)
  2. 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:

createWorkBasketDefinition

  1. public WorkBasketDefinition createWorkBasketDefinition( java.lang.String name,
  2. WorkBasketDefinition fromWorkBasketDefinition)
  3. 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: