Liferay 6.2-ce-ga5

com.liferay.portal.model
Class ContactWrapper

java.lang.Object
  extended by com.liferay.portal.model.ContactWrapper
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<Contact>, ClassedModel, Contact, ContactModel, ModelWrapper<Contact>, PersistedModel, TypedModel, Serializable, Cloneable, Comparable<Contact>

@ProviderType
public class ContactWrapper
extends Object
implements Contact, ModelWrapper<Contact>

This class is a wrapper for Contact.

See Also:
Contact, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ContactWrapper(Contact contact)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Contact contact)
           
 boolean equals(Object obj)
           
 long getAccountId()
          Returns the account ID of this contact.
 String getAimSn()
          Returns the aim sn of this contact.
 Date getBirthday()
          Returns the birthday of this contact.
 String getClassName()
          Returns the fully qualified class name of this contact.
 long getClassNameId()
          Returns the class name ID of this contact.
 long getClassPK()
          Returns the class p k of this contact.
 long getCompanyId()
          Returns the company ID of this contact.
 long getContactId()
          Returns the contact ID of this contact.
 Date getCreateDate()
          Returns the create date of this contact.
 String getEmailAddress()
          Returns the email address of this contact.
 String getEmployeeNumber()
          Returns the employee number of this contact.
 String getEmployeeStatusId()
          Returns the employee status ID of this contact.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFacebookSn()
          Returns the facebook sn of this contact.
 String getFirstName()
          Returns the first name of this contact.
 String getFullName()
           
 String getHoursOfOperation()
          Returns the hours of operation of this contact.
 String getIcqSn()
          Returns the icq sn of this contact.
 String getJabberSn()
          Returns the jabber sn of this contact.
 String getJobClass()
          Returns the job class of this contact.
 String getJobTitle()
          Returns the job title of this contact.
 String getLastName()
          Returns the last name of this contact.
 boolean getMale()
          Returns the male of this contact.
 String getMiddleName()
          Returns the middle name of this contact.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this contact.
 String getMsnSn()
          Returns the msn sn of this contact.
 String getMySpaceSn()
          Returns the my space sn of this contact.
 long getParentContactId()
          Returns the parent contact ID of this contact.
 int getPrefixId()
          Returns the prefix ID of this contact.
 long getPrimaryKey()
          Returns the primary key of this contact.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getSkypeSn()
          Returns the skype sn of this contact.
 String getSmsSn()
          Returns the sms sn of this contact.
 int getSuffixId()
          Returns the suffix ID of this contact.
 String getTwitterSn()
          Returns the twitter sn of this contact.
 long getUserId()
          Returns the user ID of this contact.
 String getUserName()
          Returns the user name of this contact.
 String getUserUuid()
          Returns the user uuid of this contact.
 Contact getWrappedContact()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 Contact getWrappedModel()
           
 String getYmSn()
          Returns the ym sn of this contact.
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isMale()
          Returns true if this contact is male.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isUser()
           
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAccountId(long accountId)
          Sets the account ID of this contact.
 void setAimSn(String aimSn)
          Sets the aim sn of this contact.
 void setBirthday(Date birthday)
          Sets the birthday of this contact.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this contact.
 void setClassPK(long classPK)
          Sets the class p k 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 setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 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 setIcqSn(String icqSn)
          Sets the icq sn 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 setMsnSn(String msnSn)
          Sets the msn sn of this contact.
 void setMySpaceSn(String mySpaceSn)
          Sets the my space sn of this contact.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setParentContactId(long parentContactId)
          Sets the parent contact ID of this contact.
 void setPrefixId(int prefixId)
          Sets the prefix ID of this contact.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this contact.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSkypeSn(String skypeSn)
          Sets the skype sn of this contact.
 void setSmsSn(String smsSn)
          Sets the sms sn of this contact.
 void setSuffixId(int suffixId)
          Sets the suffix 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.
 void setYmSn(String ymSn)
          Sets the ym sn of this contact.
 CacheModel<Contact> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 Contact toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 Contact toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContactWrapper

public ContactWrapper(Contact contact)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

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>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this contact.

Specified by:
getPrimaryKey in interface ContactModel
Returns:
the primary key 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

getContactId

public long getContactId()
Returns the contact ID of this contact.

Specified by:
getContactId in interface ContactModel
Returns:
the contact 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

getCompanyId

public long getCompanyId()
Returns the company ID of this contact.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface ContactModel
Returns:
the company ID 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
Parameters:
companyId - the company ID 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

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

getUserUuid

public String getUserUuid()
                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

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

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

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

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

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

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

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

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

setClassName

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

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

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

getClassPK

public long getClassPK()
Returns the class p k of this contact.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface ContactModel
Returns:
the class p k of this contact

setClassPK

public void setClassPK(long classPK)
Sets the class p k of this contact.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface ContactModel
Parameters:
classPK - the class p k of this contact

getAccountId

public long getAccountId()
Returns the account ID of this contact.

Specified by:
getAccountId in interface ContactModel
Returns:
the account ID of this contact

setAccountId

public void setAccountId(long accountId)
Sets the account ID of this contact.

Specified by:
setAccountId in interface ContactModel
Parameters:
accountId - the account ID 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

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

getEmailAddress

public String getEmailAddress()
Returns the email address of this contact.

Specified by:
getEmailAddress in interface ContactModel
Returns:
the email address 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

getFirstName

public String getFirstName()
Returns the first name of this contact.

Specified by:
getFirstName in interface ContactModel
Returns:
the first name 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

getMiddleName

public String getMiddleName()
Returns the middle name of this contact.

Specified by:
getMiddleName in interface ContactModel
Returns:
the middle name 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

getLastName

public String getLastName()
Returns the last name of this contact.

Specified by:
getLastName in interface ContactModel
Returns:
the last name 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

getPrefixId

public int getPrefixId()
Returns the prefix ID of this contact.

Specified by:
getPrefixId in interface ContactModel
Returns:
the prefix ID of this contact

setPrefixId

public void setPrefixId(int prefixId)
Sets the prefix ID of this contact.

Specified by:
setPrefixId in interface ContactModel
Parameters:
prefixId - the prefix ID of this contact

getSuffixId

public int getSuffixId()
Returns the suffix ID of this contact.

Specified by:
getSuffixId in interface ContactModel
Returns:
the suffix ID of this contact

setSuffixId

public void setSuffixId(int suffixId)
Sets the suffix ID of this contact.

Specified by:
setSuffixId in interface ContactModel
Parameters:
suffixId - the suffix ID 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

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

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

getBirthday

public Date getBirthday()
Returns the birthday of this contact.

Specified by:
getBirthday in interface ContactModel
Returns:
the birthday of this contact

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

getSmsSn

public String getSmsSn()
Returns the sms sn of this contact.

Specified by:
getSmsSn in interface ContactModel
Returns:
the sms 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

getAimSn

public String getAimSn()
Returns the aim sn of this contact.

Specified by:
getAimSn in interface ContactModel
Returns:
the aim sn of this contact

setAimSn

public void setAimSn(String aimSn)
Sets the aim sn of this contact.

Specified by:
setAimSn in interface ContactModel
Parameters:
aimSn - the aim sn 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

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

getIcqSn

public String getIcqSn()
Returns the icq sn of this contact.

Specified by:
getIcqSn in interface ContactModel
Returns:
the icq sn of this contact

setIcqSn

public void setIcqSn(String icqSn)
Sets the icq sn of this contact.

Specified by:
setIcqSn in interface ContactModel
Parameters:
icqSn - the icq sn 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

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

getMsnSn

public String getMsnSn()
Returns the msn sn of this contact.

Specified by:
getMsnSn in interface ContactModel
Returns:
the msn sn of this contact

setMsnSn

public void setMsnSn(String msnSn)
Sets the msn sn of this contact.

Specified by:
setMsnSn in interface ContactModel
Parameters:
msnSn - the msn sn of this contact

getMySpaceSn

public String getMySpaceSn()
Returns the my space sn of this contact.

Specified by:
getMySpaceSn in interface ContactModel
Returns:
the my space sn of this contact

setMySpaceSn

public void setMySpaceSn(String mySpaceSn)
Sets the my space sn of this contact.

Specified by:
setMySpaceSn in interface ContactModel
Parameters:
mySpaceSn - the my space sn 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

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

getTwitterSn

public String getTwitterSn()
Returns the twitter sn of this contact.

Specified by:
getTwitterSn in interface ContactModel
Returns:
the twitter sn 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

getYmSn

public String getYmSn()
Returns the ym sn of this contact.

Specified by:
getYmSn in interface ContactModel
Returns:
the ym sn of this contact

setYmSn

public void setYmSn(String ymSn)
Sets the ym sn of this contact.

Specified by:
setYmSn in interface ContactModel
Parameters:
ymSn - the ym sn 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

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

getEmployeeNumber

public String getEmployeeNumber()
Returns the employee number of this contact.

Specified by:
getEmployeeNumber in interface ContactModel
Returns:
the employee number 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

getJobTitle

public String getJobTitle()
Returns the job title of this contact.

Specified by:
getJobTitle in interface ContactModel
Returns:
the job title 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

getJobClass

public String getJobClass()
Returns the job class of this contact.

Specified by:
getJobClass in interface ContactModel
Returns:
the job class 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

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

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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<Contact>
Specified by:
isNew in interface ContactModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<Contact>
Specified by:
setNew in interface ContactModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<Contact>
Specified by:
isCachedModel in interface ContactModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<Contact>
Specified by:
setCachedModel in interface ContactModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<Contact>
Specified by:
isEscapedModel in interface ContactModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface ContactModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Contact>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ContactModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Contact>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface ContactModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Contact>
Specified by:
setExpandoBridgeAttributes in interface ContactModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<Contact>
Specified by:
setExpandoBridgeAttributes in interface ContactModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Contact>
Specified by:
setExpandoBridgeAttributes in interface ContactModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Contact>
Specified by:
clone in interface ContactModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Contact contact)
Specified by:
compareTo in interface ContactModel
Specified by:
compareTo in interface Comparable<Contact>

hashCode

public int hashCode()
Specified by:
hashCode in interface ContactModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<Contact> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Contact>
Specified by:
toCacheModel in interface ContactModel
Returns:
the cache model object

toEscapedModel

public Contact toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Contact>
Specified by:
toEscapedModel in interface ContactModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public Contact toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<Contact>
Specified by:
toUnescapedModel in interface ContactModel

toString

public String toString()
Specified by:
toString in interface ContactModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Contact>
Specified by:
toXmlString in interface ContactModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
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
Throws:
SystemException - if a system exception occurred

getFullName

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

isUser

public boolean isUser()
Specified by:
isUser in interface Contact

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedContact

public Contact getWrappedContact()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public Contact getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<Contact>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Contact>

Liferay 6.2-ce-ga5