|
Liferay 7.0-ce-b4 | |||||||||
| 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
@JSON(strict=true) @ProviderType 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.
ContactImpl,
Contact,
ContactModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ACCOUNTID_COLUMN_BITMASK
|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static long |
CONTACTID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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()
Returns the account ID 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 |
getColumnBitmask()
|
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 |
getHoursOfOperation()
Returns the hours of operation 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. |
long |
getMvccVersion()
Returns the mvcc version of this contact. |
long |
getOriginalAccountId()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getParentContactId()
Returns the parent contact ID of this contact. |
long |
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. |
long |
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. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isMale()
Returns true if this contact is male. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAccountId(long accountId)
Sets the account ID of this contact. |
void |
setBirthday(Date birthday)
Sets the birthday of this contact. |
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(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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this contact. |
void |
setParentContactId(long parentContactId)
Sets the parent contact ID of this contact. |
void |
setPrefixId(long 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(long 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. |
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. |
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()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 boolean COLUMN_BITMASK_ENABLED
public static final long ACCOUNTID_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long CONTACTID_COLUMN_BITMASK
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 primaryKey)
ContactModel
setPrimaryKey in interface ContactModelprimaryKey - the primary key of this contactpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Contact>getModelAttributes in class BaseModelImpl<Contact>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Contact>setModelAttributes in class BaseModelImpl<Contact>@JSON public long getMvccVersion()
ContactModel
getMvccVersion in interface ContactModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
ContactModel
setMvccVersion in interface ContactModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this contact@JSON public long getContactId()
ContactModel
getContactId in interface ContactModelpublic void setContactId(long contactId)
ContactModel
setContactId in interface ContactModelcontactId - the contact ID of this contact@JSON public long getCompanyId()
ContactModel
getCompanyId in interface AuditedModelgetCompanyId in interface ContactModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
ContactModel
setCompanyId in interface AuditedModelsetCompanyId in interface ContactModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this contactpublic long getOriginalCompanyId()
@JSON public long getUserId()
ContactModel
getUserId in interface AuditedModelgetUserId in interface ContactModelpublic void setUserId(long userId)
ContactModel
setUserId in interface AuditedModelsetUserId in interface ContactModeluserId - the user ID of this contactpublic String getUserUuid()
ContactModel
getUserUuid in interface AuditedModelgetUserUuid in interface ContactModelpublic void setUserUuid(String userUuid)
ContactModel
setUserUuid in interface AuditedModelsetUserUuid in interface ContactModeluserUuid - the user uuid of this contact@JSON public String getUserName()
ContactModel
getUserName in interface AuditedModelgetUserName in interface ContactModelpublic void setUserName(String userName)
ContactModel
setUserName in interface AuditedModelsetUserName in interface ContactModeluserName - the user name of this contact@JSON public Date getCreateDate()
ContactModel
getCreateDate in interface AuditedModelgetCreateDate in interface ContactModelpublic void setCreateDate(Date createDate)
ContactModel
setCreateDate in interface AuditedModelsetCreateDate in interface ContactModelcreateDate - the create date of this contact@JSON public Date getModifiedDate()
ContactModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface ContactModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
ContactModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface ContactModelmodifiedDate - the modified date of this contactpublic String getClassName()
ContactModel
getClassName in interface ContactModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface ContactModel@JSON public long getClassNameId()
ContactModel
getClassNameId in interface ContactModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
ContactModel
setClassNameId in interface ContactModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this contactpublic long getOriginalClassNameId()
@JSON public long getClassPK()
ContactModel
getClassPK in interface AttachedModelgetClassPK in interface ContactModelpublic void setClassPK(long classPK)
ContactModel
setClassPK in interface AttachedModelsetClassPK in interface ContactModelclassPK - the class p k of this contactpublic long getOriginalClassPK()
@JSON public long getAccountId()
ContactModel
getAccountId in interface ContactModelpublic void setAccountId(long accountId)
ContactModel
setAccountId in interface ContactModelaccountId - the account ID of this contactpublic long getOriginalAccountId()
@JSON public long getParentContactId()
ContactModel
getParentContactId in interface ContactModelpublic void setParentContactId(long parentContactId)
ContactModel
setParentContactId in interface ContactModelparentContactId - the parent contact ID of this contact@JSON public String getEmailAddress()
ContactModel
getEmailAddress in interface ContactModelpublic void setEmailAddress(String emailAddress)
ContactModel
setEmailAddress in interface ContactModelemailAddress - the email address of this contact@JSON public String getFirstName()
ContactModel
getFirstName in interface ContactModelpublic void setFirstName(String firstName)
ContactModel
setFirstName in interface ContactModelfirstName - the first name of this contact@JSON public String getMiddleName()
ContactModel
getMiddleName in interface ContactModelpublic void setMiddleName(String middleName)
ContactModel
setMiddleName in interface ContactModelmiddleName - the middle name of this contact@JSON public String getLastName()
ContactModel
getLastName in interface ContactModelpublic void setLastName(String lastName)
ContactModel
setLastName in interface ContactModellastName - the last name of this contact@JSON public long getPrefixId()
ContactModel
getPrefixId in interface ContactModelpublic void setPrefixId(long prefixId)
ContactModel
setPrefixId in interface ContactModelprefixId - the prefix ID of this contact@JSON public long getSuffixId()
ContactModel
getSuffixId in interface ContactModelpublic void setSuffixId(long suffixId)
ContactModel
setSuffixId in interface ContactModelsuffixId - the suffix ID of this contact@JSON public boolean getMale()
ContactModel
getMale in interface ContactModelpublic boolean isMale()
ContactModeltrue if this contact is male.
isMale in interface ContactModeltrue if this contact is male; false otherwisepublic void setMale(boolean male)
ContactModel
setMale in interface ContactModelmale - the male of this contact@JSON public Date getBirthday()
ContactModel
getBirthday in interface ContactModelpublic void setBirthday(Date birthday)
ContactModel
setBirthday in interface ContactModelbirthday - the birthday of this contact@JSON public String getSmsSn()
ContactModel
getSmsSn in interface ContactModelpublic void setSmsSn(String smsSn)
ContactModel
setSmsSn in interface ContactModelsmsSn - the sms sn of this contact@JSON public String getFacebookSn()
ContactModel
getFacebookSn in interface ContactModelpublic void setFacebookSn(String facebookSn)
ContactModel
setFacebookSn in interface ContactModelfacebookSn - the facebook sn of this contact@JSON public String getJabberSn()
ContactModel
getJabberSn in interface ContactModelpublic void setJabberSn(String jabberSn)
ContactModel
setJabberSn in interface ContactModeljabberSn - the jabber sn of this contact@JSON public String getSkypeSn()
ContactModel
getSkypeSn in interface ContactModelpublic void setSkypeSn(String skypeSn)
ContactModel
setSkypeSn in interface ContactModelskypeSn - the skype sn of this contact@JSON public String getTwitterSn()
ContactModel
getTwitterSn in interface ContactModelpublic void setTwitterSn(String twitterSn)
ContactModel
setTwitterSn in interface ContactModeltwitterSn - the twitter sn of this contact@JSON public String getEmployeeStatusId()
ContactModel
getEmployeeStatusId in interface ContactModelpublic void setEmployeeStatusId(String employeeStatusId)
ContactModel
setEmployeeStatusId in interface ContactModelemployeeStatusId - the employee status ID of this contact@JSON public String getEmployeeNumber()
ContactModel
getEmployeeNumber in interface ContactModelpublic void setEmployeeNumber(String employeeNumber)
ContactModel
setEmployeeNumber in interface ContactModelemployeeNumber - the employee number of this contact@JSON public String getJobTitle()
ContactModel
getJobTitle in interface ContactModelpublic void setJobTitle(String jobTitle)
ContactModel
setJobTitle in interface ContactModeljobTitle - the job title of this contact@JSON public String getJobClass()
ContactModel
getJobClass in interface ContactModelpublic void setJobClass(String jobClass)
ContactModel
setJobClass in interface ContactModeljobClass - the job class of this contact@JSON public String getHoursOfOperation()
ContactModel
getHoursOfOperation in interface ContactModelpublic void setHoursOfOperation(String hoursOfOperation)
ContactModel
setHoursOfOperation in interface ContactModelhoursOfOperation - the hours of operation of this contactpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Contact>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes()public Contact toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Contact>toEscapedModel in interface ContactModeltoEscapedModel in class BaseModelImpl<Contact>AutoEscapeBeanHandlerpublic 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Contact>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Contact>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Contact>resetOriginalValues in class BaseModelImpl<Contact>public CacheModel<Contact> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Contact>toCacheModel in interface ContactModeltoCacheModel in class BaseModelImpl<Contact>public String toString()
toString in interface ContactModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Contact>toXmlString in interface ContactModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||