Package wt.epm.util
Class EPMApplicationVeto
java.lang.Object
wt.epm.util.EPMApplicationVeto
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,NetFactor
Each vetoable operation has a property in the wt.properties file that
lists the applications that wish to veto that operation. The veto applies
to all EPM objects that an application has created.
Based upon values for these properties, this class decides whether or
not to allow the current application to perform a given operation on
a given epm object.
.
The form for these properties are
wt.epm.veto.
Use the
newEPMApplicationVeto static factory method(s),
not the EPMApplicationVeto constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisVetoOperation(EPMObject object, String operation) Returns true if the application that owns the given epm object does not allow other applications to perform the given operation on its epm objects.voidvetoOperation(EPMObject object, String operation) Throws an exception if the application that owns the given epm object does not allow other applications to perform the given operation on its epm objects.
-
Method Details
-
isVetoOperation
Returns true if the application that owns the given epm object does not allow other applications to perform the given operation on its epm objects.
Supported API: true- Parameters:
object- EPM object that the given vetoable operation will be performed onoperation- Vetoable operation that will be performed on the given EPM object- Returns:
- boolean
- Throws:
WTException
-
vetoOperation
Throws an exception if the application that owns the given epm object does not allow other applications to perform the given operation on its epm objects.
Supported API: true- Parameters:
object- EPM Object that the given operation will be performed onoperation- Operation that will be performed on the given EPM object- Throws:
WTException
-