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 ApplicantData
getBody, getComboAlias, getComboName, getCreatedOn, getFirstName, getLastName, getName, setBody, setCreatedOn, setFirstName, setLastNameModifier and TypeMethodDescriptiongetBody()Returns the profile body.Returns the alias to use in the HTML <OPTION> element.Returns the visible name to use in the HTML <OPTION> element.Returns the creation date of this profile.Returns the user's first name.Returns the user's last (family) name.getName()Returns the user's full name.voidUpdates the profile body.voidsetCreatedOn(Instant dt) Updates the date this profile was updated.voidsetFirstName(String fName) Updates the user's first name.voidsetLastName(String lName) Updates the user's last (family) name.Methods inherited from class DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDModifier and TypeMethodDescriptioncacheKey()Returns the cache key for this object.intbooleangetHexID()Returns the hexadecimal database ID of this object.intgetID()Returns the database ID of this object.inthashCode()voidsetID(int id) Update the database row ID of this bean.static voidvalidateID(int oldID, int newID) Validates a database ID.static voidvalidateID(int oldID, int newID, boolean allowZero) Validates a database ID.
-
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
-