@JSON(strict=true)
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
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
CLASSPK_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
CONTACTID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
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 |
static long |
USERID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
Constructor and Description |
---|
ContactModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
com.liferay.portal.kernel.model.Contact |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.Contact contact) |
boolean |
equals(Object object) |
Map<String,Function<com.liferay.portal.kernel.model.Contact,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.Contact,Object>> |
getAttributeSetterBiConsumers() |
Date |
getBirthday() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
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 |
getOriginalClassNameId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalClassPK()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalUserId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getParentContactId() |
long |
getPrefixListTypeId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getSkypeSn() |
String |
getSmsSn() |
long |
getSuffixListTypeId() |
String |
getTwitterSn() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isMale() |
void |
resetOriginalValues() |
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 |
setPrefixListTypeId(long prefixListTypeId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setSkypeSn(String skypeSn) |
void |
setSmsSn(String smsSn) |
void |
setSuffixListTypeId(long suffixListTypeId) |
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() |
String |
toString() |
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
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long CLASSNAMEID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long CLASSPK_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long USERID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long CONTACTID_COLUMN_BITMASK
getColumnBitmask(String)
public static final long LOCK_EXPIRATION_TIME
public 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
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
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>
public Map<String,Function<com.liferay.portal.kernel.model.Contact,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
public Map<String,BiConsumer<com.liferay.portal.kernel.model.Contact,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<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
@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)
@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
@Deprecated public long getOriginalUserId()
getColumnOriginalValue(String)
@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
@Deprecated public long getOriginalClassNameId()
getColumnOriginalValue(String)
@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
@Deprecated public long getOriginalClassPK()
getColumnOriginalValue(String)
@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 getPrefixListTypeId()
getPrefixListTypeId
in interface com.liferay.portal.kernel.model.ContactModel
public void setPrefixListTypeId(long prefixListTypeId)
setPrefixListTypeId
in interface com.liferay.portal.kernel.model.ContactModel
@JSON public long getSuffixListTypeId()
getSuffixListTypeId
in interface com.liferay.portal.kernel.model.ContactModel
public void setSuffixListTypeId(long suffixListTypeId)
setSuffixListTypeId
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 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 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 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public com.liferay.portal.kernel.model.Contact cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.ContactModel
public int compareTo(com.liferay.portal.kernel.model.Contact contact)
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Contact>
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
@Deprecated 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
public String toString()
toString
in class Object
public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)