@JSON(strict=true)
@ProviderType
public class PortletModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>
implements com.liferay.portal.kernel.model.PortletModel
This implementation and its corresponding interface PortletModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortletImpl.
PortletImpl,
Portlet,
PortletModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
ID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PORTLETID_COLUMN_BITMASK |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
| Constructor and Description |
|---|
PortletModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
equals(Object obj) |
boolean |
getActive() |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
long |
getOriginalCompanyId() |
String |
getOriginalPortletId() |
String |
getPortletId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getRoles() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setActive(boolean active) |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setId(long id) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setPortletId(String portletId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRoles(String roles) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Portlet> |
toCacheModel() |
com.liferay.portal.kernel.model.Portlet |
toEscapedModel() |
static com.liferay.portal.kernel.model.Portlet |
toModel(com.liferay.portal.kernel.model.PortletSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Portlet> |
toModels(com.liferay.portal.kernel.model.PortletSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
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 boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long PORTLETID_COLUMN_BITMASK
public static final long ID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.Portlet toModel(com.liferay.portal.kernel.model.PortletSoap soapModel)
soapModel - the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Portlet> toModels(com.liferay.portal.kernel.model.PortletSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.PortletModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.PortletModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.PortletModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.PortletModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>@JSON public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface com.liferay.portal.kernel.model.PortletModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface com.liferay.portal.kernel.model.PortletModel@JSON public long getId()
getId in interface com.liferay.portal.kernel.model.PortletModelpublic void setId(long id)
setId in interface com.liferay.portal.kernel.model.PortletModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.PortletModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.PortletModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getOriginalCompanyId()
@JSON public String getPortletId()
getPortletId in interface com.liferay.portal.kernel.model.PortletModelpublic void setPortletId(String portletId)
setPortletId in interface com.liferay.portal.kernel.model.PortletModelpublic String getOriginalPortletId()
@JSON public String getRoles()
getRoles in interface com.liferay.portal.kernel.model.PortletModelpublic void setRoles(String roles)
setRoles in interface com.liferay.portal.kernel.model.PortletModel@JSON public boolean getActive()
getActive in interface com.liferay.portal.kernel.model.PortletModel@JSON public boolean isActive()
isActive in interface com.liferay.portal.kernel.model.PortletModelpublic void setActive(boolean active)
setActive in interface com.liferay.portal.kernel.model.PortletModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.kernel.model.PortletModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.PortletModelsetExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public com.liferay.portal.kernel.model.Portlet toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>toEscapedModel in interface com.liferay.portal.kernel.model.PortletModeltoEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>clone in interface com.liferay.portal.kernel.model.PortletModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public int compareTo(com.liferay.portal.kernel.model.Portlet portlet)
compareTo in interface com.liferay.portal.kernel.model.PortletModelcompareTo in interface Comparable<com.liferay.portal.kernel.model.Portlet>public int hashCode()
public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Portlet> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>toCacheModel in interface com.liferay.portal.kernel.model.PortletModeltoCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public String toString()
public String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>toXmlString in interface com.liferay.portal.kernel.model.PortletModel