Class ApprovalStatus

java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.flight.ApprovalStatus
All Implemented Interfaces:
Serializable, Comparable<Object>, IDBean, Cacheable

public class ApprovalStatus extends DatabaseBean
A bean to track post-approval operations for a Flight Report.
Since:
12.1
Version:
12.1
Author:
Luke
See Also:
  • Constructor Details

    • ApprovalStatus

      public ApprovalStatus(int id)
      Creates the bean.
      Parameters:
      id - the Flight Report database ID
  • Method Details

    • add

      public void add(ApprovalOperation op)
      Adds an incomplete post-approval operation for this Flight.
      Parameters:
      op - the ApprovalOperation
    • isPending

      public boolean isPending(ApprovalOperation op)
      Checks if a post-approval operation is pending for this Flight.
      Parameters:
      op - the ApprovalOperation
      Returns:
      TRUE if the Operation is incomplete, otherwise FALSE
    • remove

      public void remove(ApprovalOperation op)
      Removes a complete post-approval operation from this Flight.
      Parameters:
      op - the ApprovalOperation