|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.PROEDocSpec
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static int |
DOC_NAME_MAX_LIMIT
|
private static int |
DOC_NUMBER_MAX_LIMIT
|
private static int |
MODEL_NAME_MAX_LIMIT
|
private Vector |
renameCADNameVetosVector
|
private static String |
RESOURCE
|
Constructor Summary | |
PROEDocSpec()
|
Method Summary | |
boolean |
doesModelNameContainValidCharacters(String modelName,
String modelType)
Supported API: false |
boolean |
doesModelNameExistInWorkspace(EPMWorkspace wsObj,
String modelName)
Checks whether any EPM document in the workspace has the given model name. |
int |
getModelNamesMaxSize()
Supported API: false |
int |
getNamesMaxSize()
Supported API: false |
int |
getNumbersMaxSize()
Supported API: false |
String |
getPrefFileSectionName()
This method returns name of the section in newdocument.ini preference file. |
private Vector |
getRenamableVetoVector(EPMDocument epmDocument)
|
boolean |
isFileNameChangeable(EPMDocument epmDocument)
|
boolean |
isModelExtensionValid(String modelName,
String modelType)
Validate extension (.prt, .asm etc.) as specified in this model name. |
boolean |
isModelNameSizeValid(String modelName)
Supported API: false |
boolean |
isNameChangeable(EPMDocument epmDocument)
|
boolean |
isNameSizeValid(String name)
Validate the size of the document name. |
boolean |
isNumberChangeable(EPMDocument epmDocument)
|
boolean |
isNumberSizeValid(String number)
Validate the size of the document number. |
String |
validModelExtensions(String modelType)
Supported API: false |
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
private static final int MODEL_NAME_MAX_LIMIT
private static final int DOC_NAME_MAX_LIMIT
private static final int DOC_NUMBER_MAX_LIMIT
private Vector renameCADNameVetosVector
Constructor Detail |
public PROEDocSpec()
Method Detail |
public boolean isModelNameSizeValid(String modelName)
isModelNameSizeValid
in interface CADDocSpecs
modelName
-
public boolean doesModelNameContainValidCharacters(String modelName, String modelType)
doesModelNameContainValidCharacters
in interface CADDocSpecs
modelName
- modelType
-
public int getModelNamesMaxSize()
getModelNamesMaxSize
in interface CADDocSpecs
public boolean isModelExtensionValid(String modelName, String modelType)
isModelExtensionValid
in interface CADDocSpecs
modelName
- modelType
-
public String validModelExtensions(String modelType)
validModelExtensions
in interface CADDocSpecs
modelType
-
public boolean isNameSizeValid(String name)
isNameSizeValid
in interface CADDocSpecs
name
-
public int getNamesMaxSize()
getNamesMaxSize
in interface CADDocSpecs
public boolean isNumberSizeValid(String number)
isNumberSizeValid
in interface CADDocSpecs
number
-
public int getNumbersMaxSize()
getNumbersMaxSize
in interface CADDocSpecs
public String getPrefFileSectionName()
getPrefFileSectionName
in interface CADDocSpecs
public boolean doesModelNameExistInWorkspace(EPMWorkspace wsObj, String modelName) throws WTException
doesModelNameExistInWorkspace
in interface CADDocSpecs
wsObj
- modelName
-
WTException
public boolean isNameChangeable(EPMDocument epmDocument) throws WTException
isNameChangeable
in interface CADDocSpecs
WTException
public boolean isNumberChangeable(EPMDocument epmDocument) throws WTException
isNumberChangeable
in interface CADDocSpecs
WTException
public boolean isFileNameChangeable(EPMDocument epmDocument) throws WTException
isFileNameChangeable
in interface CADDocSpecs
WTException
private Vector getRenamableVetoVector(EPMDocument epmDocument) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |