|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.prowtutil.FamilyUtilities
Field Summary | |
private static String |
BRANCH_ID
|
private static int |
CHUNK_SIZE
|
private static int |
CS
|
private static String |
FOLDER_ID
|
private static String |
FOLDER_MEMBER_ID
|
private static String |
GENERIC_ID
|
private static String |
INSTANCE_ID
|
private static String |
LATEST_ITERATION
|
private static String |
MASTER_ID
|
private static String |
OBJ_ID
|
private static boolean |
VERBOSE
|
private static int |
WORKSPACE
|
private static int |
WORKSPACE_CS
|
Constructor Summary | |
FamilyUtilities()
|
Method Summary | |
protected static void |
addDependence(FamilyInfo fam,
EPMDocument doc,
Map input)
|
protected static void |
getConfigSpecContent(Map mastersCS,
ConfigSpec cs,
int contentType,
Map content)
Builds a map of the respective EPMDocuments for the given ConfigSpec. |
static ArrayList |
getEPMDocumentsFromFolderAndConfigSpec(Folder folder,
ConfigSpec cs,
boolean mergeWithLatest)
Builds the ArrayList of the EPMDocuments from the given Folder with the given ConfigSpec. |
static Map |
getFamilyInfo(List documents,
EPMWorkspace ws,
boolean allInfo)
|
static Map |
getFamilyInfo(List documents,
EPMWorkspace ws,
boolean allInfo,
Folder folder)
|
static Map |
getFamilyInfo(List documents,
EPMWorkspace ws,
ConfigSpec cs,
boolean allInfo)
|
static Map |
getFamilyInfo(List documents,
EPMWorkspace ws,
ConfigSpec cs,
boolean allInfo,
Folder folder)
|
static Map |
getFamilyInfo(List documents,
EPMWorkspace ws,
Map wsContent,
ConfigSpec cs,
boolean allInfo,
Folder folder)
Retrieve a family info for the given ArrayList of EPMDcouments. |
protected static EPMDocument |
getFromContent(Map content,
int contentType,
List epms)
Search the respective EPMDocument among the iterations of given content of workspace/config spec |
protected static EPMDocument |
getFromMultipleChoice(Map mastersCS,
EPMWorkspace ws,
ConfigSpec cs,
Map[] content,
boolean[] isFirstContentCall,
ArrayList iters)
Search the respective iteration among the given iterations using the given workspace and ConfigSpec. |
protected static Map |
getGenerics(List docs,
boolean allInfo,
Map inputDocs,
Map wsDocs,
Folder folder,
Map mastersCS,
boolean isPJLWorkspace)
|
static Map |
getGenericsFromCollection(Collection docs)
|
protected static Map |
getInstances(List docs,
boolean allInfo,
Map inputDocs,
Map wsDocs,
Folder folder,
Map mastersCS,
boolean isPJLWorkspace)
|
protected static Map |
getIterationsFromContainedIn(List docs,
boolean isGeneric,
boolean allInfo,
Map inputDocs,
Map wsDocs,
Folder folder,
Map mastersCS,
boolean isPJLWorkspace)
Builds the Map of instance/generic EPMDocuments. |
static Map |
getIterationsFromWorkspace(EPMWorkspace ws)
Builds the Map of EPMDocuments from given workspace. |
protected static EPMDocument |
getLatest(ArrayList iters)
Search the latest iteration among the given iterations. |
static Map |
getLatestEPMDocumentsFromFolder(Folder folder)
Builds the Map of the latest EPMDocuments from the given Folder(Cabinet or SubFolder). |
private static boolean |
isFromProjectContainer(ObjectReference ref)
|
protected static boolean |
isIgnorableLink(EPMDocument a,
EPMDocument b,
Map wsDocs,
boolean isPJLWorkspace)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String OBJ_ID
private static final String INSTANCE_ID
private static final String GENERIC_ID
private static final String FOLDER_ID
private static final String FOLDER_MEMBER_ID
private static final String BRANCH_ID
private static final String LATEST_ITERATION
private static final String MASTER_ID
private static final int WORKSPACE
private static final int WORKSPACE_CS
private static final int CS
private static int CHUNK_SIZE
private static boolean VERBOSE
Constructor Detail |
public FamilyUtilities()
Method Detail |
public static Map getFamilyInfo(List documents, EPMWorkspace ws, boolean allInfo) throws WTException
WTException
public static Map getFamilyInfo(List documents, EPMWorkspace ws, ConfigSpec cs, boolean allInfo) throws WTException
WTException
public static Map getFamilyInfo(List documents, EPMWorkspace ws, boolean allInfo, Folder folder) throws WTException
WTException
public static Map getFamilyInfo(List documents, EPMWorkspace ws, ConfigSpec cs, boolean allInfo, Folder folder) throws WTException
WTException
public static Map getFamilyInfo(List documents, EPMWorkspace ws, Map wsContent, ConfigSpec cs, boolean allInfo, Folder folder) throws WTException
allInfo
- folder
-
WTException
protected static void addDependence(FamilyInfo fam, EPMDocument doc, Map input)
protected static Map getGenerics(List docs, boolean allInfo, Map inputDocs, Map wsDocs, Folder folder, Map mastersCS, boolean isPJLWorkspace) throws WTException
WTException
protected static Map getInstances(List docs, boolean allInfo, Map inputDocs, Map wsDocs, Folder folder, Map mastersCS, boolean isPJLWorkspace) throws WTException
WTException
protected static Map getIterationsFromContainedIn(List docs, boolean isGeneric, boolean allInfo, Map inputDocs, Map wsDocs, Folder folder, Map mastersCS, boolean isPJLWorkspace) throws WTException
isGeneric
- allInfo
-
WTException
public static Map getIterationsFromWorkspace(EPMWorkspace ws) throws WTException
WTException
protected static EPMDocument getFromContent(Map content, int contentType, List epms) throws WTException
content
- type
WTException
protected static void getConfigSpecContent(Map mastersCS, ConfigSpec cs, int contentType, Map content) throws WTException
content
- type
WTException
protected static EPMDocument getLatest(ArrayList iters)
protected static EPMDocument getFromMultipleChoice(Map mastersCS, EPMWorkspace ws, ConfigSpec cs, Map[] content, boolean[] isFirstContentCall, ArrayList iters) throws WTException
content
- mapisFirstContentCall
-
WTException
protected static boolean isIgnorableLink(EPMDocument a, EPMDocument b, Map wsDocs, boolean isPJLWorkspace)
public static Map getLatestEPMDocumentsFromFolder(Folder folder) throws WTException
folder
-
WTException
public static ArrayList getEPMDocumentsFromFolderAndConfigSpec(Folder folder, ConfigSpec cs, boolean mergeWithLatest) throws WTException
folder
-
WTException
public static Map getGenericsFromCollection(Collection docs) throws WTException
WTException
private static boolean isFromProjectContainer(ObjectReference ref)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |