|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<DLFileRank> com.liferay.portlet.documentlibrary.model.impl.DLFileRankModelImpl
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 FormField 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 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. |
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 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 long ACTIVE_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long FILEENTRYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public DLFileRankModelImpl()
Method Detail |
---|
public long getPrimaryKey()
DLFileRankModel
getPrimaryKey
in interface DLFileRankModel
public void setPrimaryKey(long primaryKey)
DLFileRankModel
setPrimaryKey
in interface DLFileRankModel
primaryKey
- the primary key of this document library file rankpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileRank>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileRankModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileRank>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileRankModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 DLFileRankModel
public void setFileRankId(long fileRankId)
DLFileRankModel
setFileRankId
in interface DLFileRankModel
fileRankId
- the file rank ID of this document library file rankpublic long getGroupId()
DLFileRankModel
getGroupId
in interface DLFileRankModel
public void setGroupId(long groupId)
DLFileRankModel
setGroupId
in interface DLFileRankModel
groupId
- the group ID of this document library file rankpublic long getOriginalGroupId()
public long getCompanyId()
DLFileRankModel
getCompanyId
in interface DLFileRankModel
public void setCompanyId(long companyId)
DLFileRankModel
setCompanyId
in interface DLFileRankModel
companyId
- the company ID of this document library file rankpublic long getOriginalCompanyId()
public long getUserId()
DLFileRankModel
getUserId
in interface DLFileRankModel
public void setUserId(long userId)
DLFileRankModel
setUserId
in interface DLFileRankModel
userId
- the user ID of this document library file rankpublic String getUserUuid() throws SystemException
DLFileRankModel
getUserUuid
in interface DLFileRankModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileRankModel
setUserUuid
in interface DLFileRankModel
userUuid
- the user uuid of this document library file rankpublic long getOriginalUserId()
public Date getCreateDate()
DLFileRankModel
getCreateDate
in interface DLFileRankModel
public void setCreateDate(Date createDate)
DLFileRankModel
setCreateDate
in interface DLFileRankModel
createDate
- the create date of this document library file rankpublic long getFileEntryId()
DLFileRankModel
getFileEntryId
in interface DLFileRankModel
public void setFileEntryId(long fileEntryId)
DLFileRankModel
setFileEntryId
in interface DLFileRankModel
fileEntryId
- the file entry ID of this document library file rankpublic long getOriginalFileEntryId()
public boolean getActive()
DLFileRankModel
getActive
in interface DLFileRankModel
public boolean isActive()
DLFileRankModel
true
if this document library file rank is active.
isActive
in interface DLFileRankModel
true
if this document library file rank is active; false
otherwisepublic void setActive(boolean active)
DLFileRankModel
setActive
in interface DLFileRankModel
active
- 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 ClassedModel
getExpandoBridge
in interface DLFileRankModel
getExpandoBridge
in class BaseModelImpl<DLFileRank>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileRank>
setExpandoBridgeAttributes
in interface DLFileRankModel
setExpandoBridgeAttributes
in class BaseModelImpl<DLFileRank>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public DLFileRank toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileRank>
toEscapedModel
in interface DLFileRankModel
toEscapedModel
in class BaseModelImpl<DLFileRank>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileRank>
clone
in interface DLFileRankModel
clone
in class BaseModelImpl<DLFileRank>
public int compareTo(DLFileRank dlFileRank)
compareTo
in interface DLFileRankModel
compareTo
in interface Comparable<DLFileRank>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DLFileRankModel
hashCode
in class Object
public 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 DLFileRankModel
toCacheModel
in class BaseModelImpl<DLFileRank>
public String toString()
toString
in interface DLFileRankModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileRank>
toXmlString
in interface DLFileRankModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |