|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wli.worklist.api.taskplan.TaskPlanFactory
public class TaskPlanFactory
Factory for obtaining instances of WorklistContext
Constructor Summary | |
---|---|
TaskPlanFactory()
|
Method Summary | |
---|---|
static AssigneeDefinition |
createAssignee(String name,
AssigneeDefinition.Type type)
Create an instance of AssigneeDefinition for use in assign task |
static AssignmentInstructions |
createAssignmentInstructions()
|
static BusinessDateTime |
createBusinessDateTime()
|
static Interval |
createInterval(String intervalSpec)
Create a new Interval instance for setting task or step time estimates. |
static TaskPlan |
createNewTaskPlan(TaskPlanPath path)
|
static PropertyRef |
createPropertyRef(String propertyName,
String description,
String defaultValue)
Create a new PropertyRef instance for setting action or constructor property references. |
static PropertyRef |
createPropertyRef(SystemProperty system,
String description,
String defaultValue)
Create a new PropertyRef instance for setting action or constructor property references. |
static TaskOwnerDefinition |
createTaskOwnerDefinition()
|
static TaskPlan |
readTaskPlanFromFile(File hostAppRoot,
File taskPlanFile)
|
static TaskPlan |
readTaskPlanFromStream(TaskPlanPath path,
InputStream stream)
|
static void |
writeTaskPlanToFile(TaskPlan taskPlan,
File taskPlanFile)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskPlanFactory()
Method Detail |
---|
public static TaskPlan createNewTaskPlan(TaskPlanPath path) throws ManagementException
ManagementException
public static TaskPlan readTaskPlanFromFile(File hostAppRoot, File taskPlanFile) throws IOException, ParseException
IOException
ParseException
public static TaskPlan readTaskPlanFromStream(TaskPlanPath path, InputStream stream) throws IOException, ParseException
IOException
ParseException
public static void writeTaskPlanToFile(TaskPlan taskPlan, File taskPlanFile) throws IOException
IOException
public static AssigneeDefinition createAssignee(String name, AssigneeDefinition.Type type) throws ManagementException
ManagementException
public static PropertyRef createPropertyRef(String propertyName, String description, String defaultValue) throws ManagementException
propertyName
- The name of the property being referred to.description
- An optional description of the use of this property
in the context of the action or constructor. May be
null.defaultValue
- An optional default value to use for this property
in the context of the action or constructor. This
default value will be taken as the actual value of
the property after the action or constructor
completes (unless the user provides an actual value
that differs from the default). May be null. If null,
the properties default value (if unset) or actual
value (if set) will be shown to the user, and then
taken as the actual property value after the action
or constructor completes.
ManagementException
public static PropertyRef createPropertyRef(SystemProperty system, String description, String defaultValue) throws ManagementException
system
- The system property being referred to.description
- An optional description of the use of this property
in the context of the action or constructor. May be
null.defaultValue
- An optional default value to use for this property
in the context of the action or constructor. This
default value will be taken as the actual value of
the property after the action or constructor
completes (unless the user provides an actual value
that differs from the default). May be null. If null,
the properties default value (if unset) or actual
value (if set) will be shown to the user, and then
taken as the actual property value after the action
or constructor completes.
ManagementException
public static AssignmentInstructions createAssignmentInstructions() throws ManagementException
ManagementException
public static BusinessDateTime createBusinessDateTime() throws ManagementException
ManagementException
public static TaskOwnerDefinition createTaskOwnerDefinition() throws ManagementException
ManagementException
public static Interval createInterval(String intervalSpec) throws ManagementException
intervalSpec
- is a string describing the interval in the format
described in the Interval interface.
ManagementException
Interval
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |