Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileEntry>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<DLFileEntry>, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, DLFileEntryModel, Serializable, Cloneable, Comparable<DLFileEntry>
Direct Known Subclasses:
DLFileEntryBaseImpl

@JSON(strict=true)
public class DLFileEntryModelImpl
extends BaseModelImpl<DLFileEntry>
implements DLFileEntryModel

The base model implementation for the DLFileEntry service. Represents a row in the "DLFileEntry" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface DLFileEntryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DLFileEntryImpl.

See Also:
DLFileEntryImpl, DLFileEntry, DLFileEntryModel, 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 long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static long FILEENTRYTYPEID_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 long NAME_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
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 long TITLE_COLUMN_BITMASK
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
DLFileEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLFileEntry dlFileEntry)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this document library file entry.
 long getClassNameId()
          Returns the class name ID of this document library file entry.
 long getClassPK()
          Returns the class p k of this document library file entry.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this document library file entry.
 Date getCreateDate()
          Returns the create date of this document library file entry.
 long getCustom1ImageId()
          Returns the custom1 image ID of this document library file entry.
 long getCustom2ImageId()
          Returns the custom2 image ID of this document library file entry.
 String getDescription()
          Returns the description of this document library file entry.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getExtension()
          Returns the extension of this document library file entry.
 String getExtraSettings()
          Returns the extra settings of this document library file entry.
 long getFileEntryId()
          Returns the file entry ID of this document library file entry.
 long getFileEntryTypeId()
          Returns the file entry type ID of this document library file entry.
 long getFolderId()
          Returns the folder ID of this document library file entry.
 long getGroupId()
          Returns the group ID of this document library file entry.
 long getLargeImageId()
          Returns the large image ID of this document library file entry.
 boolean getManualCheckInRequired()
          Returns the manual check in required of this document library file entry.
 String getMimeType()
          Returns the mime type of this document library file entry.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this document library file entry.
 String getName()
          Returns the name of this document library file entry.
 long getOriginalCompanyId()
           
 long getOriginalFileEntryTypeId()
           
 long getOriginalFolderId()
           
 long getOriginalGroupId()
           
 String getOriginalMimeType()
           
 String getOriginalName()
           
 long getOriginalRepositoryId()
           
 String getOriginalTitle()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this document library file entry.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getReadCount()
          Returns the read count of this document library file entry.
 long getRepositoryId()
          Returns the repository ID of this document library file entry.
 long getSize()
          Returns the size of this document library file entry.
 long getSmallImageId()
          Returns the small image ID of this document library file entry.
 StagedModelType getStagedModelType()
           
 int getStatus()
          Returns the status of this document library file entry.
 String getTitle()
          Returns the title of this document library file entry.
 TrashEntry getTrashEntry()
          Returns the trash entry created when this document library file entry was moved to the Recycle Bin.
 long getTrashEntryClassPK()
          Returns the class primary key of the trash entry for this document library file entry.
 TrashHandler getTrashHandler()
          Returns the trash handler for this document library file entry.
 String getTreePath()
          Returns the tree path of this document library file entry.
 long getUserId()
          Returns the user ID of this document library file entry.
 String getUserName()
          Returns the user name of this document library file entry.
 String getUserUuid()
          Returns the user uuid of this document library file entry.
 String getUuid()
          Returns the uuid of this document library file entry.
 String getVersion()
          Returns the version of this document library file entry.
 int hashCode()
           
 boolean isInTrash()
          Returns true if this document library file entry is in the Recycle Bin.
 boolean isInTrashContainer()
          Returns true if the parent of this document library file entry is in the Recycle Bin.
 boolean isManualCheckInRequired()
          Returns true if this document library file entry is manual check in required.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this document library file entry.
 void setClassPK(long classPK)
          Sets the class p k of this document library file entry.
 void setCompanyId(long companyId)
          Sets the company ID of this document library file entry.
 void setCreateDate(Date createDate)
          Sets the create date of this document library file entry.
 void setCustom1ImageId(long custom1ImageId)
          Sets the custom1 image ID of this document library file entry.
 void setCustom2ImageId(long custom2ImageId)
          Sets the custom2 image ID of this document library file entry.
 void setDescription(String description)
          Sets the description of this document library file entry.
 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 entry.
 void setExtraSettings(String extraSettings)
          Sets the extra settings of this document library file entry.
 void setFileEntryId(long fileEntryId)
          Sets the file entry ID of this document library file entry.
 void setFileEntryTypeId(long fileEntryTypeId)
          Sets the file entry type ID of this document library file entry.
 void setFolderId(long folderId)
          Sets the folder ID of this document library file entry.
 void setGroupId(long groupId)
          Sets the group ID of this document library file entry.
 void setLargeImageId(long largeImageId)
          Sets the large image ID of this document library file entry.
 void setManualCheckInRequired(boolean manualCheckInRequired)
          Sets whether this document library file entry is manual check in required.
 void setMimeType(String mimeType)
          Sets the mime type of this document library file entry.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this document library file entry.
 void setName(String name)
          Sets the name of this document library file entry.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this document library file entry.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setReadCount(int readCount)
          Sets the read count of this document library file entry.
 void setRepositoryId(long repositoryId)
          Sets the repository ID of this document library file entry.
 void setSize(long size)
          Sets the size of this document library file entry.
 void setSmallImageId(long smallImageId)
          Sets the small image ID of this document library file entry.
 void setTitle(String title)
          Sets the title of this document library file entry.
 void setTreePath(String treePath)
          Sets the tree path of this document library file entry.
 void setUserId(long userId)
          Sets the user ID of this document library file entry.
 void setUserName(String userName)
          Sets the user name of this document library file entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this document library file entry.
 void setUuid(String uuid)
          Sets the uuid of this document library file entry.
 void setVersion(String version)
          Sets the version of this document library file entry.
 CacheModel<DLFileEntry> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLFileEntry toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLFileEntry toModel(DLFileEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLFileEntry> toModels(DLFileEntrySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 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.DLFileEntryModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

FILEENTRYTYPEID_COLUMN_BITMASK

public static long FILEENTRYTYPEID_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

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

REPOSITORYID_COLUMN_BITMASK

public static long REPOSITORYID_COLUMN_BITMASK

TITLE_COLUMN_BITMASK

public static long TITLE_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLFileEntryModelImpl

public DLFileEntryModelImpl()
Method Detail

toModel

public static DLFileEntry toModel(DLFileEntrySoap 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<DLFileEntry> toModels(DLFileEntrySoap[] 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: DLFileEntryModel
Returns the primary key of this document library file entry.

Specified by:
getPrimaryKey in interface DLFileEntryModel
Returns:
the primary key of this document library file entry

setPrimaryKey

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DLFileEntry>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLFileEntryModel
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<DLFileEntry>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLFileEntryModel
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<DLFileEntry>
Overrides:
getModelAttributes in class BaseModelImpl<DLFileEntry>

setModelAttributes

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

getUuid

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

Specified by:
getUuid in interface StagedModel
Specified by:
getUuid in interface DLFileEntryModel
Returns:
the uuid of this document library file entry

setUuid

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

Specified by:
setUuid in interface StagedModel
Specified by:
setUuid in interface DLFileEntryModel
Parameters:
uuid - the uuid of this document library file entry

getOriginalUuid

public String getOriginalUuid()

getFileEntryId

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

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

setFileEntryId

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

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

getGroupId

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

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

setGroupId

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

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

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

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel
Specified by:
getCompanyId in interface DLFileEntryModel
Returns:
the company ID of this document library file entry

setCompanyId

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

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface StagedModel
Specified by:
setCompanyId in interface DLFileEntryModel
Parameters:
companyId - the company ID of this document library file entry

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getOriginalUserId

public long getOriginalUserId()

getUserName

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

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

setUserName

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

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

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel
Specified by:
getCreateDate in interface DLFileEntryModel
Returns:
the create date of this document library file entry

setCreateDate

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

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface StagedModel
Specified by:
setCreateDate in interface DLFileEntryModel
Parameters:
createDate - the create date of this document library file entry

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface StagedModel
Specified by:
getModifiedDate in interface DLFileEntryModel
Returns:
the modified date of this document library file entry

setModifiedDate

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

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface StagedModel
Specified by:
setModifiedDate in interface DLFileEntryModel
Parameters:
modifiedDate - the modified date of this document library file entry

getClassName

public String getClassName()
Description copied from interface: DLFileEntryModel
Returns the fully qualified class name of this document library file entry.

Specified by:
getClassName in interface TypedModel
Specified by:
getClassName in interface DLFileEntryModel
Returns:
the fully qualified class name of this document library file entry

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface DLFileEntryModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: DLFileEntryModel
Returns the class name ID of this document library file entry.

Specified by:
getClassNameId in interface TypedModel
Specified by:
getClassNameId in interface DLFileEntryModel
Returns:
the class name ID of this document library file entry

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: DLFileEntryModel
Sets the class name ID of this document library file entry.

Specified by:
setClassNameId in interface TypedModel
Specified by:
setClassNameId in interface DLFileEntryModel
Parameters:
classNameId - the class name ID of this document library file entry

getClassPK

@JSON
public long getClassPK()
Description copied from interface: DLFileEntryModel
Returns the class p k of this document library file entry.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface DLFileEntryModel
Returns:
the class p k of this document library file entry

setClassPK

public void setClassPK(long classPK)
Description copied from interface: DLFileEntryModel
Sets the class p k of this document library file entry.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface DLFileEntryModel
Parameters:
classPK - the class p k of this document library file entry

getRepositoryId

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

Specified by:
getRepositoryId in interface DLFileEntryModel
Returns:
the repository ID of this document library file entry

setRepositoryId

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

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

getOriginalRepositoryId

public long getOriginalRepositoryId()

getFolderId

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

Specified by:
getFolderId in interface DLFileEntryModel
Returns:
the folder ID of this document library file entry

setFolderId

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

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

getOriginalFolderId

public long getOriginalFolderId()

getTreePath

@JSON
public String getTreePath()
Description copied from interface: DLFileEntryModel
Returns the tree path of this document library file entry.

Specified by:
getTreePath in interface DLFileEntryModel
Returns:
the tree path of this document library file entry

setTreePath

public void setTreePath(String treePath)
Description copied from interface: DLFileEntryModel
Sets the tree path of this document library file entry.

Specified by:
setTreePath in interface DLFileEntryModel
Parameters:
treePath - the tree path of this document library file entry

getName

@JSON
public String getName()
Description copied from interface: DLFileEntryModel
Returns the name of this document library file entry.

Specified by:
getName in interface DLFileEntryModel
Returns:
the name of this document library file entry

setName

public void setName(String name)
Description copied from interface: DLFileEntryModel
Sets the name of this document library file entry.

Specified by:
setName in interface DLFileEntryModel
Parameters:
name - the name of this document library file entry

getOriginalName

public String getOriginalName()

getExtension

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

Specified by:
getExtension in interface DLFileEntryModel
Returns:
the extension of this document library file entry

setExtension

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

Specified by:
setExtension in interface DLFileEntryModel
Parameters:
extension - the extension of this document library file entry

getMimeType

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

Specified by:
getMimeType in interface DLFileEntryModel
Returns:
the mime type of this document library file entry

setMimeType

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

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

getOriginalMimeType

public String getOriginalMimeType()

getTitle

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

Specified by:
getTitle in interface DLFileEntryModel
Returns:
the title of this document library file entry

setTitle

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

Specified by:
setTitle in interface DLFileEntryModel
Parameters:
title - the title of this document library file entry

getOriginalTitle

public String getOriginalTitle()

getDescription

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

Specified by:
getDescription in interface DLFileEntryModel
Returns:
the description of this document library file entry

setDescription

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

Specified by:
setDescription in interface DLFileEntryModel
Parameters:
description - the description of this document library file entry

getExtraSettings

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

Specified by:
getExtraSettings in interface DLFileEntryModel
Returns:
the extra settings of this document library file entry

setExtraSettings

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

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

getFileEntryTypeId

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

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

setFileEntryTypeId

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

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

getOriginalFileEntryTypeId

public long getOriginalFileEntryTypeId()

getVersion

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

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

setVersion

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

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

getSize

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

Specified by:
getSize in interface DLFileEntryModel
Returns:
the size of this document library file entry

setSize

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

Specified by:
setSize in interface DLFileEntryModel
Parameters:
size - the size of this document library file entry

getReadCount

@JSON
public int getReadCount()
Description copied from interface: DLFileEntryModel
Returns the read count of this document library file entry.

Specified by:
getReadCount in interface DLFileEntryModel
Returns:
the read count of this document library file entry

setReadCount

public void setReadCount(int readCount)
Description copied from interface: DLFileEntryModel
Sets the read count of this document library file entry.

Specified by:
setReadCount in interface DLFileEntryModel
Parameters:
readCount - the read count of this document library file entry

getSmallImageId

@JSON
public long getSmallImageId()
Description copied from interface: DLFileEntryModel
Returns the small image ID of this document library file entry.

Specified by:
getSmallImageId in interface DLFileEntryModel
Returns:
the small image ID of this document library file entry

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: DLFileEntryModel
Sets the small image ID of this document library file entry.

Specified by:
setSmallImageId in interface DLFileEntryModel
Parameters:
smallImageId - the small image ID of this document library file entry

getLargeImageId

@JSON
public long getLargeImageId()
Description copied from interface: DLFileEntryModel
Returns the large image ID of this document library file entry.

Specified by:
getLargeImageId in interface DLFileEntryModel
Returns:
the large image ID of this document library file entry

setLargeImageId

public void setLargeImageId(long largeImageId)
Description copied from interface: DLFileEntryModel
Sets the large image ID of this document library file entry.

Specified by:
setLargeImageId in interface DLFileEntryModel
Parameters:
largeImageId - the large image ID of this document library file entry

getCustom1ImageId

@JSON
public long getCustom1ImageId()
Description copied from interface: DLFileEntryModel
Returns the custom1 image ID of this document library file entry.

Specified by:
getCustom1ImageId in interface DLFileEntryModel
Returns:
the custom1 image ID of this document library file entry

setCustom1ImageId

public void setCustom1ImageId(long custom1ImageId)
Description copied from interface: DLFileEntryModel
Sets the custom1 image ID of this document library file entry.

Specified by:
setCustom1ImageId in interface DLFileEntryModel
Parameters:
custom1ImageId - the custom1 image ID of this document library file entry

getCustom2ImageId

@JSON
public long getCustom2ImageId()
Description copied from interface: DLFileEntryModel
Returns the custom2 image ID of this document library file entry.

Specified by:
getCustom2ImageId in interface DLFileEntryModel
Returns:
the custom2 image ID of this document library file entry

setCustom2ImageId

public void setCustom2ImageId(long custom2ImageId)
Description copied from interface: DLFileEntryModel
Sets the custom2 image ID of this document library file entry.

Specified by:
setCustom2ImageId in interface DLFileEntryModel
Parameters:
custom2ImageId - the custom2 image ID of this document library file entry

getManualCheckInRequired

@JSON
public boolean getManualCheckInRequired()
Description copied from interface: DLFileEntryModel
Returns the manual check in required of this document library file entry.

Specified by:
getManualCheckInRequired in interface DLFileEntryModel
Returns:
the manual check in required of this document library file entry

isManualCheckInRequired

public boolean isManualCheckInRequired()
Description copied from interface: DLFileEntryModel
Returns true if this document library file entry is manual check in required.

Specified by:
isManualCheckInRequired in interface DLFileEntryModel
Returns:
true if this document library file entry is manual check in required; false otherwise

setManualCheckInRequired

public void setManualCheckInRequired(boolean manualCheckInRequired)
Description copied from interface: DLFileEntryModel
Sets whether this document library file entry is manual check in required.

Specified by:
setManualCheckInRequired in interface DLFileEntryModel
Parameters:
manualCheckInRequired - the manual check in required of this document library file entry

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getStatus

public int getStatus()
Description copied from interface: DLFileEntryModel
Returns the status of this document library file entry.

Specified by:
getStatus in interface TrashedModel
Specified by:
getStatus in interface DLFileEntryModel
Returns:
the status of this document library file entry

getTrashEntry

public TrashEntry getTrashEntry()
                         throws PortalException,
                                SystemException
Description copied from interface: DLFileEntryModel
Returns the trash entry created when this document library file entry was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this document library file entry.

Specified by:
getTrashEntry in interface TrashedModel
Specified by:
getTrashEntry in interface DLFileEntryModel
Returns:
the trash entry created when this document library file entry was moved to the Recycle Bin
Throws:
SystemException - if a system exception occurred
PortalException

getTrashEntryClassPK

public long getTrashEntryClassPK()
Description copied from interface: DLFileEntryModel
Returns the class primary key of the trash entry for this document library file entry.

Specified by:
getTrashEntryClassPK in interface TrashedModel
Specified by:
getTrashEntryClassPK in interface DLFileEntryModel
Returns:
the class primary key of the trash entry for this document library file entry

getTrashHandler

public TrashHandler getTrashHandler()
Description copied from interface: DLFileEntryModel
Returns the trash handler for this document library file entry.

Specified by:
getTrashHandler in interface TrashedModel
Specified by:
getTrashHandler in interface DLFileEntryModel
Returns:
the trash handler for this document library file entry

isInTrash

public boolean isInTrash()
Description copied from interface: DLFileEntryModel
Returns true if this document library file entry is in the Recycle Bin.

Specified by:
isInTrash in interface TrashedModel
Specified by:
isInTrash in interface DLFileEntryModel
Returns:
true if this document library file entry is in the Recycle Bin; false otherwise

isInTrashContainer

public boolean isInTrashContainer()
Description copied from interface: DLFileEntryModel
Returns true if the parent of this document library file entry is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Specified by:
isInTrashContainer in interface DLFileEntryModel
Returns:
true if the parent of this document library file entry is in the Recycle Bin; 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<DLFileEntry>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLFileEntry>
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<DLFileEntry>
Specified by:
setExpandoBridgeAttributes in interface DLFileEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLFileEntry>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLFileEntry 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<DLFileEntry>
Specified by:
toEscapedModel in interface DLFileEntryModel
Overrides:
toEscapedModel in class BaseModelImpl<DLFileEntry>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

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

Specified by:
clone in interface BaseModel<DLFileEntry>
Specified by:
clone in interface StagedModel
Specified by:
clone in interface DLFileEntryModel
Specified by:
clone in class BaseModelImpl<DLFileEntry>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLFileEntry dlFileEntry)
Specified by:
compareTo in interface DLFileEntryModel
Specified by:
compareTo in interface Comparable<DLFileEntry>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface DLFileEntryModel
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<DLFileEntry>
Overrides:
resetOriginalValues in class BaseModelImpl<DLFileEntry>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface DLFileEntryModel
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<DLFileEntry>
Specified by:
toXmlString in interface DLFileEntryModel
Returns:
the XML representation of this model instance

Liferay 6.2-ce-ga5