Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.model.impl
Class DLFileVersionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileVersion>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DLFileVersion>, ClassedModel, GroupedModel, WorkflowedModel, DLFileVersionModel, Serializable, Cloneable, Comparable<DLFileVersion>
Direct Known Subclasses:
DLFileVersionBaseImpl

@JSON(strict=true)
public class DLFileVersionModelImpl
extends BaseModelImpl<DLFileVersion>
implements DLFileVersionModel

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.

See Also:
DLFileVersionImpl, DLFileVersion, DLFileVersionModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field 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

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

FILEENTRYID_COLUMN_BITMASK

public static long FILEENTRYID_COLUMN_BITMASK

FOLDERID_COLUMN_BITMASK

public static long FOLDERID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

MIMETYPE_COLUMN_BITMASK

public static long MIMETYPE_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

TITLE_COLUMN_BITMASK

public static long TITLE_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

VERSION_COLUMN_BITMASK

public static long VERSION_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileVersionModelImpl

public DLFileVersionModelImpl()
Method Detail

toModel

public static DLFileVersion toModel(DLFileVersionSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<DLFileVersion> toModels(DLFileVersionSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DLFileVersionModel
Returns the primary key of this document library file version.

Specified by:
getPrimaryKey in interface DLFileVersionModel
Returns:
the primary key of this document library file version

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DLFileVersionModel
Sets the primary key of this document library file version.

Specified by:
setPrimaryKey in interface DLFileVersionModel
Parameters:
primaryKey - the primary key of this document library file version

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLFileVersionModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DLFileVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLFileVersionModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DLFileVersion>
Overrides:
getModelAttributes in class BaseModelImpl<DLFileVersion>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DLFileVersion>
Overrides:
setModelAttributes in class BaseModelImpl<DLFileVersion>

getUuid

@JSON
public String getUuid()
Description copied from interface: DLFileVersionModel
Returns the uuid of this document library file version.

Specified by:
getUuid in interface DLFileVersionModel
Returns:
the uuid of this document library file version

setUuid

public void setUuid(String uuid)
Description copied from interface: DLFileVersionModel
Sets the uuid of this document library file version.

Specified by:
setUuid in interface DLFileVersionModel
Parameters:
uuid - the uuid of this document library file version

getOriginalUuid

public String getOriginalUuid()

getFileVersionId

@JSON
public long getFileVersionId()
Description copied from interface: DLFileVersionModel
Returns the file version ID of this document library file version.

Specified by:
getFileVersionId in interface DLFileVersionModel
Returns:
the file version ID of this document library file version

setFileVersionId

public void setFileVersionId(long fileVersionId)
Description copied from interface: DLFileVersionModel
Sets the file version ID of this document library file version.

Specified by:
setFileVersionId in interface DLFileVersionModel
Parameters:
fileVersionId - the file version ID of this document library file version

getGroupId

@JSON
public long getGroupId()
Description copied from interface: DLFileVersionModel
Returns the group ID of this document library file version.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface DLFileVersionModel
Returns:
the group ID of this document library file version

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DLFileVersionModel
Sets the group ID of this document library file version.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface DLFileVersionModel
Parameters:
groupId - the group ID of this document library file version

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: DLFileVersionModel
Returns the company ID of this document library file version.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface DLFileVersionModel
Returns:
the company ID of this document library file version

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLFileVersionModel
Sets the company ID of this document library file version.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface DLFileVersionModel
Parameters:
companyId - the company ID of this document library file version

getUserId

@JSON
public long getUserId()
Description copied from interface: DLFileVersionModel
Returns the user ID of this document library file version.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface DLFileVersionModel
Returns:
the user ID of this document library file version

setUserId

public void setUserId(long userId)
Description copied from interface: DLFileVersionModel
Sets the user ID of this document library file version.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface DLFileVersionModel
Parameters:
userId - the user ID of this document library file version

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DLFileVersionModel
Returns the user uuid of this document library file version.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface DLFileVersionModel
Returns:
the user uuid of this document library file version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DLFileVersionModel
Sets the user uuid of this document library file version.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface DLFileVersionModel
Parameters:
userUuid - the user uuid of this document library file version

getUserName

@JSON
public String getUserName()
Description copied from interface: DLFileVersionModel
Returns the user name of this document library file version.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface DLFileVersionModel
Returns:
the user name of this document library file version

setUserName

public void setUserName(String userName)
Description copied from interface: DLFileVersionModel
Sets the user name of this document library file version.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface DLFileVersionModel
Parameters:
userName - the user name of this document library file version

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: DLFileVersionModel
Returns the create date of this document library file version.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface DLFileVersionModel
Returns:
the create date of this document library file version

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLFileVersionModel
Sets the create date of this document library file version.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface DLFileVersionModel
Parameters:
createDate - the create date of this document library file version

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: DLFileVersionModel
Returns the modified date of this document library file version.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface DLFileVersionModel
Returns:
the modified date of this document library file version

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLFileVersionModel
Sets the modified date of this document library file version.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface DLFileVersionModel
Parameters:
modifiedDate - the modified date of this document library file version

getRepositoryId

@JSON
public long getRepositoryId()
Description copied from interface: DLFileVersionModel
Returns the repository ID of this document library file version.

Specified by:
getRepositoryId in interface DLFileVersionModel
Returns:
the repository ID of this document library file version

setRepositoryId

public void setRepositoryId(long repositoryId)
Description copied from interface: DLFileVersionModel
Sets the repository ID of this document library file version.

Specified by:
setRepositoryId in interface DLFileVersionModel
Parameters:
repositoryId - the repository ID of this document library file version

getFolderId

@JSON
public long getFolderId()
Description copied from interface: DLFileVersionModel
Returns the folder ID of this document library file version.

Specified by:
getFolderId in interface DLFileVersionModel
Returns:
the folder ID of this document library file version

setFolderId

public void setFolderId(long folderId)
Description copied from interface: DLFileVersionModel
Sets the folder ID of this document library file version.

Specified by:
setFolderId in interface DLFileVersionModel
Parameters:
folderId - the folder ID of this document library file version

getOriginalFolderId

public long getOriginalFolderId()

getFileEntryId

@JSON
public long getFileEntryId()
Description copied from interface: DLFileVersionModel
Returns the file entry ID of this document library file version.

Specified by:
getFileEntryId in interface DLFileVersionModel
Returns:
the file entry ID of this document library file version

setFileEntryId

public void setFileEntryId(long fileEntryId)
Description copied from interface: DLFileVersionModel
Sets the file entry ID of this document library file version.

Specified by:
setFileEntryId in interface DLFileVersionModel
Parameters:
fileEntryId - the file entry ID of this document library file version

getOriginalFileEntryId

public long getOriginalFileEntryId()

getExtension

@JSON
public String getExtension()
Description copied from interface: DLFileVersionModel
Returns the extension of this document library file version.

Specified by:
getExtension in interface DLFileVersionModel
Returns:
the extension of this document library file version

setExtension

public void setExtension(String extension)
Description copied from interface: DLFileVersionModel
Sets the extension of this document library file version.

Specified by:
setExtension in interface DLFileVersionModel
Parameters:
extension - the extension of this document library file version

getMimeType

@JSON
public String getMimeType()
Description copied from interface: DLFileVersionModel
Returns the mime type of this document library file version.

Specified by:
getMimeType in interface DLFileVersionModel
Returns:
the mime type of this document library file version

setMimeType

public void setMimeType(String mimeType)
Description copied from interface: DLFileVersionModel
Sets the mime type of this document library file version.

Specified by:
setMimeType in interface DLFileVersionModel
Parameters:
mimeType - the mime type of this document library file version

getOriginalMimeType

public String getOriginalMimeType()

getTitle

@JSON
public String getTitle()
Description copied from interface: DLFileVersionModel
Returns the title of this document library file version.

Specified by:
getTitle in interface DLFileVersionModel
Returns:
the title of this document library file version

setTitle

public void setTitle(String title)
Description copied from interface: DLFileVersionModel
Sets the title of this document library file version.

Specified by:
setTitle in interface DLFileVersionModel
Parameters:
title - the title of this document library file version

getOriginalTitle

public String getOriginalTitle()

getDescription

@JSON
public String getDescription()
Description copied from interface: DLFileVersionModel
Returns the description of this document library file version.

Specified by:
getDescription in interface DLFileVersionModel
Returns:
the description of this document library file version

setDescription

public void setDescription(String description)
Description copied from interface: DLFileVersionModel
Sets the description of this document library file version.

Specified by:
setDescription in interface DLFileVersionModel
Parameters:
description - the description of this document library file version

getChangeLog

@JSON
public String getChangeLog()
Description copied from interface: DLFileVersionModel
Returns the change log of this document library file version.

Specified by:
getChangeLog in interface DLFileVersionModel
Returns:
the change log of this document library file version

setChangeLog

public void setChangeLog(String changeLog)
Description copied from interface: DLFileVersionModel
Sets the change log of this document library file version.

Specified by:
setChangeLog in interface DLFileVersionModel
Parameters:
changeLog - the change log of this document library file version

getExtraSettings

@JSON
public String getExtraSettings()
Description copied from interface: DLFileVersionModel
Returns the extra settings of this document library file version.

Specified by:
getExtraSettings in interface DLFileVersionModel
Returns:
the extra settings of this document library file version

setExtraSettings

public void setExtraSettings(String extraSettings)
Description copied from interface: DLFileVersionModel
Sets the extra settings of this document library file version.

Specified by:
setExtraSettings in interface DLFileVersionModel
Parameters:
extraSettings - the extra settings of this document library file version

getFileEntryTypeId

@JSON
public long getFileEntryTypeId()
Description copied from interface: DLFileVersionModel
Returns the file entry type ID of this document library file version.

Specified by:
getFileEntryTypeId in interface DLFileVersionModel
Returns:
the file entry type ID of this document library file version

setFileEntryTypeId

public void setFileEntryTypeId(long fileEntryTypeId)
Description copied from interface: DLFileVersionModel
Sets the file entry type ID of this document library file version.

Specified by:
setFileEntryTypeId in interface DLFileVersionModel
Parameters:
fileEntryTypeId - the file entry type ID of this document library file version

getVersion

@JSON
public String getVersion()
Description copied from interface: DLFileVersionModel
Returns the version of this document library file version.

Specified by:
getVersion in interface DLFileVersionModel
Returns:
the version of this document library file version

setVersion

public void setVersion(String version)
Description copied from interface: DLFileVersionModel
Sets the version of this document library file version.

Specified by:
setVersion in interface DLFileVersionModel
Parameters:
version - the version of this document library file version

getOriginalVersion

public String getOriginalVersion()

getSize

@JSON
public long getSize()
Description copied from interface: DLFileVersionModel
Returns the size of this document library file version.

Specified by:
getSize in interface DLFileVersionModel
Returns:
the size of this document library file version

setSize

public void setSize(long size)
Description copied from interface: DLFileVersionModel
Sets the size of this document library file version.

Specified by:
setSize in interface DLFileVersionModel
Parameters:
size - the size of this document library file version

getStatus

@JSON
public int getStatus()
Description copied from interface: DLFileVersionModel
Returns the status of this document library file version.

Specified by:
getStatus in interface WorkflowedModel
Specified by:
getStatus in interface DLFileVersionModel
Returns:
the status of this document library file version

setStatus

public void setStatus(int status)
Description copied from interface: DLFileVersionModel
Sets the status of this document library file version.

Specified by:
setStatus in interface WorkflowedModel
Specified by:
setStatus in interface DLFileVersionModel
Parameters:
status - the status of this document library file version

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Description copied from interface: DLFileVersionModel
Returns the status by user ID of this document library file version.

Specified by:
getStatusByUserId in interface WorkflowedModel
Specified by:
getStatusByUserId in interface DLFileVersionModel
Returns:
the status by user ID of this document library file version

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: DLFileVersionModel
Sets the status by user ID of this document library file version.

Specified by:
setStatusByUserId in interface WorkflowedModel
Specified by:
setStatusByUserId in interface DLFileVersionModel
Parameters:
statusByUserId - the status by user ID of this document library file version

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: DLFileVersionModel
Returns the status by user uuid of this document library file version.

Specified by:
getStatusByUserUuid in interface DLFileVersionModel
Returns:
the status by user uuid of this document library file version
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: DLFileVersionModel
Sets the status by user uuid of this document library file version.

Specified by:
setStatusByUserUuid in interface DLFileVersionModel
Parameters:
statusByUserUuid - the status by user uuid of this document library file version

getStatusByUserName

@JSON
public String getStatusByUserName()
Description copied from interface: DLFileVersionModel
Returns the status by user name of this document library file version.

Specified by:
getStatusByUserName in interface WorkflowedModel
Specified by:
getStatusByUserName in interface DLFileVersionModel
Returns:
the status by user name of this document library file version

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: DLFileVersionModel
Sets the status by user name of this document library file version.

Specified by:
setStatusByUserName in interface WorkflowedModel
Specified by:
setStatusByUserName in interface DLFileVersionModel
Parameters:
statusByUserName - the status by user name of this document library file version

getStatusDate

@JSON
public Date getStatusDate()
Description copied from interface: DLFileVersionModel
Returns the status date of this document library file version.

Specified by:
getStatusDate in interface WorkflowedModel
Specified by:
getStatusDate in interface DLFileVersionModel
Returns:
the status date of this document library file version

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: DLFileVersionModel
Sets the status date of this document library file version.

Specified by:
setStatusDate in interface WorkflowedModel
Specified by:
setStatusDate in interface DLFileVersionModel
Parameters:
statusDate - the status date of this document library file version

getApproved

public boolean getApproved()
Deprecated. isApproved()

Specified by:
getApproved in interface DLFileVersionModel

isApproved

public boolean isApproved()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is approved.

Specified by:
isApproved in interface WorkflowedModel
Specified by:
isApproved in interface DLFileVersionModel
Returns:
true if this document library file version is approved; false otherwise

isDenied

public boolean isDenied()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is denied.

Specified by:
isDenied in interface DLFileVersionModel
Returns:
true if this document library file version is denied; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is a draft.

Specified by:
isDraft in interface WorkflowedModel
Specified by:
isDraft in interface DLFileVersionModel
Returns:
true if this document library file version is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is expired.

Specified by:
isExpired in interface WorkflowedModel
Specified by:
isExpired in interface DLFileVersionModel
Returns:
true if this document library file version is expired; false otherwise

isInactive

public boolean isInactive()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is inactive.

Specified by:
isInactive in interface DLFileVersionModel
Returns:
true if this document library file version is inactive; false otherwise

isIncomplete

public boolean isIncomplete()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is incomplete.

Specified by:
isIncomplete in interface DLFileVersionModel
Returns:
true if this document library file version is incomplete; false otherwise

isPending

public boolean isPending()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is pending.

Specified by:
isPending in interface WorkflowedModel
Specified by:
isPending in interface DLFileVersionModel
Returns:
true if this document library file version is pending; false otherwise

isScheduled

public boolean isScheduled()
Description copied from interface: DLFileVersionModel
Returns true if this document library file version is scheduled.

Specified by:
isScheduled in interface DLFileVersionModel
Returns:
true if this document library file version is scheduled; false otherwise

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLFileVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileVersionModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileVersion>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLFileVersion>
Specified by:
setExpandoBridgeAttributes in interface DLFileVersionModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileVersion>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLFileVersion toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DLFileVersion>
Specified by:
toEscapedModel in interface DLFileVersionModel
Overrides:
toEscapedModel in class BaseModelImpl<DLFileVersion>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLFileVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLFileVersion>
Specified by:
toUnescapedModel in interface DLFileVersionModel
Overrides:
toUnescapedModel in class BaseModelImpl<DLFileVersion>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DLFileVersion>
Specified by:
clone in interface DLFileVersionModel
Specified by:
clone in class BaseModelImpl<DLFileVersion>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileVersion dlFileVersion)
Specified by:
compareTo in interface DLFileVersionModel
Specified by:
compareTo in interface Comparable<DLFileVersion>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface DLFileVersionModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DLFileVersion>
Overrides:
resetOriginalValues in class BaseModelImpl<DLFileVersion>

toCacheModel

public CacheModel<DLFileVersion> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DLFileVersion>
Specified by:
toCacheModel in interface DLFileVersionModel
Overrides:
toCacheModel in class BaseModelImpl<DLFileVersion>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface DLFileVersionModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DLFileVersion>
Specified by:
toXmlString in interface DLFileVersionModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3