wt.clients.vc
Class ReviseTaskLogic

java.lang.Object
  extended bywt.clients.vc.ReviseTaskLogic

public class ReviseTaskLogic
extends Object

This class supports the ReviseTask by performing the required logic to perform the tasks that the ReviseDialog and ReviseViewDialog need performed.

Supported API: false

Extendable: false

See Also:
ReviseTask

Field Summary
static String messageID
           
static String MESSAGES_RESOURCE
           
private static ResourceBundle messagesResource
           
private static String versionID
           
 
Constructor Summary
ReviseTaskLogic()
           
 
Method Summary
static String getMessageID()
          A call to this method provides a more detailed message about results of task logic requests that were performed

Supported API: false
static boolean isReviseAllowed(Versionable revised, boolean withView)
          This method decides if a wt.vc.Versioned object can be revised.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

MESSAGES_RESOURCE

public static String MESSAGES_RESOURCE

messagesResource

private static ResourceBundle messagesResource

messageID

public static String messageID
Constructor Detail

ReviseTaskLogic

public ReviseTaskLogic()
Method Detail

isReviseAllowed

public static boolean isReviseAllowed(Versionable revised,
                                      boolean withView)
                               throws LockException,
                                      WTException
This method decides if a wt.vc.Versioned object can be revised. A boolean is returned and a more detailed message can can be retrieved by a call to getMessageID().

Supported API: false

Returns:
boolean that indicates if the object is available to be revised
Throws:
LockException
WTException

getMessageID

public static String getMessageID()
A call to this method provides a more detailed message about results of task logic requests that were performed

Supported API: false

Returns:
Details about the latest logic request