|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wvs.server.util.PublishUtils
Field Summary | |
private static boolean |
allowAdminDeleteRepresentation
|
private static boolean |
allowAdminMakeDefaultRepresentation
|
private static boolean |
allowAdminPublishEPMDocument
|
private static boolean |
allowAdminPublishWTDocument
|
private static boolean |
allowAdminPublishWTPart
|
private static boolean |
allowDeleteRepresentation
|
private static boolean |
allowMakeDefaultRepresentation
|
private static boolean |
allowPublishEPMDocument
|
private static boolean |
allowPublishWTDocument
|
private static boolean |
allowPublishWTPart
|
static String |
CC
|
static String |
CCZ
|
private static double |
DCM
|
private static double |
DDM
|
private static double |
DFT
|
private static double |
DIN
|
private static double |
DKM
|
private static double |
DM
|
private static double |
DMI
|
private static double |
DMM
|
private static double |
DTOR
|
static String |
DWG
|
static String |
DXF
|
static String |
ED
|
static String |
ED_LOWER
|
private static String |
edzPrefDefault
|
static String |
END_URLHIDE
|
private static String |
EPM_PROP_GROUP
|
(package private) static ArrayList |
explicitNameList
|
private static boolean |
flagRepOutOfDate
|
private static Method |
getAllPartsForEPMDocMethod
|
private static Method |
getEPMDocForPartMethod
|
private static Method |
getPartForEPMDocMethod
|
static String |
HPGL
|
(package private) static String |
IBA_START_1
|
(package private) static String |
IBA_START_2
|
(package private) static String |
IBA_START_3
|
(package private) static String |
IBA_VALUE_1
|
(package private) static String |
IBA_VALUE_2
|
(package private) static String |
IBA_VALUE_3
|
(package private) static ArrayList |
ibaSkipNameList
|
private static boolean |
includeWorkingInEPMDocSB
|
private static boolean |
includeWorkingInPartSB
|
static RepresentationType |
INTERCOMM_REPRESENTATION_TYPE
|
private static boolean |
intercommEnabled
|
static int |
LEN_END_URLHIDE
|
static String |
OL
|
private static String |
PART_PROP_GROUP
|
static String |
PLT
|
private static boolean |
SHOW_PROP_PAGE_LINK
|
private static boolean |
SHOW_WT_PROPS
|
static String |
START_URLHIDE
|
static String |
THUMBNAIL_PROPERTIES
|
private static boolean |
VERBOSE_BUILD
|
private static WVSProperties |
wvsProperties
|
Constructor Summary | |
PublishUtils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String ED_LOWER
public static final String ED
public static final String OL
public static final String PLT
public static final String DWG
public static final String DXF
public static final String HPGL
public static final String CCZ
public static final String CC
public static final String START_URLHIDE
public static final String END_URLHIDE
public static final int LEN_END_URLHIDE
public static final String THUMBNAIL_PROPERTIES
public static RepresentationType INTERCOMM_REPRESENTATION_TYPE
private static boolean SHOW_WT_PROPS
private static boolean SHOW_PROP_PAGE_LINK
private static String PART_PROP_GROUP
private static String EPM_PROP_GROUP
private static boolean flagRepOutOfDate
private static boolean allowPublishEPMDocument
private static boolean allowAdminPublishEPMDocument
private static boolean allowPublishWTPart
private static boolean allowAdminPublishWTPart
private static boolean allowPublishWTDocument
private static boolean allowAdminPublishWTDocument
private static boolean allowDeleteRepresentation
private static boolean allowAdminDeleteRepresentation
private static boolean allowMakeDefaultRepresentation
private static boolean allowAdminMakeDefaultRepresentation
private static Method getEPMDocForPartMethod
private static Method getPartForEPMDocMethod
private static Method getAllPartsForEPMDocMethod
private static String edzPrefDefault
private static boolean intercommEnabled
private static boolean VERBOSE_BUILD
private static boolean includeWorkingInPartSB
private static boolean includeWorkingInEPMDocSB
private static WVSProperties wvsProperties
static final String IBA_VALUE_1
static final String IBA_VALUE_2
static final String IBA_VALUE_3
static final String IBA_START_1
static final String IBA_START_2
static final String IBA_START_3
static ArrayList ibaSkipNameList
static ArrayList explicitNameList
private static final double DTOR
private static final double DMM
private static final double DCM
private static final double DDM
private static final double DM
private static final double DKM
private static final double DIN
private static final double DFT
private static final double DMI
Constructor Detail |
public PublishUtils()
Method Detail |
public static boolean removeDir(File dir, boolean recursive) throws Exception
Exception
public static File forceEDFile(File tempDir)
public static File forceEDFile(File tempDir, Properties props)
public static File forceEDFile(File tempDir, Properties props, String charset)
public static String getRefFromObject(Persistable obj)
public static String getRefFromObjectRef(WTReference obj)
public static Persistable getObjectFromRef(String refString)
public static WTReference getObjectRefFromRef(String refString)
public static Class getClassFromRef(String refString)
public static String getPropertyPageURL(String oid)
public static ApplicationData getApplicationDataFromContentURL(String url)
public static String getPropertyPageURL(Persistable object)
public static String getIterationIdentifier(Versioned v)
public static boolean isAdministrator()
public static boolean isAdministrator(WTContainerRef containerRef)
public static String getVisTextFromProductViewURL(String url)
public static String hideURL(String url, String visText)
public static String getPreferedViewURL(Representation rep)
public static String getPreferedViewURL(Representation rep, boolean addOutOfDate)
public static WTKeyedMap getPreferedViewURL(WTCollection reps)
public static WTKeyedMap getPreferedViewURL(WTCollection reps, boolean addOutOfDate)
public static String getAltTag(String msg)
public static Representation getRepresentation(Persistable d)
public static Representation getRepresentation(Persistable d, String repName)
public static Representation getRepresentation(Persistable d, boolean defaultRep, String repName)
public static Representation getRepresentation(Persistable d, boolean defaultRep, String repName, boolean doFindRepresentable)
public static WTValuedMap getRepresentation(WTCollection collection)
public static WTValuedMap getRepresentation(WTCollection collection, String repName)
public static WTValuedMap getRepresentation(WTCollection collection, boolean defaultRep, String repName)
public static WTValuedMap getRepresentation(WTCollection collection, boolean defaultRep, String repName, boolean doFindRepresentable)
public static QueryResult getRepresentations(Persistable d)
public static QueryResult getRepresentations(Persistable d, boolean doFindRepresentable)
public static WTKeyedMap getRepresentations(WTCollection collection)
public static WTKeyedMap getRepresentations(WTCollection collection, boolean doFindRepresentable)
public static QueryResult findDescribes(Iterated part)
public static QueryResult findDescribedBy(Iterated part)
public static WTValuedMap findEPMDocument(WTCollection collection)
public static EPMDocument findEPMDocument(Persistable d)
public static WTPart findPart(Persistable d)
public static WTValuedMap findRepresentable(WTCollection collection)
public static Representable findRepresentable(Persistable d)
public static WTKeyedMap findAllRepresentables(WTCollection collection)
public static QueryResult findAllRepresentables(EPMDocument d)
public static void addEPMDocumentProperties(DefaultMutableTreeNode n, Persistable doc)
public static void addEPMDocumentProperties(Hashtable p, Persistable doc)
public static void addPartProperties(DefaultMutableTreeNode n, Persistable part)
public static void addPartProperties(Hashtable p, Persistable part)
public static void addPartProperties(DefaultMutableTreeNode n, Hashtable p, Persistable part)
public static void addEPMMemberLinkProperties(DefaultMutableTreeNode n, Persistable link)
public static void addEPMMemberLinkProperties(Hashtable p, Persistable link)
public static void addPartLinkProperties(DefaultMutableTreeNode n, Persistable link)
public static void addPartLinkProperties(Hashtable p, Persistable link)
public static void addIBAProperties(Hashtable p, String prefix, String propGroup, Persistable persist) throws Exception
Exception
public static void addSignatureProperties(Hashtable p, String prefix, String propGroup, Persistable persist)
public static ConfigSpec createEPMDocConfigSpec(ConfigSpec incs) throws Exception
Exception
public static WTValuedMap getDerivedFromConfigSpec(WTCollection collection) throws WTException
WTException
public static WTValuedMap getRepresentableConfigSpec(WTCollection collection) throws WTException
WTException
public static ConfigSpec getConfigSpecFor(Iterated p) throws WTException
WTException
public static ConfigSpec getConfigSpecFor(Iterated p, WTContainerRef currentContainerRef) throws WTException
WTException
public static EPMDocument getDocFromMaster(Mastered dm, ConfigSpec cs)
public static boolean isEPMDocInstance(EPMDocument doc)
public static boolean isEPMDocGeneric(EPMDocument doc)
public static EPMFamilyTable findFamilyTableFromEPMDocument(EPMDocument doc, ConfigSpec cs)
public static Persistable[] findGenericFromInstance(EPMDocument it, ConfigSpec cs)
public static Persistable[] findInstanceFromGeneric(EPMDocument gen, String itname, ConfigSpec cs)
public static Persistable[] findInstanceFromGeneric(EPMDocument gen, String itname, ConfigSpec cs, boolean useCADName)
public static Persistable[] findInstanceFromFamilyTable(EPMFamilyTable ft, String itname, ConfigSpec cs)
public static Persistable[] findInstanceFromFamilyTable(EPMFamilyTable ft, String itname, ConfigSpec cs, boolean useCADName)
public static WTProduct findProductForConfiguration(WTProductConfiguration productConfig)
public static boolean isMakeDefaultRepresentationAllowed(Representable repable, Representation rep)
public static boolean isDeleteRepresentationAllowed(Representable repable, Representation rep)
public static WTCollection isMarkedNotPublishable(WTCollection collection, boolean forUI)
public static boolean isMarkedNotPublishable(Persistable p, boolean forUI)
public static boolean isMarkedNotPublishableForUI(Persistable p)
public static boolean isMarkedNotThumbnailable(Persistable p)
public static boolean isMarkedAsPositioningAssembly(Persistable p)
public static boolean isRepresentationPositioningAssembly(Representation rep)
public static String escapeForCADAgentRUN(String in)
public static void createThumbnailPropertiesFile(String dir, String shapeType) throws IOException
IOException
public static javax.vecmath.Matrix4d getMatrix4dFromLocation(double ax, double ay, double az, double x, double y, double z, double scale)
public static javax.vecmath.Vector3d getRotationFromMatrix4d(javax.vecmath.Matrix4d mat)
public static javax.vecmath.Vector3d getTranslationFromMatrix4d(javax.vecmath.Matrix4d mat)
public static double getScaleFromMatrix4d(javax.vecmath.Matrix4d mat)
public static double getScaleToM(String unit)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |