@JSON(strict=true)
@ProviderType
public class PortletPreferencesModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
implements com.liferay.portal.kernel.model.PortletPreferencesModel
This implementation and its corresponding interface PortletPreferencesModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortletPreferencesImpl
.
PortletPreferencesImpl
,
PortletPreferences
,
PortletPreferencesModel
,
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 |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
OWNERID_COLUMN_BITMASK |
static long |
OWNERTYPE_COLUMN_BITMASK |
static long |
PLID_COLUMN_BITMASK |
static long |
PORTLETID_COLUMN_BITMASK |
static long |
PORTLETPREFERENCESID_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 |
---|
PortletPreferencesModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.PortletPreferences portletPreferences) |
boolean |
equals(Object obj) |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
long |
getOriginalCompanyId() |
long |
getOriginalOwnerId() |
int |
getOriginalOwnerType() |
long |
getOriginalPlid() |
String |
getOriginalPortletId() |
long |
getOwnerId() |
int |
getOwnerType() |
long |
getPlid() |
String |
getPortletId() |
long |
getPortletPreferencesId() |
String |
getPreferences() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setOwnerId(long ownerId) |
void |
setOwnerType(int ownerType) |
void |
setPlid(long plid) |
void |
setPortletId(String portletId) |
void |
setPortletPreferencesId(long portletPreferencesId) |
void |
setPreferences(String preferences) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences> |
toCacheModel() |
com.liferay.portal.kernel.model.PortletPreferences |
toEscapedModel() |
static com.liferay.portal.kernel.model.PortletPreferences |
toModel(com.liferay.portal.kernel.model.PortletPreferencesSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.PortletPreferences> |
toModels(com.liferay.portal.kernel.model.PortletPreferencesSoap[] 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 OWNERID_COLUMN_BITMASK
public static final long OWNERTYPE_COLUMN_BITMASK
public static final long PLID_COLUMN_BITMASK
public static final long PORTLETID_COLUMN_BITMASK
public static final long PORTLETPREFERENCESID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.PortletPreferences toModel(com.liferay.portal.kernel.model.PortletPreferencesSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.PortletPreferences> toModels(com.liferay.portal.kernel.model.PortletPreferencesSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
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.PortletPreferences>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
@JSON public long getPortletPreferencesId()
getPortletPreferencesId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPortletPreferencesId(long portletPreferencesId)
setPortletPreferencesId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getOriginalCompanyId()
@JSON public long getOwnerId()
getOwnerId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setOwnerId(long ownerId)
setOwnerId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public long getOriginalOwnerId()
@JSON public int getOwnerType()
getOwnerType
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setOwnerType(int ownerType)
setOwnerType
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public int getOriginalOwnerType()
@JSON public long getPlid()
getPlid
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPlid(long plid)
setPlid
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public long getOriginalPlid()
@JSON public String getPortletId()
getPortletId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPortletId(String portletId)
setPortletId
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public String getOriginalPortletId()
@JSON public String getPreferences()
getPreferences
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
public void setPreferences(String preferences)
setPreferences
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
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.PortletPreferences>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public com.liferay.portal.kernel.model.PortletPreferences toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
toEscapedModel
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
clone
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public int compareTo(com.liferay.portal.kernel.model.PortletPreferences portletPreferences)
compareTo
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.PortletPreferences>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
toCacheModel
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.PortletPreferences>
public String toString()
toString
in interface com.liferay.portal.kernel.model.PortletPreferencesModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.PortletPreferences>
toXmlString
in interface com.liferay.portal.kernel.model.PortletPreferencesModel