|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.ObjectDependencyUtility
Supported API: false
Extendable: false
Field Summary | |
static int |
ASSOC_OPTIONAL_DEPENDENT
|
static int |
ASSOC_REQUIRED_DEPENDENT
|
static int |
ASSOC_SELECTED
|
private static int |
CHUNK_SIZE
|
private static String |
CLASSNAME
|
static String |
CRITERIA_ADD
|
static String |
CRITERIA_NONE
|
static String |
CRITERIA_REMOVE
|
static Comparator |
DOCUMENT_NUMBER_COMPARATOR
|
private static int |
ND_DEP_T_EXTRASSY_COMP
|
private static int |
ND_DEP_T_EXTRASSY_PARTL_COMP
|
static int |
OPTIONAL_DEPENDENT
|
static Comparator |
PERSISTABLE_COMPARATOR
|
static int |
REQUIRED_DEPENDENT
|
private static String |
RESOURCE
|
static int |
SELECTED
|
private static boolean |
VERBOSE
|
Constructor Summary | |
ObjectDependencyUtility()
|
Method Summary | |
private static void |
addAssociatedDocs(EPMDocument[] assocDocs,
Set[] objectSets,
Set targetSet)
|
private static void |
addAssociatedParts(WTPart[] assocParts,
Set[] objectSets,
Set targetSet)
|
private static void |
addFamilyInstancesToInstanceSet(EPMDocument genericDoc,
EPMDocument instanceDoc,
ConfigSpec docConfigSpec,
Set selectedAndDependentsSet,
Set instanceSet,
Set excludeSet,
Set[] objectSets,
boolean includeAssociated,
ConfigSpec partConfigSpec,
boolean isPartCentric)
|
private static void |
addObjectToSet(Object[] assocParts,
Set[] objectSets,
Set targetSet)
|
private static boolean |
canObjectBeRefreshed(Workable workable,
EPMWorkspace workspace,
ConfigSpec configSpec)
|
private static boolean |
contains(Vector dataHolderVector,
Workable object)
|
static ArrayList |
filterObjects(List objects,
Class classToKeep)
|
static WTPart[] |
getActiveAssociated(EPMDocument source)
|
static EPMDocument[] |
getActiveAssociated(WTPart target)
|
static Vector |
getActiveAssociatedDocsAndPartsWithParent(List selected)
|
static List[] |
getAllInstances(List selected,
boolean includeAssociated,
List dependents,
List excludeObjects,
ConfigSpec configSpec,
boolean includeInstances,
String criteria,
boolean isCheckoutMetadata)
Given an list of selected objects and a list containing all of their dependents as also the config spec for filtering out the documents, this method returns an array of lists. |
static List[] |
getAllInstances(List selected,
boolean includeAssociated,
List dependents,
List excludeObjects,
ConfigSpec docConfigSpec,
boolean includeInstances,
String criteria,
boolean isCheckoutMetadata,
ConfigSpec partConfigSpec,
boolean isPartCentric)
|
static List[] |
getAllInstances(Object[] selected,
boolean includeAssociated,
List dependents,
List excludeObjects,
ConfigSpec configSpec,
boolean includeInstances,
String criteria,
boolean isCheckoutMetadata)
Given an array of selected objects and a list containing all of their dependents as also the config spec for filtering out the documents, this method returns an array of lists. |
static List[] |
getAllInstances(Object[] selected,
boolean includeAssociated,
List dependents,
List excludeObjects,
ConfigSpec docConfigSpec,
boolean includeInstances,
String criteria,
boolean isCheckoutMetadata,
ConfigSpec partConfigSpec,
boolean isPartCentric)
|
static Vector |
getAllInstancesWithParent(List selected,
boolean includeAssociated,
List dependents,
ConfigSpec configSpec,
boolean includeInstances)
Given an list of selected objects and a list containing all of their dependents as also the config spec for filtering out the documents, this method returns a Vector of Vectors. |
static WTPart[] |
getAssociated(EPMDocument source)
Supported API: false |
static EPMDocument[] |
getAssociated(WTPart target)
Supported API: false |
static Object[] |
getAssociatedDocsAndParts(List selected)
Supported API: false |
static Object[] |
getAssociatedDocsAndParts(Object[] selectedObj)
Supported API: false |
static Vector |
getAssociatedDocsAndPartsWithParent(List selected)
Supported API: false |
static EPMWorkspace |
getCheckoutWorkspace(Workable target)
Supported API: false |
static EPMDocument[] |
getCompatibleFamilyInstances(EPMDocument genericDoc,
ConfigSpec partConfigSpec,
ConfigSpec docConfigSpec,
boolean isPartCentric)
|
static EPMDocument[] |
getCompatibleFamilyInstances(EPMDocument genericDoc,
ConfigSpec partConfigSpec,
ConfigSpec docConfigSpec,
boolean isPartCentric,
WTContainer container)
Obtains all the family instances for the given generic document, filtered using configSpec. |
private static void |
getDependentsOfExternalSiplifiedReps(EPMWorkspace ws,
ArrayList externSimpRepsToAdd,
ArrayList toAddNonRecursively,
ArrayList toAddRecursively,
ConfigSpec docConfigSpec)
|
static EPMReferenceLink |
getEPMReferenceLink(EPMDocument srcDoc)
|
static EPMDocument[] |
getFamilyInstances(EPMDocument genericDoc,
ConfigSpec configSpec)
|
static EPMDocument[] |
getFamilyInstances(EPMDocument genericDoc,
ConfigSpec docConfigSpec,
ConfigSpec partConfigSpec,
boolean isPartCentric)
Obtains all the family instances for the given generic document, filtered using configSpec. |
protected static void |
getFilteredIterations(Class iterCl,
List masters,
ConfigSpec cs,
Map filteredIters)
|
static Map |
getGenericDocumentsForInstances(List selected,
ConfigSpec configSpec)
Given a List containing selected objects this method returns a map containing instance documents from the array mapped against their corresponding generics. |
static Map |
getGenericDocumentsForInstances(Object[] selected,
ConfigSpec configSpec)
Given an array containing selected objects this method returns a map containing instance documents from the array mapped against their corresponding generics. |
private static String |
getKey(Object obj)
|
static QueryResult |
getMasters(QueryResult qr)
|
static Object[] |
getOptionalDependents(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List associatedObjects,
List requiredDependentObjects)
Supported API: false |
static Object[] |
getOptionalDependents(Object[] selectedObj,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List associatedObjects,
List requiredDependentObjects)
Supported API: false |
static Vector |
getOptionalDependentsWithParent(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List associatedObjects,
List requiredDependentObjects)
Supported API: false |
private static ArrayList |
getPartCentricAssocPartsAndDocs(ArrayList docs,
ConfigSpec partConfigSpec,
ArrayList partsToBeProcessed,
ArrayList partsNotToBeProcessed)
|
static Object[] |
getPartCentricDependents(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
WTPartConfigSpec partConfigSpec,
boolean includeAssociated)
|
static Map |
getPartCentricRefreshedObjects(List objectList,
ConfigSpec partConfigSpec,
ConfigSpec docConfigSpec,
EPMWorkspace workspace)
|
static Vector |
getPartCentricRequiredDependentsWithParent(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated,
WTPartConfigSpec partConfigSpec)
|
private static QueryResult |
getPartsAndDocs(EPMWorkspace workspace,
EPMPopulateRule rule,
List selected,
EPMDocConfigSpec docConfigSpec,
WTPartConfigSpec partConfigSpec)
|
private static QueryResult |
getPartsAndDocs(EPMWorkspace workspace,
EPMPopulateRule rule,
WTPart part,
EPMDocConfigSpec docConfigSpec,
WTPartConfigSpec partConfigSpec)
|
static WTPart[] |
getPassiveAssociated(EPMDocument source)
|
static EPMDocument[] |
getPassiveAssociated(WTPart target)
|
static Vector |
getPassiveAssociatedDocsAndPartsWithParent(List selected)
|
static Enumeration |
getReferedDocuments(EPMDocument a_Doc,
ConfigSpec a_ConfigSpec)
This method returns the documents refered by a drawing. |
static Collection |
getRefreshedObjects(Collection objectsToBeRefreshed,
ConfigSpec docConfigSpec,
ConfigSpec partConfigSpec)
|
private static Map |
getRefreshedObjects(List objectList,
ConfigSpec partConfigSpec,
ConfigSpec docConfigSpec,
EPMWorkspace workspace)
|
static boolean[] |
getRefreshedObjects(Object[] objectsToBeRefreshed,
ConfigSpec docConfigSpec,
ConfigSpec partConfigSpec)
|
static Map |
getRefreshedObjects(Object[] objectsToBeRefreshed,
EPMWorkspace workspace,
ConfigSpec docConfigSpec,
ConfigSpec partConfigSpec)
Supported API: false |
static Object[] |
getRelatedDrawings(List selected,
boolean includeAssociated,
List associatedObjects,
List allDependents,
ConfigSpec configSpec)
Supported API: false |
static Object[] |
getRelatedDrawings(List selected,
List associatedObjects,
List oldDrawings,
boolean includeAssociated,
ConfigSpec configSpec)
Supported API: false |
static Object[] |
getRelatedDrawings(List selected,
List associatedObjects,
List oldDrawings,
boolean includeAssociated,
ConfigSpec docConfigSpec,
ConfigSpec partConfigSpec,
boolean partCentric)
|
static Object[] |
getRelatedDrawings(Object[] selectedObj,
boolean includeAssociated,
List associatedObjects,
List allDependents,
ConfigSpec configSpec)
Supported API: false |
static Vector |
getRelatedDrawingsWithParent(List selected,
boolean includeAssociated,
List allDependents,
ConfigSpec configSpec)
Supported API: false |
private static QueryResult |
getRelatedItems(EPMWorkspace workspace,
EPMPopulateRule rule,
EPMDocument object,
EPMDocConfigSpec docConfigSpec)
|
private static QueryResult |
getRelatedItems(EPMWorkspace workspace,
EPMPopulateRule rule,
List selected,
EPMDocConfigSpec docConfigSpec)
|
static Object[] |
getRequiredDependents(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated,
List associatedObjects)
Supported API: false |
static Object[] |
getRequiredDependents(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated,
List associatedObjects,
boolean includeRequiredGenerics)
|
static Object[] |
getRequiredDependents(Object[] selectedObj,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated,
List associatedObjects)
Supported API: false |
static Object[] |
getRequiredDependents(Object[] selectedObj,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated,
List associatedObjects,
boolean includeRequiredGenerics)
|
static Vector |
getRequiredDependentsWithParent(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
boolean includeAssociated)
Supported API: false |
static Enumeration |
getRequiredReferedDocuments(EPMDocument a_Doc,
ConfigSpec a_ConfigSpec)
This method returns only the required documents refered by a drawing. |
static Object[] |
getSecondaryDependents(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List associatedObjects,
List requiredDependentObjects,
List optionalDependentObjects,
List drawingObjects)
Supported API: false |
static Object[] |
getSecondaryDependents(Object[] selectedObj,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List associatedObjects,
List requiredDependentObjects,
List optionalDependentObjects,
List drawingObjects)
Supported API: false |
static Vector |
getSecondaryDependentsWithParent(List selected,
EPMWorkspace workspace,
EPMDocConfigSpec docConfigSpec,
EPMPopulateRule rule,
boolean includeAssociated,
List drawingObjects)
Supported API: false |
static Vector |
getUsedByWithParent(List selected,
boolean includeAssociated,
List allDependents,
ConfigSpec configSpec)
|
static Workable |
getWorkspaceCopy(Workable inWorkable,
EPMWorkspace workspace)
|
static Vector |
getWTDocumentsWithParent(List selected,
List associated,
boolean includeAssociated)
Supported API: false |
private static boolean |
isAnyVersionCheckedOutByUser(RevisionControlled revisionControlled,
ConfigSpec configSpec)
|
static boolean |
isCheckedOut(Workable object)
Supported API: false |
static boolean |
isCheckedOut(Workable object,
EPMWorkspace workspace)
Supported API: false |
static boolean |
isCheckedOutToCurrentUser(Workable workable)
Supported API: false |
private static boolean |
isLatestConfigSpec(ConfigSpec configSpec)
|
private static boolean |
setArrayContainsObject(Object obj,
Set[] objectSets)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final Comparator PERSISTABLE_COMPARATOR
public static final Comparator DOCUMENT_NUMBER_COMPARATOR
public static final String CRITERIA_ADD
public static final String CRITERIA_REMOVE
public static final String CRITERIA_NONE
private static final int ND_DEP_T_EXTRASSY_COMP
private static final int ND_DEP_T_EXTRASSY_PARTL_COMP
public static final int SELECTED
public static final int ASSOC_REQUIRED_DEPENDENT
public static final int ASSOC_SELECTED
public static final int ASSOC_OPTIONAL_DEPENDENT
public static final int REQUIRED_DEPENDENT
public static final int OPTIONAL_DEPENDENT
private static int CHUNK_SIZE
private static boolean VERBOSE
Constructor Detail |
public ObjectDependencyUtility()
Method Detail |
public static Object[] getAssociatedDocsAndParts(Object[] selectedObj) throws WTException
selectedObj
-
WTException
public static Object[] getAssociatedDocsAndParts(List selected) throws WTException
selected
-
WTException
public static Vector getAssociatedDocsAndPartsWithParent(List selected) throws WTException
selected
-
WTException
public static Object[] getRelatedDrawings(Object[] selectedObj, boolean includeAssociated, List associatedObjects, List allDependents, ConfigSpec configSpec) throws WTException
selectedObj
- includeAssociated
- associatedObjects
- allDependents
- configSpec
-
WTException
public static Object[] getRelatedDrawings(List selected, boolean includeAssociated, List associatedObjects, List allDependents, ConfigSpec configSpec) throws WTException
selected
- includeAssociated
- associatedObjects
- allDependents
- configSpec
-
WTException
public static Vector getRelatedDrawingsWithParent(List selected, boolean includeAssociated, List allDependents, ConfigSpec configSpec) throws WTException
selected
- includeAssociated
- allDependents
- configSpec
-
WTException
public static Object[] getRequiredDependents(Object[] selectedObj, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated, List associatedObjects) throws WTException, WTPropertyVetoException
selectedObj
- workspace
- docConfigSpec
- includeAssociated
- associatedObjects
-
WTException
WTPropertyVetoException
public static Object[] getRequiredDependents(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated, List associatedObjects) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- includeAssociated
- associatedObjects
-
WTException
WTPropertyVetoException
public static Vector getRequiredDependentsWithParent(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- includeAssociated
-
WTException
WTPropertyVetoException
public static Object[] getOptionalDependents(Object[] selectedObj, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List associatedObjects, List requiredDependentObjects) throws WTException, WTPropertyVetoException
selectedObj
- workspace
- docConfigSpec
- rule
- includeAssociated
- associatedObjects
- requiredDependentObjects
-
WTException
WTPropertyVetoException
public static Object[] getOptionalDependents(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List associatedObjects, List requiredDependentObjects) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- rule
- includeAssociated
- associatedObjects
- requiredDependentObjects
-
WTException
WTPropertyVetoException
public static Vector getOptionalDependentsWithParent(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List associatedObjects, List requiredDependentObjects) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- rule
- includeAssociated
- associatedObjects
- requiredDependentObjects
-
WTException
WTPropertyVetoException
public static Object[] getSecondaryDependents(Object[] selectedObj, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List associatedObjects, List requiredDependentObjects, List optionalDependentObjects, List drawingObjects) throws WTException, WTPropertyVetoException
selectedObj
- workspace
- docConfigSpec
- rule
- includeAssociated
- associatedObjects
- requiredDependentObjects
- optionalDependentObjects
- drawingObjects
-
WTException
WTPropertyVetoException
public static Object[] getSecondaryDependents(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List associatedObjects, List requiredDependentObjects, List optionalDependentObjects, List drawingObjects) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- rule
- includeAssociated
- associatedObjects
- requiredDependentObjects
- optionalDependentObjects
- drawingObjects
-
WTException
WTPropertyVetoException
public static Vector getSecondaryDependentsWithParent(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, EPMPopulateRule rule, boolean includeAssociated, List drawingObjects) throws WTException, WTPropertyVetoException
selected
- workspace
- docConfigSpec
- rule
- includeAssociated
- drawingObjects
-
WTException
WTPropertyVetoException
public static Map getRefreshedObjects(Object[] objectsToBeRefreshed, EPMWorkspace workspace, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec) throws WTException, WTPropertyVetoException
objectsToBeRefreshed
- workspace
- docConfigSpec
- partConfigSpec
-
WTException
WTPropertyVetoException
public static WTPart[] getAssociated(EPMDocument source) throws WTException
source
-
WTException
public static EPMDocument[] getAssociated(WTPart target) throws WTException
target
-
WTException
public static boolean isCheckedOut(Workable object, EPMWorkspace workspace) throws WTException
object
- workspace
-
WTException
public static boolean isCheckedOut(Workable object) throws WTException
object
-
WTException
public static EPMWorkspace getCheckoutWorkspace(Workable target) throws WTException
target
-
WTException
public static boolean isCheckedOutToCurrentUser(Workable workable) throws WTException
workable
-
WTException
public static Enumeration getReferedDocuments(EPMDocument a_Doc, ConfigSpec a_ConfigSpec)
a_Doc
- a_ConfigSpec
-
public static List[] getAllInstances(Object[] selected, boolean includeAssociated, List dependents, List excludeObjects, ConfigSpec configSpec, boolean includeInstances, String criteria, boolean isCheckoutMetadata) throws WTException
selected
- The list of objects selected from workspace browser(WB)
or selection dialog(SD)includeAssociated
- Includes associated documents or partsdependents
- List of all dependents (associated, required,
optional, drawing, secondary and instances)excludeObjects
- List of objects (other than select and dependents)
that are to be excluded from return listconfigSpec
- Config spec used to filter out documentsincludeInstances
- Includes instancescriteria
- Indicates whether objects are to be added to workspace
or removedisCheckoutMetadata
- Indicates whether the user launched Checkout
Metadata operation
WTException
public static List[] getAllInstances(List selected, boolean includeAssociated, List dependents, List excludeObjects, ConfigSpec configSpec, boolean includeInstances, String criteria, boolean isCheckoutMetadata) throws WTException
selected
- The list of objects selected from workspace browser(WB)
or selection dialog(SD)includeAssociated
- Includes associated documents or partsdependents
- List of all dependents (associated, required,
optional, drawing, secondary and instances)excludeObjects
- List of objects (other than select and dependents)
that are to be excluded from return listconfigSpec
- Config spec used to filter out documentsincludeInstances
- Includes instancescriteria
- Indicates whether objects are to be added to workspace
or removedisCheckoutMetadata
- Indicates whether the user launched Checkout
Metadata operation
WTException
public static Map getGenericDocumentsForInstances(Object[] selected, ConfigSpec configSpec) throws WTException
selected
- The array of objects selected from workspace browser(WB)
or selection dialog(SD)configSpec
- Config spec used to filter out documents
WTException
public static Map getGenericDocumentsForInstances(List selected, ConfigSpec configSpec) throws WTException
selected
- The array of objects selected from workspace browser(WB)
or selection dialog(SD)configSpec
- Config spec used to filter out documents
WTException
public static Object[] getRelatedDrawings(List selected, List associatedObjects, List oldDrawings, boolean includeAssociated, ConfigSpec configSpec) throws WTException
selected
- associatedObjects
- oldDrawings
- includeAssociated
- configSpec
-
WTException
public static Vector getWTDocumentsWithParent(List selected, List associated, boolean includeAssociated) throws WTException
selected
- associated
- includeAssociated
-
WTException
private static Map getRefreshedObjects(List objectList, ConfigSpec partConfigSpec, ConfigSpec docConfigSpec, EPMWorkspace workspace) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static boolean contains(Vector dataHolderVector, Workable object)
private static void addAssociatedDocs(EPMDocument[] assocDocs, Set[] objectSets, Set targetSet) throws WTException
WTException
private static void addAssociatedParts(WTPart[] assocParts, Set[] objectSets, Set targetSet)
private static QueryResult getRelatedItems(EPMWorkspace workspace, EPMPopulateRule rule, EPMDocument object, EPMDocConfigSpec docConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static QueryResult getRelatedItems(EPMWorkspace workspace, EPMPopulateRule rule, List selected, EPMDocConfigSpec docConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static QueryResult getPartsAndDocs(EPMWorkspace workspace, EPMPopulateRule rule, List selected, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static QueryResult getPartsAndDocs(EPMWorkspace workspace, EPMPopulateRule rule, WTPart part, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static Workable getWorkspaceCopy(Workable inWorkable, EPMWorkspace workspace) throws WTException
WTException
private static String getKey(Object obj)
private static boolean canObjectBeRefreshed(Workable workable, EPMWorkspace workspace, ConfigSpec configSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static boolean isLatestConfigSpec(ConfigSpec configSpec)
private static boolean isAnyVersionCheckedOutByUser(RevisionControlled revisionControlled, ConfigSpec configSpec) throws WTException
WTException
private static void addFamilyInstancesToInstanceSet(EPMDocument genericDoc, EPMDocument instanceDoc, ConfigSpec docConfigSpec, Set selectedAndDependentsSet, Set instanceSet, Set excludeSet, Set[] objectSets, boolean includeAssociated, ConfigSpec partConfigSpec, boolean isPartCentric) throws WTException
WTException
public static EPMDocument[] getFamilyInstances(EPMDocument genericDoc, ConfigSpec configSpec) throws WTException
WTException
public static EPMDocument[] getFamilyInstances(EPMDocument genericDoc, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec, boolean isPartCentric) throws WTException
WTException
public static EPMDocument[] getCompatibleFamilyInstances(EPMDocument genericDoc, ConfigSpec partConfigSpec, ConfigSpec docConfigSpec, boolean isPartCentric, WTContainer container) throws WTException
WTException
public static Vector getAllInstancesWithParent(List selected, boolean includeAssociated, List dependents, ConfigSpec configSpec, boolean includeInstances) throws WTException
selected
- The list of objects selected from workspace browser(WB)
or selection dialog(SD)includeAssociated
- Includes associated documents or partsdependents
- List of all dependents (associated, required,
optional, drawing, secondary and instances)configSpec
- Config spec used to filter out documentsincludeInstances
- Includes instances
WTException
public static Vector getActiveAssociatedDocsAndPartsWithParent(List selected) throws WTException
WTException
public static Vector getPassiveAssociatedDocsAndPartsWithParent(List selected) throws WTException
WTException
public static WTPart[] getActiveAssociated(EPMDocument source) throws WTException
WTException
public static EPMDocument[] getActiveAssociated(WTPart target) throws WTException
WTException
public static WTPart[] getPassiveAssociated(EPMDocument source) throws WTException
WTException
public static EPMDocument[] getPassiveAssociated(WTPart target) throws WTException
WTException
private static void getDependentsOfExternalSiplifiedReps(EPMWorkspace ws, ArrayList externSimpRepsToAdd, ArrayList toAddNonRecursively, ArrayList toAddRecursively, ConfigSpec docConfigSpec) throws WTException
WTException
public static Object[] getRequiredDependents(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated, List associatedObjects, boolean includeRequiredGenerics) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static Object[] getRequiredDependents(Object[] selectedObj, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated, List associatedObjects, boolean includeRequiredGenerics) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static EPMReferenceLink getEPMReferenceLink(EPMDocument srcDoc) throws WTException
WTException
public static boolean[] getRefreshedObjects(Object[] objectsToBeRefreshed, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec) throws WTException
WTException
protected static void getFilteredIterations(Class iterCl, List masters, ConfigSpec cs, Map filteredIters) throws WTException
WTException
public static Map getPartCentricRefreshedObjects(List objectList, ConfigSpec partConfigSpec, ConfigSpec docConfigSpec, EPMWorkspace workspace) throws WTException
WTException
public static Object[] getPartCentricDependents(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec, boolean includeAssociated) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static ArrayList getPartCentricAssocPartsAndDocs(ArrayList docs, ConfigSpec partConfigSpec, ArrayList partsToBeProcessed, ArrayList partsNotToBeProcessed) throws WTException
WTException
public static QueryResult getMasters(QueryResult qr) throws WTException
WTException
public static ArrayList filterObjects(List objects, Class classToKeep)
private static void addObjectToSet(Object[] assocParts, Set[] objectSets, Set targetSet)
private static boolean setArrayContainsObject(Object obj, Set[] objectSets)
public static Object[] getRelatedDrawings(List selected, List associatedObjects, List oldDrawings, boolean includeAssociated, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec, boolean partCentric) throws WTException
WTException
public static List[] getAllInstances(List selected, boolean includeAssociated, List dependents, List excludeObjects, ConfigSpec docConfigSpec, boolean includeInstances, String criteria, boolean isCheckoutMetadata, ConfigSpec partConfigSpec, boolean isPartCentric) throws WTException
WTException
public static List[] getAllInstances(Object[] selected, boolean includeAssociated, List dependents, List excludeObjects, ConfigSpec docConfigSpec, boolean includeInstances, String criteria, boolean isCheckoutMetadata, ConfigSpec partConfigSpec, boolean isPartCentric) throws WTException
WTException
public static Vector getPartCentricRequiredDependentsWithParent(List selected, EPMWorkspace workspace, EPMDocConfigSpec docConfigSpec, boolean includeAssociated, WTPartConfigSpec partConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static Vector getUsedByWithParent(List selected, boolean includeAssociated, List allDependents, ConfigSpec configSpec) throws WTException
WTException
public static Enumeration getRequiredReferedDocuments(EPMDocument a_Doc, ConfigSpec a_ConfigSpec)
a_Doc
- a_ConfigSpec
-
public static EPMDocument[] getCompatibleFamilyInstances(EPMDocument genericDoc, ConfigSpec partConfigSpec, ConfigSpec docConfigSpec, boolean isPartCentric) throws WTException
WTException
public static Collection getRefreshedObjects(Collection objectsToBeRefreshed, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |