|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ContactWrapper
public class ContactWrapper
This class is a wrapper for Contact.
Contact,
Serialized Form| 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. |
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 |
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. Renamed to 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. |
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 |
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 |
setEmployeeNumber(String employeeNumber)
Sets the employee number of this contact. |
void |
setEmployeeStatusId(String employeeStatusId)
Sets the employee status ID of this contact. |
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 |
|---|
public ContactWrapper(Contact contact)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Contact>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Contact>public long getPrimaryKey()
getPrimaryKey in interface ContactModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ContactModelprimaryKey - the primary key of this contactpublic long getContactId()
getContactId in interface ContactModelpublic void setContactId(long contactId)
setContactId in interface ContactModelcontactId - the contact ID of this contactpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ContactModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ContactModelcompanyId - the company ID of this contactpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface ContactModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface ContactModeluserId - the user ID of this contact
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface ContactModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface ContactModeluserUuid - the user uuid of this contactpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface ContactModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface ContactModeluserName - the user name of this contactpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface ContactModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface ContactModelcreateDate - the create date of this contactpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface ContactModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface ContactModelmodifiedDate - the modified date of this contactpublic long getAccountId()
getAccountId in interface ContactModelpublic void setAccountId(long accountId)
setAccountId in interface ContactModelaccountId - the account ID of this contactpublic long getParentContactId()
getParentContactId in interface ContactModelpublic void setParentContactId(long parentContactId)
setParentContactId in interface ContactModelparentContactId - the parent contact ID of this contactpublic String getFirstName()
getFirstName in interface ContactModelpublic void setFirstName(String firstName)
setFirstName in interface ContactModelfirstName - the first name of this contactpublic String getMiddleName()
getMiddleName in interface ContactModelpublic void setMiddleName(String middleName)
setMiddleName in interface ContactModelmiddleName - the middle name of this contactpublic String getLastName()
getLastName in interface ContactModelpublic void setLastName(String lastName)
setLastName in interface ContactModellastName - the last name of this contactpublic int getPrefixId()
getPrefixId in interface ContactModelpublic void setPrefixId(int prefixId)
setPrefixId in interface ContactModelprefixId - the prefix ID of this contactpublic int getSuffixId()
getSuffixId in interface ContactModelpublic void setSuffixId(int suffixId)
setSuffixId in interface ContactModelsuffixId - the suffix ID of this contactpublic boolean getMale()
getMale in interface ContactModelpublic boolean isMale()
true if this contact is male.
isMale in interface ContactModeltrue if this contact is male; false otherwisepublic void setMale(boolean male)
setMale in interface ContactModelmale - the male of this contactpublic Date getBirthday()
getBirthday in interface ContactModelpublic void setBirthday(Date birthday)
setBirthday in interface ContactModelbirthday - the birthday of this contactpublic String getSmsSn()
getSmsSn in interface ContactModelpublic void setSmsSn(String smsSn)
setSmsSn in interface ContactModelsmsSn - the sms sn of this contactpublic String getAimSn()
getAimSn in interface ContactModelpublic void setAimSn(String aimSn)
setAimSn in interface ContactModelaimSn - the aim sn of this contactpublic String getFacebookSn()
getFacebookSn in interface ContactModelpublic void setFacebookSn(String facebookSn)
setFacebookSn in interface ContactModelfacebookSn - the facebook sn of this contactpublic String getIcqSn()
getIcqSn in interface ContactModelpublic void setIcqSn(String icqSn)
setIcqSn in interface ContactModelicqSn - the icq sn of this contactpublic String getJabberSn()
getJabberSn in interface ContactModelpublic void setJabberSn(String jabberSn)
setJabberSn in interface ContactModeljabberSn - the jabber sn of this contactpublic String getMsnSn()
getMsnSn in interface ContactModelpublic void setMsnSn(String msnSn)
setMsnSn in interface ContactModelmsnSn - the msn sn of this contactpublic String getMySpaceSn()
getMySpaceSn in interface ContactModelpublic void setMySpaceSn(String mySpaceSn)
setMySpaceSn in interface ContactModelmySpaceSn - the my space sn of this contactpublic String getSkypeSn()
getSkypeSn in interface ContactModelpublic void setSkypeSn(String skypeSn)
setSkypeSn in interface ContactModelskypeSn - the skype sn of this contactpublic String getTwitterSn()
getTwitterSn in interface ContactModelpublic void setTwitterSn(String twitterSn)
setTwitterSn in interface ContactModeltwitterSn - the twitter sn of this contactpublic String getYmSn()
getYmSn in interface ContactModelpublic void setYmSn(String ymSn)
setYmSn in interface ContactModelymSn - the ym sn of this contactpublic String getEmployeeStatusId()
getEmployeeStatusId in interface ContactModelpublic void setEmployeeStatusId(String employeeStatusId)
setEmployeeStatusId in interface ContactModelemployeeStatusId - the employee status ID of this contactpublic String getEmployeeNumber()
getEmployeeNumber in interface ContactModelpublic void setEmployeeNumber(String employeeNumber)
setEmployeeNumber in interface ContactModelemployeeNumber - the employee number of this contactpublic String getJobTitle()
getJobTitle in interface ContactModelpublic void setJobTitle(String jobTitle)
setJobTitle in interface ContactModeljobTitle - the job title of this contactpublic String getJobClass()
getJobClass in interface ContactModelpublic void setJobClass(String jobClass)
setJobClass in interface ContactModeljobClass - the job class of this contactpublic String getHoursOfOperation()
getHoursOfOperation in interface ContactModelpublic void setHoursOfOperation(String hoursOfOperation)
setHoursOfOperation in interface ContactModelhoursOfOperation - the hours of operation of this contactpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Contact>isNew in interface ContactModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Contact>setNew in interface ContactModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Contact>isCachedModel in interface ContactModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Contact>setCachedModel in interface ContactModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Contact>isEscapedModel in interface ContactModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Contact>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ContactModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Contact>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ContactModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ContactModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Contact>setExpandoBridgeAttributes in interface ContactModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Contact>clone in interface ContactModelclone in class Objectpublic int compareTo(Contact contact)
compareTo in interface ContactModelcompareTo in interface Comparable<Contact>public int hashCode()
hashCode in interface ContactModelhashCode in class Objectpublic CacheModel<Contact> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Contact>toCacheModel in interface ContactModelpublic Contact toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Contact>toEscapedModel in interface ContactModelAutoEscapeBeanHandlerpublic Contact toUnescapedModel()
toUnescapedModel in interface BaseModel<Contact>toUnescapedModel in interface ContactModelpublic String toString()
toString in interface ContactModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Contact>toXmlString in interface ContactModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic String getFullName()
getFullName in interface Contactpublic boolean equals(Object obj)
equals in class Objectpublic Contact getWrappedContact()
getWrappedModel()
public Contact getWrappedModel()
getWrappedModel in interface ModelWrapper<Contact>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Contact>
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||