@JSON(strict=true)
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,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
ID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
PORTLETID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
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() |
com.liferay.portal.kernel.model.Portlet |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.Portlet portlet) |
boolean |
equals(Object object) |
boolean |
getActive() |
Map<String,Function<com.liferay.portal.kernel.model.Portlet,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.Portlet,Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getId() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalPortletId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getPortletId() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getRoles() |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
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() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
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
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long PORTLETID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long ID_COLUMN_BITMASK
getColumnBitmask(String)public static final long LOCK_EXPIRATION_TIME
public 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.ClassedModelpublic 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.ClassedModelpublic 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>public Map<String,Function<com.liferay.portal.kernel.model.Portlet,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>public Map<String,BiConsumer<com.liferay.portal.kernel.model.Portlet,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<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.ShardedModel@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)@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.PortletModel@Deprecated public String getOriginalPortletId()
getColumnOriginalValue(String)@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 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 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 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public com.liferay.portal.kernel.model.Portlet cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>cloneWithOriginalValues in interface com.liferay.portal.kernel.model.PortletModelpublic int compareTo(com.liferay.portal.kernel.model.Portlet portlet)
compareTo in interface Comparable<com.liferay.portal.kernel.model.Portlet>public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>@Deprecated 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 class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>public String toString()
toString in class Objectpublic String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Portlet>public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)