GNDMS 0.6.0
RESTful verison of GNDMS
|
An interface for taskflow factories. More...
Public Member Functions | |
int | getVersion () |
Delivers the version of the plugin. | |
C | getQuoteCalculator () |
Delivers a calculator for quotes of the taskflow. | |
TaskFlowInfo | getInfo () |
Delivers information about the taskflow in general. | |
TaskFlow< O > | create () |
Creates a new taskflow instance. | |
TaskFlow< O > | createOrphan () |
Creates a new taskflow instance. | |
boolean | adopt (TaskFlow< O > taskflow) |
Adds an orphan task flow to the facotry. | |
TaskFlow< O > | find (String id) |
Finds an existing taskflow. | |
void | delete (String id) |
Removes a taskflow. | |
Class< O > | getOrderClass () |
Delivers the class of the order type. | |
TaskAction | createAction () |
Creates a task action. | |
Iterable< String > | depends () |
Delivers a list of keys of taskflows, this taskflow depends on. | |
void | registerType (Session session) |
Registers the TaskFlowType object of this factory. | |
DelegatingOrder< O > | getOrderDelegate (O orq) |
void | setInjector (GNDMSInjector injector) |
Addes an injector to a task factory. | |
Package Functions | |
String | getTaskFlowKey () |
Delivers the key of this task flow. |
An interface for taskflow factories.
boolean de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.adopt | ( | TaskFlow< O > | taskflow | ) |
Adds an orphan task flow to the facotry.
taskflow | The taskflow to add. Note the taskflow must have a unique id. |
true
if the taskflow was successfully added. If the task is already registered this will fail. TaskFlow<O> de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.create | ( | ) |
Creates a new taskflow instance.
The created task is registered in its factory.
TaskAction de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.createAction | ( | ) |
Creates a task action.
TaskFlow<O> de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.createOrphan | ( | ) |
Creates a new taskflow instance.
The created task flow is registered in its factory.
void de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.delete | ( | String | id | ) |
Removes a taskflow.
id | The id of the taskflow. |
Iterable<String> de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.depends | ( | ) |
Delivers a list of keys of taskflows, this taskflow depends on.
TaskFlow<O> de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.find | ( | String | id | ) |
Finds an existing taskflow.
id | The id of the taskflow. |
TaskFlowInfo de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.getInfo | ( | ) |
Delivers information about the taskflow in general.
The information should contain at least a description of the task.
Class<O> de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.getOrderClass | ( | ) |
Delivers the class of the order type.
C de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.getQuoteCalculator | ( | ) |
Delivers a calculator for quotes of the taskflow.
String de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.getTaskFlowKey | ( | ) | [package] |
Delivers the key of this task flow.
int de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.getVersion | ( | ) |
Delivers the version of the plugin.
void de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.registerType | ( | Session | session | ) |
Registers the TaskFlowType object of this factory.
The TaskFlowType object is used to provide a configuration of the TaskFlow.
session | The session object which is necessary to access the database. |
void de.zib.gndms.logic.model.gorfx.taskflow.TaskFlowFactory< O extends Order, C extends AbstractQuoteCalculator< O > >.setInjector | ( | GNDMSInjector | injector | ) |
Addes an injector to a task factory.
injector | An injector which offers access to all members of the system-dictionary. |