com.liferay.portal.model.impl
Class ContactModelImpl
java.lang.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)
@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
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.
- See Also:
ContactImpl,
Contact,
ContactModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.portal.kernel.model.ContactModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
ACCOUNTID_COLUMN_BITMASK
public static final long ACCOUNTID_COLUMN_BITMASK
- See Also:
- Constant Field Values
CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
- See Also:
- Constant Field Values
CLASSPK_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
- See Also:
- Constant Field Values
COMPANYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
- See Also:
- Constant Field Values
CONTACTID_COLUMN_BITMASK
public static final long CONTACTID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ContactModelImpl
public ContactModelImpl()
toModel
public 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.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public 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.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.ContactModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.ContactModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ContactModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ContactModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
getContactId
@JSON
public long getContactId()
- Specified by:
getContactId in interface com.liferay.portal.kernel.model.ContactModel
setContactId
public void setContactId(long contactId)
- Specified by:
setContactId in interface com.liferay.portal.kernel.model.ContactModel
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
getOriginalCompanyId
public long getOriginalCompanyId()
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserId in interface com.liferay.portal.kernel.model.ContactModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserId in interface com.liferay.portal.kernel.model.ContactModel
getUserUuid
public String getUserUuid()
- Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.ContactModel
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.ContactModel
getUserName
@JSON
public String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserName in interface com.liferay.portal.kernel.model.ContactModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserName in interface com.liferay.portal.kernel.model.ContactModel
getCreateDate
@JSON
public Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.ContactModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.ContactModel
getModifiedDate
@JSON
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.ContactModel
hasSetModifiedDate
public boolean hasSetModifiedDate()
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.ContactModel
getClassName
public String getClassName()
- Specified by:
getClassName in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
getClassName in interface com.liferay.portal.kernel.model.TypedModel
setClassName
public void setClassName(String className)
- Specified by:
setClassName in interface com.liferay.portal.kernel.model.ContactModel
getClassNameId
@JSON
public long getClassNameId()
- Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
getOriginalClassNameId
public long getOriginalClassNameId()
getClassPK
@JSON
public long getClassPK()
- Specified by:
getClassPK in interface com.liferay.portal.kernel.model.AttachedModel- Specified by:
getClassPK in interface com.liferay.portal.kernel.model.ContactModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK in interface com.liferay.portal.kernel.model.AttachedModel- Specified by:
setClassPK in interface com.liferay.portal.kernel.model.ContactModel
getOriginalClassPK
public long getOriginalClassPK()
getAccountId
@JSON
public long getAccountId()
- Specified by:
getAccountId in interface com.liferay.portal.kernel.model.ContactModel
setAccountId
public void setAccountId(long accountId)
- Specified by:
setAccountId in interface com.liferay.portal.kernel.model.ContactModel
getOriginalAccountId
public long getOriginalAccountId()
getParentContactId
@JSON
public long getParentContactId()
- Specified by:
getParentContactId in interface com.liferay.portal.kernel.model.ContactModel
setParentContactId
public void setParentContactId(long parentContactId)
- Specified by:
setParentContactId in interface com.liferay.portal.kernel.model.ContactModel
getEmailAddress
@JSON
public String getEmailAddress()
- Specified by:
getEmailAddress in interface com.liferay.portal.kernel.model.ContactModel
setEmailAddress
public void setEmailAddress(String emailAddress)
- Specified by:
setEmailAddress in interface com.liferay.portal.kernel.model.ContactModel
getFirstName
@JSON
public String getFirstName()
- Specified by:
getFirstName in interface com.liferay.portal.kernel.model.ContactModel
setFirstName
public void setFirstName(String firstName)
- Specified by:
setFirstName in interface com.liferay.portal.kernel.model.ContactModel
getMiddleName
@JSON
public String getMiddleName()
- Specified by:
getMiddleName in interface com.liferay.portal.kernel.model.ContactModel
setMiddleName
public void setMiddleName(String middleName)
- Specified by:
setMiddleName in interface com.liferay.portal.kernel.model.ContactModel
getLastName
@JSON
public String getLastName()
- Specified by:
getLastName in interface com.liferay.portal.kernel.model.ContactModel
setLastName
public void setLastName(String lastName)
- Specified by:
setLastName in interface com.liferay.portal.kernel.model.ContactModel
getPrefixId
@JSON
public long getPrefixId()
- Specified by:
getPrefixId in interface com.liferay.portal.kernel.model.ContactModel
setPrefixId
public void setPrefixId(long prefixId)
- Specified by:
setPrefixId in interface com.liferay.portal.kernel.model.ContactModel
getSuffixId
@JSON
public long getSuffixId()
- Specified by:
getSuffixId in interface com.liferay.portal.kernel.model.ContactModel
setSuffixId
public void setSuffixId(long suffixId)
- Specified by:
setSuffixId in interface com.liferay.portal.kernel.model.ContactModel
getMale
@JSON
public boolean getMale()
- Specified by:
getMale in interface com.liferay.portal.kernel.model.ContactModel
isMale
public boolean isMale()
- Specified by:
isMale in interface com.liferay.portal.kernel.model.ContactModel
setMale
public void setMale(boolean male)
- Specified by:
setMale in interface com.liferay.portal.kernel.model.ContactModel
getBirthday
@JSON
public Date getBirthday()
- Specified by:
getBirthday in interface com.liferay.portal.kernel.model.ContactModel
setBirthday
public void setBirthday(Date birthday)
- Specified by:
setBirthday in interface com.liferay.portal.kernel.model.ContactModel
getSmsSn
@JSON
public String getSmsSn()
- Specified by:
getSmsSn in interface com.liferay.portal.kernel.model.ContactModel
setSmsSn
public void setSmsSn(String smsSn)
- Specified by:
setSmsSn in interface com.liferay.portal.kernel.model.ContactModel
getFacebookSn
@JSON
public String getFacebookSn()
- Specified by:
getFacebookSn in interface com.liferay.portal.kernel.model.ContactModel
setFacebookSn
public void setFacebookSn(String facebookSn)
- Specified by:
setFacebookSn in interface com.liferay.portal.kernel.model.ContactModel
getJabberSn
@JSON
public String getJabberSn()
- Specified by:
getJabberSn in interface com.liferay.portal.kernel.model.ContactModel
setJabberSn
public void setJabberSn(String jabberSn)
- Specified by:
setJabberSn in interface com.liferay.portal.kernel.model.ContactModel
getSkypeSn
@JSON
public String getSkypeSn()
- Specified by:
getSkypeSn in interface com.liferay.portal.kernel.model.ContactModel
setSkypeSn
public void setSkypeSn(String skypeSn)
- Specified by:
setSkypeSn in interface com.liferay.portal.kernel.model.ContactModel
getTwitterSn
@JSON
public String getTwitterSn()
- Specified by:
getTwitterSn in interface com.liferay.portal.kernel.model.ContactModel
setTwitterSn
public void setTwitterSn(String twitterSn)
- Specified by:
setTwitterSn in interface com.liferay.portal.kernel.model.ContactModel
getEmployeeStatusId
@JSON
public String getEmployeeStatusId()
- Specified by:
getEmployeeStatusId in interface com.liferay.portal.kernel.model.ContactModel
setEmployeeStatusId
public void setEmployeeStatusId(String employeeStatusId)
- Specified by:
setEmployeeStatusId in interface com.liferay.portal.kernel.model.ContactModel
getEmployeeNumber
@JSON
public String getEmployeeNumber()
- Specified by:
getEmployeeNumber in interface com.liferay.portal.kernel.model.ContactModel
setEmployeeNumber
public void setEmployeeNumber(String employeeNumber)
- Specified by:
setEmployeeNumber in interface com.liferay.portal.kernel.model.ContactModel
getJobTitle
@JSON
public String getJobTitle()
- Specified by:
getJobTitle in interface com.liferay.portal.kernel.model.ContactModel
setJobTitle
public void setJobTitle(String jobTitle)
- Specified by:
setJobTitle in interface com.liferay.portal.kernel.model.ContactModel
getJobClass
@JSON
public String getJobClass()
- Specified by:
getJobClass in interface com.liferay.portal.kernel.model.ContactModel
setJobClass
public void setJobClass(String jobClass)
- Specified by:
setJobClass in interface com.liferay.portal.kernel.model.ContactModel
getHoursOfOperation
@JSON
public String getHoursOfOperation()
- Specified by:
getHoursOfOperation in interface com.liferay.portal.kernel.model.ContactModel
setHoursOfOperation
public void setHoursOfOperation(String hoursOfOperation)
- Specified by:
setHoursOfOperation in interface com.liferay.portal.kernel.model.ContactModel
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
getExpandoBridge in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
setExpandoBridgeAttributes in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
clone in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
compareTo
public int compareTo(com.liferay.portal.kernel.model.Contact contact)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.ContactModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.Contact>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Overrides:
resetOriginalValues in class com.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 interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Contact>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.ContactModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Contact>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.ContactModel