public class WorkflowDocumentState extends Object implements EDLModelComponent
Constructor and Description |
---|
WorkflowDocumentState() |
Modifier and Type | Method and Description |
---|---|
static void |
addActions(Document dom,
Element documentState,
List actions) |
static List<String> |
determineValidActions(WorkflowDocument wfdoc) |
static boolean |
isAnnotatable(List actions)
Determines whether to display the annotation text box
Currently we will show the annotation box if ANY of the possible actions are
annotatable.
|
static boolean |
isEditable(EDLContext edlContext,
List actions) |
static boolean |
listContainsItems(List list,
Object[] items) |
void |
updateDOM(Document dom,
Element configElement,
EDLContext edlContext) |
public WorkflowDocumentState()
public void updateDOM(Document dom, Element configElement, EDLContext edlContext)
updateDOM
in interface EDLModelComponent
public static List<String> determineValidActions(WorkflowDocument wfdoc) throws WorkflowException
WorkflowException
public static boolean isEditable(EDLContext edlContext, List actions)
public static void addActions(Document dom, Element documentState, List actions)
public static boolean listContainsItems(List list, Object[] items)
public static boolean isAnnotatable(List actions)
actions
- list of possible actionsCopyright © 2005–2014 The Kuali Foundation. All rights reserved.