Package wt.locks

Interface LockService

All Known Implementing Classes:
StandardLockService

@RemoteInterface public interface LockService
Provides an abstraction that specifies and promotes server-side functionality as a service that's remotely available for use by a client. The intent is that this interface defines all the necessary server-side functionality for locking.

Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    Defaults the note to be null and invokes the main lock method.
    lock(Lockable object, WTPrincipalReference locker, String note)
    Provides server-side functionality for the locking of business objects.
    unlock(Lockable object)
    Defaults the principal to be null, which makes the principal the session's user, and invokes the main unlock method.
    Provides server-side functionality for releasing a business object's lock.