|
Liferay 6.0.3 | |||||||||
| 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)
|
long |
getAccountId()
|
String |
getAimSn()
|
Date |
getBirthday()
|
long |
getCompanyId()
|
long |
getContactId()
|
Date |
getCreateDate()
|
String |
getEmployeeNumber()
|
String |
getEmployeeStatusId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFacebookSn()
|
String |
getFirstName()
|
String |
getFullName()
|
String |
getHoursOfOperation()
|
String |
getIcqSn()
|
String |
getJabberSn()
|
String |
getJobClass()
|
String |
getJobTitle()
|
String |
getLastName()
|
boolean |
getMale()
|
String |
getMiddleName()
|
Date |
getModifiedDate()
|
String |
getMsnSn()
|
String |
getMySpaceSn()
|
long |
getParentContactId()
|
int |
getPrefixId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getSkypeSn()
|
String |
getSmsSn()
|
int |
getSuffixId()
|
String |
getTwitterSn()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Contact |
getWrappedContact()
|
String |
getYmSn()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isMale()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setAccountId(long accountId)
|
void |
setAimSn(String aimSn)
|
void |
setBirthday(Date birthday)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setContactId(long contactId)
|
void |
setCreateDate(Date createDate)
|
void |
setEmployeeNumber(String employeeNumber)
|
void |
setEmployeeStatusId(String employeeStatusId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setFirstName(String firstName)
|
void |
setHoursOfOperation(String hoursOfOperation)
|
void |
setIcqSn(String icqSn)
|
void |
setJabberSn(String jabberSn)
|
void |
setJobClass(String jobClass)
|
void |
setJobTitle(String jobTitle)
|
void |
setLastName(String lastName)
|
void |
setMale(boolean male)
|
void |
setMiddleName(String middleName)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setMsnSn(String msnSn)
|
void |
setMySpaceSn(String mySpaceSn)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentContactId(long parentContactId)
|
void |
setPrefixId(int prefixId)
|
void |
setPrimaryKey(long pk)
|
void |
setSkypeSn(String skypeSn)
|
void |
setSmsSn(String smsSn)
|
void |
setSuffixId(int suffixId)
|
void |
setTwitterSn(String twitterSn)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setYmSn(String ymSn)
|
Contact |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContactWrapper(Contact contact)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ContactModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ContactModelpublic long getContactId()
getContactId in interface ContactModelpublic void setContactId(long contactId)
setContactId in interface ContactModelpublic long getCompanyId()
getCompanyId in interface ContactModelpublic void setCompanyId(long companyId)
setCompanyId in interface ContactModelpublic long getUserId()
getUserId in interface ContactModelpublic void setUserId(long userId)
setUserId in interface ContactModel
public String getUserUuid()
throws SystemException
getUserUuid in interface ContactModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface ContactModelpublic String getUserName()
getUserName in interface ContactModelpublic void setUserName(String userName)
setUserName in interface ContactModelpublic Date getCreateDate()
getCreateDate in interface ContactModelpublic void setCreateDate(Date createDate)
setCreateDate in interface ContactModelpublic Date getModifiedDate()
getModifiedDate in interface ContactModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ContactModelpublic long getAccountId()
getAccountId in interface ContactModelpublic void setAccountId(long accountId)
setAccountId in interface ContactModelpublic long getParentContactId()
getParentContactId in interface ContactModelpublic void setParentContactId(long parentContactId)
setParentContactId in interface ContactModelpublic String getFirstName()
getFirstName in interface ContactModelpublic void setFirstName(String firstName)
setFirstName in interface ContactModelpublic String getMiddleName()
getMiddleName in interface ContactModelpublic void setMiddleName(String middleName)
setMiddleName in interface ContactModelpublic String getLastName()
getLastName in interface ContactModelpublic void setLastName(String lastName)
setLastName in interface ContactModelpublic int getPrefixId()
getPrefixId in interface ContactModelpublic void setPrefixId(int prefixId)
setPrefixId in interface ContactModelpublic int getSuffixId()
getSuffixId in interface ContactModelpublic void setSuffixId(int suffixId)
setSuffixId in interface ContactModelpublic boolean getMale()
getMale in interface ContactModelpublic boolean isMale()
isMale in interface ContactModelpublic void setMale(boolean male)
setMale in interface ContactModelpublic Date getBirthday()
getBirthday in interface ContactModelpublic void setBirthday(Date birthday)
setBirthday in interface ContactModelpublic String getSmsSn()
getSmsSn in interface ContactModelpublic void setSmsSn(String smsSn)
setSmsSn in interface ContactModelpublic String getAimSn()
getAimSn in interface ContactModelpublic void setAimSn(String aimSn)
setAimSn in interface ContactModelpublic String getFacebookSn()
getFacebookSn in interface ContactModelpublic void setFacebookSn(String facebookSn)
setFacebookSn in interface ContactModelpublic String getIcqSn()
getIcqSn in interface ContactModelpublic void setIcqSn(String icqSn)
setIcqSn in interface ContactModelpublic String getJabberSn()
getJabberSn in interface ContactModelpublic void setJabberSn(String jabberSn)
setJabberSn in interface ContactModelpublic String getMsnSn()
getMsnSn in interface ContactModelpublic void setMsnSn(String msnSn)
setMsnSn in interface ContactModelpublic String getMySpaceSn()
getMySpaceSn in interface ContactModelpublic void setMySpaceSn(String mySpaceSn)
setMySpaceSn in interface ContactModelpublic String getSkypeSn()
getSkypeSn in interface ContactModelpublic void setSkypeSn(String skypeSn)
setSkypeSn in interface ContactModelpublic String getTwitterSn()
getTwitterSn in interface ContactModelpublic void setTwitterSn(String twitterSn)
setTwitterSn in interface ContactModelpublic String getYmSn()
getYmSn in interface ContactModelpublic void setYmSn(String ymSn)
setYmSn in interface ContactModelpublic String getEmployeeStatusId()
getEmployeeStatusId in interface ContactModelpublic void setEmployeeStatusId(String employeeStatusId)
setEmployeeStatusId in interface ContactModelpublic String getEmployeeNumber()
getEmployeeNumber in interface ContactModelpublic void setEmployeeNumber(String employeeNumber)
setEmployeeNumber in interface ContactModelpublic String getJobTitle()
getJobTitle in interface ContactModelpublic void setJobTitle(String jobTitle)
setJobTitle in interface ContactModelpublic String getJobClass()
getJobClass in interface ContactModelpublic void setJobClass(String jobClass)
setJobClass in interface ContactModelpublic String getHoursOfOperation()
getHoursOfOperation in interface ContactModelpublic void setHoursOfOperation(String hoursOfOperation)
setHoursOfOperation in interface ContactModelpublic Contact toEscapedModel()
toEscapedModel in interface ContactModelpublic boolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
isEscapedModel in interface BaseModel<Contact>isEscapedModel in interface ContactModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Contact>setEscapedModel in interface ContactModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Contact>getPrimaryKeyObj in interface ContactModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>getExpandoBridge in interface ContactModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Contact>setExpandoBridgeAttributes in interface ContactModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString in interface ContactModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Contact>toXmlString in interface ContactModelpublic String getFullName()
getFullName in interface Contactpublic Contact getWrappedContact()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||