public class StructureHelper
extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEP_ASSTORED |
static int |
DEP_FORCE_ASSTORED |
static int |
DEP_LATEST |
static int |
MAJOR |
static int |
MINOR |
| Constructor and Description |
|---|
StructureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeStructure() |
static List<Persistable> |
getAllEPMDocDependencies(EPMDocument epmDoc,
int mode)
get all related / dependent caddocs for a given caddoc.
|
static List<EPMDocument> |
getBestMatchDrawingsForModel(EPMDocument model) |
static List<EPMDocument> |
getBestMatchModelsForDrawing(EPMDocument drw) |
static EPMDocumentMaster |
getCADModel(EPMDocument drawing) |
static EPMDocConfigSpec |
getConfigSpec(EPMDocument epmDoc,
int mode) |
static Map<Integer,List<EPMDocument>> |
getDrawingReferences(EPMDocument epmdoc,
boolean latestVersionOnly,
boolean latestIterationOnly) |
static List<EPMDocumentMaster> |
getModelReferences(EPMDocument drawing,
boolean latestVersionOnly,
boolean latestIterationOnly) |
static List<Persistable> |
getNodes(Persistable per)
retrieve all DIRECT sub nodes of given persistable
|
static List<WTPart> |
getNodes(WTPart part) |
static List<EPMDocument> |
getRelatedDrawingsForModel(EPMDocument epmDoc,
int mode) |
static int |
getRevIndex(RevisionControlled rev) |
static CADDataTreeNode |
getStructure(List<Persistable> seeds,
boolean recursive) |
static CADDataTreeNode |
getStructure(Persistable seed,
boolean recursive) |
public static final int MAJOR
public static final int MINOR
public static final int DEP_FORCE_ASSTORED
public static final int DEP_ASSTORED
public static final int DEP_LATEST
public static int getRevIndex(RevisionControlled rev)
throws Exception
Exceptionpublic static Map<Integer,List<EPMDocument>> getDrawingReferences(EPMDocument epmdoc,
boolean latestVersionOnly,
boolean latestIterationOnly)
throws Exception
Exceptionpublic static List<EPMDocumentMaster> getModelReferences(EPMDocument drawing,
boolean latestVersionOnly,
boolean latestIterationOnly)
throws Exception
Exceptionpublic static EPMDocumentMaster getCADModel(EPMDocument drawing)
throws WTException
WTExceptionpublic static List<EPMDocument> getBestMatchDrawingsForModel(EPMDocument model)
throws Exception
Exceptionpublic static List<EPMDocument> getBestMatchModelsForDrawing(EPMDocument drw)
throws Exception
Exceptionpublic static CADDataTreeNode getStructure(List<Persistable> seeds, boolean recursive)
public static CADDataTreeNode getStructure(Persistable seed, boolean recursive)
public static List<WTPart> getNodes(WTPart part)
throws Exception
Exceptionpublic static List<Persistable> getNodes(Persistable per)
per - public static void analyzeStructure()
public static List<Persistable> getAllEPMDocDependencies(EPMDocument epmDoc,
int mode)
throws Exception
epmDoc - mode - Exceptionpublic static List<EPMDocument> getRelatedDrawingsForModel(EPMDocument epmDoc,
int mode)
throws Exception
Exceptionpublic static EPMDocConfigSpec getConfigSpec(EPMDocument epmDoc,
int mode)
throws Exception
Exception