@JSON(strict=true)
@ProviderType
public class PhoneModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>
implements com.liferay.portal.model.PhoneModel
This implementation and its corresponding interface PhoneModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PhoneImpl.
PhoneImpl,
Phone,
PhoneModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CREATEDATE_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PRIMARY_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
PhoneModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.Phone phone) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getExtension() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getMvccVersion() |
java.lang.String |
getNumber() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
boolean |
getOriginalPrimary() |
long |
getOriginalUserId() |
java.lang.String |
getOriginalUuid() |
long |
getPhoneId() |
boolean |
getPrimary() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.portlet.exportimport.lar.StagedModelType |
getStagedModelType() |
long |
getTypeId() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isPrimary() |
void |
resetOriginalValues() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setExtension(java.lang.String extension) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setNumber(java.lang.String number) |
void |
setPhoneId(long phoneId) |
void |
setPrimary(boolean primary) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setTypeId(long typeId) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.Phone> |
toCacheModel() |
com.liferay.portal.model.Phone |
toEscapedModel() |
static com.liferay.portal.model.Phone |
toModel(com.liferay.portal.model.PhoneSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.Phone> |
toModels(com.liferay.portal.model.PhoneSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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 CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long PRIMARY_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.model.Phone toModel(com.liferay.portal.model.PhoneSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.Phone> toModels(com.liferay.portal.model.PhoneSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.PhoneModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.PhoneModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.PhoneModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.PhoneModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.model.MVCCModelgetMvccVersion in interface com.liferay.portal.model.PhoneModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.model.MVCCModelsetMvccVersion in interface com.liferay.portal.model.PhoneModel@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.portal.model.PhoneModelgetUuid in interface com.liferay.portal.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.model.PhoneModelsetUuid in interface com.liferay.portal.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getPhoneId()
getPhoneId in interface com.liferay.portal.model.PhoneModelpublic void setPhoneId(long phoneId)
setPhoneId in interface com.liferay.portal.model.PhoneModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portal.model.PhoneModelgetCompanyId in interface com.liferay.portal.model.ShardedModelgetCompanyId in interface com.liferay.portal.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portal.model.PhoneModelsetCompanyId in interface com.liferay.portal.model.ShardedModelsetCompanyId in interface com.liferay.portal.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portal.model.PhoneModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portal.model.PhoneModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.model.AuditedModelgetUserUuid in interface com.liferay.portal.model.PhoneModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AuditedModelsetUserUuid in interface com.liferay.portal.model.PhoneModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portal.model.PhoneModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portal.model.PhoneModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portal.model.PhoneModelgetCreateDate in interface com.liferay.portal.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portal.model.PhoneModelsetCreateDate in interface com.liferay.portal.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portal.model.PhoneModelgetModifiedDate in interface com.liferay.portal.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portal.model.PhoneModelsetModifiedDate in interface com.liferay.portal.model.StagedModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.model.PhoneModelgetClassName in interface com.liferay.portal.model.TypedModelpublic void setClassName(java.lang.String className)
setClassName in interface com.liferay.portal.model.PhoneModel@JSON public long getClassNameId()
getClassNameId in interface com.liferay.portal.model.PhoneModelgetClassNameId in interface com.liferay.portal.model.TypedModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.model.PhoneModelsetClassNameId in interface com.liferay.portal.model.TypedModelpublic long getOriginalClassNameId()
@JSON public long getClassPK()
getClassPK in interface com.liferay.portal.model.AttachedModelgetClassPK in interface com.liferay.portal.model.PhoneModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.model.AttachedModelsetClassPK in interface com.liferay.portal.model.PhoneModelpublic long getOriginalClassPK()
@JSON public java.lang.String getNumber()
getNumber in interface com.liferay.portal.model.PhoneModelpublic void setNumber(java.lang.String number)
setNumber in interface com.liferay.portal.model.PhoneModel@JSON public java.lang.String getExtension()
getExtension in interface com.liferay.portal.model.PhoneModelpublic void setExtension(java.lang.String extension)
setExtension in interface com.liferay.portal.model.PhoneModel@JSON public long getTypeId()
getTypeId in interface com.liferay.portal.model.PhoneModelpublic void setTypeId(long typeId)
setTypeId in interface com.liferay.portal.model.PhoneModel@JSON public boolean getPrimary()
getPrimary in interface com.liferay.portal.model.PhoneModelpublic boolean isPrimary()
isPrimary in interface com.liferay.portal.model.PhoneModelpublic void setPrimary(boolean primary)
setPrimary in interface com.liferay.portal.model.PhoneModelpublic boolean getOriginalPrimary()
public com.liferay.portlet.exportimport.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.PhoneModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>setExpandoBridgeAttributes in interface com.liferay.portal.model.PhoneModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public com.liferay.portal.model.Phone toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>toEscapedModel in interface com.liferay.portal.model.PhoneModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>clone in interface com.liferay.portal.model.PhoneModelclone in interface com.liferay.portal.model.StagedModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public int compareTo(com.liferay.portal.model.Phone phone)
compareTo in interface com.liferay.portal.model.PhoneModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Phone>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.PhoneModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Phone> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>toCacheModel in interface com.liferay.portal.model.PhoneModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Phone>public java.lang.String toString()
toString in interface com.liferay.portal.model.PhoneModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Phone>toXmlString in interface com.liferay.portal.model.PhoneModel