wt.clients.doc
Class UpdateDocumentTaskLogic

java.lang.Object
  extended bywt.clients.doc.DocumentTaskLogic
      extended bywt.clients.doc.UpdateDocumentTaskLogic

public class UpdateDocumentTaskLogic
extends DocumentTaskLogic

Contains static helper methods to support updating WTDocument objects.

Supported API: false

Extendable: false


Field Summary
 
Fields inherited from class wt.clients.doc.DocumentTaskLogic
 
Constructor Summary
UpdateDocumentTaskLogic()
           
 
Method Summary
static boolean isUpdateAllowed(WTDocument doc)
          Returns a boolean indicating whether or not the given document can be updated by the current user.
 
Methods inherited from class wt.clients.doc.DocumentTaskLogic
delete, getCreationDate, getCurrentUserName, getDepartments, getDocumentInstance, getUpdatedDate, refreshDocument, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateDocumentTaskLogic

public UpdateDocumentTaskLogic()
Method Detail

isUpdateAllowed

public static boolean isUpdateAllowed(WTDocument doc)
                               throws LockException,
                                      WTException
Returns a boolean indicating whether or not the given document can be updated by the current user.

Throws:
LockException
WTException