Class Profile
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.hr.ApplicantData
org.deltava.beans.hr.Profile
- All Implemented Interfaces:
Serializable,Comparable<Object>,AuthoredBean,ComboAlias,IDBean,Cacheable
A bean to store job applicant information.
- Since:
- 3.4
- Version:
- 3.4
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProfile(int authorID) Creates the Resume bean.Creates a generic profile from a Job posting Application. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Author of this bean.booleanReturns whether this profile should be automatically submitted for future opportunities.voidsetAuthorID(int id) Updates the author of this bean.voidsetAutoReuse(boolean autoReuse) Updates whether this profile should be automatically submitted for future opportunities.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
-
Profile
Creates a generic profile from a Job posting Application.- Parameters:
a- the Application bean
-
Profile
public Profile(int authorID) Creates the Resume bean.- Parameters:
authorID- the author's database ID
-
-
Method Details
-
getAutoReuse
public boolean getAutoReuse()Returns whether this profile should be automatically submitted for future opportunities.- Returns:
- TRUE if automatically submitted, otherwise FALSE
-
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:
-
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:
-
setAutoReuse
public void setAutoReuse(boolean autoReuse) Updates whether this profile should be automatically submitted for future opportunities.- Parameters:
autoReuse- TRUE if automatically submitted, otherwise FALSE
-