|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DLFileRank>
com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl
@ProviderType public class DLFileRankModelImpl
The base model implementation for the DLFileRank service. Represents a row in the "DLFileRank" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLFileRankModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileRankImpl.
DLFileRankImpl,
DLFileRank,
DLFileRankModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ACTIVE_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static long |
CREATEDATE_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
FILEENTRYID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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
|
static long |
USERID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DLFileRankModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileRank dlFileRank)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
Returns the active of this document library file rank. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this document library file rank. |
Date |
getCreateDate()
Returns the create date of this document library file rank. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFileEntryId()
Returns the file entry ID of this document library file rank. |
long |
getFileRankId()
Returns the file rank ID of this document library file rank. |
long |
getGroupId()
Returns the group ID of this document library file rank. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
boolean |
getOriginalActive()
|
long |
getOriginalCompanyId()
|
long |
getOriginalFileEntryId()
|
long |
getOriginalGroupId()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Returns the primary key of this document library file rank. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this document library file rank. |
String |
getUserUuid()
Returns the user uuid of this document library file rank. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this document library file rank is active. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActive(boolean active)
Sets whether this document library file rank is active. |
void |
setCompanyId(long companyId)
Sets the company ID of this document library file rank. |
void |
setCreateDate(Date createDate)
Sets the create date of this document library file rank. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file rank. |
void |
setFileRankId(long fileRankId)
Sets the file rank ID of this document library file rank. |
void |
setGroupId(long groupId)
Sets the group ID of this document library file rank. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file rank. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this document library file rank. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library file rank. |
CacheModel<DLFileRank> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLFileRank |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileRankModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
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 ACTIVE_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long FILEENTRYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DLFileRankModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
DLFileRankModel
getPrimaryKey in interface DLFileRankModelpublic void setPrimaryKey(long primaryKey)
DLFileRankModel
setPrimaryKey in interface DLFileRankModelprimaryKey - the primary key of this document library file rankpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileRank>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileRankModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileRank>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileRankModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileRank>getModelAttributes in class BaseModelImpl<DLFileRank>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileRank>setModelAttributes in class BaseModelImpl<DLFileRank>public long getFileRankId()
DLFileRankModel
getFileRankId in interface DLFileRankModelpublic void setFileRankId(long fileRankId)
DLFileRankModel
setFileRankId in interface DLFileRankModelfileRankId - the file rank ID of this document library file rankpublic long getGroupId()
DLFileRankModel
getGroupId in interface DLFileRankModelpublic void setGroupId(long groupId)
DLFileRankModel
setGroupId in interface DLFileRankModelgroupId - the group ID of this document library file rankpublic long getOriginalGroupId()
public long getCompanyId()
DLFileRankModel
getCompanyId in interface ShardedModelgetCompanyId in interface DLFileRankModelpublic void setCompanyId(long companyId)
DLFileRankModel
setCompanyId in interface ShardedModelsetCompanyId in interface DLFileRankModelcompanyId - the company ID of this document library file rankpublic long getOriginalCompanyId()
public long getUserId()
DLFileRankModel
getUserId in interface DLFileRankModelpublic void setUserId(long userId)
DLFileRankModel
setUserId in interface DLFileRankModeluserId - the user ID of this document library file rankpublic String getUserUuid()
DLFileRankModel
getUserUuid in interface DLFileRankModelpublic void setUserUuid(String userUuid)
DLFileRankModel
setUserUuid in interface DLFileRankModeluserUuid - the user uuid of this document library file rankpublic long getOriginalUserId()
public Date getCreateDate()
DLFileRankModel
getCreateDate in interface DLFileRankModelpublic void setCreateDate(Date createDate)
DLFileRankModel
setCreateDate in interface DLFileRankModelcreateDate - the create date of this document library file rankpublic long getFileEntryId()
DLFileRankModel
getFileEntryId in interface DLFileRankModelpublic void setFileEntryId(long fileEntryId)
DLFileRankModel
setFileEntryId in interface DLFileRankModelfileEntryId - the file entry ID of this document library file rankpublic long getOriginalFileEntryId()
public boolean getActive()
DLFileRankModel
getActive in interface DLFileRankModelpublic boolean isActive()
DLFileRankModeltrue if this document library file rank is active.
isActive in interface DLFileRankModeltrue if this document library file rank is active; false otherwisepublic void setActive(boolean active)
DLFileRankModel
setActive in interface DLFileRankModelactive - the active of this document library file rankpublic boolean getOriginalActive()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileRank>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileRankModelgetExpandoBridge in class BaseModelImpl<DLFileRank>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileRank>setExpandoBridgeAttributes in interface DLFileRankModelsetExpandoBridgeAttributes in class BaseModelImpl<DLFileRank>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public DLFileRank toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileRank>toEscapedModel in interface DLFileRankModeltoEscapedModel in class BaseModelImpl<DLFileRank>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DLFileRank>clone in interface DLFileRankModelclone in class BaseModelImpl<DLFileRank>public int compareTo(DLFileRank dlFileRank)
compareTo in interface DLFileRankModelcompareTo in interface Comparable<DLFileRank>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DLFileRankModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DLFileRank>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<DLFileRank>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileRank>resetOriginalValues in class BaseModelImpl<DLFileRank>public CacheModel<DLFileRank> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileRank>toCacheModel in interface DLFileRankModeltoCacheModel in class BaseModelImpl<DLFileRank>public String toString()
toString in interface DLFileRankModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileRank>toXmlString in interface DLFileRankModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||