|
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.impl.BaseModelImpl<Phone>
com.liferay.portal.model.impl.PhoneModelImpl
public class PhoneModelImpl
This interface is a model that represents the Phone table in the database.
PhoneImpl,
Phone,
PhoneModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
PhoneModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Phone phone)
|
boolean |
equals(Object obj)
|
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. |
int |
getTypeId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
int |
hashCode()
|
boolean |
isPrimary()
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
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 |
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()
|
static Phone |
toModel(PhoneSoap soapModel)
|
static List<Phone> |
toModels(PhoneSoap[] soapModels)
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.PhoneModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public PhoneModelImpl()
| Method Detail |
|---|
public static Phone toModel(PhoneSoap soapModel)
public static List<Phone> toModels(PhoneSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface PhoneModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PhoneModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Phone>getPrimaryKeyObj 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Phone>getExpandoBridge in interface PhoneModelgetExpandoBridge in class BaseModelImpl<Phone>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Phone>setExpandoBridgeAttributes in interface PhoneModelsetExpandoBridgeAttributes in class BaseModelImpl<Phone>serviceContext - 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 BaseModelImpl<Phone>public int compareTo(Phone phone)
compareTo in interface PhoneModelcompareTo in interface Comparable<Phone>public boolean equals(Object obj)
equals in class Objectpublic 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
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||