public class WorkflowProcesses extends XMLCollection
controlledPanel, controlPanel, IDPrefix, myOwner, refCollectionElementsatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
WorkflowProcesses(Package p)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addPropertyToAllActivities(UserProperty up) |
boolean |
canRemoveElement(XMLElement el)
Checks if specified workflow process can be removed.
|
WorkflowProcess |
createCopyOfWorkflowProcess(WorkflowProcess wp) |
WorkflowProcess |
createCopyOfWorkflowProcess(WorkflowProcess wp,
boolean localCopy) |
void |
decrementID()
Overrides parent method to be accessible within PEGraph.
|
XMLElement |
generateNewElement()
Generates a new element of the class which instances are members of
collection of this class. return The generated instance of class that
makes collection.
|
Collection |
getChoosable()
Returns collection of all workflow processes from current package and
processes from referenced external packages, but leaving out the
processes from external packages which Id is equal to any of current
package processes Ids.
|
Collection |
getExternalWorkflowProcesses() |
int[] |
getInvisibleTableFieldOrdinals()
Returns the ordinal numbers of elements not to be displayed within table
panel.
|
List |
getMainProceList()
add by wenzhang 添加得到所有主流程的方法
|
XMLPanel |
getPanel()
Returns the panel for editing the element.
|
Collection |
getTableElements()
Returns the collection of processes defined in the current package.
|
WorkflowProcess |
getWorkflowProcess(String ID)
Returns a workflow process with specified ID.
|
protected void |
insertFromExternal(Package ep) |
boolean |
isMine(WorkflowProcess wp) |
void |
refreshCollection(Set elementsToAddOrRemove,
boolean append)
Refreshes the collection.
|
protected void |
refreshMandatories(UserProperty up) |
protected void |
removeFromExternal(Package ep) |
protected void |
removePropertyFromAllActivities(UserProperty up) |
protected void |
updateID(String someID)
Overrides parent method to be accessible within workflow process.
|
add, canInsertElement, clear, clone, fromXML, generateID, get, getCollectionElement, getControlledPanel, getControlPanel, getCurrentID, getEditableDefaultValue, getEditableTableFieldOrdinals, getElementStructure, getIDPrefix, getInUseMessageName, getJList, getNode, getOwner, getReadOnlyMessageName, getValues, getXPDLNode, isEmpty, isIdValid, isJCheckBox, onElementCreated, onElementDeleted, onElementInserted, onElementModified, onElementRemoved, refreshLabelName, remove, resetID, setCurrentID, setIDPrefix, setOwner, setReadOnly, size, toCollection, toString, toXMLfromXML, getPrintDescription, getPrintDescription, isCollapsed, isReadOnly, isRequired, isValid, isValidEnter, isVisible, setCollapsed, setLabelName, setRequired, setValue, setVisible, toLabel, toName, toValuepublic WorkflowProcesses(Package p)
p - The container for all processes.public boolean isMine(WorkflowProcess wp)
protected void addPropertyToAllActivities(UserProperty up)
protected void removePropertyFromAllActivities(UserProperty up)
protected void refreshMandatories(UserProperty up)
public XMLElement generateNewElement()
generateNewElement 在类中 XMLCollectionpublic WorkflowProcess getWorkflowProcess(String ID)
ID - The 'Id' attribute of wanted instance of WorkflowProcess
element defined within a XML file.public Collection getTableElements()
getTableElements 在类中 XMLCollectionpublic Collection getChoosable()
getChoosable 在类中 XMLCollectionpublic boolean canRemoveElement(XMLElement el)
canRemoveElement 在类中 XMLCollectionpublic Collection getExternalWorkflowProcesses()
public WorkflowProcess createCopyOfWorkflowProcess(WorkflowProcess wp)
public List getMainProceList()
protected void insertFromExternal(Package ep)
protected void removeFromExternal(Package ep)
public int[] getInvisibleTableFieldOrdinals()
XMLCollectionXMLComplexElement.fillStructure() method.public XMLPanel getPanel()
XMLElementgetPanel 在类中 XMLCollectionpublic void refreshCollection(Set elementsToAddOrRemove, boolean append)
XMLCollectionrefreshCollection 在类中 XMLCollectionelementsToAddOrRemove - Set of elements that has to be added to or removed from
collection.append - true if adding elements to collection,
false otherwise.public WorkflowProcess createCopyOfWorkflowProcess(WorkflowProcess wp, boolean localCopy)
public void decrementID()
decrementID 在类中 XMLCollectionprotected void updateID(String someID)
updateID 在类中 XMLCollectionsomeID - the ID value upon the update is performed.Copyright © 2023 onecode. All rights reserved.