|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DLContent>
com.liferay.portlet.documentlibrary.model.impl.DLContentModelImpl
public class DLContentModelImpl
The base model implementation for the DLContent service. Represents a row in the "DLContent" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLContentModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLContentImpl.
DLContentImpl,
DLContent,
DLContentModel,
Serialized Form| Field Summary | |
|---|---|
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 |
PATH_COLUMN_BITMASK
|
static long |
REPOSITORYID_COLUMN_BITMASK
|
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 |
VERSION_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DLContentModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLContent dlContent)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this document library content. |
long |
getContentId()
Returns the content ID of this document library content. |
Blob |
getData()
Returns the data of this document library content. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this document library content. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalCompanyId()
|
String |
getOriginalPath()
|
long |
getOriginalRepositoryId()
|
String |
getOriginalVersion()
|
String |
getPath()
Returns the path of this document library content. |
long |
getPrimaryKey()
Returns the primary key of this document library content. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this document library content. |
long |
getSize()
Returns the size of this document library content. |
String |
getVersion()
Returns the version of this document library content. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this document library content. |
void |
setContentId(long contentId)
Sets the content ID of this document library content. |
void |
setData(Blob data)
Sets the data of this document library content. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this document library content. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPath(String path)
Sets the path of this document library content. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library content. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library content. |
void |
setSize(long size)
Sets the size of this document library content. |
void |
setVersion(String version)
Sets the version of this document library content. |
CacheModel<DLContent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLContent |
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.DLContentModel |
|---|
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 COMPANYID_COLUMN_BITMASK
public static long PATH_COLUMN_BITMASK
public static long REPOSITORYID_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DLContentModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
DLContentModel
getPrimaryKey in interface DLContentModelpublic void setPrimaryKey(long primaryKey)
DLContentModel
setPrimaryKey in interface DLContentModelprimaryKey - the primary key of this document library contentpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLContent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLContentModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLContent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLContentModelprimaryKeyObj - 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<DLContent>getModelAttributes in class BaseModelImpl<DLContent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLContent>setModelAttributes in class BaseModelImpl<DLContent>public long getContentId()
DLContentModel
getContentId in interface DLContentModelpublic void setContentId(long contentId)
DLContentModel
setContentId in interface DLContentModelcontentId - the content ID of this document library contentpublic long getGroupId()
DLContentModel
getGroupId in interface DLContentModelpublic void setGroupId(long groupId)
DLContentModel
setGroupId in interface DLContentModelgroupId - the group ID of this document library contentpublic long getCompanyId()
DLContentModel
getCompanyId in interface DLContentModelpublic void setCompanyId(long companyId)
DLContentModel
setCompanyId in interface DLContentModelcompanyId - the company ID of this document library contentpublic long getOriginalCompanyId()
public long getRepositoryId()
DLContentModel
getRepositoryId in interface DLContentModelpublic void setRepositoryId(long repositoryId)
DLContentModel
setRepositoryId in interface DLContentModelrepositoryId - the repository ID of this document library contentpublic long getOriginalRepositoryId()
public String getPath()
DLContentModel
getPath in interface DLContentModelpublic void setPath(String path)
DLContentModel
setPath in interface DLContentModelpath - the path of this document library contentpublic String getOriginalPath()
public String getVersion()
DLContentModel
getVersion in interface DLContentModelpublic void setVersion(String version)
DLContentModel
setVersion in interface DLContentModelversion - the version of this document library contentpublic String getOriginalVersion()
public Blob getData()
DLContentModel
getData in interface DLContentModelpublic void setData(Blob data)
DLContentModel
setData in interface DLContentModeldata - the data of this document library contentpublic long getSize()
DLContentModel
getSize in interface DLContentModelpublic void setSize(long size)
DLContentModel
setSize in interface DLContentModelsize - the size of this document library contentpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLContent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLContentModelgetExpandoBridge in class BaseModelImpl<DLContent>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLContent>setExpandoBridgeAttributes in interface DLContentModelsetExpandoBridgeAttributes in class BaseModelImpl<DLContent>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public DLContent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLContent>toEscapedModel in interface DLContentModeltoEscapedModel in class BaseModelImpl<DLContent>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DLContent>clone in interface DLContentModelclone in class BaseModelImpl<DLContent>public int compareTo(DLContent dlContent)
compareTo in interface DLContentModelcompareTo in interface Comparable<DLContent>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DLContentModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLContent>resetOriginalValues in class BaseModelImpl<DLContent>public CacheModel<DLContent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLContent>toCacheModel in interface DLContentModeltoCacheModel in class BaseModelImpl<DLContent>public String toString()
toString in interface DLContentModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLContent>toXmlString in interface DLContentModel
|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||