@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 FormModifier 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 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
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.PortletModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.PortletModel
public 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.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PortletModel
public 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.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PortletModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public 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.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.PortletModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.PortletModel
@JSON public long getId()
getId
in interface com.liferay.portal.kernel.model.PortletModel
public 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.PortletModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.PortletModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getOriginalCompanyId()
@JSON public String getPortletId()
getPortletId
in interface com.liferay.portal.kernel.model.PortletModel
public void setPortletId(String portletId)
setPortletId
in interface com.liferay.portal.kernel.model.PortletModel
public String getOriginalPortletId()
@JSON public String getRoles()
getRoles
in interface com.liferay.portal.kernel.model.PortletModel
public 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.PortletModel
public void setActive(boolean active)
setActive
in interface com.liferay.portal.kernel.model.PortletModel
public 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.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.PortletModel
getExpandoBridge
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.PortletModel
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 interface com.liferay.portal.kernel.model.PortletModel
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 interface com.liferay.portal.kernel.model.PortletModel
clone
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.PortletModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Portlet>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.PortletModel
hashCode
in class Object
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.PortletModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Portlet>
public String toString()
toString
in interface com.liferay.portal.kernel.model.PortletModel
toString
in class Object
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