|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.rule.impl.EPMDocumentCopyRuleApplier
A rule applier for applying COPY
rules to EPMDocument
objects.
This class should be moved to the wt.epm package.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
Deprecated. |
private static String |
RESOURCE
Deprecated. |
Constructor Summary | |
EPMDocumentCopyRuleApplier()
Deprecated. |
Method Summary | |
Object |
applyRule(Object object,
Rule rule,
WTContainerRef container)
Deprecated. |
static String |
getCopyNumber(String origNum)
Deprecated. |
static String |
numberToName(String num)
Deprecated. |
(package private) static EPMDocument |
syncWithNumber(EPMDocument copyTo)
Deprecated. |
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
Constructor Detail |
public EPMDocumentCopyRuleApplier()
Method Detail |
public Object applyRule(Object object, Rule rule, WTContainerRef container) throws WTException, WTPropertyVetoException
rule
to the object
. Return the resulting
object. The specified container is used to lookup resource objects
that are required while applying the rule. The result object might
be the same object or a different one depending on the semantics of
the rule.
If the rule
is null
, or the rule
does not have a specification
, then nothing is done and
the original object
is returned (i.e., a no-op is performed).
Different implementations of this interface will handle rule application differently.
applyRule
in interface RuleApplier
object
- the object that the rule should be applied to (cannot be null
)rule
- the rule to be appliedcontainer
- the container to use for resource object lookups
WTException
WTPropertyVetoException
static EPMDocument syncWithNumber(EPMDocument copyTo) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static String getCopyNumber(String origNum) throws WTException
WTException
public static String numberToName(String num)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |