|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UseCasePackageIfc
Interface UseCasePackageIfc
Field Summary | |
---|---|
static java.lang.String |
ATTR_GRAPH_DISPLAY_OPTION
|
static java.lang.String |
ATTR_INHERIT_CP_TEMPLATE_MAP
|
static java.lang.String |
ATTR_LONG_DESCRIPTION
Dynamic Attributes for UseCasePackageIfc |
static java.lang.String |
ATTR_ORIGIN
|
static java.lang.String |
ATTR_PACKAGE_DISPLAY_OPTION
|
static java.lang.String |
ATTR_SHOW_CROSS_PACKAGE_LINKS
|
static java.lang.String |
ATTR_TAG
|
static java.lang.String |
SHOW_ALL
|
static java.lang.String |
SHOW_ALL_USE_CASES
|
static java.lang.String |
SHOW_CURRENT_PACKAGE_USE_CASES
|
static java.lang.String |
SHOW_MAIN_SUCCESS
|
static java.lang.String |
SHOW_NONE
|
static java.lang.String |
SHOW_SUB_PACKAGE_USE_CASES
|
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 |
addSimpleRequirement(SimpleRequirementIfc simpleRequirement)
Adds the simple requirement. |
boolean |
addUseCase(AbstractRequirementIfc requirement)
Adds the usecase. |
boolean |
addUseCasePackage(UseCasePackageIfc packageName)
Adds the usecase package. |
void |
checkUseCaseNameUniqueInPackage(java.lang.String useCaseNumber)
Checks for uniqueness of a Use Case Name on a package level |
void |
checkUseCaseNumberUniqueInPackageTag(java.lang.String useCaseNumber)
Checks for uniqueness of a Use Case number in package tag. |
void |
checkUseCaseNumberUniqueInProject(java.lang.String useCaseNumber)
Checks for uniqueness of a usecase name on a project level |
void |
checkUseCasePackageNameUniqueInPackage(java.lang.String name)
Checks for uniqueness of a Use Case Name in package. |
void |
checkUseCasePackageNameUniqueInProject(java.lang.String name)
Checks for uniqueness of a Use Case Name in project. |
java.util.List |
getAllPackages()
Gets the list of Packages this package contains and all its subpackages |
java.util.List |
getAllRequirementsInPackages()
Gets all requirements in packages. |
java.util.List |
getAllSimpleRequirementsInPackages()
Gets all simple requirements in packages. |
java.util.List |
getAllUseCasePackages()
Gets the list of UseCasePackages in all sub-packages |
java.util.List |
getAllUseCasesInPackages()
Gets the list of usecase in all sub-packages. |
java.lang.String |
getFullyQualifiedName()
Gets the fully qualified package name prepended by its package name hierarchy. |
java.lang.String |
getGraphDisplayOption()
Gets the usecase package's graph display option. |
boolean |
getIsDisplayingCrossPackageLinks()
Gets the attribute ATTR_SHOW_CROSS_PACKAGE_LINKS |
java.lang.String |
getLongDescription()
Gets the value of LongDescription. |
java.awt.geom.Point2D.Double |
getOrigin()
Gets the Point2D value of the usecase's origin |
java.lang.String |
getOriginAsString()
Gets the Point2D value of the usecase's origin |
int |
getOriginX()
Gets the origin X. |
int |
getOriginY()
Gets the origin Y. |
java.lang.String |
getPackageDisplayOption()
Gets the usecase package's package display option. |
java.util.List |
getPackages()
Gets the list of Packages this package contains |
java.util.List |
getRequirements()
Gets the requirements. |
SimpleRequirementIfc |
getSimpleRequirement(java.lang.String name)
Gets the simple requirement. |
java.util.List |
getSimpleRequirements()
Gets the simple requirements. |
java.lang.String |
getTag()
Gets the tag. |
UseCaseIfc |
getUseCase(java.lang.String name)
Gets the specific usecase. |
UseCasePackageIfc |
getUseCasePackage(java.lang.String name)
Gets the UseCase package. |
java.util.List |
getUseCasePackages()
Gets the list of usecase package's referencing this usecase package. |
java.util.List |
getUseCases()
Gets the list of usecase held. |
boolean |
isUseCaseNumberUnique(AbstractRequirementIfc useCase)
Checks the unique of UseCase number. |
boolean |
moveUseCase(AbstractRequirementIfc requirement,
java.lang.Integer numOfPlaces)
Moves the usecase. |
boolean |
moveUseCase(AbstractRequirementIfc childRequirement,
UseCasePackageIfc newPackage)
Moves the usecase. |
boolean |
moveUseCaseAtNoValidation(AbstractRequirementIfc childReq,
UseCasePackageIfc newPackage,
int position)
Moves the usecase at position without validation. |
boolean |
moveUseCaseNoValidation(AbstractRequirementIfc childReq,
UseCasePackageIfc newPackage)
Moves the usecase without validation. |
boolean |
moveUseCasePackage(UseCasePackageIfc usecasePackage,
java.lang.Integer numOfPlaces)
Moves the usecase package. |
boolean |
moveUseCasePackage(UseCasePackageIfc childPackage,
UseCasePackageIfc newPackage)
Moves the usecase package to another package. |
boolean |
moveUseCasePackageAtNoValidation(UseCasePackageIfc childPackage,
UseCasePackageIfc newPackage,
int position)
Moves the usecase package at the specific position without validation. |
boolean |
moveUseCasePackageNoValidation(UseCasePackageIfc childPackage,
UseCasePackageIfc newPackage)
Moves the usecase package without validation. |
void |
numberUseCase(AbstractRequirementIfc useCase)
Sets the usecase's number within the package. |
boolean |
removeRequirement(AbstractRequirementIfc requirement)
Removes the usecase. |
boolean |
removeSimpleRequirement(SimpleRequirementIfc simpleRequirement)
Removes the simple requirement. |
boolean |
removeUseCasePackage(UseCasePackageIfc packageName)
Removes the usecase package. |
void |
renumberAllUseCases()
Renumbers all the usecases depending on their respective refined depth. |
boolean |
repositionRequirement(AbstractRequirementIfc childRequirement,
int numberOfPlaces)
Moves the usecase to a different position within its current package |
boolean |
repositionUseCasePackage(UseCasePackageIfc childPackage,
int numberOfPlaces)
Moves the usecase package to a different position within its current package. |
void |
setGraphDisplayOption(java.lang.String option)
Sets the usecase package's graph display option. |
void |
setIsDisplayingCrossPackageLinks(boolean value)
Sets the attribute ATTR_SHOW_CROSS_PACKAGE_LINKS |
void |
setLongDescription(java.lang.String description)
Sets the value of LongDescription. |
void |
setOrigin(java.awt.geom.Point2D.Double point)
Sets the Point2D value of the usecase's origin |
void |
setOrigin(java.lang.String origin)
Sets the origin from a String. |
void |
setPackageDisplayOption(java.lang.String option)
Sets the UseCasePackage's graph package option. |
void |
setTag(java.lang.String tag)
Sets the tag. |
void |
updateName(java.lang.String name)
Updates the package 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.customproperty.CustomPropertyHolderIfc |
---|
getCustomProperty, getCustomPropertyBucket, getCustomPropertyTemplates, removeCustomPropertyBucket, setCustomPropertyBucket |
Methods inherited from interface com.compuware.optimaltrace.framework.business.RepositionableChildIfc |
---|
getPositionNumber |
Methods inherited from interface com.compuware.optimaltrace.framework.customproperty.CustomPropertyTemplatesMapHolderIfc |
---|
getCustomPropertyTemplatesForType, getCustomPropertyTemplatesMap, getInheritCPTemplatesMap, removeCustomPropertyTemplatesMap, setCustomPropertyTemplatesMap, setInheritCPTemplatesMap |
Methods inherited from interface com.compuware.optimaltrace.framework.ui.table.TableHolderListContainerIfc |
---|
getTableHolderList, setTableHolderList |
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 |
Field Detail |
---|
static final java.lang.String ATTR_GRAPH_DISPLAY_OPTION
static final java.lang.String ATTR_PACKAGE_DISPLAY_OPTION
static final java.lang.String SHOW_ALL
static final java.lang.String SHOW_NONE
static final java.lang.String SHOW_MAIN_SUCCESS
static final java.lang.String SHOW_ALL_USE_CASES
static final java.lang.String SHOW_SUB_PACKAGE_USE_CASES
static final java.lang.String SHOW_CURRENT_PACKAGE_USE_CASES
static final java.lang.String ATTR_ORIGIN
static final java.lang.String ATTR_SHOW_CROSS_PACKAGE_LINKS
static final java.lang.String ATTR_LONG_DESCRIPTION
static final java.lang.String ATTR_TAG
static final java.lang.String ATTR_INHERIT_CP_TEMPLATE_MAP
Method Detail |
---|
void updateName(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
name
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void checkUseCaseNumberUniqueInProject(java.lang.String useCaseNumber) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
useCaseNumber
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void checkUseCaseNameUniqueInPackage(java.lang.String useCaseNumber) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
useCaseNumber
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void checkUseCasePackageNameUniqueInProject(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
name
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void checkUseCasePackageNameUniqueInPackage(java.lang.String name) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
name
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void checkUseCaseNumberUniqueInPackageTag(java.lang.String useCaseNumber) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
useCaseNumber
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean moveUseCaseNoValidation(AbstractRequirementIfc childReq, UseCasePackageIfc newPackage) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childReq
- newPackage
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean moveUseCaseAtNoValidation(AbstractRequirementIfc childReq, UseCasePackageIfc newPackage, int position) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childReq
- newPackage
- position
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean moveUseCasePackageNoValidation(UseCasePackageIfc childPackage, UseCasePackageIfc newPackage) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childPackage
- newPackage
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean moveUseCasePackageAtNoValidation(UseCasePackageIfc childPackage, UseCasePackageIfc newPackage, int position) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childPackage
- newPackage
- position
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
void renumberAllUseCases()
void numberUseCase(AbstractRequirementIfc useCase)
useCase
- java.awt.geom.Point2D.Double getOrigin()
java.lang.String getOriginAsString()
void setOrigin(java.awt.geom.Point2D.Double point)
point
- void setOrigin(java.lang.String origin)
origin
- int getOriginX()
int getOriginY()
java.lang.String getGraphDisplayOption()
void setGraphDisplayOption(java.lang.String option)
option
- java.lang.String getPackageDisplayOption()
void setIsDisplayingCrossPackageLinks(boolean value)
value
- boolean getIsDisplayingCrossPackageLinks()
void setPackageDisplayOption(java.lang.String option)
option
- java.util.List getUseCases()
java.util.List getAllUseCasesInPackages()
UseCaseIfc getUseCase(java.lang.String name)
name
-
UseCasePackageIfc getUseCasePackage(java.lang.String name)
name
-
SimpleRequirementIfc getSimpleRequirement(java.lang.String name)
name
-
boolean addUseCase(AbstractRequirementIfc requirement) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
requirement
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean removeRequirement(AbstractRequirementIfc requirement)
requirement
-
boolean moveUseCase(AbstractRequirementIfc childRequirement, UseCasePackageIfc newPackage) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childRequirement
- newPackage
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean repositionRequirement(AbstractRequirementIfc childRequirement, int numberOfPlaces)
childRequirement
- numberOfPlaces
-
boolean repositionUseCasePackage(UseCasePackageIfc childPackage, int numberOfPlaces)
childPackage
- numberOfPlaces
-
boolean addUseCasePackage(UseCasePackageIfc packageName) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
packageName
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
java.util.List getAllUseCasePackages()
boolean removeUseCasePackage(UseCasePackageIfc packageName)
packageName
-
boolean moveUseCasePackage(UseCasePackageIfc childPackage, UseCasePackageIfc newPackage) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
childPackage
- newPackage
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
java.util.List getPackages()
java.util.List getAllPackages()
java.lang.String getLongDescription()
void setLongDescription(java.lang.String description)
description
- java.util.List getUseCasePackages()
boolean moveUseCase(AbstractRequirementIfc requirement, java.lang.Integer numOfPlaces)
requirement
- numOfPlaces
-
boolean moveUseCasePackage(UseCasePackageIfc usecasePackage, java.lang.Integer numOfPlaces)
usecasePackage
- numOfPlaces
-
void setTag(java.lang.String tag)
tag
- java.lang.String getTag()
boolean isUseCaseNumberUnique(AbstractRequirementIfc useCase)
useCase
-
java.lang.String getFullyQualifiedName()
boolean addSimpleRequirement(SimpleRequirementIfc simpleRequirement) throws com.compuware.optimaltrace.tools.common.bizobjects.NameNotUniqueException, com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
simpleRequirement
-
NameNotUniqueException
com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException
boolean removeSimpleRequirement(SimpleRequirementIfc simpleRequirement)
simpleRequirement
-
java.util.List getSimpleRequirements()
java.util.List getRequirements()
java.util.List getAllRequirementsInPackages()
java.util.List getAllSimpleRequirementsInPackages()
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |