Interface EPMDocumentNamingDelegate
A delegate that is used to validate the name, number and model name of a new EPMDocument to be created during upload
from an authoring application. It can also be used to generate new name and number for this EPMDocument. The name and
number are held in the DocIdentifier instance that is passed as argument to the only supported method
viz. validateDocumentIdentifier() from this interface.
For customizing the validation of new EPMDocument name, number and model name, we need to specify the name of the
custom delegate class that implements this interface in Windchill/codebase/service.properties. This is documented in
the section titled "Customizing the Naming Service" in Windchill Help Center.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateDocumentIdentifier(DocIdentifier docIdentifier) Used to validate the new number, name and model name of the EPMDocument to be created during upload from an authoring application and optionally parameters.
-
Method Details
-
validateDocumentIdentifier
Used to validate the new number, name and model name of the EPMDocument to be created during upload from an authoring application and optionally parameters. These are passed in the input
DocIdentifierargument. This method can also be used to generate new number and name, possibly using some custom logic. Currently, even if the optional parameters are updated/deleted/created by this method, they are ignored during new EPMDocument creation.
Supported API: true- Parameters:
docIdentifier- ADocIdentifierinstance holding the new name, number and model name to be set on the new EPMDocument to be created during upload from an authoring application. It may also optionally hold parameters but they are currently not used during the creation of this EPMDocument.
-