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 TypeMethodDescriptionint
Returns the Author of this bean.boolean
Returns whether this profile should be automatically submitted for future opportunities.void
setAuthorID
(int id) Updates the author of this bean.void
setAutoReuse
(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, setLastName
Methods 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:AuthoredBean
Returns the Author of this bean.- Specified by:
getAuthorID
in interfaceAuthoredBean
- Overrides:
getAuthorID
in classApplicantData
- Returns:
- the author's database ID
- See Also:
-
setAuthorID
public void setAuthorID(int id) Description copied from interface:AuthoredBean
Updates the author of this bean.- Specified by:
setAuthorID
in interfaceAuthoredBean
- Overrides:
setAuthorID
in 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
-