|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.PhoneWrapper
public class PhoneWrapper
This class is a wrapper for Phone.
Phone,
Serialized Form| Constructor Summary | |
|---|---|
PhoneWrapper(Phone phone)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Phone phone)
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getExtension()
|
Date |
getModifiedDate()
|
String |
getNumber()
|
long |
getPhoneId()
|
boolean |
getPrimary()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
ListType |
getType()
|
int |
getTypeId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Phone |
getWrappedPhone()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrimary()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExtension(String extension)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNumber(String number)
|
void |
setPhoneId(long phoneId)
|
void |
setPrimary(boolean primary)
|
void |
setPrimaryKey(long pk)
|
void |
setTypeId(int typeId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
Phone |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PhoneWrapper(Phone phone)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface PhoneModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PhoneModelpublic long getPhoneId()
getPhoneId in interface PhoneModelpublic void setPhoneId(long phoneId)
setPhoneId in interface PhoneModelpublic long getCompanyId()
getCompanyId in interface PhoneModelpublic void setCompanyId(long companyId)
setCompanyId in interface PhoneModelpublic long getUserId()
getUserId in interface PhoneModelpublic void setUserId(long userId)
setUserId in interface PhoneModel
public String getUserUuid()
throws SystemException
getUserUuid in interface PhoneModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface PhoneModelpublic String getUserName()
getUserName in interface PhoneModelpublic void setUserName(String userName)
setUserName in interface PhoneModelpublic Date getCreateDate()
getCreateDate in interface PhoneModelpublic void setCreateDate(Date createDate)
setCreateDate in interface PhoneModelpublic Date getModifiedDate()
getModifiedDate in interface PhoneModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface PhoneModelpublic String getClassName()
getClassName in interface PhoneModelpublic long getClassNameId()
getClassNameId in interface PhoneModelpublic void setClassNameId(long classNameId)
setClassNameId in interface PhoneModelpublic long getClassPK()
getClassPK in interface PhoneModelpublic void setClassPK(long classPK)
setClassPK in interface PhoneModelpublic String getNumber()
getNumber in interface PhoneModelpublic void setNumber(String number)
setNumber in interface PhoneModelpublic String getExtension()
getExtension in interface PhoneModelpublic void setExtension(String extension)
setExtension in interface PhoneModelpublic int getTypeId()
getTypeId in interface PhoneModelpublic void setTypeId(int typeId)
setTypeId in interface PhoneModelpublic boolean getPrimary()
getPrimary in interface PhoneModelpublic boolean isPrimary()
isPrimary in interface PhoneModelpublic void setPrimary(boolean primary)
setPrimary in interface PhoneModelpublic Phone toEscapedModel()
toEscapedModel in interface PhoneModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<Phone>isNew in interface PhoneModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Phone>setNew in interface PhoneModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Phone>isCachedModel in interface PhoneModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Phone>setCachedModel in interface PhoneModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Phone>isEscapedModel in interface PhoneModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Phone>setEscapedModel in interface PhoneModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Phone>getPrimaryKeyObj in interface PhoneModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Phone>getExpandoBridge in interface PhoneModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Phone>setExpandoBridgeAttributes in interface PhoneModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Phone>clone in interface PhoneModelclone in class Objectpublic int compareTo(Phone phone)
compareTo in interface PhoneModelcompareTo in interface Comparable<Phone>public int hashCode()
hashCode in interface PhoneModelhashCode in class Objectpublic String toString()
toString in interface PhoneModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Phone>toXmlString in interface PhoneModel
public ListType getType()
throws PortalException,
SystemException
getType in interface PhonePortalException
SystemExceptionpublic Phone getWrappedPhone()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||