@JSON(strict=true)
@ProviderType
public class ContactModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
implements com.liferay.portal.kernel.model.ContactModel
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 FormModifier and Type | Field and Description |
---|---|
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 and Description |
---|
ContactModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Contact contact) |
boolean |
equals(Object obj) |
long |
getAccountId() |
Date |
getBirthday() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
long |
getContactId() |
Date |
getCreateDate() |
String |
getEmailAddress() |
String |
getEmployeeNumber() |
String |
getEmployeeStatusId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getFacebookSn() |
String |
getFirstName() |
String |
getHoursOfOperation() |
String |
getJabberSn() |
String |
getJobClass() |
String |
getJobTitle() |
String |
getLastName() |
boolean |
getMale() |
String |
getMiddleName() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
long |
getOriginalAccountId() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
long |
getParentContactId() |
long |
getPrefixId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getSkypeSn() |
String |
getSmsSn() |
long |
getSuffixId() |
String |
getTwitterSn() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isMale() |
void |
resetOriginalValues() |
void |
setAccountId(long accountId) |
void |
setBirthday(Date birthday) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setContactId(long contactId) |
void |
setCreateDate(Date createDate) |
void |
setEmailAddress(String emailAddress) |
void |
setEmployeeNumber(String employeeNumber) |
void |
setEmployeeStatusId(String employeeStatusId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFacebookSn(String facebookSn) |
void |
setFirstName(String firstName) |
void |
setHoursOfOperation(String hoursOfOperation) |
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setParentContactId(long parentContactId) |
void |
setPrefixId(long prefixId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setSkypeSn(String skypeSn) |
void |
setSmsSn(String smsSn) |
void |
setSuffixId(long suffixId) |
void |
setTwitterSn(String twitterSn) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Contact> |
toCacheModel() |
com.liferay.portal.kernel.model.Contact |
toEscapedModel() |
static com.liferay.portal.kernel.model.Contact |
toModel(com.liferay.portal.kernel.model.ContactSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Contact> |
toModels(com.liferay.portal.kernel.model.ContactSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
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
public static com.liferay.portal.kernel.model.Contact toModel(com.liferay.portal.kernel.model.ContactSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Contact> toModels(com.liferay.portal.kernel.model.ContactSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.ContactModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.ContactModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ContactModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ContactModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.ContactModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.ContactModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
@JSON public long getContactId()
getContactId
in interface com.liferay.portal.kernel.model.ContactModel
public void setContactId(long contactId)
setContactId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ContactModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ContactModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getOriginalCompanyId()
@JSON public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface com.liferay.portal.kernel.model.ContactModel
public void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface com.liferay.portal.kernel.model.ContactModel
public String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface com.liferay.portal.kernel.model.ContactModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface com.liferay.portal.kernel.model.ContactModel
public void setUserName(String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.ContactModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.ContactModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.ContactModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.ContactModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.ContactModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.ContactModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface com.liferay.portal.kernel.model.ContactModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface com.liferay.portal.kernel.model.ContactModel
public long getOriginalClassPK()
@JSON public long getAccountId()
getAccountId
in interface com.liferay.portal.kernel.model.ContactModel
public void setAccountId(long accountId)
setAccountId
in interface com.liferay.portal.kernel.model.ContactModel
public long getOriginalAccountId()
@JSON public long getParentContactId()
getParentContactId
in interface com.liferay.portal.kernel.model.ContactModel
public void setParentContactId(long parentContactId)
setParentContactId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getEmailAddress()
getEmailAddress
in interface com.liferay.portal.kernel.model.ContactModel
public void setEmailAddress(String emailAddress)
setEmailAddress
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getFirstName()
getFirstName
in interface com.liferay.portal.kernel.model.ContactModel
public void setFirstName(String firstName)
setFirstName
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getMiddleName()
getMiddleName
in interface com.liferay.portal.kernel.model.ContactModel
public void setMiddleName(String middleName)
setMiddleName
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getLastName()
getLastName
in interface com.liferay.portal.kernel.model.ContactModel
public void setLastName(String lastName)
setLastName
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public long getPrefixId()
getPrefixId
in interface com.liferay.portal.kernel.model.ContactModel
public void setPrefixId(long prefixId)
setPrefixId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public long getSuffixId()
getSuffixId
in interface com.liferay.portal.kernel.model.ContactModel
public void setSuffixId(long suffixId)
setSuffixId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public boolean getMale()
getMale
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public boolean isMale()
isMale
in interface com.liferay.portal.kernel.model.ContactModel
public void setMale(boolean male)
setMale
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public Date getBirthday()
getBirthday
in interface com.liferay.portal.kernel.model.ContactModel
public void setBirthday(Date birthday)
setBirthday
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getSmsSn()
getSmsSn
in interface com.liferay.portal.kernel.model.ContactModel
public void setSmsSn(String smsSn)
setSmsSn
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getFacebookSn()
getFacebookSn
in interface com.liferay.portal.kernel.model.ContactModel
public void setFacebookSn(String facebookSn)
setFacebookSn
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getJabberSn()
getJabberSn
in interface com.liferay.portal.kernel.model.ContactModel
public void setJabberSn(String jabberSn)
setJabberSn
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getSkypeSn()
getSkypeSn
in interface com.liferay.portal.kernel.model.ContactModel
public void setSkypeSn(String skypeSn)
setSkypeSn
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getTwitterSn()
getTwitterSn
in interface com.liferay.portal.kernel.model.ContactModel
public void setTwitterSn(String twitterSn)
setTwitterSn
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getEmployeeStatusId()
getEmployeeStatusId
in interface com.liferay.portal.kernel.model.ContactModel
public void setEmployeeStatusId(String employeeStatusId)
setEmployeeStatusId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getEmployeeNumber()
getEmployeeNumber
in interface com.liferay.portal.kernel.model.ContactModel
public void setEmployeeNumber(String employeeNumber)
setEmployeeNumber
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getJobTitle()
getJobTitle
in interface com.liferay.portal.kernel.model.ContactModel
public void setJobTitle(String jobTitle)
setJobTitle
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getJobClass()
getJobClass
in interface com.liferay.portal.kernel.model.ContactModel
public void setJobClass(String jobClass)
setJobClass
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public String getHoursOfOperation()
getHoursOfOperation
in interface com.liferay.portal.kernel.model.ContactModel
public void setHoursOfOperation(String hoursOfOperation)
setHoursOfOperation
in interface com.liferay.portal.kernel.model.ContactModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.ContactModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.ContactModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public com.liferay.portal.kernel.model.Contact toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
toEscapedModel
in interface com.liferay.portal.kernel.model.ContactModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
clone
in interface com.liferay.portal.kernel.model.ContactModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public int compareTo(com.liferay.portal.kernel.model.Contact contact)
compareTo
in interface com.liferay.portal.kernel.model.ContactModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Contact>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.ContactModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Contact> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
toCacheModel
in interface com.liferay.portal.kernel.model.ContactModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public String toString()
toString
in interface com.liferay.portal.kernel.model.ContactModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
toXmlString
in interface com.liferay.portal.kernel.model.ContactModel