|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Contact>
com.liferay.portal.model.impl.ContactModelImpl
public class ContactModelImpl
The base model implementation for the Contact service. Represents a row in the "Contact_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ContactModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ContactImpl.
Never modify or reference this class directly. All methods that expect a contact model instance should use the Contact interface instead.
ContactImpl,
Contact,
ContactModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ContactModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Contact contact)
|
boolean |
equals(Object obj)
|
long |
getAccountId()
Gets the account id of this contact. |
String |
getAimSn()
Gets the aim sn of this contact. |
Date |
getBirthday()
Gets the birthday of this contact. |
long |
getCompanyId()
Gets the company id of this contact. |
long |
getContactId()
Gets the contact id of this contact. |
Date |
getCreateDate()
Gets the create date of this contact. |
String |
getEmployeeNumber()
Gets the employee number of this contact. |
String |
getEmployeeStatusId()
Gets the employee status id of this contact. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFacebookSn()
Gets the facebook sn of this contact. |
String |
getFirstName()
Gets the first name of this contact. |
String |
getHoursOfOperation()
Gets the hours of operation of this contact. |
String |
getIcqSn()
Gets the icq sn of this contact. |
String |
getJabberSn()
Gets the jabber sn of this contact. |
String |
getJobClass()
Gets the job class of this contact. |
String |
getJobTitle()
Gets the job title of this contact. |
String |
getLastName()
Gets the last name of this contact. |
boolean |
getMale()
Gets the male of this contact. |
String |
getMiddleName()
Gets the middle name of this contact. |
Date |
getModifiedDate()
Gets the modified date of this contact. |
String |
getMsnSn()
Gets the msn sn of this contact. |
String |
getMySpaceSn()
Gets the my space sn of this contact. |
long |
getParentContactId()
Gets the parent contact id of this contact. |
int |
getPrefixId()
Gets the prefix id of this contact. |
long |
getPrimaryKey()
Gets the primary key of this contact. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getSkypeSn()
Gets the skype sn of this contact. |
String |
getSmsSn()
Gets the sms sn of this contact. |
int |
getSuffixId()
Gets the suffix id of this contact. |
String |
getTwitterSn()
Gets the twitter sn of this contact. |
long |
getUserId()
Gets the user id of this contact. |
String |
getUserName()
Gets the user name of this contact. |
String |
getUserUuid()
Gets the user uuid of this contact. |
String |
getYmSn()
Gets the ym sn of this contact. |
int |
hashCode()
|
boolean |
isMale()
Determines whether this contact is male. |
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 |
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 {$entity.humanName} is male. |
void |
setMiddleName(String middleName)
Sets the middle name of this contact. |
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 |
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 pk)
Sets the primary key of this contact |
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. |
Contact |
toEscapedModel()
Gets a copy of this contact as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Contact |
toModel(ContactSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Contact> |
toModels(ContactSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ContactModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ContactModelImpl()
| Method Detail |
|---|
public static Contact toModel(ContactSoap soapModel)
soapModel - the soap model instance to convert
public static List<Contact> toModels(ContactSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ContactModel
getPrimaryKey in interface ContactModelpublic void setPrimaryKey(long pk)
ContactModel
setPrimaryKey in interface ContactModelpk - the primary key of this contactpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Contact>getPrimaryKeyObj in interface ContactModelpublic long getContactId()
ContactModel
getContactId in interface ContactModelpublic void setContactId(long contactId)
ContactModel
setContactId in interface ContactModelcontactId - the contact id of this contactpublic long getCompanyId()
ContactModel
getCompanyId in interface ContactModelpublic void setCompanyId(long companyId)
ContactModel
setCompanyId in interface ContactModelcompanyId - the company id of this contactpublic long getUserId()
ContactModel
getUserId in interface ContactModelpublic void setUserId(long userId)
ContactModel
setUserId in interface ContactModeluserId - the user id of this contact
public String getUserUuid()
throws SystemException
ContactModel
getUserUuid in interface ContactModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
ContactModel
setUserUuid in interface ContactModeluserUuid - the user uuid of this contactpublic String getUserName()
ContactModel
getUserName in interface ContactModelpublic void setUserName(String userName)
ContactModel
setUserName in interface ContactModeluserName - the user name of this contactpublic Date getCreateDate()
ContactModel
getCreateDate in interface ContactModelpublic void setCreateDate(Date createDate)
ContactModel
setCreateDate in interface ContactModelcreateDate - the create date of this contactpublic Date getModifiedDate()
ContactModel
getModifiedDate in interface ContactModelpublic void setModifiedDate(Date modifiedDate)
ContactModel
setModifiedDate in interface ContactModelmodifiedDate - the modified date of this contactpublic long getAccountId()
ContactModel
getAccountId in interface ContactModelpublic void setAccountId(long accountId)
ContactModel
setAccountId in interface ContactModelaccountId - the account id of this contactpublic long getParentContactId()
ContactModel
getParentContactId in interface ContactModelpublic void setParentContactId(long parentContactId)
ContactModel
setParentContactId in interface ContactModelparentContactId - the parent contact id of this contactpublic String getFirstName()
ContactModel
getFirstName in interface ContactModelpublic void setFirstName(String firstName)
ContactModel
setFirstName in interface ContactModelfirstName - the first name of this contactpublic String getMiddleName()
ContactModel
getMiddleName in interface ContactModelpublic void setMiddleName(String middleName)
ContactModel
setMiddleName in interface ContactModelmiddleName - the middle name of this contactpublic String getLastName()
ContactModel
getLastName in interface ContactModelpublic void setLastName(String lastName)
ContactModel
setLastName in interface ContactModellastName - the last name of this contactpublic int getPrefixId()
ContactModel
getPrefixId in interface ContactModelpublic void setPrefixId(int prefixId)
ContactModel
setPrefixId in interface ContactModelprefixId - the prefix id of this contactpublic int getSuffixId()
ContactModel
getSuffixId in interface ContactModelpublic void setSuffixId(int suffixId)
ContactModel
setSuffixId in interface ContactModelsuffixId - the suffix id of this contactpublic boolean getMale()
ContactModel
getMale in interface ContactModelpublic boolean isMale()
ContactModel
isMale in interface ContactModelpublic void setMale(boolean male)
ContactModel
setMale in interface ContactModelmale - the male of this contactpublic Date getBirthday()
ContactModel
getBirthday in interface ContactModelpublic void setBirthday(Date birthday)
ContactModel
setBirthday in interface ContactModelbirthday - the birthday of this contactpublic String getSmsSn()
ContactModel
getSmsSn in interface ContactModelpublic void setSmsSn(String smsSn)
ContactModel
setSmsSn in interface ContactModelsmsSn - the sms sn of this contactpublic String getAimSn()
ContactModel
getAimSn in interface ContactModelpublic void setAimSn(String aimSn)
ContactModel
setAimSn in interface ContactModelaimSn - the aim sn of this contactpublic String getFacebookSn()
ContactModel
getFacebookSn in interface ContactModelpublic void setFacebookSn(String facebookSn)
ContactModel
setFacebookSn in interface ContactModelfacebookSn - the facebook sn of this contactpublic String getIcqSn()
ContactModel
getIcqSn in interface ContactModelpublic void setIcqSn(String icqSn)
ContactModel
setIcqSn in interface ContactModelicqSn - the icq sn of this contactpublic String getJabberSn()
ContactModel
getJabberSn in interface ContactModelpublic void setJabberSn(String jabberSn)
ContactModel
setJabberSn in interface ContactModeljabberSn - the jabber sn of this contactpublic String getMsnSn()
ContactModel
getMsnSn in interface ContactModelpublic void setMsnSn(String msnSn)
ContactModel
setMsnSn in interface ContactModelmsnSn - the msn sn of this contactpublic String getMySpaceSn()
ContactModel
getMySpaceSn in interface ContactModelpublic void setMySpaceSn(String mySpaceSn)
ContactModel
setMySpaceSn in interface ContactModelmySpaceSn - the my space sn of this contactpublic String getSkypeSn()
ContactModel
getSkypeSn in interface ContactModelpublic void setSkypeSn(String skypeSn)
ContactModel
setSkypeSn in interface ContactModelskypeSn - the skype sn of this contactpublic String getTwitterSn()
ContactModel
getTwitterSn in interface ContactModelpublic void setTwitterSn(String twitterSn)
ContactModel
setTwitterSn in interface ContactModeltwitterSn - the twitter sn of this contactpublic String getYmSn()
ContactModel
getYmSn in interface ContactModelpublic void setYmSn(String ymSn)
ContactModel
setYmSn in interface ContactModelymSn - the ym sn of this contactpublic String getEmployeeStatusId()
ContactModel
getEmployeeStatusId in interface ContactModelpublic void setEmployeeStatusId(String employeeStatusId)
ContactModel
setEmployeeStatusId in interface ContactModelemployeeStatusId - the employee status id of this contactpublic String getEmployeeNumber()
ContactModel
getEmployeeNumber in interface ContactModelpublic void setEmployeeNumber(String employeeNumber)
ContactModel
setEmployeeNumber in interface ContactModelemployeeNumber - the employee number of this contactpublic String getJobTitle()
ContactModel
getJobTitle in interface ContactModelpublic void setJobTitle(String jobTitle)
ContactModel
setJobTitle in interface ContactModeljobTitle - the job title of this contactpublic String getJobClass()
ContactModel
getJobClass in interface ContactModelpublic void setJobClass(String jobClass)
ContactModel
setJobClass in interface ContactModeljobClass - the job class of this contactpublic String getHoursOfOperation()
ContactModel
getHoursOfOperation in interface ContactModelpublic void setHoursOfOperation(String hoursOfOperation)
ContactModel
setHoursOfOperation in interface ContactModelhoursOfOperation - the hours of operation of this contactpublic Contact toEscapedModel()
ContactModelAutoEscapeBeanHandler.
toEscapedModel in interface ContactModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>getExpandoBridge in interface ContactModelgetExpandoBridge in class BaseModelImpl<Contact>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Contact>setExpandoBridgeAttributes in interface ContactModelsetExpandoBridgeAttributes in class BaseModelImpl<Contact>serviceContext - 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 BaseModelImpl<Contact>public int compareTo(Contact contact)
compareTo in interface ContactModelcompareTo in interface Comparable<Contact>public boolean equals(Object obj)
equals in class Objectpublic 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 ContactModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||