Package com.liferay.portal.kernel.model
Class PhoneWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Phone>
com.liferay.portal.kernel.model.PhoneWrapper
- All Implemented Interfaces:
AttachedModel
,AuditedModel
,BaseModel<Phone>
,CTModel<Phone>
,ClassedModel
,ExternalReferenceCodeModel
,ModelWrapper<Phone>
,MVCCModel
,PersistedModel
,Phone
,PhoneModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<Phone>
This class is a wrapper for Phone
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.Phone
PHONE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this phone.long
Returns the class name ID of this phone.long
Returns the class pk of this phone.long
Returns the company ID of this phone.Returns the create date of this phone.long
Returns the ct collection ID of this phone.Returns the extension of this phone.Returns the external reference code of this phone.long
Returns the list type ID of this phone.Returns the modified date of this phone.long
Returns the mvcc version of this phone.Returns the number of this phone.long
Returns the phone ID of this phone.boolean
Returns the primary of this phone.long
Returns the primary key of this phone.long
Returns the user ID of this phone.Returns the user name of this phone.Returns the user uuid of this phone.getUuid()
Returns the uuid of this phone.boolean
Returnstrue
if this phone is primary.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this phone.void
setClassPK
(long classPK) Sets the class pk of this phone.void
setCompanyId
(long companyId) Sets the company ID of this phone.void
setCreateDate
(Date createDate) Sets the create date of this phone.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this phone.void
setExtension
(String extension) Sets the extension of this phone.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this phone.void
setListTypeId
(long listTypeId) Sets the list type ID of this phone.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this phone.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this phone.void
Sets the number of this phone.void
setPhoneId
(long phoneId) Sets the phone ID of this phone.void
setPrimary
(boolean primary) Sets whether this phone is primary.void
setPrimaryKey
(long primaryKey) Sets the primary key of this phone.void
setUserId
(long userId) Sets the user ID of this phone.void
setUserName
(String userName) Sets the user name of this phone.void
setUserUuid
(String userUuid) Sets the user uuid of this phone.void
Sets the uuid of this phone.protected PhoneWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, 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
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
PhoneWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Phone>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Phone>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Phone>
- Specified by:
cloneWithOriginalValues
in interfacePhoneModel
-
getClassName
Returns the fully qualified class name of this phone.- Specified by:
getClassName
in interfacePhoneModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this phone
-
getClassNameId
public long getClassNameId()Returns the class name ID of this phone.- Specified by:
getClassNameId
in interfacePhoneModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this phone
-
getClassPK
public long getClassPK()Returns the class pk of this phone.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfacePhoneModel
- Returns:
- the class pk of this phone
-
getCompanyId
public long getCompanyId()Returns the company ID of this phone.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfacePhoneModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this phone
-
getCreateDate
Returns the create date of this phone.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfacePhoneModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this phone
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this phone.- Specified by:
getCtCollectionId
in interfaceCTModel<Phone>
- Specified by:
getCtCollectionId
in interfacePhoneModel
- Returns:
- the ct collection ID of this phone
-
getExtension
Returns the extension of this phone.- Specified by:
getExtension
in interfacePhoneModel
- Returns:
- the extension of this phone
-
getExternalReferenceCode
Returns the external reference code of this phone.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfacePhoneModel
- Returns:
- the external reference code of this phone
-
getListType
- Specified by:
getListType
in interfacePhone
- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this phone.- Specified by:
getListTypeId
in interfacePhoneModel
- Returns:
- the list type ID of this phone
-
getModifiedDate
Returns the modified date of this phone.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfacePhoneModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this phone
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this phone.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfacePhoneModel
- Returns:
- the mvcc version of this phone
-
getNumber
Returns the number of this phone.- Specified by:
getNumber
in interfacePhoneModel
- Returns:
- the number of this phone
-
getPhoneId
public long getPhoneId()Returns the phone ID of this phone.- Specified by:
getPhoneId
in interfacePhoneModel
- Returns:
- the phone ID of this phone
-
getPrimary
public boolean getPrimary()Returns the primary of this phone.- Specified by:
getPrimary
in interfacePhoneModel
- Returns:
- the primary of this phone
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this phone.- Specified by:
getPrimaryKey
in interfaceCTModel<Phone>
- Specified by:
getPrimaryKey
in interfacePhoneModel
- Returns:
- the primary key of this phone
-
getUserId
public long getUserId()Returns the user ID of this phone.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfacePhoneModel
- Returns:
- the user ID of this phone
-
getUserName
Returns the user name of this phone.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfacePhoneModel
- Returns:
- the user name of this phone
-
getUserUuid
Returns the user uuid of this phone.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfacePhoneModel
- Returns:
- the user uuid of this phone
-
getUuid
Returns the uuid of this phone.- Specified by:
getUuid
in interfacePhoneModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this phone
-
isPrimary
public boolean isPrimary()Returnstrue
if this phone is primary.- Specified by:
isPrimary
in interfacePhoneModel
- Returns:
true
if this phone is primary;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
- Specified by:
setClassName
in interfacePhoneModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this phone.- Specified by:
setClassNameId
in interfacePhoneModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this phone
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this phone.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfacePhoneModel
- Parameters:
classPK
- the class pk of this phone
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this phone.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfacePhoneModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this phone
-
setCreateDate
Sets the create date of this phone.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfacePhoneModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this phone
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this phone.- Specified by:
setCtCollectionId
in interfaceCTModel<Phone>
- Specified by:
setCtCollectionId
in interfacePhoneModel
- Parameters:
ctCollectionId
- the ct collection ID of this phone
-
setExtension
Sets the extension of this phone.- Specified by:
setExtension
in interfacePhoneModel
- Parameters:
extension
- the extension of this phone
-
setExternalReferenceCode
Sets the external reference code of this phone.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfacePhoneModel
- Parameters:
externalReferenceCode
- the external reference code of this phone
-
setListTypeId
public void setListTypeId(long listTypeId) Sets the list type ID of this phone.- Specified by:
setListTypeId
in interfacePhoneModel
- Parameters:
listTypeId
- the list type ID of this phone
-
setModifiedDate
Sets the modified date of this phone.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfacePhoneModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this phone
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this phone.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfacePhoneModel
- Parameters:
mvccVersion
- the mvcc version of this phone
-
setNumber
Sets the number of this phone.- Specified by:
setNumber
in interfacePhoneModel
- Parameters:
number
- the number of this phone
-
setPhoneId
public void setPhoneId(long phoneId) Sets the phone ID of this phone.- Specified by:
setPhoneId
in interfacePhoneModel
- Parameters:
phoneId
- the phone ID of this phone
-
setPrimary
public void setPrimary(boolean primary) Sets whether this phone is primary.- Specified by:
setPrimary
in interfacePhoneModel
- Parameters:
primary
- the primary of this phone
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this phone.- Specified by:
setPrimaryKey
in interfaceCTModel<Phone>
- Specified by:
setPrimaryKey
in interfacePhoneModel
- Parameters:
primaryKey
- the primary key of this phone
-
setUserId
public void setUserId(long userId) Sets the user ID of this phone.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfacePhoneModel
- Parameters:
userId
- the user ID of this phone
-
setUserName
Sets the user name of this phone.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfacePhoneModel
- Parameters:
userName
- the user name of this phone
-
setUserUuid
Sets the user uuid of this phone.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfacePhoneModel
- Parameters:
userUuid
- the user uuid of this phone
-
setUuid
Sets the uuid of this phone.- Specified by:
setUuid
in interfacePhoneModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this phone
-
toXmlString
- Specified by:
toXmlString
in interfacePhoneModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Phone>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Phone>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Phone>
-