public class ActivitySets extends XMLCollection
ActivitySet
instances.controlledPanel, controlPanel, IDPrefix, myOwner, refCollectionElementsatts, isCollapsed, isReadOnly, isRequired, isVisible, labelName, name, NEWLINE, OFFSET, value| 构造器和说明 |
|---|
ActivitySets(WorkflowProcess myWorkflow)
Creates a new instance of the class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addPropertyToAllActivities(UserProperty up) |
protected void |
afterImporting(boolean importUserProperties)
Called by owner object after importing of XML file to do neccessary things on activities after importing of XML.
|
protected boolean |
canRemoveApplication(Application toRemove)
Returns true if specified application isn't used as a tool of activity which type is Tool.
|
boolean |
canRemoveDataFieldOrFormalParameter(XMLCollectionElement toRemove)
Returns true if specified data field isn't used as actual parameter of activity which type is Tool or
Subflow.
|
protected boolean |
canRemoveParticipant(Participant toRemove)
Returns true if specified participant isn't referenced to be a performer of activity.
|
protected boolean |
canRemoveWorkflow(WorkflowProcess toRemove)
Returns true if specified workflow process isn't referenced from any activity of subflow type.
|
Object |
clone()
Used to create exact copy of instance of this class.
|
void |
decrementID()
Overrides parent method to be accessible within WorkflowManager.
|
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.
|
ActivitySet |
getActivitySet(String ID)
Returns an ActivitySet specified by given ID.
|
XMLPanel |
getPanel()
Returns the panel for editing the element.
|
boolean |
isDataFieldOrFormalParameterUsedWithinTransitionConditions(XMLCollectionElement toRemove)
Returns true if specified data field or formal parameter is used in transition condition expression of
any transition within every activity set transitions.
|
protected void |
refreshMandatories(UserProperty up) |
protected void |
removePropertyFromAllActivities(UserProperty up) |
protected void |
updateID(String someID)
Overrides parent method to be accessible within ActivitySet.
|
add, canInsertElement, canRemoveElement, clear, fromXML, generateID, get, getChoosable, getCollectionElement, getControlledPanel, getControlPanel, getCurrentID, getEditableDefaultValue, getEditableTableFieldOrdinals, getElementStructure, getIDPrefix, getInUseMessageName, getInvisibleTableFieldOrdinals, getJList, getNode, getOwner, getReadOnlyMessageName, getTableElements, getValues, getXPDLNode, isEmpty, isIdValid, isJCheckBox, onElementCreated, onElementDeleted, onElementInserted, onElementModified, onElementRemoved, refreshCollection, 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 ActivitySets(WorkflowProcess myWorkflow)
myWorkflow - WorkflowProcess class that holds ActivitySets class.public XMLElement generateNewElement()
generateNewElement 在类中 XMLCollectionpublic ActivitySet getActivitySet(String ID)
ID - The ID attribute of wanted ActivitySet.protected void addPropertyToAllActivities(UserProperty up)
protected void removePropertyFromAllActivities(UserProperty up)
protected void refreshMandatories(UserProperty up)
protected boolean canRemoveWorkflow(WorkflowProcess toRemove)
protected boolean canRemoveParticipant(Participant toRemove)
protected boolean canRemoveApplication(Application toRemove)
public boolean canRemoveDataFieldOrFormalParameter(XMLCollectionElement toRemove)
public boolean isDataFieldOrFormalParameterUsedWithinTransitionConditions(XMLCollectionElement toRemove)
protected void afterImporting(boolean importUserProperties)
public XMLPanel getPanel()
XMLElementgetPanel 在类中 XMLCollectionpublic void decrementID()
decrementID 在类中 XMLCollectionprotected void updateID(String someID)
updateID 在类中 XMLCollectionsomeID - the ID value upon the update is performed.public Object clone()
XMLElementclone 在类中 XMLCollectionCopyright © 2023 onecode. All rights reserved.