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.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.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.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.default StringMethods 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, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this phone.- Specified by:
getPrimaryKeyin interfaceCTModel<Phone>- Returns:
- the primary key of this phone
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this phone.- Specified by:
setPrimaryKeyin interfaceCTModel<Phone>- Parameters:
primaryKey- the primary key of this phone
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this phone.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this phone
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this phone.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this phone
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this phone.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin interfaceCTModel<Phone>- Parameters:
ctCollectionId- the ct collection ID of this phone
-
getUuid
Returns the uuid of this phone.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this phone
-
setUuid
Sets the uuid of this phone.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this phone
-
getExternalReferenceCode
Returns the external reference code of this phone.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this phone
-
setExternalReferenceCode
Sets the external reference code of this phone.- Specified by:
setExternalReferenceCodein 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this phone
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this phone.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this phone
-
getUserId
long getUserId()Returns the user ID of this phone.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this phone
-
setUserId
void setUserId(long userId) Sets the user ID of this phone.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this phone
-
getUserUuid
String getUserUuid()Returns the user uuid of this phone.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this phone
-
setUserUuid
Sets the user uuid of this phone.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this phone
-
getUserName
Returns the user name of this phone.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this phone
-
setUserName
Sets the user name of this phone.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this phone
-
getCreateDate
Date getCreateDate()Returns the create date of this phone.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this phone
-
setCreateDate
Sets the create date of this phone.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this phone
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this phone.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this phone
-
setModifiedDate
Sets the modified date of this phone.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this phone
-
getClassName
String getClassName()Returns the fully qualified class name of this phone.- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this phone
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this phone.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this phone
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this phone.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this phone
-
getClassPK
long getClassPK()Returns the class pk of this phone.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this phone
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this phone.- Specified by:
setClassPKin 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()Returnstrueif this phone is primary.- Returns:
trueif this phone is primary;falseotherwise
-
setPrimary
void setPrimary(boolean primary) Sets whether this phone is primary.- Parameters:
primary- the primary of this phone
-
cloneWithOriginalValues
Phone cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Phone>
-
toXmlString
-