|
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<Portlet>
com.liferay.portal.model.impl.PortletModelImpl
public class PortletModelImpl
This interface is a model that represents the Portlet table in the database.
PortletImpl,
Portlet,
PortletModel,
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 |
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 | |
|---|---|
PortletModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Portlet portlet)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
|
long |
getCompanyId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getId()
|
long |
getOriginalCompanyId()
|
String |
getOriginalPortletId()
|
String |
getPortletId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getRoles()
|
int |
hashCode()
|
boolean |
isActive()
|
void |
setActive(boolean active)
|
void |
setCompanyId(long companyId)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setId(long id)
|
void |
setPortletId(String portletId)
|
void |
setPrimaryKey(long pk)
|
void |
setRoles(String roles)
|
Portlet |
toEscapedModel()
|
static Portlet |
toModel(PortletSoap soapModel)
|
static List<Portlet> |
toModels(PortletSoap[] 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.PortletModel |
|---|
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 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 PortletModelImpl()
| Method Detail |
|---|
public static Portlet toModel(PortletSoap soapModel)
public static List<Portlet> toModels(PortletSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface PortletModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface PortletModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Portlet>getPrimaryKeyObj in interface PortletModelpublic long getId()
getId in interface PortletModelpublic void setId(long id)
setId in interface PortletModelpublic long getCompanyId()
getCompanyId in interface PortletModelpublic void setCompanyId(long companyId)
setCompanyId in interface PortletModelpublic long getOriginalCompanyId()
public String getPortletId()
getPortletId in interface PortletModelpublic void setPortletId(String portletId)
setPortletId in interface PortletModelpublic String getOriginalPortletId()
public String getRoles()
getRoles in interface PortletModelpublic void setRoles(String roles)
setRoles in interface PortletModelpublic boolean getActive()
getActive in interface PortletModelpublic boolean isActive()
isActive in interface PortletModelpublic void setActive(boolean active)
setActive in interface PortletModelpublic Portlet toEscapedModel()
toEscapedModel in interface PortletModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Portlet>getExpandoBridge in interface PortletModelgetExpandoBridge in class BaseModelImpl<Portlet>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Portlet>setExpandoBridgeAttributes in interface PortletModelsetExpandoBridgeAttributes in class BaseModelImpl<Portlet>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Portlet>clone in interface PortletModelclone in class BaseModelImpl<Portlet>public int compareTo(Portlet portlet)
compareTo in interface PortletModelcompareTo in interface Comparable<Portlet>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface PortletModelhashCode in class Objectpublic String toString()
toString in interface PortletModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Portlet>toXmlString in interface PortletModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||