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
modelFields 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.longReturns the class name ID of this phone.longReturns the class pk of this phone.longReturns the company ID of this phone.Returns the create date of this phone.longReturns the ct collection ID of this phone.Returns the extension of this phone.Returns the external reference code of this phone.longReturns the list type ID of this phone.Returns the modified date of this phone.longReturns the mvcc version of this phone.Returns the number of this phone.longReturns the phone ID of this phone.booleanReturns the primary of this phone.longReturns the primary key of this phone.longReturns 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.booleanReturnstrueif this phone is primary.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this phone.voidsetClassPK(long classPK) Sets the class pk of this phone.voidsetCompanyId(long companyId) Sets the company ID of this phone.voidsetCreateDate(Date createDate) Sets the create date of this phone.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this phone.voidsetExtension(String extension) Sets the extension of this phone.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this phone.voidsetListTypeId(long listTypeId) Sets the list type ID of this phone.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this phone.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this phone.voidSets the number of this phone.voidsetPhoneId(long phoneId) Sets the phone ID of this phone.voidsetPrimary(boolean primary) Sets whether this phone is primary.voidsetPrimaryKey(long primaryKey) Sets the primary key of this phone.voidsetUserId(long userId) Sets the user ID of this phone.voidsetUserName(String userName) Sets the user name of this phone.voidsetUserUuid(String userUuid) Sets the user uuid of this phone.voidSets the uuid of this phone.protected PhoneWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
PhoneWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Phone>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Phone>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Phone>- Specified by:
cloneWithOriginalValuesin interfacePhoneModel
-
getClassName
Returns the fully qualified class name of this phone.- Specified by:
getClassNamein interfacePhoneModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this phone
-
getClassNameId
public long getClassNameId()Returns the class name ID of this phone.- Specified by:
getClassNameIdin interfacePhoneModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this phone
-
getClassPK
public long getClassPK()Returns the class pk of this phone.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfacePhoneModel- Returns:
- the class pk of this phone
-
getCompanyId
public long getCompanyId()Returns the company ID of this phone.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfacePhoneModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this phone
-
getCreateDate
Returns the create date of this phone.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfacePhoneModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this phone
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this phone.- Specified by:
getCtCollectionIdin interfaceCTModel<Phone>- Specified by:
getCtCollectionIdin interfacePhoneModel- Returns:
- the ct collection ID of this phone
-
getExtension
Returns the extension of this phone.- Specified by:
getExtensionin interfacePhoneModel- Returns:
- the extension of this phone
-
getExternalReferenceCode
Returns the external reference code of this phone.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfacePhoneModel- Returns:
- the external reference code of this phone
-
getListType
- Specified by:
getListTypein interfacePhone- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this phone.- Specified by:
getListTypeIdin interfacePhoneModel- Returns:
- the list type ID of this phone
-
getModifiedDate
Returns the modified date of this phone.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfacePhoneModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this phone
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this phone.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfacePhoneModel- Returns:
- the mvcc version of this phone
-
getNumber
Returns the number of this phone.- Specified by:
getNumberin interfacePhoneModel- Returns:
- the number of this phone
-
getPhoneId
public long getPhoneId()Returns the phone ID of this phone.- Specified by:
getPhoneIdin interfacePhoneModel- Returns:
- the phone ID of this phone
-
getPrimary
public boolean getPrimary()Returns the primary of this phone.- Specified by:
getPrimaryin interfacePhoneModel- Returns:
- the primary of this phone
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this phone.- Specified by:
getPrimaryKeyin interfaceCTModel<Phone>- Specified by:
getPrimaryKeyin interfacePhoneModel- Returns:
- the primary key of this phone
-
getUserId
public long getUserId()Returns the user ID of this phone.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfacePhoneModel- Returns:
- the user ID of this phone
-
getUserName
Returns the user name of this phone.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfacePhoneModel- Returns:
- the user name of this phone
-
getUserUuid
Returns the user uuid of this phone.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfacePhoneModel- Returns:
- the user uuid of this phone
-
getUuid
Returns the uuid of this phone.- Specified by:
getUuidin interfacePhoneModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this phone
-
isPrimary
public boolean isPrimary()Returnstrueif this phone is primary.- Specified by:
isPrimaryin interfacePhoneModel- Returns:
trueif this phone is primary;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfacePhoneModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this phone.- Specified by:
setClassNameIdin interfacePhoneModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfacePhoneModel- Parameters:
classPK- the class pk of this phone
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this phone.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfacePhoneModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this phone
-
setCreateDate
Sets the create date of this phone.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfacePhoneModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<Phone>- Specified by:
setCtCollectionIdin interfacePhoneModel- Parameters:
ctCollectionId- the ct collection ID of this phone
-
setExtension
Sets the extension of this phone.- Specified by:
setExtensionin interfacePhoneModel- Parameters:
extension- the extension of this phone
-
setExternalReferenceCode
Sets the external reference code of this phone.- Specified by:
setExternalReferenceCodein interfaceExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein 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:
setListTypeIdin interfacePhoneModel- Parameters:
listTypeId- the list type ID of this phone
-
setModifiedDate
Sets the modified date of this phone.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfacePhoneModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this phone
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this phone.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfacePhoneModel- Parameters:
mvccVersion- the mvcc version of this phone
-
setNumber
Sets the number of this phone.- Specified by:
setNumberin interfacePhoneModel- Parameters:
number- the number of this phone
-
setPhoneId
public void setPhoneId(long phoneId) Sets the phone ID of this phone.- Specified by:
setPhoneIdin interfacePhoneModel- Parameters:
phoneId- the phone ID of this phone
-
setPrimary
public void setPrimary(boolean primary) Sets whether this phone is primary.- Specified by:
setPrimaryin interfacePhoneModel- Parameters:
primary- the primary of this phone
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this phone.- Specified by:
setPrimaryKeyin interfaceCTModel<Phone>- Specified by:
setPrimaryKeyin interfacePhoneModel- Parameters:
primaryKey- the primary key of this phone
-
setUserId
public void setUserId(long userId) Sets the user ID of this phone.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfacePhoneModel- Parameters:
userId- the user ID of this phone
-
setUserName
Sets the user name of this phone.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfacePhoneModel- Parameters:
userName- the user name of this phone
-
setUserUuid
Sets the user uuid of this phone.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfacePhoneModel- Parameters:
userUuid- the user uuid of this phone
-
setUuid
Sets the uuid of this phone.- Specified by:
setUuidin interfacePhoneModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this phone
-
toXmlString
- Specified by:
toXmlStringin interfacePhoneModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Phone>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Phone>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Phone>
-