@ProviderType public interface PortletModel extends BaseModel<Portlet>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.PortletModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PortletImpl.
Portlet| Modifier and Type | Method and Description |
|---|---|
boolean |
getActive()
Returns the active of this portlet.
|
long |
getCompanyId()
Returns the company ID of this portlet.
|
long |
getId()
Returns the ID of this portlet.
|
long |
getMvccVersion()
Returns the mvcc version of this portlet.
|
String |
getPortletId()
Returns the portlet ID of this portlet.
|
long |
getPrimaryKey()
Returns the primary key of this portlet.
|
String |
getRoles()
Returns the roles of this portlet.
|
boolean |
isActive()
Returns
true if this portlet is active. |
void |
setActive(boolean active)
Sets whether this portlet is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this portlet.
|
void |
setId(long id)
Sets the ID of this portlet.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portlet.
|
void |
setPortletId(String portletId)
Sets the portlet ID of this portlet.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this portlet.
|
void |
setRoles(String roles)
Sets the roles of this portlet.
|
clone, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this portletlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this portletlong getId()
void setId(long id)
id - the ID of this portletlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this portlet@AutoEscape String getPortletId()
void setPortletId(String portletId)
portletId - the portlet ID of this portlet@AutoEscape String getRoles()
void setRoles(String roles)
roles - the roles of this portletboolean getActive()
boolean isActive()
true if this portlet is active.true if this portlet is active; false otherwisevoid setActive(boolean active)
active - the active of this portlet