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}
  • Constructor Details

    • ContactWrapper

      public ContactWrapper(Contact contact)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<Contact>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<Contact>
    • cloneWithOriginalValues

      public Contact cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Contact>
      Specified by:
      cloneWithOriginalValues in interface ContactModel
    • getBirthday

      public Date getBirthday()
      Returns the birthday of this contact.
      Specified by:
      getBirthday in interface ContactModel
      Returns:
      the birthday of this contact
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this contact.
      Specified by:
      getClassName in interface ContactModel
      Specified by:
      getClassName in interface TypedModel
      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 interface ContactModel
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this contact
    • getClassPK

      public long getClassPK()
      Returns the class pk of this contact.
      Specified by:
      getClassPK in interface AttachedModel
      Specified by:
      getClassPK in interface ContactModel
      Returns:
      the class pk of this contact
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this contact.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ContactModel
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this contact
    • getContactId

      public long getContactId()
      Returns the contact ID of this contact.
      Specified by:
      getContactId in interface ContactModel
      Returns:
      the contact ID of this contact
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this contact.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface ContactModel
      Returns:
      the create date of this contact
    • getEmailAddress

      public String getEmailAddress()
      Returns the email address of this contact.
      Specified by:
      getEmailAddress in interface ContactModel
      Returns:
      the email address of this contact
    • getEmployeeNumber

      public String getEmployeeNumber()
      Returns the employee number of this contact.
      Specified by:
      getEmployeeNumber in interface ContactModel
      Returns:
      the employee number of this contact
    • getEmployeeStatusId

      public String getEmployeeStatusId()
      Returns the employee status ID of this contact.
      Specified by:
      getEmployeeStatusId in interface ContactModel
      Returns:
      the employee status ID of this contact
    • getFacebookSn

      public String getFacebookSn()
      Returns the facebook sn of this contact.
      Specified by:
      getFacebookSn in interface ContactModel
      Returns:
      the facebook sn of this contact
    • getFirstName

      public String getFirstName()
      Returns the first name of this contact.
      Specified by:
      getFirstName in interface ContactModel
      Returns:
      the first name of this contact
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface Contact
    • getHoursOfOperation

      public String getHoursOfOperation()
      Returns the hours of operation of this contact.
      Specified by:
      getHoursOfOperation in interface ContactModel
      Returns:
      the hours of operation of this contact
    • getJabberSn

      public String getJabberSn()
      Returns the jabber sn of this contact.
      Specified by:
      getJabberSn in interface ContactModel
      Returns:
      the jabber sn of this contact
    • getJobClass

      public String getJobClass()
      Returns the job class of this contact.
      Specified by:
      getJobClass in interface ContactModel
      Returns:
      the job class of this contact
    • getJobTitle

      public String getJobTitle()
      Returns the job title of this contact.
      Specified by:
      getJobTitle in interface ContactModel
      Returns:
      the job title of this contact
    • getLastName

      public String getLastName()
      Returns the last name of this contact.
      Specified by:
      getLastName in interface ContactModel
      Returns:
      the last name of this contact
    • getMale

      public boolean getMale()
      Returns the male of this contact.
      Specified by:
      getMale in interface ContactModel
      Returns:
      the male of this contact
    • getMiddleName

      public String getMiddleName()
      Returns the middle name of this contact.
      Specified by:
      getMiddleName in interface ContactModel
      Returns:
      the middle name of this contact
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this contact.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface ContactModel
      Returns:
      the modified date of this contact
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this contact.
      Specified by:
      getMvccVersion in interface ContactModel
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this contact
    • getParentContactId

      public long getParentContactId()
      Returns the parent contact ID of this contact.
      Specified by:
      getParentContactId in interface ContactModel
      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 interface ContactModel
      Returns:
      the prefix list type ID of this contact
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this contact.
      Specified by:
      getPrimaryKey in interface ContactModel
      Returns:
      the primary key of this contact
    • getSkypeSn

      public String getSkypeSn()
      Returns the skype sn of this contact.
      Specified by:
      getSkypeSn in interface ContactModel
      Returns:
      the skype sn of this contact
    • getSmsSn

      public String getSmsSn()
      Returns the sms sn of this contact.
      Specified by:
      getSmsSn in interface ContactModel
      Returns:
      the sms sn of this contact
    • getSuffixListTypeId

      public long getSuffixListTypeId()
      Returns the suffix list type ID of this contact.
      Specified by:
      getSuffixListTypeId in interface ContactModel
      Returns:
      the suffix list type ID of this contact
    • getTwitterSn

      public String getTwitterSn()
      Returns the twitter sn of this contact.
      Specified by:
      getTwitterSn in interface ContactModel
      Returns:
      the twitter sn of this contact
    • getUserId

      public long getUserId()
      Returns the user ID of this contact.
      Specified by:
      getUserId in interface AuditedModel
      Specified by:
      getUserId in interface ContactModel
      Returns:
      the user ID of this contact
    • getUserName

      public String getUserName()
      Returns the user name of this contact.
      Specified by:
      getUserName in interface AuditedModel
      Specified by:
      getUserName in interface ContactModel
      Returns:
      the user name of this contact
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this contact.
      Specified by:
      getUserUuid in interface AuditedModel
      Specified by:
      getUserUuid in interface ContactModel
      Returns:
      the user uuid of this contact
    • isMale

      public boolean isMale()
      Returns true if this contact is male.
      Specified by:
      isMale in interface ContactModel
      Returns:
      true if this contact is male; false otherwise
    • isUser

      public boolean isUser()
      Specified by:
      isUser in interface Contact
    • 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 interface PersistedModel
    • setBirthday

      public void setBirthday(Date birthday)
      Sets the birthday of this contact.
      Specified by:
      setBirthday in interface ContactModel
      Parameters:
      birthday - the birthday of this contact
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface ContactModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this contact.
      Specified by:
      setClassNameId in interface ContactModel
      Specified by:
      setClassNameId in interface TypedModel
      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 interface AttachedModel
      Specified by:
      setClassPK in interface ContactModel
      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 interface AuditedModel
      Specified by:
      setCompanyId in interface ContactModel
      Specified by:
      setCompanyId in interface ShardedModel
      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 interface ContactModel
      Parameters:
      contactId - the contact ID of this contact
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this contact.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface ContactModel
      Parameters:
      createDate - the create date of this contact
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
      Sets the email address of this contact.
      Specified by:
      setEmailAddress in interface ContactModel
      Parameters:
      emailAddress - the email address of this contact
    • setEmployeeNumber

      public void setEmployeeNumber(String employeeNumber)
      Sets the employee number of this contact.
      Specified by:
      setEmployeeNumber in interface ContactModel
      Parameters:
      employeeNumber - the employee number of this contact
    • setEmployeeStatusId

      public void setEmployeeStatusId(String employeeStatusId)
      Sets the employee status ID of this contact.
      Specified by:
      setEmployeeStatusId in interface ContactModel
      Parameters:
      employeeStatusId - the employee status ID of this contact
    • setFacebookSn

      public void setFacebookSn(String facebookSn)
      Sets the facebook sn of this contact.
      Specified by:
      setFacebookSn in interface ContactModel
      Parameters:
      facebookSn - the facebook sn of this contact
    • setFirstName

      public void setFirstName(String firstName)
      Sets the first name of this contact.
      Specified by:
      setFirstName in interface ContactModel
      Parameters:
      firstName - the first name of this contact
    • setHoursOfOperation

      public void setHoursOfOperation(String hoursOfOperation)
      Sets the hours of operation of this contact.
      Specified by:
      setHoursOfOperation in interface ContactModel
      Parameters:
      hoursOfOperation - the hours of operation of this contact
    • setJabberSn

      public void setJabberSn(String jabberSn)
      Sets the jabber sn of this contact.
      Specified by:
      setJabberSn in interface ContactModel
      Parameters:
      jabberSn - the jabber sn of this contact
    • setJobClass

      public void setJobClass(String jobClass)
      Sets the job class of this contact.
      Specified by:
      setJobClass in interface ContactModel
      Parameters:
      jobClass - the job class of this contact
    • setJobTitle

      public void setJobTitle(String jobTitle)
      Sets the job title of this contact.
      Specified by:
      setJobTitle in interface ContactModel
      Parameters:
      jobTitle - the job title of this contact
    • setLastName

      public void setLastName(String lastName)
      Sets the last name of this contact.
      Specified by:
      setLastName in interface ContactModel
      Parameters:
      lastName - the last name of this contact
    • setMale

      public void setMale(boolean male)
      Sets whether this contact is male.
      Specified by:
      setMale in interface ContactModel
      Parameters:
      male - the male of this contact
    • setMiddleName

      public void setMiddleName(String middleName)
      Sets the middle name of this contact.
      Specified by:
      setMiddleName in interface ContactModel
      Parameters:
      middleName - the middle name of this contact
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this contact.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface ContactModel
      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 interface ContactModel
      Specified by:
      setMvccVersion in interface MVCCModel
      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 interface ContactModel
      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 interface ContactModel
      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 interface ContactModel
      Parameters:
      primaryKey - the primary key of this contact
    • setSkypeSn

      public void setSkypeSn(String skypeSn)
      Sets the skype sn of this contact.
      Specified by:
      setSkypeSn in interface ContactModel
      Parameters:
      skypeSn - the skype sn of this contact
    • setSmsSn

      public void setSmsSn(String smsSn)
      Sets the sms sn of this contact.
      Specified by:
      setSmsSn in interface ContactModel
      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 interface ContactModel
      Parameters:
      suffixListTypeId - the suffix list type ID of this contact
    • setTwitterSn

      public void setTwitterSn(String twitterSn)
      Sets the twitter sn of this contact.
      Specified by:
      setTwitterSn in interface ContactModel
      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 interface AuditedModel
      Specified by:
      setUserId in interface ContactModel
      Parameters:
      userId - the user ID of this contact
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this contact.
      Specified by:
      setUserName in interface AuditedModel
      Specified by:
      setUserName in interface ContactModel
      Parameters:
      userName - the user name of this contact
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this contact.
      Specified by:
      setUserUuid in interface AuditedModel
      Specified by:
      setUserUuid in interface ContactModel
      Parameters:
      userUuid - the user uuid of this contact
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface ContactModel
    • wrap

      protected ContactWrapper wrap(Contact contact)
      Specified by:
      wrap in class BaseModelWrapper<Contact>