Package wt.reservation
Class _Reservation
java.lang.Object
wt.reservation._Reservation
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
Reservation
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTrue if a principal with administrative permission to the site or organization containing theReservableobject is allowed to override the reservation, false if not allowed (default).static final StringTrue if reservation is enforced byReservationService, false if enforced by client (default).static final StringReason a reservation could not be granted (null if no error).static final StringReservation is automatically dropped after this time has passed (null if reservation has not been granted yet).static final StringNumber of minutes the reservation is held before expiring (< 1 for default expiration time).static final StringTrue if reservation is granted, false if not granted.static final StringReference toReservableobject.static final StringType of reservation requested or granted to theReservableobject.static final StringReference toWTPrincipalrequesting or holding the reservation (null for current principal).static final StringTrue if a workflow process is allowed to override the reservation, false if not allowed (default). -
Method Summary
Modifier and TypeMethodDescriptionReason 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).booleanTrue if a principal with administrative permission to the site or organization containing theReservableobject is allowed to override the reservation, false if not allowed (default).booleanTrue if reservation is enforced byReservationService, false if enforced by client (default).booleanTrue if reservation is granted, false if not granted.booleanTrue if a workflow process is allowed to override the reservation, false if not allowed (default).
-
Field Details
-
RESERVABLE_REF
Reference toReservableobject.Supported API: true
- See Also:
-
RESERVATION_TYPE
Type of reservation requested or granted to theReservableobject.Supported API: true
- See Also:
-
RESERVED_BY_REF
Reference toWTPrincipalrequesting or holding the reservation (null for current principal).Supported API: true
- See Also:
-
EXPIRES_AFTER
Number of minutes the reservation is held before expiring (< 1 for default expiration time).Supported API: true
- See Also:
-
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
True if reservation is enforced byReservationService, false if enforced by client (default).Supported API: true
- See Also:
-
ADMIN_OVERRIDE
True if a principal with administrative permission to the site or organization containing theReservableobject is allowed to override the reservation, false if not allowed (default).Supported API: true
- See Also:
-
WORKFLOW_OVERRIDE
True if a workflow process is allowed to override the reservation, false if not allowed (default).Supported API: true
- See Also:
-
GRANTED
True if reservation is granted, false if not granted.Supported API: true
- See Also:
-
ERROR_MESSAGE
Reason a reservation could not be granted (null if no error).Supported API: true
- See Also:
-
-
Method Details
-
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 byReservationService, 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 theReservableobject 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
Reason a reservation could not be granted (null if no error).Supported API: true
- See Also:
-