Package com.liferay.portal.kernel.model
Interface ContactModel
- All Superinterfaces:
AttachedModel
,AuditedModel
,BaseModel<Contact>
,ClassedModel
,Cloneable
,Comparable<Contact>
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
Contact
- All Known Implementing Classes:
ContactWrapper
@ProviderType
public interface ContactModel
extends AttachedModel, AuditedModel, BaseModel<Contact>, MVCCModel, ShardedModel
The base model interface for the Contact service. Represents a row in the "Contact_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.ContactModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ContactImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the birthday of this contact.Returns the fully qualified class name of this contact.long
Returns the class name ID of this contact.long
Returns the class pk of this contact.long
Returns the company ID of this contact.long
Returns the contact ID of this contact.Returns the create date of this contact.Returns the email address of this contact.Returns the employee number of this contact.Returns the employee status ID of this contact.Returns the facebook sn of this contact.Returns the first name of this contact.Returns the hours of operation of this contact.Returns the jabber sn of this contact.Returns the job class of this contact.Returns the job title of this contact.Returns the last name of this contact.boolean
getMale()
Returns the male of this contact.Returns the middle name of this contact.Returns the modified date of this contact.long
Returns the mvcc version of this contact.long
Returns the parent contact ID of this contact.long
Returns the prefix list type ID of this contact.long
Returns the primary key of this contact.Returns the skype sn of this contact.getSmsSn()
Returns the sms sn of this contact.long
Returns the suffix list type ID of this contact.Returns the twitter sn of this contact.long
Returns the user ID of this contact.Returns the user name of this contact.Returns the user uuid of this contact.boolean
isMale()
Returnstrue
if this contact is male.void
setBirthday
(Date birthday) Sets the birthday of this contact.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this contact.void
setClassPK
(long classPK) Sets the class pk of this contact.void
setCompanyId
(long companyId) Sets the company ID of this contact.void
setContactId
(long contactId) Sets the contact ID of this contact.void
setCreateDate
(Date createDate) Sets the create date of this contact.void
setEmailAddress
(String emailAddress) Sets the email address of this contact.void
setEmployeeNumber
(String employeeNumber) Sets the employee number of this contact.void
setEmployeeStatusId
(String employeeStatusId) Sets the employee status ID of this contact.void
setFacebookSn
(String facebookSn) Sets the facebook sn of this contact.void
setFirstName
(String firstName) Sets the first name of this contact.void
setHoursOfOperation
(String hoursOfOperation) Sets the hours of operation of this contact.void
setJabberSn
(String jabberSn) Sets the jabber sn of this contact.void
setJobClass
(String jobClass) Sets the job class of this contact.void
setJobTitle
(String jobTitle) Sets the job title of this contact.void
setLastName
(String lastName) Sets the last name of this contact.void
setMale
(boolean male) Sets whether this contact is male.void
setMiddleName
(String middleName) Sets the middle name of this contact.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this contact.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this contact.void
setParentContactId
(long parentContactId) Sets the parent contact ID of this contact.void
setPrefixListTypeId
(long prefixListTypeId) Sets the prefix list type ID of this contact.void
setPrimaryKey
(long primaryKey) Sets the primary key of this contact.void
setSkypeSn
(String skypeSn) Sets the skype sn of this contact.void
Sets the sms sn of this contact.void
setSuffixListTypeId
(long suffixListTypeId) Sets the suffix list type ID of this contact.void
setTwitterSn
(String twitterSn) Sets the twitter sn of this contact.void
setUserId
(long userId) Sets the user ID of this contact.void
setUserName
(String userName) Sets the user name of this contact.void
setUserUuid
(String userUuid) Sets the user uuid of this contact.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this contact.- Returns:
- the primary key of this contact
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this contact.- Parameters:
primaryKey
- the primary key of this contact
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this contact.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this contact
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this contact.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this contact
-
getContactId
long getContactId()Returns the contact ID of this contact.- Returns:
- the contact ID of this contact
-
setContactId
void setContactId(long contactId) Sets the contact ID of this contact.- Parameters:
contactId
- the contact ID of this contact
-
getCompanyId
long getCompanyId()Returns the company ID of this contact.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this contact
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this contact.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this contact
-
getUserId
long getUserId()Returns the user ID of this contact.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this contact
-
setUserId
void setUserId(long userId) Sets the user ID of this contact.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this contact
-
getUserUuid
String getUserUuid()Returns the user uuid of this contact.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this contact
-
setUserUuid
Sets the user uuid of this contact.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this contact
-
getUserName
Returns the user name of this contact.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this contact
-
setUserName
Sets the user name of this contact.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this contact
-
getCreateDate
Date getCreateDate()Returns the create date of this contact.- Specified by:
getCreateDate
in interfaceAuditedModel
- Returns:
- the create date of this contact
-
setCreateDate
Sets the create date of this contact.- Specified by:
setCreateDate
in interfaceAuditedModel
- Parameters:
createDate
- the create date of this contact
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this contact.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Returns:
- the modified date of this contact
-
setModifiedDate
Sets the modified date of this contact.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Parameters:
modifiedDate
- the modified date of this contact
-
getClassName
String getClassName()Returns the fully qualified class name of this contact.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this contact
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this contact.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this contact
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this contact.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this contact
-
getClassPK
long getClassPK()Returns the class pk of this contact.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this contact
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this contact.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this contact
-
getParentContactId
long getParentContactId()Returns the parent contact ID of this contact.- Returns:
- the parent contact ID of this contact
-
setParentContactId
void setParentContactId(long parentContactId) Sets the parent contact ID of this contact.- Parameters:
parentContactId
- the parent contact ID of this contact
-
getEmailAddress
Returns the email address of this contact.- Returns:
- the email address of this contact
-
setEmailAddress
Sets the email address of this contact.- Parameters:
emailAddress
- the email address of this contact
-
getFirstName
Returns the first name of this contact.- Returns:
- the first name of this contact
-
setFirstName
Sets the first name of this contact.- Parameters:
firstName
- the first name of this contact
-
getMiddleName
Returns the middle name of this contact.- Returns:
- the middle name of this contact
-
setMiddleName
Sets the middle name of this contact.- Parameters:
middleName
- the middle name of this contact
-
getLastName
Returns the last name of this contact.- Returns:
- the last name of this contact
-
setLastName
Sets the last name of this contact.- Parameters:
lastName
- the last name of this contact
-
getPrefixListTypeId
long getPrefixListTypeId()Returns the prefix list type ID of this contact.- Returns:
- the prefix list type ID of this contact
-
setPrefixListTypeId
void setPrefixListTypeId(long prefixListTypeId) Sets the prefix list type ID of this contact.- Parameters:
prefixListTypeId
- the prefix list type ID of this contact
-
getSuffixListTypeId
long getSuffixListTypeId()Returns the suffix list type ID of this contact.- Returns:
- the suffix list type ID of this contact
-
setSuffixListTypeId
void setSuffixListTypeId(long suffixListTypeId) Sets the suffix list type ID of this contact.- Parameters:
suffixListTypeId
- the suffix list type ID of this contact
-
getMale
boolean getMale()Returns the male of this contact.- Returns:
- the male of this contact
-
isMale
boolean isMale()Returnstrue
if this contact is male.- Returns:
true
if this contact is male;false
otherwise
-
setMale
void setMale(boolean male) Sets whether this contact is male.- Parameters:
male
- the male of this contact
-
getBirthday
Date getBirthday()Returns the birthday of this contact.- Returns:
- the birthday of this contact
-
setBirthday
Sets the birthday of this contact.- Parameters:
birthday
- the birthday of this contact
-
getSmsSn
Returns the sms sn of this contact.- Returns:
- the sms sn of this contact
-
setSmsSn
Sets the sms sn of this contact.- Parameters:
smsSn
- the sms sn of this contact
-
getFacebookSn
Returns the facebook sn of this contact.- Returns:
- the facebook sn of this contact
-
setFacebookSn
Sets the facebook sn of this contact.- Parameters:
facebookSn
- the facebook sn of this contact
-
getJabberSn
Returns the jabber sn of this contact.- Returns:
- the jabber sn of this contact
-
setJabberSn
Sets the jabber sn of this contact.- Parameters:
jabberSn
- the jabber sn of this contact
-
getSkypeSn
Returns the skype sn of this contact.- Returns:
- the skype sn of this contact
-
setSkypeSn
Sets the skype sn of this contact.- Parameters:
skypeSn
- the skype sn of this contact
-
getTwitterSn
Returns the twitter sn of this contact.- Returns:
- the twitter sn of this contact
-
setTwitterSn
Sets the twitter sn of this contact.- Parameters:
twitterSn
- the twitter sn of this contact
-
getEmployeeStatusId
Returns the employee status ID of this contact.- Returns:
- the employee status ID of this contact
-
setEmployeeStatusId
Sets the employee status ID of this contact.- Parameters:
employeeStatusId
- the employee status ID of this contact
-
getEmployeeNumber
Returns the employee number of this contact.- Returns:
- the employee number of this contact
-
setEmployeeNumber
Sets the employee number of this contact.- Parameters:
employeeNumber
- the employee number of this contact
-
getJobTitle
Returns the job title of this contact.- Returns:
- the job title of this contact
-
setJobTitle
Sets the job title of this contact.- Parameters:
jobTitle
- the job title of this contact
-
getJobClass
Returns the job class of this contact.- Returns:
- the job class of this contact
-
setJobClass
Sets the job class of this contact.- Parameters:
jobClass
- the job class of this contact
-
getHoursOfOperation
Returns the hours of operation of this contact.- Returns:
- the hours of operation of this contact
-
setHoursOfOperation
Sets the hours of operation of this contact.- Parameters:
hoursOfOperation
- the hours of operation of this contact
-
cloneWithOriginalValues
Contact cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Contact>
-
toXmlString
-