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 (invalid input: '<' 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
    invalid reference
    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

    • RESERVABLE_REF

      public static final String RESERVABLE_REF
      Reference to Reservable object.

      Supported API: true

      See Also:
    • RESERVATION_TYPE

      public static final String RESERVATION_TYPE
      Type of reservation requested or granted to the Reservable object.

      Supported API: true

      See Also:
    • RESERVED_BY_REF

      public static final String RESERVED_BY_REF
      Reference to
      invalid reference
      WTPrincipal
      requesting or holding the reservation (null for current principal).

      Supported API: true

      See Also:
    • EXPIRES_AFTER

      public static final String EXPIRES_AFTER
      Number of minutes the reservation is held before expiring (invalid input: '<' 1 for default expiration time).

      Supported API: true

      See Also:
    • EXPIRES

      public static final String EXPIRES
      Reservation is automatically dropped after this time has passed (null if reservation has not been granted yet).

      Supported API: true

      See Also:
    • ENFORCED_BY_SERVICE

      public static final String ENFORCED_BY_SERVICE
      True if reservation is enforced by ReservationService, false if enforced by client (default).

      Supported API: true

      See Also:
    • ADMIN_OVERRIDE

      public static final String ADMIN_OVERRIDE
      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:
    • WORKFLOW_OVERRIDE

      public static final String WORKFLOW_OVERRIDE
      True if a workflow process is allowed to override the reservation, false if not allowed (default).

      Supported API: true

      See Also:
    • GRANTED

      public static final String GRANTED
      True if reservation is granted, false if not granted.

      Supported API: true

      See Also:
    • ERROR_MESSAGE

      public static final String ERROR_MESSAGE
      Reason a reservation could not be granted (null if no error).

      Supported API: true

      See Also:
  • 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: