Uses of Class
wt.locks.LockException

Packages that use LockException
wt.clients.doc   
wt.clients.folderexplorer   
wt.clients.vc   
wt.csm.ranking.service   
wt.locks
 
wt.part Defines WTParts and WTPartMasters ( the fundamental enterprise objects used to represent product structures composed of assemblies and components), WTPartUsageLink and WTPartConfigSpec (used to build the structures of parts and select the correct versions of parts from the structures) and the WTPartService to manage these parts. 
 

Uses of LockException in wt.clients.doc
 

Methods in wt.clients.doc that throw LockException
static boolean UpdateDocumentTaskLogic.isUpdateAllowed(WTDocument doc)
          Returns a boolean indicating whether or not the given document can be updated by the current user.
 

Uses of LockException in wt.clients.folderexplorer
 

Methods in wt.clients.folderexplorer that throw LockException
static boolean WindchillExplorerTaskLogic.isUpdateAllowed(CabinetBased entry)
          Deprecated. Method isUpdateAllowed determines if the given CabinetBased object is available for updating by the current user.
 

Uses of LockException in wt.clients.vc
 

Methods in wt.clients.vc that throw LockException
static boolean VersionHistoryTaskLogic.isVersionHistoryAllowed(Versioned revised)
          Supported API: false
static boolean ReviseTaskLogic.isReviseAllowed(Versionable revised, boolean withView)
          This method decides if a wt.vc.Versioned object can be revised.
static boolean OneOffTaskLogic.isOneOffAllowed(OneOffVersioned oneOffVersioned)
          This method decides if a wt.vc.OneOffVersioned object can be revised.
static boolean IterationHistoryTaskLogic.isIterationHistoryAllowed(Iterated revised)
           
static boolean CheckInOutTaskLogic.isCheckoutAllowed(Workable workable)
          Checks if the current user is allowed to check out the given Workable object.
static WTPrincipal CheckInOutTaskLogic.getCheckedOutBy(Workable workable)
          Returns the WTPrincipal that currently has the given Workable object checked out.
static String CheckInOutTaskLogic.getCheckedOutBy(Workable workable, Locale locale)
          Returns the String display name of the WTPrincipal that currently has the given Workable object checked out.
 

Uses of LockException in wt.csm.ranking.service
 

Methods in wt.csm.ranking.service that throw LockException
static Workable RankingDBService.getCheckOutObject(Workable holder)
           
static boolean RankingDBService.isCheckoutAllowed(Workable workable)
           
 

Uses of LockException in wt.locks
 

Methods in wt.locks that throw LockException
protected  void StandardLockService.validateLock(Lockable object)
          Vetoes a database modify if the object has been locked and if the current session's principal is not the one who placed the lock.
protected  void StandardLockService.restoreLock(Lockable object)
          Restores the locker of the lockable object's lock.
 Lockable StandardLockService.lock(Lockable object, WTPrincipalReference locker, String note)
          Provides server-side functionality for the locking of business objects.
 Lockable StandardLockService.lock(Lockable object, WTPrincipalReference locker)
          Defaults the note to be null and invokes the main lock method.
 Lockable StandardLockService.lock(Lockable object, String note)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable StandardLockService.lock(Lockable object)
          Defaults the note to be null, the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable StandardLockService.unlock(Lockable object, WTPrincipalReference locker)
          Provides server-side functionality for releasing a business object's lock.
 Lockable StandardLockService.unlock(Lockable object)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main unlock method.
 Lockable LockServiceFwd.lock(Lockable object, WTPrincipalReference locker, String note)
          Provides server-side functionality for the locking of business objects.
 Lockable LockServiceFwd.lock(Lockable object, WTPrincipalReference locker)
          Defaults the note to be null and invokes the main lock method.
 Lockable LockServiceFwd.lock(Lockable object, String note)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable LockServiceFwd.lock(Lockable object)
          Defaults the note to be null, the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable LockServiceFwd.unlock(Lockable object, WTPrincipalReference locker)
          Provides server-side functionality for releasing a business object's lock.
 Lockable LockServiceFwd.unlock(Lockable object)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main unlock method.
 Lockable LockService.lock(Lockable object, WTPrincipalReference locker, String note)
          Provides server-side functionality for the locking of business objects.
 Lockable LockService.lock(Lockable object, WTPrincipalReference locker)
          Defaults the note to be null and invokes the main lock method.
 Lockable LockService.lock(Lockable object, String note)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable LockService.lock(Lockable object)
          Defaults the note to be null, the principal to be null, which makes the principal the session's user, and invokes the main lock method.
 Lockable LockService.unlock(Lockable object, WTPrincipalReference locker)
          Provides server-side functionality for releasing a business object's lock.
 Lockable LockService.unlock(Lockable object)
          Defaults the principal to be null, which makes the principal the session's user, and invokes the main unlock method.
static Lockable LockHelper.lock(Lockable object, WTPrincipal locker, String note)
          Deprecated. Replaced by assignLocker(Lockable,WTPrincipalReference) or LockHelper.service.lock(Lockable,WTPrincipalReference,String)
static Lockable LockHelper.lock(Lockable object, WTPrincipal locker)
          Deprecated. Replaced by assignLocker(Lockable,WTPrincipalReference) or LockHelper.service.lock(Lockable,WTPrincipalReference)
static Lockable LockHelper.lock(Lockable object, String note)
          Deprecated. Replaced by assignLocker(Lockable,WTPrincipalReference) or LockHelper.service.lock(Lockable,String)
static Lockable LockHelper.lock(Lockable object)
          Deprecated. Replaced by assignLocker(Lockable,WTPrincipalReference) or LockHelper.service.lock(Lockable)
static Lockable LockHelper.unlock(Lockable object, WTPrincipal locker)
          Deprecated. Replaced by LockHelper.service.unlock(Lockable,WTPrincipalReference)
static Lockable LockHelper.unlock(Lockable object)
          Deprecated. Replaced by LockHelper.service.unlock(Lockable)
static Lockable LockHelper.assignLock(Lockable object, WTPrincipalReference locker, String note)
          Assigns a lock on the given lockable object by the given principal.
static Lockable LockHelper.releaseLock(Lockable object)
          Releases the lock that has been placed on the given lockable object.
static boolean LockHelper.isLocked(Lockable object)
          Tests if the given object has been locked.
static Timestamp LockHelper.getDate(Lockable object)
          Gets the time when the object was locked.
static String LockHelper.getNote(Lockable object)
          Gets the reason why the object was locked.
static WTPrincipal LockHelper.getLocker(Lockable object)
          Gets the principal who placed the lock.
static WTPrincipalReference LockHelper.getLockerReference(Lockable object)
          Gets the principal who placed the lock.
static SearchCondition LockHelper.getSearchCondition(Class target, boolean state)
          Gets a SearchCondition to be appended to a query of all the objects that are either locked or unlocked.
static SearchCondition LockHelper.getSearchCondition(Class target, WTPrincipal principal, boolean state)
          Gets a SearchCondition to be appended to a query of all the objects that are either locked or unlocked for a given principal.
static SearchCondition LockHelper.getSearchCondition(Class target, WTPrincipalReference principal, boolean state)
          Gets a SearchCondition to be appended to a query of all the objects that are either locked or unlocked for a given principal.
static WTCollection LockHelper.releaseLock(WTCollection objectSet)
          Releases the lock that has been placed on the given collection of lockable objects.
static Lockable LockHelper.assignLock(Lockable object, WTPrincipalReference locker, String note, Timestamp date)
          Assigns a lock on the given lockable object to the given principal, note and date.
 void Lock.seize(WTPrincipalReference locker, String note)
          Low-level mechanism that places a lock on an object.
 void Lock.release()
          Low-level mechanism that releases a lock on an object.
 

Constructors in wt.locks that throw LockException
LockServiceEvent(LockService service, String eventType, Object eventTarget)
          Constructs an locking service's event from the specified service and its event type and target.
 

Uses of LockException in wt.part
 

Methods in wt.part that throw LockException
static boolean LoadPart.isCheckoutAllowed(Workable workable)
          See if checkout is allowed.
static Workable LoadPart.getCheckOutObject(Workable workable)
          check a workable out.