Package wt.epm.util

Class EPMApplicationVeto

java.lang.Object
wt.epm.util.EPMApplicationVeto
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, NetFactor

public class EPMApplicationVeto extends Object implements NetFactor, Externalizable
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.= Example: wt.epm.veto.delimiter=, wt.epm.veto.checkin=PROE,PRODUCTVIEW

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 Type
    Method
    Description
    boolean
    isVetoOperation(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.
    void
    vetoOperation(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • isVetoOperation

      public boolean isVetoOperation(EPMObject object, String operation) throws WTException
      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 on
      operation - Vetoable operation that will be performed on the given EPM object
      Returns:
      boolean
      Throws:
      WTException
    • vetoOperation

      public void vetoOperation(EPMObject object, String operation) throws WTException
      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 on
      operation - Operation that will be performed on the given EPM object
      Throws:
      WTException