|
Liferay 6.1.2-ce-ga3 | |||||||||
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<DLFileVersion> com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
@JSON(strict=true) public class DLFileVersionModelImpl
The base model implementation for the DLFileVersion service. Represents a row in the "DLFileVersion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DLFileVersionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileVersionImpl
.
DLFileVersionImpl
,
DLFileVersion
,
DLFileVersionModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
FILEENTRYID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FOLDERID_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
MIMETYPE_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TITLE_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
static long |
VERSION_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
DLFileVersionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileVersion dlFileVersion)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
String |
getChangeLog()
Returns the change log of this document library file version. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this document library file version. |
Date |
getCreateDate()
Returns the create date of this document library file version. |
String |
getDescription()
Returns the description of this document library file version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getExtension()
Returns the extension of this document library file version. |
String |
getExtraSettings()
Returns the extra settings of this document library file version. |
long |
getFileEntryId()
Returns the file entry ID of this document library file version. |
long |
getFileEntryTypeId()
Returns the file entry type ID of this document library file version. |
long |
getFileVersionId()
Returns the file version ID of this document library file version. |
long |
getFolderId()
Returns the folder ID of this document library file version. |
long |
getGroupId()
Returns the group ID of this document library file version. |
String |
getMimeType()
Returns the mime type of this document library file version. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this document library file version. |
long |
getOriginalFileEntryId()
|
long |
getOriginalFolderId()
|
long |
getOriginalGroupId()
|
String |
getOriginalMimeType()
|
int |
getOriginalStatus()
|
String |
getOriginalTitle()
|
String |
getOriginalUuid()
|
String |
getOriginalVersion()
|
long |
getPrimaryKey()
Returns the primary key of this document library file version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this document library file version. |
long |
getSize()
Returns the size of this document library file version. |
int |
getStatus()
Returns the status of this document library file version. |
long |
getStatusByUserId()
Returns the status by user ID of this document library file version. |
String |
getStatusByUserName()
Returns the status by user name of this document library file version. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this document library file version. |
Date |
getStatusDate()
Returns the status date of this document library file version. |
String |
getTitle()
Returns the title of this document library file version. |
long |
getUserId()
Returns the user ID of this document library file version. |
String |
getUserName()
Returns the user name of this document library file version. |
String |
getUserUuid()
Returns the user uuid of this document library file version. |
String |
getUuid()
Returns the uuid of this document library file version. |
String |
getVersion()
Returns the version of this document library file version. |
int |
hashCode()
|
boolean |
isApproved()
Returns true if this document library file version is approved. |
boolean |
isDenied()
Returns true if this document library file version is denied. |
boolean |
isDraft()
Returns true if this document library file version is a draft. |
boolean |
isExpired()
Returns true if this document library file version is expired. |
boolean |
isInactive()
Returns true if this document library file version is inactive. |
boolean |
isIncomplete()
Returns true if this document library file version is incomplete. |
boolean |
isPending()
Returns true if this document library file version is pending. |
boolean |
isScheduled()
Returns true if this document library file version is scheduled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setChangeLog(String changeLog)
Sets the change log of this document library file version. |
void |
setCompanyId(long companyId)
Sets the company ID of this document library file version. |
void |
setCreateDate(Date createDate)
Sets the create date of this document library file version. |
void |
setDescription(String description)
Sets the description of this document library file version. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExtension(String extension)
Sets the extension of this document library file version. |
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this document library file version. |
void |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file version. |
void |
setFileEntryTypeId(long fileEntryTypeId)
Sets the file entry type ID of this document library file version. |
void |
setFileVersionId(long fileVersionId)
Sets the file version ID of this document library file version. |
void |
setFolderId(long folderId)
Sets the folder ID of this document library file version. |
void |
setGroupId(long groupId)
Sets the group ID of this document library file version. |
void |
setMimeType(String mimeType)
Sets the mime type of this document library file version. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this document library file version. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file version. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this document library file version. |
void |
setSize(long size)
Sets the size of this document library file version. |
void |
setStatus(int status)
Sets the status of this document library file version. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this document library file version. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this document library file version. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this document library file version. |
void |
setStatusDate(Date statusDate)
Sets the status date of this document library file version. |
void |
setTitle(String title)
Sets the title of this document library file version. |
void |
setUserId(long userId)
Sets the user ID of this document library file version. |
void |
setUserName(String userName)
Sets the user name of this document library file version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library file version. |
void |
setUuid(String uuid)
Sets the uuid of this document library file version. |
void |
setVersion(String version)
Sets the version of this document library file version. |
CacheModel<DLFileVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DLFileVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static DLFileVersion |
toModel(DLFileVersionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DLFileVersion> |
toModels(DLFileVersionSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
DLFileVersion |
toUnescapedModel()
|
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, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileVersionModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
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 FILEENTRYID_COLUMN_BITMASK
public static long FOLDERID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long MIMETYPE_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long TITLE_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public DLFileVersionModelImpl()
Method Detail |
---|
public static DLFileVersion toModel(DLFileVersionSoap soapModel)
soapModel
- the soap model instance to convert
public static List<DLFileVersion> toModels(DLFileVersionSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
DLFileVersionModel
getPrimaryKey
in interface DLFileVersionModel
public void setPrimaryKey(long primaryKey)
DLFileVersionModel
setPrimaryKey
in interface DLFileVersionModel
primaryKey
- the primary key of this document library file versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileVersion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileVersionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileVersion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileVersionModel
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<DLFileVersion>
getModelAttributes
in class BaseModelImpl<DLFileVersion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileVersion>
setModelAttributes
in class BaseModelImpl<DLFileVersion>
@JSON public String getUuid()
DLFileVersionModel
getUuid
in interface DLFileVersionModel
public void setUuid(String uuid)
DLFileVersionModel
setUuid
in interface DLFileVersionModel
uuid
- the uuid of this document library file versionpublic String getOriginalUuid()
@JSON public long getFileVersionId()
DLFileVersionModel
getFileVersionId
in interface DLFileVersionModel
public void setFileVersionId(long fileVersionId)
DLFileVersionModel
setFileVersionId
in interface DLFileVersionModel
fileVersionId
- the file version ID of this document library file version@JSON public long getGroupId()
DLFileVersionModel
getGroupId
in interface GroupedModel
getGroupId
in interface DLFileVersionModel
public void setGroupId(long groupId)
DLFileVersionModel
setGroupId
in interface GroupedModel
setGroupId
in interface DLFileVersionModel
groupId
- the group ID of this document library file versionpublic long getOriginalGroupId()
@JSON public long getCompanyId()
DLFileVersionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface DLFileVersionModel
public void setCompanyId(long companyId)
DLFileVersionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface DLFileVersionModel
companyId
- the company ID of this document library file version@JSON public long getUserId()
DLFileVersionModel
getUserId
in interface AuditedModel
getUserId
in interface DLFileVersionModel
public void setUserId(long userId)
DLFileVersionModel
setUserId
in interface AuditedModel
setUserId
in interface DLFileVersionModel
userId
- the user ID of this document library file versionpublic String getUserUuid() throws SystemException
DLFileVersionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DLFileVersionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface DLFileVersionModel
userUuid
- the user uuid of this document library file version@JSON public String getUserName()
DLFileVersionModel
getUserName
in interface AuditedModel
getUserName
in interface DLFileVersionModel
public void setUserName(String userName)
DLFileVersionModel
setUserName
in interface AuditedModel
setUserName
in interface DLFileVersionModel
userName
- the user name of this document library file version@JSON public Date getCreateDate()
DLFileVersionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface DLFileVersionModel
public void setCreateDate(Date createDate)
DLFileVersionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface DLFileVersionModel
createDate
- the create date of this document library file version@JSON public Date getModifiedDate()
DLFileVersionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DLFileVersionModel
public void setModifiedDate(Date modifiedDate)
DLFileVersionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DLFileVersionModel
modifiedDate
- the modified date of this document library file version@JSON public long getRepositoryId()
DLFileVersionModel
getRepositoryId
in interface DLFileVersionModel
public void setRepositoryId(long repositoryId)
DLFileVersionModel
setRepositoryId
in interface DLFileVersionModel
repositoryId
- the repository ID of this document library file version@JSON public long getFolderId()
DLFileVersionModel
getFolderId
in interface DLFileVersionModel
public void setFolderId(long folderId)
DLFileVersionModel
setFolderId
in interface DLFileVersionModel
folderId
- the folder ID of this document library file versionpublic long getOriginalFolderId()
@JSON public long getFileEntryId()
DLFileVersionModel
getFileEntryId
in interface DLFileVersionModel
public void setFileEntryId(long fileEntryId)
DLFileVersionModel
setFileEntryId
in interface DLFileVersionModel
fileEntryId
- the file entry ID of this document library file versionpublic long getOriginalFileEntryId()
@JSON public String getExtension()
DLFileVersionModel
getExtension
in interface DLFileVersionModel
public void setExtension(String extension)
DLFileVersionModel
setExtension
in interface DLFileVersionModel
extension
- the extension of this document library file version@JSON public String getMimeType()
DLFileVersionModel
getMimeType
in interface DLFileVersionModel
public void setMimeType(String mimeType)
DLFileVersionModel
setMimeType
in interface DLFileVersionModel
mimeType
- the mime type of this document library file versionpublic String getOriginalMimeType()
@JSON public String getTitle()
DLFileVersionModel
getTitle
in interface DLFileVersionModel
public void setTitle(String title)
DLFileVersionModel
setTitle
in interface DLFileVersionModel
title
- the title of this document library file versionpublic String getOriginalTitle()
@JSON public String getDescription()
DLFileVersionModel
getDescription
in interface DLFileVersionModel
public void setDescription(String description)
DLFileVersionModel
setDescription
in interface DLFileVersionModel
description
- the description of this document library file version@JSON public String getChangeLog()
DLFileVersionModel
getChangeLog
in interface DLFileVersionModel
public void setChangeLog(String changeLog)
DLFileVersionModel
setChangeLog
in interface DLFileVersionModel
changeLog
- the change log of this document library file version@JSON public String getExtraSettings()
DLFileVersionModel
getExtraSettings
in interface DLFileVersionModel
public void setExtraSettings(String extraSettings)
DLFileVersionModel
setExtraSettings
in interface DLFileVersionModel
extraSettings
- the extra settings of this document library file version@JSON public long getFileEntryTypeId()
DLFileVersionModel
getFileEntryTypeId
in interface DLFileVersionModel
public void setFileEntryTypeId(long fileEntryTypeId)
DLFileVersionModel
setFileEntryTypeId
in interface DLFileVersionModel
fileEntryTypeId
- the file entry type ID of this document library file version@JSON public String getVersion()
DLFileVersionModel
getVersion
in interface DLFileVersionModel
public void setVersion(String version)
DLFileVersionModel
setVersion
in interface DLFileVersionModel
version
- the version of this document library file versionpublic String getOriginalVersion()
@JSON public long getSize()
DLFileVersionModel
getSize
in interface DLFileVersionModel
public void setSize(long size)
DLFileVersionModel
setSize
in interface DLFileVersionModel
size
- the size of this document library file version@JSON public int getStatus()
DLFileVersionModel
getStatus
in interface WorkflowedModel
getStatus
in interface DLFileVersionModel
public void setStatus(int status)
DLFileVersionModel
setStatus
in interface WorkflowedModel
setStatus
in interface DLFileVersionModel
status
- the status of this document library file versionpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
DLFileVersionModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface DLFileVersionModel
public void setStatusByUserId(long statusByUserId)
DLFileVersionModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface DLFileVersionModel
statusByUserId
- the status by user ID of this document library file versionpublic String getStatusByUserUuid() throws SystemException
DLFileVersionModel
getStatusByUserUuid
in interface DLFileVersionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
DLFileVersionModel
setStatusByUserUuid
in interface DLFileVersionModel
statusByUserUuid
- the status by user uuid of this document library file version@JSON public String getStatusByUserName()
DLFileVersionModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface DLFileVersionModel
public void setStatusByUserName(String statusByUserName)
DLFileVersionModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface DLFileVersionModel
statusByUserName
- the status by user name of this document library file version@JSON public Date getStatusDate()
DLFileVersionModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface DLFileVersionModel
public void setStatusDate(Date statusDate)
DLFileVersionModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface DLFileVersionModel
statusDate
- the status date of this document library file versionpublic boolean getApproved()
isApproved()
getApproved
in interface DLFileVersionModel
public boolean isApproved()
DLFileVersionModel
true
if this document library file version is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface DLFileVersionModel
true
if this document library file version is approved; false
otherwisepublic boolean isDenied()
DLFileVersionModel
true
if this document library file version is denied.
isDenied
in interface DLFileVersionModel
true
if this document library file version is denied; false
otherwisepublic boolean isDraft()
DLFileVersionModel
true
if this document library file version is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface DLFileVersionModel
true
if this document library file version is a draft; false
otherwisepublic boolean isExpired()
DLFileVersionModel
true
if this document library file version is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface DLFileVersionModel
true
if this document library file version is expired; false
otherwisepublic boolean isInactive()
DLFileVersionModel
true
if this document library file version is inactive.
isInactive
in interface DLFileVersionModel
true
if this document library file version is inactive; false
otherwisepublic boolean isIncomplete()
DLFileVersionModel
true
if this document library file version is incomplete.
isIncomplete
in interface DLFileVersionModel
true
if this document library file version is incomplete; false
otherwisepublic boolean isPending()
DLFileVersionModel
true
if this document library file version is pending.
isPending
in interface WorkflowedModel
isPending
in interface DLFileVersionModel
true
if this document library file version is pending; false
otherwisepublic boolean isScheduled()
DLFileVersionModel
true
if this document library file version is scheduled.
isScheduled
in interface DLFileVersionModel
true
if this document library file version is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFileVersionModel
getExpandoBridge
in class BaseModelImpl<DLFileVersion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileVersion>
setExpandoBridgeAttributes
in interface DLFileVersionModel
setExpandoBridgeAttributes
in class BaseModelImpl<DLFileVersion>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public DLFileVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileVersion>
toEscapedModel
in interface DLFileVersionModel
toEscapedModel
in class BaseModelImpl<DLFileVersion>
AutoEscapeBeanHandler
public DLFileVersion toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFileVersion>
toUnescapedModel
in interface DLFileVersionModel
toUnescapedModel
in class BaseModelImpl<DLFileVersion>
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileVersion>
clone
in interface DLFileVersionModel
clone
in class BaseModelImpl<DLFileVersion>
public int compareTo(DLFileVersion dlFileVersion)
compareTo
in interface DLFileVersionModel
compareTo
in interface Comparable<DLFileVersion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DLFileVersionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileVersion>
resetOriginalValues
in class BaseModelImpl<DLFileVersion>
public CacheModel<DLFileVersion> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFileVersion>
toCacheModel
in interface DLFileVersionModel
toCacheModel
in class BaseModelImpl<DLFileVersion>
public String toString()
toString
in interface DLFileVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileVersion>
toXmlString
in interface DLFileVersionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |