Package com.liferay.portal.kernel.model
Interface PhoneModel
- All Superinterfaces:
AttachedModel
,AuditedModel
,BaseModel<Phone>
,ClassedModel
,Cloneable
,Comparable<Phone>
,CTModel<Phone>
,ExternalReferenceCodeModel
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
- All Known Subinterfaces:
Phone
- All Known Implementing Classes:
PhoneWrapper
@ProviderType
public interface PhoneModel
extends AttachedModel, BaseModel<Phone>, CTModel<Phone>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Phone service. Represents a row in the "Phone" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.PhoneModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PhoneImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this phone.- Specified by:
getPrimaryKey
in interfaceCTModel<Phone>
- Returns:
- the primary key of this phone
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this phone.- Specified by:
setPrimaryKey
in interfaceCTModel<Phone>
- Parameters:
primaryKey
- the primary key of this phone
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this phone.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this phone
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this phone.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this phone
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this phone.- Specified by:
getCtCollectionId
in interfaceCTModel<Phone>
- Returns:
- the ct collection ID of this phone
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this phone.- Specified by:
setCtCollectionId
in interfaceCTModel<Phone>
- Parameters:
ctCollectionId
- the ct collection ID of this phone
-
getUuid
Returns the uuid of this phone.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this phone
-
setUuid
Sets the uuid of this phone.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this phone
-
getExternalReferenceCode
Returns the external reference code of this phone.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this phone
-
setExternalReferenceCode
Sets the external reference code of this phone.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this phone
-
getPhoneId
long getPhoneId()Returns the phone ID of this phone.- Returns:
- the phone ID of this phone
-
setPhoneId
void setPhoneId(long phoneId) Sets the phone ID of this phone.- Parameters:
phoneId
- the phone ID of this phone
-
getCompanyId
long getCompanyId()Returns the company ID of this phone.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this phone
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this phone.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this phone
-
getUserId
long getUserId()Returns the user ID of this phone.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this phone
-
setUserId
void setUserId(long userId) Sets the user ID of this phone.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this phone
-
getUserUuid
String getUserUuid()Returns the user uuid of this phone.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this phone
-
setUserUuid
Sets the user uuid of this phone.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this phone
-
getUserName
Returns the user name of this phone.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this phone
-
setUserName
Sets the user name of this phone.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this phone
-
getCreateDate
Date getCreateDate()Returns the create date of this phone.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this phone
-
setCreateDate
Sets the create date of this phone.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this phone
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this phone.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this phone
-
setModifiedDate
Sets the modified date of this phone.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this phone
-
getClassName
String getClassName()Returns the fully qualified class name of this phone.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this phone
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this phone.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this phone
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this phone.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this phone
-
getClassPK
long getClassPK()Returns the class pk of this phone.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this phone
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this phone.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this phone
-
getNumber
Returns the number of this phone.- Returns:
- the number of this phone
-
setNumber
Sets the number of this phone.- Parameters:
number
- the number of this phone
-
getExtension
Returns the extension of this phone.- Returns:
- the extension of this phone
-
setExtension
Sets the extension of this phone.- Parameters:
extension
- the extension of this phone
-
getListTypeId
long getListTypeId()Returns the list type ID of this phone.- Returns:
- the list type ID of this phone
-
setListTypeId
void setListTypeId(long listTypeId) Sets the list type ID of this phone.- Parameters:
listTypeId
- the list type ID of this phone
-
getPrimary
boolean getPrimary()Returns the primary of this phone.- Returns:
- the primary of this phone
-
isPrimary
boolean isPrimary()Returnstrue
if this phone is primary.- Returns:
true
if this phone is primary;false
otherwise
-
setPrimary
void setPrimary(boolean primary) Sets whether this phone is primary.- Parameters:
primary
- the primary of this phone
-
cloneWithOriginalValues
Phone cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Phone>
-
toXmlString
-