|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.EPMCADNameHelper
The EPMCADNameHelper class provides set of static methods related to
CADNameOperations.
Supported API: false
Extendable: false
Field Summary | |
private static String |
EPMRESOURCE
|
Constructor Summary | |
(package private) |
EPMCADNameHelper()
|
Method Summary | |
protected static WTSet |
changeCADName(WTKeyedMap masters)
Changes CAD name on the given masters. |
private static void |
checkCADName(WTKeyedMap masters)
Given a map of EPMDocumentMaster objects and their new CAD names, throws a multi-object exception if the new CAD name is null or does not meet the authoring application specific CAD name rules. |
private static List |
checkCheckoutState(WTCollection masters,
boolean throwException)
Finds all the checked out iterations of the given masters. |
private static QueryResult |
checkIfUsedInFTCellDep(WTKeyedMap masters,
HashMap Old2NewNamesMap)
|
private static void |
checkVersionPermission(WTSet masters)
Checks the given permission for all versions of the given masters. |
protected static Vector |
collectChangeCADNameVetos(EPMDocumentMaster master)
Collects all exceptions if the CAD name of the given master is changed. |
private static void |
dispatchPostChangeCADNameEvent(WTSet eventTarget)
Dispatches a POST_CHANGE_CAD_NAME event |
private static void |
dispatchPreChangeCADNameEvent(WTKeyedMap eventTarget)
Dispatches a PRE_CHANGE_CAD_NAME event |
private static Vector |
filterExceptions(Vector eVector)
|
private static WTSet |
findCheckedOutIterations(WTCollection masters)
Gets the checked out iterations for the given masters. |
private static String |
getCheckedOutBy(EPMDocument epmDoc)
|
private static WTKeyedMap |
getFamilyTableMasters(WTCollection masters)
|
private static WTSet |
setCADName(WTKeyedMap masters)
Calls EPMDocumentMaster.updateCADName for the given map of masters and their new CAD names. |
private static void |
setChildName(QueryResult qr,
HashMap old2NewNames)
|
private static WTSet |
setFamilyTableMasters(WTKeyedMap masters)
Given a list of family table masters indexed by the related document masters and a list of new names indexed by document masters, sets the family table masters to the corresponding new names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String EPMRESOURCE
Constructor Detail |
EPMCADNameHelper()
Method Detail |
protected static WTSet changeCADName(WTKeyedMap masters) throws WTException
masters
- a map of EPMDocumentMaster objects and their new CAD names.
WTException
private static QueryResult checkIfUsedInFTCellDep(WTKeyedMap masters, HashMap Old2NewNamesMap) throws WTException
WTException
private static void checkCADName(WTKeyedMap masters) throws WTException
masters
- a map of EPMDocumentMaster objects and their new CAD names.
WTException
private static void checkVersionPermission(WTSet masters) throws WTException
masters
- a list of masters to check.
WTException
private static List checkCheckoutState(WTCollection masters, boolean throwException) throws WTException
masters
- list of EPMDocumentMaster objects.throwException
- a flag indicating whether the list of exceptions found should be
thrown or simply returned. Returning the exception is for
supporting EPMDocumentManager.collectChangeCADNameVetos.
WTException
protected static Vector collectChangeCADNameVetos(EPMDocumentMaster master) throws WTException
WTException
private static Vector filterExceptions(Vector eVector)
private static String getCheckedOutBy(EPMDocument epmDoc) throws WTException
WTException
private static void dispatchPreChangeCADNameEvent(WTKeyedMap eventTarget) throws WTException
WTException
private static void dispatchPostChangeCADNameEvent(WTSet eventTarget) throws WTException
WTException
private static WTSet setCADName(WTKeyedMap masters) throws WTException
masters
- a map of EPMDocumentMaster objects and their new CAD names.
WTException
private static void setChildName(QueryResult qr, HashMap old2NewNames) throws WTException
WTException
private static WTSet findCheckedOutIterations(WTCollection masters) throws WTException
masters
- a list of masters
WTException
private static WTSet setFamilyTableMasters(WTKeyedMap masters) throws WTException
masters
- a WTKeyedMap whose keys are document masters and whose values are the new names.
WTException
private static WTKeyedMap getFamilyTableMasters(WTCollection masters) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |