Class Application

All Implemented Interfaces:
Serializable, Comparable<Object>, AuthoredBean, ComboAlias, IDBean, ViewEntry, Cacheable

public class Application extends ApplicantData implements ViewEntry
A bean to store job posting application data.
Since:
3.4
Version:
10.2
Author:
Luke
See Also:
  • Constructor Details

    • Application

      public Application(int jobID, int authorID)
      Creates the Application bean.
      Parameters:
      jobID - the Job database ID
      authorID - the JobPosting database ID
  • Method Details

    • getAuthorID

      public int getAuthorID()
      Description copied from interface: AuthoredBean
      Returns the Author of this bean.
      Specified by:
      getAuthorID in interface AuthoredBean
      Overrides:
      getAuthorID in class ApplicantData
      Returns:
      the author's database ID
      See Also:
    • getStatus

      public ApplicantStatus getStatus()
      Returns the Application status.
      Returns:
      the ApplicantStatus
    • getShortlisted

      public boolean getShortlisted()
      Returns whether the Application has been shortlisted.
      Returns:
      TRUE if shortlisted, otherwise FALSE
    • getApproved

      public boolean getApproved()
      Returns whether the Application has been approved for the position.
      Returns:
      TRUE if approved, otherwise FALSE
    • setAuthorID

      public void setAuthorID(int id)
      Description copied from interface: AuthoredBean
      Updates the author of this bean.
      Specified by:
      setAuthorID in interface AuthoredBean
      Overrides:
      setAuthorID in class ApplicantData
      Parameters:
      id - the author's database ID.
      See Also:
    • setStatus

      public void setStatus(ApplicantStatus status)
      Updates the application status.
      Parameters:
      status - the ApplicantStatus
    • getRowClassName

      public String getRowClassName()
      Description copied from interface: ViewEntry
      Returns the CSS class for this object if rendered in a view table.
      Specified by:
      getRowClassName in interface ViewEntry
      Returns:
      the CSS class name, or NULL if none