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