|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScenarioIfc
Interface ScenarioIfc
Field Summary |
---|
Fields inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc |
---|
ATTR_IS_LOCKED, ATTR_IS_LOCKEDLOCALLY, ATTR_IS_READONLY, ATTR_LOCKOWNER, ATTR_NAME, BO_DB_TIMESTAMP, BO_ID, BO_ST, BO_TIMESTAMP, BO_TYPE |
Method Summary | |
---|---|
boolean |
addStep(AbstractStepIfc step)
Adds the new Step |
boolean |
addStepAt(AbstractStepIfc step,
int index)
Adds the new Step at the specified position |
void |
checkStepNameUnique(AbstractStepIfc step,
java.lang.String name)
Checks for uniqueness of step name, ensuring that you're not checking the current step being edited. |
void |
checkStepNameUniqueForFactory(java.lang.String name)
Checks for uniqueness of step name, for use by factory classes when you want to add a new step. |
java.util.List |
getAbstractSteps()
Gets the list of steps associated with this scenario |
AbstractStepIfc |
getStep(int stepNumber)
Gets the step that has the specified step number |
java.util.List |
getStepRefinements()
Gets the list of refinements in the Steps associated with this scenario |
boolean |
moveStep(AbstractStepIfc step,
java.lang.Integer numOfPlacesToMove)
Moves the step a number of places.. |
boolean |
moveStep(AbstractStepIfc step,
ScenarioIfc newScenario)
Moves the step scenario. |
boolean |
moveStepDown(AbstractStepIfc step)
Moves the Step down 1 place |
boolean |
moveStepUp(AbstractStepIfc step)
Moves the Step up 1 place |
boolean |
removeStep(AbstractStepIfc step)
Removes the Step |
void |
updateName(java.lang.String name)
Updates the scenario name ensuring that the name is unique and not reserved by another user if the project resides on the repository. |
Methods inherited from interface com.compuware.optimaltrace.framework.business.BizObjectIfc |
---|
cloneObjectsAttributes, disableMergeObjectSupport, enableMergeObjectSupport, equals, getBaselineId, getBizObjectId, getFirstChild, getId, getLockOwner, getName, getNextChild, getReadableName, getTimeStamp, getTypeId, hasChildren, isEqual, isEqualWithFilter, isLocked, isMergeObjectSupportEnabled, isReadOnly, setBaselineId, setBizObjectId, setId, setIsLocked, setIsReadOnly, setLockOwner, setName, setTimeStamp, setTimeStampNoParentUpdate |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ParentIfc |
---|
addChild, addChildAt, addParentListener, decrementChildPosition, fireChildEvent, fireChildEvent, getChild, getChild, getChildById, getChildren, getChildren, getChildren, getNextChild, getParentListeners, getPreviousChild, hasChild, hasChildById, incrementChildPosition, moveChild, numChildren, reInitialiseListeners, removeChild, removeParentListener, silentlyAddChild, silentlyAddChildAt, silentlyRemoveChild |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.ChildIfc |
---|
addChildListener, getChildListeners, getParent, getParent, moveChild, moveChildAt, removeChildListener, setParent |
Methods inherited from interface com.compuware.optimaltrace.framework.relations.AssociateIfc |
---|
addAssociate, addAssociateListener, addInwardAssociate, fireAssociateEvent, getAssociate, getAssociateListeners, getAssociates, getAssociates, getInwardAssociates, getInwardAssociates, getOutwardAssociates, getOutwardAssociates, hasAssociate, hasInwardAssociate, hasOutwardAssociate, numAssociates, numInwardAssociates, numOutwardAssociates, removeAssociate, removeAssociateListener, removeInwardAssociate |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PersistentIfc |
---|
customPropertiesToDocArray, getChildDocPersistObjects, toDocArray, toSQL |
Methods inherited from interface com.compuware.optimaltrace.framework.business.PropertiesContainerIfc |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface com.compuware.optimaltrace.framework.dynattribute.DynAttributeIfc |
---|
getAttributeTable, getAttributeTimeStamp, getBooleanAttribute, getIntAttribute, getLongAttribute, getObjectAttribute, getShortAttribute, getStringAttribute, getTimeStamp, getTimeStampTable, hasAttribute, removeAttribute, renameAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNoTimeStampUpdate, setAttributeNoTimeStampUpdate, setAttributeTable, setAttributeTimeStamp, setObjectAttribute, setTimeStampTable |
Method Detail |
---|
java.util.List getAbstractSteps()
java.util.List getStepRefinements()
AbstractStepIfc getStep(int stepNumber)
stepNumber
-
boolean addStep(AbstractStepIfc step)
step
-
boolean addStepAt(AbstractStepIfc step, int index)
step
- index
- position in which to insert the step.
void checkStepNameUnique(AbstractStepIfc step, java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
step
- name
-
NameNotUniqueException
void checkStepNameUniqueForFactory(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
name
-
NameNotUniqueException
void updateName(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException
name
-
NameNotUniqueException
boolean removeStep(AbstractStepIfc step)
step
-
boolean moveStepUp(AbstractStepIfc step)
step
-
boolean moveStepDown(AbstractStepIfc step)
step
-
boolean moveStep(AbstractStepIfc step, java.lang.Integer numOfPlacesToMove)
step
- a StepIfc
valuenumOfPlacesToMove
- an int
value
boolean moveStep(AbstractStepIfc step, ScenarioIfc newScenario)
step
- a StepIfc
valuenewScenario
-
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |