wt.vc.config
Class SessionEditedIterationInUseDelegate

java.lang.Object
  extended by wt.vc.config.SessionEditedIterationInUseDelegate
All Implemented Interfaces:
Externalizable, Serializable, InUseDelegate

public class SessionEditedIterationInUseDelegate
extends Object
implements InUseDelegate, Externalizable



Supported API: true

Extendable: false

See Also:
Serialized Form

Method Summary
 boolean iterationIsInUse(Iterated iterationToCheck)
          Returns true if the given iteration is undergoing change by any individual.
 boolean iterationIsInUseByPrincipal(Iterated iterationToCheck, WTPrincipal principal)
          Returns true if the given iteration is undergoing change by the specified individual.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

iterationIsInUse

public boolean iterationIsInUse(Iterated iterationToCheck)
                         throws WTException
Returns true if the given iteration is undergoing change by any individual.

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 iteration is undergoing change by the specified individual. A null principal value is defaulted to the current principal.

Supported API: true

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