Package com.liferay.portal.kernel.model
Class ContactWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Contact>
com.liferay.portal.kernel.model.ContactWrapper
- All Implemented Interfaces:
AttachedModel
,AuditedModel
,BaseModel<Contact>
,ClassedModel
,Contact
,ContactModel
,ModelWrapper<Contact>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<Contact>
public class ContactWrapper
extends BaseModelWrapper<Contact>
implements Contact, ModelWrapper<Contact>
This class is a wrapper for Contact
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Contact
CONTACT_ID_ACCESSOR
-
Constructor Summary
Constructors -
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.boolean
isUser()
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) 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.protected ContactWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ContactWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Contact>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Contact>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Contact>
- Specified by:
cloneWithOriginalValues
in interfaceContactModel
-
getBirthday
Returns the birthday of this contact.- Specified by:
getBirthday
in interfaceContactModel
- Returns:
- the birthday of this contact
-
getClassName
Returns the fully qualified class name of this contact.- Specified by:
getClassName
in interfaceContactModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this contact
-
getClassNameId
public long getClassNameId()Returns the class name ID of this contact.- Specified by:
getClassNameId
in interfaceContactModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this contact
-
getClassPK
public long getClassPK()Returns the class pk of this contact.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceContactModel
- Returns:
- the class pk of this contact
-
getCompanyId
public long getCompanyId()Returns the company ID of this contact.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceContactModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this contact
-
getContactId
public long getContactId()Returns the contact ID of this contact.- Specified by:
getContactId
in interfaceContactModel
- Returns:
- the contact ID of this contact
-
getCreateDate
Returns the create date of this contact.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceContactModel
- Returns:
- the create date of this contact
-
getEmailAddress
Returns the email address of this contact.- Specified by:
getEmailAddress
in interfaceContactModel
- Returns:
- the email address of this contact
-
getEmployeeNumber
Returns the employee number of this contact.- Specified by:
getEmployeeNumber
in interfaceContactModel
- Returns:
- the employee number of this contact
-
getEmployeeStatusId
Returns the employee status ID of this contact.- Specified by:
getEmployeeStatusId
in interfaceContactModel
- Returns:
- the employee status ID of this contact
-
getFacebookSn
Returns the facebook sn of this contact.- Specified by:
getFacebookSn
in interfaceContactModel
- Returns:
- the facebook sn of this contact
-
getFirstName
Returns the first name of this contact.- Specified by:
getFirstName
in interfaceContactModel
- Returns:
- the first name of this contact
-
getFullName
- Specified by:
getFullName
in interfaceContact
-
getHoursOfOperation
Returns the hours of operation of this contact.- Specified by:
getHoursOfOperation
in interfaceContactModel
- Returns:
- the hours of operation of this contact
-
getJabberSn
Returns the jabber sn of this contact.- Specified by:
getJabberSn
in interfaceContactModel
- Returns:
- the jabber sn of this contact
-
getJobClass
Returns the job class of this contact.- Specified by:
getJobClass
in interfaceContactModel
- Returns:
- the job class of this contact
-
getJobTitle
Returns the job title of this contact.- Specified by:
getJobTitle
in interfaceContactModel
- Returns:
- the job title of this contact
-
getLastName
Returns the last name of this contact.- Specified by:
getLastName
in interfaceContactModel
- Returns:
- the last name of this contact
-
getMale
public boolean getMale()Returns the male of this contact.- Specified by:
getMale
in interfaceContactModel
- Returns:
- the male of this contact
-
getMiddleName
Returns the middle name of this contact.- Specified by:
getMiddleName
in interfaceContactModel
- Returns:
- the middle name of this contact
-
getModifiedDate
Returns the modified date of this contact.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceContactModel
- Returns:
- the modified date of this contact
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this contact.- Specified by:
getMvccVersion
in interfaceContactModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this contact
-
getParentContactId
public long getParentContactId()Returns the parent contact ID of this contact.- Specified by:
getParentContactId
in interfaceContactModel
- Returns:
- the parent contact ID of this contact
-
getPrefixListTypeId
public long getPrefixListTypeId()Returns the prefix list type ID of this contact.- Specified by:
getPrefixListTypeId
in interfaceContactModel
- Returns:
- the prefix list type ID of this contact
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this contact.- Specified by:
getPrimaryKey
in interfaceContactModel
- Returns:
- the primary key of this contact
-
getSkypeSn
Returns the skype sn of this contact.- Specified by:
getSkypeSn
in interfaceContactModel
- Returns:
- the skype sn of this contact
-
getSmsSn
Returns the sms sn of this contact.- Specified by:
getSmsSn
in interfaceContactModel
- Returns:
- the sms sn of this contact
-
getSuffixListTypeId
public long getSuffixListTypeId()Returns the suffix list type ID of this contact.- Specified by:
getSuffixListTypeId
in interfaceContactModel
- Returns:
- the suffix list type ID of this contact
-
getTwitterSn
Returns the twitter sn of this contact.- Specified by:
getTwitterSn
in interfaceContactModel
- Returns:
- the twitter sn of this contact
-
getUserId
public long getUserId()Returns the user ID of this contact.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceContactModel
- Returns:
- the user ID of this contact
-
getUserName
Returns the user name of this contact.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceContactModel
- Returns:
- the user name of this contact
-
getUserUuid
Returns the user uuid of this contact.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceContactModel
- Returns:
- the user uuid of this contact
-
isMale
public boolean isMale()Returnstrue
if this contact is male.- Specified by:
isMale
in interfaceContactModel
- Returns:
true
if this contact is male;false
otherwise
-
isUser
public boolean isUser() -
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setBirthday
Sets the birthday of this contact.- Specified by:
setBirthday
in interfaceContactModel
- Parameters:
birthday
- the birthday of this contact
-
setClassName
- Specified by:
setClassName
in interfaceContactModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this contact.- Specified by:
setClassNameId
in interfaceContactModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this contact
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this contact.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceContactModel
- Parameters:
classPK
- the class pk of this contact
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this contact.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceContactModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this contact
-
setContactId
public void setContactId(long contactId) Sets the contact ID of this contact.- Specified by:
setContactId
in interfaceContactModel
- Parameters:
contactId
- the contact ID of this contact
-
setCreateDate
Sets the create date of this contact.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceContactModel
- Parameters:
createDate
- the create date of this contact
-
setEmailAddress
Sets the email address of this contact.- Specified by:
setEmailAddress
in interfaceContactModel
- Parameters:
emailAddress
- the email address of this contact
-
setEmployeeNumber
Sets the employee number of this contact.- Specified by:
setEmployeeNumber
in interfaceContactModel
- Parameters:
employeeNumber
- the employee number of this contact
-
setEmployeeStatusId
Sets the employee status ID of this contact.- Specified by:
setEmployeeStatusId
in interfaceContactModel
- Parameters:
employeeStatusId
- the employee status ID of this contact
-
setFacebookSn
Sets the facebook sn of this contact.- Specified by:
setFacebookSn
in interfaceContactModel
- Parameters:
facebookSn
- the facebook sn of this contact
-
setFirstName
Sets the first name of this contact.- Specified by:
setFirstName
in interfaceContactModel
- Parameters:
firstName
- the first name of this contact
-
setHoursOfOperation
Sets the hours of operation of this contact.- Specified by:
setHoursOfOperation
in interfaceContactModel
- Parameters:
hoursOfOperation
- the hours of operation of this contact
-
setJabberSn
Sets the jabber sn of this contact.- Specified by:
setJabberSn
in interfaceContactModel
- Parameters:
jabberSn
- the jabber sn of this contact
-
setJobClass
Sets the job class of this contact.- Specified by:
setJobClass
in interfaceContactModel
- Parameters:
jobClass
- the job class of this contact
-
setJobTitle
Sets the job title of this contact.- Specified by:
setJobTitle
in interfaceContactModel
- Parameters:
jobTitle
- the job title of this contact
-
setLastName
Sets the last name of this contact.- Specified by:
setLastName
in interfaceContactModel
- Parameters:
lastName
- the last name of this contact
-
setMale
public void setMale(boolean male) Sets whether this contact is male.- Specified by:
setMale
in interfaceContactModel
- Parameters:
male
- the male of this contact
-
setMiddleName
Sets the middle name of this contact.- Specified by:
setMiddleName
in interfaceContactModel
- Parameters:
middleName
- the middle name of this contact
-
setModifiedDate
Sets the modified date of this contact.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceContactModel
- Parameters:
modifiedDate
- the modified date of this contact
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this contact.- Specified by:
setMvccVersion
in interfaceContactModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this contact
-
setParentContactId
public void setParentContactId(long parentContactId) Sets the parent contact ID of this contact.- Specified by:
setParentContactId
in interfaceContactModel
- Parameters:
parentContactId
- the parent contact ID of this contact
-
setPrefixListTypeId
public void setPrefixListTypeId(long prefixListTypeId) Sets the prefix list type ID of this contact.- Specified by:
setPrefixListTypeId
in interfaceContactModel
- Parameters:
prefixListTypeId
- the prefix list type ID of this contact
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this contact.- Specified by:
setPrimaryKey
in interfaceContactModel
- Parameters:
primaryKey
- the primary key of this contact
-
setSkypeSn
Sets the skype sn of this contact.- Specified by:
setSkypeSn
in interfaceContactModel
- Parameters:
skypeSn
- the skype sn of this contact
-
setSmsSn
Sets the sms sn of this contact.- Specified by:
setSmsSn
in interfaceContactModel
- Parameters:
smsSn
- the sms sn of this contact
-
setSuffixListTypeId
public void setSuffixListTypeId(long suffixListTypeId) Sets the suffix list type ID of this contact.- Specified by:
setSuffixListTypeId
in interfaceContactModel
- Parameters:
suffixListTypeId
- the suffix list type ID of this contact
-
setTwitterSn
Sets the twitter sn of this contact.- Specified by:
setTwitterSn
in interfaceContactModel
- Parameters:
twitterSn
- the twitter sn of this contact
-
setUserId
public void setUserId(long userId) Sets the user ID of this contact.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceContactModel
- Parameters:
userId
- the user ID of this contact
-
setUserName
Sets the user name of this contact.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceContactModel
- Parameters:
userName
- the user name of this contact
-
setUserUuid
Sets the user uuid of this contact.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceContactModel
- Parameters:
userUuid
- the user uuid of this contact
-
toXmlString
- Specified by:
toXmlString
in interfaceContactModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Contact>
-