|
OptimalTrace 5.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.compuware.optimaltrace.tools.common.bizobjects.CustomPropertySupport
public class CustomPropertySupport
Class CustomPropertySupport for creating/deleting/modifying Custom Property Templates & Bound Values. Note : CustomProperty objects can have an empty Bound Value association.
| Method Summary | |
|---|---|
boolean |
areCPMapsEquivalent(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc src,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc dest)
Checks the equivalent of CP maps. |
boolean |
areTemplateListsEquivalent(CustomPropertyTemplateListIfc src,
CustomPropertyTemplateListIfc dest)
Checks the equivalent of template lists. |
void |
copyTableHolderList(CustomPropertyTemplatesMapHolderIfc holder,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc oldMap,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc newMap)
Copies the table holder list. |
void |
createCustomProperties(CustomPropertyHolderIfc propertyHolder)
Creates a set of CustomProperty's for the associated templates, based on the property holder's type (found through CustomPropertyTemplatesMap). |
void |
createCustomProperties(CustomPropertyHolderIfc propertyHolder,
CustomPropertyTemplateListIfc templateList)
Creates the custom properties. |
void |
createCustomProperties(CustomPropertyHolderIfc propertyHolder,
ProjectIfc project)
Creates the custom properties. |
void |
createCustomPropertiesForNewTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
Creates the new custom property objects for this customer property template. |
void |
createCustomPropertiesForTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
Creates the new custom property objects corresponding to a custom propety template for any CPHolders that don't already have a CP for this template. |
CustomPropertyTemplateIfc |
createCustomPropertyTemplate(CustomPropertyTemplateListIfc templateList)
Creates the corresponding custom property template. |
CustomPropertyTemplateIfc |
createCustomPropertyTemplate(java.lang.String name,
java.lang.String definition,
java.lang.String defaultValue,
CustomPropertyTemplateListIfc templateList)
Creates the corresponding CustomProperty. |
void |
deleteBoundPropertyValue(com.compuware.optimaltrace.tools.common.bizobjects.BoundPropertyValueIfc boundValue,
CustomPropertyTemplateIfc template)
Deletes the bound value from CustomProperty objects referencing it, removing the templates bound value. |
void |
deleteCustomProperties(CustomPropertyHolderIfc propertyHolder)
Removes all custom properties/bucket from a property holder. |
void |
deleteCustomPropertyTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
Deletes the associated CustomProperty/BoundPropertyValue from the property handlers, removing the default BoundPRopertyValue, BoundPropertyValues, BoundPropertyValueBucket. |
void |
deleteCustomPropertyTemplateMap(CustomPropertyTemplatesMapHolderIfc mapHolder,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map)
Deletes the custom property template. |
void |
disInheritCustomPropertyTemplatesMap(CustomPropertyTemplatesMapHolderIfc holder)
Disables the inherit custom property templates map. |
void |
disInheritCustomPropertyTemplatesMapForPaste(CustomPropertyTemplatesMapHolderIfc holder,
UseCasePackageIfc originalPackage)
Disables the inherit custom property templates map for paste. |
java.util.List |
findAllBizObjectsForTemplate(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map,
java.lang.String typeId)
Finds all biz objects for this template. |
java.util.List |
findAllMapHoldersForMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map)
Finds all map holders for this map. |
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyIfc |
getCustomProperty(CustomPropertyHolderIfc holder,
java.lang.String customPropertyName)
Gets the custom property. |
CustomPropertyTemplateListIfc |
getCustomPropertyTemplates(CustomPropertyHolderIfc holder)
Gets the custom property templates. |
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc |
getCustomPropertyTemplatesMap(CustomPropertyHolderIfc holder)
Gets the custom property templates map. |
java.util.List |
getInheritingPackages(CustomPropertyTemplatesMapHolderIfc mapHolder)
Gets the inherit packages. |
static CustomPropertySupport |
getInstance()
Gets the instance of this custom property support. |
CustomPropertyTemplatesMapHolderIfc |
getMapHolder(BizObjectIfc cpHolder)
Gets the map holder. |
void |
inheritCustomPropertyTemplatesMap(CustomPropertyTemplatesMapHolderIfc holder)
Inherits the custom property templates map. |
void |
inheritCustomPropertyTemplatesMapForPaste(CustomPropertyTemplatesMapHolderIfc holder,
UseCasePackageIfc destPackage)
Inherits the custom property templates map for paste. |
void |
initalizeCustomPropertiesWithDefaultValue(ProjectIfc project)
Sets the default template value on all custom properties in a project whose template has been marked as needing to apply the default to all properties. |
void |
initialiseTableHolderCPs(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc tempMap,
com.compuware.optimaltrace.framework.ui.table.TableHolderListIfc newTableHolderList)
Initializes the table holder CPs. |
void |
setCustomPropertyTemplatesMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc newMap,
BizObjectIfc bizObject)
Sets the custom property templates map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CustomPropertySupport getInstance()
public CustomPropertyTemplateIfc createCustomPropertyTemplate(CustomPropertyTemplateListIfc templateList)
templateList -
public CustomPropertyTemplateIfc createCustomPropertyTemplate(java.lang.String name,
java.lang.String definition,
java.lang.String defaultValue,
CustomPropertyTemplateListIfc templateList)
name - definition - defaultValue - templateList -
public void createCustomPropertiesForNewTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
template - templateList -
public void createCustomPropertiesForTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
template - templateList -
public void deleteCustomPropertyTemplateMap(CustomPropertyTemplatesMapHolderIfc mapHolder,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map)
mapHolder - map -
public void deleteCustomPropertyTemplate(CustomPropertyTemplateIfc template,
CustomPropertyTemplateListIfc templateList)
template - templateList -
public void deleteBoundPropertyValue(com.compuware.optimaltrace.tools.common.bizobjects.BoundPropertyValueIfc boundValue,
CustomPropertyTemplateIfc template)
boundValue - template - public void createCustomProperties(CustomPropertyHolderIfc propertyHolder)
propertyHolder -
public void createCustomProperties(CustomPropertyHolderIfc propertyHolder,
CustomPropertyTemplateListIfc templateList)
propertyHolder - templateList -
public void createCustomProperties(CustomPropertyHolderIfc propertyHolder,
ProjectIfc project)
propertyHolder - project - public void deleteCustomProperties(CustomPropertyHolderIfc propertyHolder)
propertyHolder - public void initalizeCustomPropertiesWithDefaultValue(ProjectIfc project)
project -
public com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyIfc getCustomProperty(CustomPropertyHolderIfc holder,
java.lang.String customPropertyName)
holder - customPropertyName -
public CustomPropertyTemplateListIfc getCustomPropertyTemplates(CustomPropertyHolderIfc holder)
holder -
public com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc getCustomPropertyTemplatesMap(CustomPropertyHolderIfc holder)
holder -
public void setCustomPropertyTemplatesMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc newMap,
BizObjectIfc bizObject)
newMap - bizObject - public java.util.List findAllMapHoldersForMap(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map)
map -
public java.util.List findAllBizObjectsForTemplate(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc map,
java.lang.String typeId)
map - typeId -
public boolean areTemplateListsEquivalent(CustomPropertyTemplateListIfc src,
CustomPropertyTemplateListIfc dest)
src - dest -
public boolean areCPMapsEquivalent(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc src,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc dest)
src - dest -
public void inheritCustomPropertyTemplatesMap(CustomPropertyTemplatesMapHolderIfc holder)
holder - public CustomPropertyTemplatesMapHolderIfc getMapHolder(BizObjectIfc cpHolder)
cpHolder -
public void disInheritCustomPropertyTemplatesMapForPaste(CustomPropertyTemplatesMapHolderIfc holder,
UseCasePackageIfc originalPackage)
holder - originalPackage -
public void inheritCustomPropertyTemplatesMapForPaste(CustomPropertyTemplatesMapHolderIfc holder,
UseCasePackageIfc destPackage)
holder - destPackage - public void disInheritCustomPropertyTemplatesMap(CustomPropertyTemplatesMapHolderIfc holder)
holder -
public void copyTableHolderList(CustomPropertyTemplatesMapHolderIfc holder,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc oldMap,
com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc newMap)
holder - oldMap - newMap -
public void initialiseTableHolderCPs(com.compuware.optimaltrace.tools.common.bizobjects.CustomPropertyTemplatesMapIfc tempMap,
com.compuware.optimaltrace.framework.ui.table.TableHolderListIfc newTableHolderList)
tempMap - newTableHolderList - public java.util.List getInheritingPackages(CustomPropertyTemplatesMapHolderIfc mapHolder)
mapHolder -
|
OptimalTrace 5.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||