com.ptc.windchill.counterpart.metadata.attribute
Class cApplyAttributeDefinition
java.lang.Object
com.ptc.windchill.counterpart.metadata.cApply
com.ptc.windchill.counterpart.metadata.attribute.cApplyAttributeDefinition
- public class cApplyAttributeDefinition
- extends cApply
User: efraimovich
Date: Jan 15, 2003
Method Summary |
protected boolean |
areIdentical(cEntry wtObj,
Object cpObj)
|
protected boolean |
canApply(nitidus.sil.be.core.iEntry obj)
|
protected boolean |
canUpdate(cEntry wtObj,
nitidus.sil.be.core.iEntry cpObj)
|
protected int |
compareByName(cEntry wtObj,
Object cpObj)
|
protected cEntry |
create(Object obj)
|
protected void |
delete(cEntry obj)
|
protected void |
fileError(cEntry entry,
int confl,
String referToID,
String comment)
|
protected void |
fileError(nitidus.sil.be.core.iEntry entry,
int confl,
String referToID,
String comment)
|
static String |
getRightUnit(nitidus.sil.be.unit.iUnitFamily family,
String storageUnitString)
|
static String |
getRightUnit(nitidus.sil.be.unit.iUnitFamily family,
Unit storageUnit)
|
protected void |
preUpdate(cEntry wtObj,
nitidus.sil.be.core.iEntry cpObj)
|
private cEntry |
searchEntryInFoldersMap(String id)
|
private cEntry |
searchEntryInQomsMap(String id)
|
protected void |
setInUse(cEntry obj,
boolean isInUse)
|
private void |
setInUseReferringRecords(cEntry wtobj)
|
protected void |
setInUseReferringRecords(nitidus.sil.be.core.iEntry cpobj)
|
protected void |
update(cEntry wtObj,
Object cpObj)
|
protected void |
updateID(cEntry wtObj)
|
Methods inherited from class com.ptc.windchill.counterpart.metadata.cApply |
createObjects, deleteObjects, eraseFromAddList, getErrors, getWtObjsSearchMap, isInAddList, prepare, preUpdate, searchEntryInMap, setInUse, updateObjects, updateSearchMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fFoldersSearchMap
HashMap fFoldersSearchMap
fQomsSearchMap
HashMap fQomsSearchMap
CLASSNAME
private static final String CLASSNAME
DEBUG
private static final boolean DEBUG
LOG
private static final DebugWriter LOG
cApplyAttributeDefinition
public cApplyAttributeDefinition(ArrayList initialCpObjs,
ArrayList initialWtObjs,
HashMap foldersSearchMap,
HashMap qomsSearchMap)
setInUse
protected void setInUse(cEntry obj,
boolean isInUse)
- Overrides:
setInUse
in class cApply
setInUseReferringRecords
private final void setInUseReferringRecords(cEntry wtobj)
setInUseReferringRecords
protected void setInUseReferringRecords(nitidus.sil.be.core.iEntry cpobj)
- Overrides:
setInUseReferringRecords
in class cApply
delete
protected void delete(cEntry obj)
- Specified by:
delete
in class cApply
create
protected cEntry create(Object obj)
- Specified by:
create
in class cApply
canUpdate
protected boolean canUpdate(cEntry wtObj,
nitidus.sil.be.core.iEntry cpObj)
- Overrides:
canUpdate
in class cApply
preUpdate
protected void preUpdate(cEntry wtObj,
nitidus.sil.be.core.iEntry cpObj)
- Overrides:
preUpdate
in class cApply
update
protected void update(cEntry wtObj,
Object cpObj)
- Specified by:
update
in class cApply
updateID
protected void updateID(cEntry wtObj)
- Specified by:
updateID
in class cApply
compareByName
protected int compareByName(cEntry wtObj,
Object cpObj)
- Specified by:
compareByName
in class cApply
areIdentical
protected boolean areIdentical(cEntry wtObj,
Object cpObj)
- Specified by:
areIdentical
in class cApply
searchEntryInFoldersMap
private cEntry searchEntryInFoldersMap(String id)
searchEntryInQomsMap
private cEntry searchEntryInQomsMap(String id)
canApply
protected boolean canApply(nitidus.sil.be.core.iEntry obj)
- Overrides:
canApply
in class cApply
getRightUnit
public static final String getRightUnit(nitidus.sil.be.unit.iUnitFamily family,
String storageUnitString)
getRightUnit
public static final String getRightUnit(nitidus.sil.be.unit.iUnitFamily family,
Unit storageUnit)
fileError
protected void fileError(cEntry entry,
int confl,
String referToID,
String comment)
- Specified by:
fileError
in class cApply
- See Also:
cApply.fileError(com.ptc.windchill.counterpart.metadata.cEntry, int, java.lang.String, java.lang.String)
fileError
protected void fileError(nitidus.sil.be.core.iEntry entry,
int confl,
String referToID,
String comment)
- Specified by:
fileError
in class cApply
- See Also:
cApply.fileError(com.ptc.windchill.counterpart.metadata.cEntry, int, java.lang.String, java.lang.String)