Package wt.vc.config

Class WorkableInUseDelegate

java.lang.Object
wt.vc.config.WorkableInUseDelegate
All Implemented Interfaces:
Externalizable, Serializable, InUseDelegate

public class WorkableInUseDelegate extends Object implements InUseDelegate, Externalizable
InUseDelegate for Iterated, Workable elements. An element is considered 'in use' if it is in a personal cabinet.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • iterationIsInUse

      public boolean iterationIsInUse(Iterated iterationToCheck) throws WTException
      Returns true if the given element is in a personal cabinet.

      Supported API: true
      Specified by:
      iterationIsInUse in interface InUseDelegate
      Parameters:
      iterationToCheck -
      Returns:
      boolean
      Throws:
      WTException
    • iterationIsInUseByPrincipal

      public boolean iterationIsInUseByPrincipal(Iterated iterationToCheck, WTPrincipal principal) throws WTException
      Returns true if the given element is in the given principal's personal cabinet. A null principal value defaults to the current principal.

      Supported API: true
      Specified by:
      iterationIsInUseByPrincipal in interface InUseDelegate
      Parameters:
      iterationToCheck -
      principal -
      Returns:
      boolean
      Throws:
      WTException