Class _Reservation

java.lang.Object
wt.reservation._Reservation
All Implemented Interfaces:
Externalizable, Serializable
Direct Known Subclasses:
Reservation

public abstract class _Reservation extends Object implements Externalizable
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    True if a principal with administrative permission to the site or organization containing the Reservable object is allowed to override the reservation, false if not allowed (default).
    static final String
    True if reservation is enforced by ReservationService, false if enforced by client (default).
    static final String
    Reason a reservation could not be granted (null if no error).
    static final String
    Reservation is automatically dropped after this time has passed (null if reservation has not been granted yet).
    static final String
    Number of minutes the reservation is held before expiring (< 1 for default expiration time).
    static final String
    True if reservation is granted, false if not granted.
    static final String
    Reference to Reservable object.
    static final String
    Type of reservation requested or granted to the Reservable object.
    static final String
    Reference to WTPrincipal requesting or holding the reservation (null for current principal).
    static final String
    True if a workflow process is allowed to override the reservation, false if not allowed (default).
  • Method Summary

    Modifier and Type
    Method
    Description
    Reason a reservation could not be granted (null if no error).
    Reservation is automatically dropped after this time has passed (null if reservation has not been granted yet).
    boolean
    True if a principal with administrative permission to the site or organization containing the Reservable object is allowed to override the reservation, false if not allowed (default).
    boolean
    True if reservation is enforced by ReservationService, false if enforced by client (default).
    boolean
    True if reservation is granted, false if not granted.
    boolean
    True if a workflow process is allowed to override the reservation, false if not allowed (default).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getExpires

      public Timestamp getExpires()
      Reservation is automatically dropped after this time has passed (null if reservation has not been granted yet).

      Supported API: true

      See Also:
    • isEnforcedByService

      public boolean isEnforcedByService()
      True if reservation is enforced by ReservationService, false if enforced by client (default).

      Supported API: true

      See Also:
    • isAdminOverride

      public boolean isAdminOverride()
      True if a principal with administrative permission to the site or organization containing the Reservable object is allowed to override the reservation, false if not allowed (default).

      Supported API: true

      See Also:
    • isWorkflowOverride

      public boolean isWorkflowOverride()
      True if a workflow process is allowed to override the reservation, false if not allowed (default).

      Supported API: true

      See Also:
    • isGranted

      public boolean isGranted()
      True if reservation is granted, false if not granted.

      Supported API: true

      See Also:
    • getErrorMessage

      public WTMessage getErrorMessage()
      Reason a reservation could not be granted (null if no error).

      Supported API: true

      See Also: