Class Application
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.hr.ApplicantData
org.deltava.beans.hr.Application
- All Implemented Interfaces:
Serializable,Comparable<Object>,AuthoredBean,ComboAlias,IDBean,ViewEntry,Cacheable
A bean to store job posting application data.
- Since:
- 3.4
- Version:
- 10.2
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the Application has been approved for the position.intReturns the Author of this bean.Returns the CSS class for this object if rendered in a view table.booleanReturns whether the Application has been shortlisted.Returns the Application status.voidsetAuthorID(int id) Updates the author of this bean.voidsetStatus(ApplicantStatus status) Updates the application status.Methods inherited from class org.deltava.beans.hr.ApplicantData
getBody, getComboAlias, getComboName, getCreatedOn, getFirstName, getLastName, getName, setBody, setCreatedOn, setFirstName, setLastNameMethods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
Application
public Application(int jobID, int authorID) Creates the Application bean.- Parameters:
jobID- the Job database IDauthorID- the JobPosting database ID
-
-
Method Details
-
getAuthorID
public int getAuthorID()Description copied from interface:AuthoredBeanReturns the Author of this bean.- Specified by:
getAuthorIDin interfaceAuthoredBean- Overrides:
getAuthorIDin classApplicantData- Returns:
- the author's database ID
- See Also:
-
getStatus
-
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:AuthoredBeanUpdates the author of this bean.- Specified by:
setAuthorIDin interfaceAuthoredBean- Overrides:
setAuthorIDin classApplicantData- Parameters:
id- the author's database ID.- See Also:
-
setStatus
Updates the application status.- Parameters:
status- the ApplicantStatus
-
getRowClassName
Description copied from interface:ViewEntryReturns the CSS class for this object if rendered in a view table.- Specified by:
getRowClassNamein interfaceViewEntry- Returns:
- the CSS class name, or NULL if none
-