KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > module > workflow > WorkflowConstants


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 2006 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.module.workflow;
14
15 /**
16  * Date: Mar 28, 2006 Time: 5:34:32 PM
17  * @author <a HREF="mailto:niko@macnica.com">Nicolas Modrzyk</a>
18  */

19 public final class WorkflowConstants {
20
21     final static public String JavaDoc PARTICIPANT_PREFIX_USER = "user-";
22
23     final static public String JavaDoc PARTICIPANT_PREFIX_GROUP = "group-";
24
25     final static public String JavaDoc PARTICIPANT_PREFIX_ROLE = "role-";
26
27     final static public String JavaDoc PARTICIPANT_PREFIX_COMMAND = "command-";
28
29     public static final String JavaDoc ATTRIBUTE_USERNAME = "userName";
30
31     final static public String JavaDoc ATTRIBUTE_ACTION = "action";
32
33     public static final String JavaDoc ATTRIBUTE_ASSIGN_TO = "assignTo";
34
35     public static final String JavaDoc ATTRIBUTE_START_DATE = "startDate";
36
37     public static final String JavaDoc ATTRIBUTE_END_DATE = "endDate";
38
39     public static final String JavaDoc ATTRIBUTE_EDIT_DIALOG = "editDialog";
40
41     final static public String JavaDoc ATTRIBUTE_WORKFLOW_DEFINITION_URL = "field:__definition__";
42
43     final static public String JavaDoc ATTRIBUTE_DEFINITION = "__definition__";
44
45     public static final String JavaDoc ACTION_PROCEED = "proceed";
46
47     public static final String JavaDoc ACTION_REJECT = "reject";
48
49     public static final String JavaDoc ACTION_CANCEL = "cancel";
50
51     public static final String JavaDoc REPO_OWFE = "magnolia";
52
53     public final static String JavaDoc WORKSPACE_EXPRESSION = "Expressions";
54
55     public final static String JavaDoc NODENAME_EXPRESSION = "expression";
56
57     public final static String JavaDoc WORKSPACE_STORE = "Store";
58
59     public final static String JavaDoc WORKSPACE_ENGINE = "WorkflowModule";
60
61     public final static String JavaDoc NODENAME_WORKITEM = "workItem";
62
63     public static final String JavaDoc BAR = "|";
64
65     public static final String JavaDoc COLON = ":";
66
67     public static final String JavaDoc DOT = ".";
68
69     public static final String JavaDoc SLASH = "/";
70
71     public static final String JavaDoc NODEDATA_PARTICIPANT = "participant";
72
73     public static final String JavaDoc NODEDATA_ID = "ID";
74
75     public static final String JavaDoc NODEDATA_VALUE = "value";
76
77     public final static String JavaDoc ROOT_PATH_FOR_FLOW = "/modules/workflow/config/flows/";
78
79     public final static String JavaDoc FLOW_VALUE = "value";
80
81     public static final String JavaDoc ENGINE_NAME = "owfe";
82
83     public static final String JavaDoc STORE_ITERATOR_QUERY = "select * from " + NODENAME_EXPRESSION;
84
85     public static final String JavaDoc OPENWFE_DATE_FORMAT = "yyyy-MM-dd HH:mm:ssZ";
86
87     public static final String JavaDoc NODEDATA_WORKITEM = "wi";
88
89     public static final String JavaDoc DEFAULT_EDIT_DIALOG = "editWorkItem";
90
91     /**
92      *
93      */

94     public static final String JavaDoc DEFAULT_WORKFLOW = "default";
95
96 }
97
Popular Tags