Package com.liferay.portal.model.impl
Class ContactModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
com.liferay.portal.model.impl.ContactModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ContactModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.Contact>
- Direct Known Subclasses:
ContactBaseImpl
@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
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Deprecated.static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
static final String
static final String
static final String
static final Object[][]
static final String
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.portal.kernel.model.Contact
int
compareTo
(com.liferay.portal.kernel.model.Contact contact) boolean
Map<String,
BiConsumer<com.liferay.portal.kernel.model.Contact, Object>> long
long
long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
com.liferay.expando.kernel.model.ExpandoBridge
boolean
getMale()
Class<?>
long
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
long
long
getSmsSn()
long
long
int
hashCode()
boolean
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
isMale()
void
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
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>
com.liferay.portal.kernel.model.Contact
toString()
Methods inherited from class com.liferay.portal.kernel.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.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ContactModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
CLASSNAMEID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSPK_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
USERID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CONTACTID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
ContactModelImpl
public ContactModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.portal.kernel.model.Contact, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.portal.kernel.model.Contact, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
-
getMvccVersion
@JSON public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
-
getContactId
@JSON public long getContactId()- Specified by:
getContactId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setContactId
public void setContactId(long contactId) - Specified by:
setContactId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getCompanyId
@JSON public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getUserId
@JSON public long getUserId()- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setUserId
public void setUserId(long userId) - Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getUserUuid
- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setUserUuid
- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getOriginalUserId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getUserName
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setUserName
- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getCreateDate
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setCreateDate
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getModifiedDate
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.ContactModel
-
hasSetModifiedDate
public boolean hasSetModifiedDate() -
setModifiedDate
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getClassNameId
@JSON public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.ContactModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
getOriginalClassNameId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getClassPK
@JSON public long getClassPK()- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setClassPK
public void setClassPK(long classPK) - Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getOriginalClassPK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getParentContactId
@JSON public long getParentContactId()- Specified by:
getParentContactId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setParentContactId
public void setParentContactId(long parentContactId) - Specified by:
setParentContactId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getEmailAddress
- Specified by:
getEmailAddress
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setEmailAddress
- Specified by:
setEmailAddress
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getFirstName
- Specified by:
getFirstName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setFirstName
- Specified by:
setFirstName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getMiddleName
- Specified by:
getMiddleName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setMiddleName
- Specified by:
setMiddleName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getLastName
- Specified by:
getLastName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setLastName
- Specified by:
setLastName
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getPrefixListTypeId
@JSON public long getPrefixListTypeId()- Specified by:
getPrefixListTypeId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setPrefixListTypeId
public void setPrefixListTypeId(long prefixListTypeId) - Specified by:
setPrefixListTypeId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getSuffixListTypeId
@JSON public long getSuffixListTypeId()- Specified by:
getSuffixListTypeId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setSuffixListTypeId
public void setSuffixListTypeId(long suffixListTypeId) - Specified by:
setSuffixListTypeId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getMale
@JSON public boolean getMale()- Specified by:
getMale
in interfacecom.liferay.portal.kernel.model.ContactModel
-
isMale
@JSON public boolean isMale()- Specified by:
isMale
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setMale
public void setMale(boolean male) - Specified by:
setMale
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getBirthday
- Specified by:
getBirthday
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setBirthday
- Specified by:
setBirthday
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getSmsSn
- Specified by:
getSmsSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setSmsSn
- Specified by:
setSmsSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getFacebookSn
- Specified by:
getFacebookSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setFacebookSn
- Specified by:
setFacebookSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getJabberSn
- Specified by:
getJabberSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setJabberSn
- Specified by:
setJabberSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getSkypeSn
- Specified by:
getSkypeSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setSkypeSn
- Specified by:
setSkypeSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getTwitterSn
- Specified by:
getTwitterSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setTwitterSn
- Specified by:
setTwitterSn
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getEmployeeStatusId
- Specified by:
getEmployeeStatusId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setEmployeeStatusId
- Specified by:
setEmployeeStatusId
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getEmployeeNumber
- Specified by:
getEmployeeNumber
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setEmployeeNumber
- Specified by:
setEmployeeNumber
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getJobTitle
- Specified by:
getJobTitle
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setJobTitle
- Specified by:
setJobTitle
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getJobClass
- Specified by:
getJobClass
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setJobClass
- Specified by:
setJobClass
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getHoursOfOperation
- Specified by:
getHoursOfOperation
in interfacecom.liferay.portal.kernel.model.ContactModel
-
setHoursOfOperation
- Specified by:
setHoursOfOperation
in interfacecom.liferay.portal.kernel.model.ContactModel
-
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
toEscapedModel
public com.liferay.portal.kernel.model.Contact toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
cloneWithOriginalValues
public com.liferay.portal.kernel.model.Contact cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.ContactModel
-
compareTo
public int compareTo(com.liferay.portal.kernel.model.Contact contact) - Specified by:
compareTo
in interfaceComparable<com.liferay.portal.kernel.model.Contact>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Contact> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)