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
modelFields 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.longReturns the class name ID of this contact.longReturns the class pk of this contact.longReturns the company ID of this contact.longReturns 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.booleangetMale()Returns the male of this contact.Returns the middle name of this contact.Returns the modified date of this contact.longReturns the mvcc version of this contact.longReturns the parent contact ID of this contact.longReturns the prefix list type ID of this contact.longReturns the primary key of this contact.Returns the skype sn of this contact.getSmsSn()Returns the sms sn of this contact.longReturns the suffix list type ID of this contact.Returns the twitter sn of this contact.longReturns the user ID of this contact.Returns the user name of this contact.Returns the user uuid of this contact.booleanisMale()Returnstrueif this contact is male.booleanisUser()voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetBirthday(Date birthday) Sets the birthday of this contact.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this contact.voidsetClassPK(long classPK) Sets the class pk of this contact.voidsetCompanyId(long companyId) Sets the company ID of this contact.voidsetContactId(long contactId) Sets the contact ID of this contact.voidsetCreateDate(Date createDate) Sets the create date of this contact.voidsetEmailAddress(String emailAddress) Sets the email address of this contact.voidsetEmployeeNumber(String employeeNumber) Sets the employee number of this contact.voidsetEmployeeStatusId(String employeeStatusId) Sets the employee status ID of this contact.voidsetFacebookSn(String facebookSn) Sets the facebook sn of this contact.voidsetFirstName(String firstName) Sets the first name of this contact.voidsetHoursOfOperation(String hoursOfOperation) Sets the hours of operation of this contact.voidsetJabberSn(String jabberSn) Sets the jabber sn of this contact.voidsetJobClass(String jobClass) Sets the job class of this contact.voidsetJobTitle(String jobTitle) Sets the job title of this contact.voidsetLastName(String lastName) Sets the last name of this contact.voidsetMale(boolean male) Sets whether this contact is male.voidsetMiddleName(String middleName) Sets the middle name of this contact.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this contact.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this contact.voidsetParentContactId(long parentContactId) Sets the parent contact ID of this contact.voidsetPrefixListTypeId(long prefixListTypeId) Sets the prefix list type ID of this contact.voidsetPrimaryKey(long primaryKey) Sets the primary key of this contact.voidsetSkypeSn(String skypeSn) Sets the skype sn of this contact.voidSets the sms sn of this contact.voidsetSuffixListTypeId(long suffixListTypeId) Sets the suffix list type ID of this contact.voidsetTwitterSn(String twitterSn) Sets the twitter sn of this contact.voidsetUserId(long userId) Sets the user ID of this contact.voidsetUserName(String userName) Sets the user name of this contact.voidsetUserUuid(String userUuid) Sets the user uuid of this contact.protected ContactWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ContactWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Contact>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Contact>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Contact>- Specified by:
cloneWithOriginalValuesin interfaceContactModel
-
getBirthday
Returns the birthday of this contact.- Specified by:
getBirthdayin interfaceContactModel- Returns:
- the birthday of this contact
-
getClassName
Returns the fully qualified class name of this contact.- Specified by:
getClassNamein interfaceContactModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this contact
-
getClassNameId
public long getClassNameId()Returns the class name ID of this contact.- Specified by:
getClassNameIdin interfaceContactModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this contact
-
getClassPK
public long getClassPK()Returns the class pk of this contact.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceContactModel- Returns:
- the class pk of this contact
-
getCompanyId
public long getCompanyId()Returns the company ID of this contact.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceContactModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this contact
-
getContactId
public long getContactId()Returns the contact ID of this contact.- Specified by:
getContactIdin interfaceContactModel- Returns:
- the contact ID of this contact
-
getCreateDate
Returns the create date of this contact.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceContactModel- Returns:
- the create date of this contact
-
getEmailAddress
Returns the email address of this contact.- Specified by:
getEmailAddressin interfaceContactModel- Returns:
- the email address of this contact
-
getEmployeeNumber
Returns the employee number of this contact.- Specified by:
getEmployeeNumberin interfaceContactModel- Returns:
- the employee number of this contact
-
getEmployeeStatusId
Returns the employee status ID of this contact.- Specified by:
getEmployeeStatusIdin interfaceContactModel- Returns:
- the employee status ID of this contact
-
getFacebookSn
Returns the facebook sn of this contact.- Specified by:
getFacebookSnin interfaceContactModel- Returns:
- the facebook sn of this contact
-
getFirstName
Returns the first name of this contact.- Specified by:
getFirstNamein interfaceContactModel- Returns:
- the first name of this contact
-
getFullName
- Specified by:
getFullNamein interfaceContact
-
getHoursOfOperation
Returns the hours of operation of this contact.- Specified by:
getHoursOfOperationin interfaceContactModel- Returns:
- the hours of operation of this contact
-
getJabberSn
Returns the jabber sn of this contact.- Specified by:
getJabberSnin interfaceContactModel- Returns:
- the jabber sn of this contact
-
getJobClass
Returns the job class of this contact.- Specified by:
getJobClassin interfaceContactModel- Returns:
- the job class of this contact
-
getJobTitle
Returns the job title of this contact.- Specified by:
getJobTitlein interfaceContactModel- Returns:
- the job title of this contact
-
getLastName
Returns the last name of this contact.- Specified by:
getLastNamein interfaceContactModel- Returns:
- the last name of this contact
-
getMale
public boolean getMale()Returns the male of this contact.- Specified by:
getMalein interfaceContactModel- Returns:
- the male of this contact
-
getMiddleName
Returns the middle name of this contact.- Specified by:
getMiddleNamein interfaceContactModel- Returns:
- the middle name of this contact
-
getModifiedDate
Returns the modified date of this contact.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceContactModel- Returns:
- the modified date of this contact
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this contact.- Specified by:
getMvccVersionin interfaceContactModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this contact
-
getParentContactId
public long getParentContactId()Returns the parent contact ID of this contact.- Specified by:
getParentContactIdin interfaceContactModel- Returns:
- the parent contact ID of this contact
-
getPrefixListTypeId
public long getPrefixListTypeId()Returns the prefix list type ID of this contact.- Specified by:
getPrefixListTypeIdin interfaceContactModel- Returns:
- the prefix list type ID of this contact
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this contact.- Specified by:
getPrimaryKeyin interfaceContactModel- Returns:
- the primary key of this contact
-
getSkypeSn
Returns the skype sn of this contact.- Specified by:
getSkypeSnin interfaceContactModel- Returns:
- the skype sn of this contact
-
getSmsSn
Returns the sms sn of this contact.- Specified by:
getSmsSnin interfaceContactModel- Returns:
- the sms sn of this contact
-
getSuffixListTypeId
public long getSuffixListTypeId()Returns the suffix list type ID of this contact.- Specified by:
getSuffixListTypeIdin interfaceContactModel- Returns:
- the suffix list type ID of this contact
-
getTwitterSn
Returns the twitter sn of this contact.- Specified by:
getTwitterSnin interfaceContactModel- Returns:
- the twitter sn of this contact
-
getUserId
public long getUserId()Returns the user ID of this contact.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceContactModel- Returns:
- the user ID of this contact
-
getUserName
Returns the user name of this contact.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceContactModel- Returns:
- the user name of this contact
-
getUserUuid
Returns the user uuid of this contact.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceContactModel- Returns:
- the user uuid of this contact
-
isMale
public boolean isMale()Returnstrueif this contact is male.- Specified by:
isMalein interfaceContactModel- Returns:
trueif this contact is male;falseotherwise
-
isUser
public boolean isUser() -
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setBirthday
Sets the birthday of this contact.- Specified by:
setBirthdayin interfaceContactModel- Parameters:
birthday- the birthday of this contact
-
setClassName
- Specified by:
setClassNamein interfaceContactModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this contact.- Specified by:
setClassNameIdin interfaceContactModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceContactModel- Parameters:
classPK- the class pk of this contact
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this contact.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceContactModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this contact
-
setContactId
public void setContactId(long contactId) Sets the contact ID of this contact.- Specified by:
setContactIdin interfaceContactModel- Parameters:
contactId- the contact ID of this contact
-
setCreateDate
Sets the create date of this contact.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceContactModel- Parameters:
createDate- the create date of this contact
-
setEmailAddress
Sets the email address of this contact.- Specified by:
setEmailAddressin interfaceContactModel- Parameters:
emailAddress- the email address of this contact
-
setEmployeeNumber
Sets the employee number of this contact.- Specified by:
setEmployeeNumberin interfaceContactModel- Parameters:
employeeNumber- the employee number of this contact
-
setEmployeeStatusId
Sets the employee status ID of this contact.- Specified by:
setEmployeeStatusIdin interfaceContactModel- Parameters:
employeeStatusId- the employee status ID of this contact
-
setFacebookSn
Sets the facebook sn of this contact.- Specified by:
setFacebookSnin interfaceContactModel- Parameters:
facebookSn- the facebook sn of this contact
-
setFirstName
Sets the first name of this contact.- Specified by:
setFirstNamein interfaceContactModel- Parameters:
firstName- the first name of this contact
-
setHoursOfOperation
Sets the hours of operation of this contact.- Specified by:
setHoursOfOperationin interfaceContactModel- Parameters:
hoursOfOperation- the hours of operation of this contact
-
setJabberSn
Sets the jabber sn of this contact.- Specified by:
setJabberSnin interfaceContactModel- Parameters:
jabberSn- the jabber sn of this contact
-
setJobClass
Sets the job class of this contact.- Specified by:
setJobClassin interfaceContactModel- Parameters:
jobClass- the job class of this contact
-
setJobTitle
Sets the job title of this contact.- Specified by:
setJobTitlein interfaceContactModel- Parameters:
jobTitle- the job title of this contact
-
setLastName
Sets the last name of this contact.- Specified by:
setLastNamein interfaceContactModel- Parameters:
lastName- the last name of this contact
-
setMale
public void setMale(boolean male) Sets whether this contact is male.- Specified by:
setMalein interfaceContactModel- Parameters:
male- the male of this contact
-
setMiddleName
Sets the middle name of this contact.- Specified by:
setMiddleNamein interfaceContactModel- Parameters:
middleName- the middle name of this contact
-
setModifiedDate
Sets the modified date of this contact.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceContactModel- Parameters:
modifiedDate- the modified date of this contact
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this contact.- Specified by:
setMvccVersionin interfaceContactModel- Specified by:
setMvccVersionin 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:
setParentContactIdin 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:
setPrefixListTypeIdin 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:
setPrimaryKeyin interfaceContactModel- Parameters:
primaryKey- the primary key of this contact
-
setSkypeSn
Sets the skype sn of this contact.- Specified by:
setSkypeSnin interfaceContactModel- Parameters:
skypeSn- the skype sn of this contact
-
setSmsSn
Sets the sms sn of this contact.- Specified by:
setSmsSnin 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:
setSuffixListTypeIdin interfaceContactModel- Parameters:
suffixListTypeId- the suffix list type ID of this contact
-
setTwitterSn
Sets the twitter sn of this contact.- Specified by:
setTwitterSnin interfaceContactModel- Parameters:
twitterSn- the twitter sn of this contact
-
setUserId
public void setUserId(long userId) Sets the user ID of this contact.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceContactModel- Parameters:
userId- the user ID of this contact
-
setUserName
Sets the user name of this contact.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceContactModel- Parameters:
userName- the user name of this contact
-
setUserUuid
Sets the user uuid of this contact.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceContactModel- Parameters:
userUuid- the user uuid of this contact
-
toXmlString
- Specified by:
toXmlStringin interfaceContactModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Contact>
-