Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLFileEntry>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
          extended by com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
All Implemented Interfaces:
BaseModel<DLFileEntry>, DLFileEntry, DLFileEntryModel, Serializable, Cloneable, Comparable<DLFileEntry>

public class DLFileEntryImpl
extends DLFileEntryModelImpl
implements DLFileEntry

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
DLFileEntryImpl()
           
 
Method Summary
 String getExtraSettings()
          Gets the extra settings of this d l file entry.
 UnicodeProperties getExtraSettingsProperties()
           
 DLFileVersion getFileVersion()
           
 DLFolder getFolder()
           
static long getFolderId(long groupId, long repositoryId)
           
 String getIcon()
           
 DLFileVersion getLatestFileVersion()
           
 Lock getLock()
           
 String getLuceneProperties()
           
 long getRepositoryId()
           
static long getRepositoryId(long groupId, long folderId)
           
 boolean hasLock(long userId)
           
 boolean isLocked()
           
 void setExtraSettings(String extraSettings)
          Sets the extra settings of this d l file entry.
 void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
clone, compareTo, equals, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getExtension, getFileEntryId, getFolderId, getGroupId, getModifiedDate, getName, getOriginalFolderId, getOriginalGroupId, getOriginalName, getOriginalTitle, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getReadCount, getSize, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, setCompanyId, setCreateDate, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFolderId, setGroupId, setModifiedDate, setName, setPrimaryKey, setReadCount, setSize, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getExtension, getFileEntryId, getFolderId, getGroupId, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getSize, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setDescription, setEscapedModel, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFolderId, setGroupId, setModifiedDate, setName, setNew, setPrimaryKey, setReadCount, setSize, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toEscapedModel, toString, toXmlString
 

Constructor Detail

DLFileEntryImpl

public DLFileEntryImpl()
Method Detail

getFolderId

public static long getFolderId(long groupId,
                               long repositoryId)

getRepositoryId

public static long getRepositoryId(long groupId,
                                   long folderId)

getExtraSettings

public String getExtraSettings()
Description copied from interface: DLFileEntryModel
Gets the extra settings of this d l file entry.

Specified by:
getExtraSettings in interface DLFileEntry
Specified by:
getExtraSettings in interface DLFileEntryModel
Overrides:
getExtraSettings in class DLFileEntryModelImpl
Returns:
the extra settings of this d l file entry

getExtraSettingsProperties

public UnicodeProperties getExtraSettingsProperties()
Specified by:
getExtraSettingsProperties in interface DLFileEntry

getFileVersion

public DLFileVersion getFileVersion()
                             throws PortalException,
                                    SystemException
Specified by:
getFileVersion in interface DLFileEntry
Throws:
PortalException
SystemException

getFolder

public DLFolder getFolder()
Specified by:
getFolder in interface DLFileEntry

getIcon

public String getIcon()
Specified by:
getIcon in interface DLFileEntry

getLatestFileVersion

public DLFileVersion getLatestFileVersion()
                                   throws PortalException,
                                          SystemException
Specified by:
getLatestFileVersion in interface DLFileEntry
Throws:
PortalException
SystemException

getLock

public Lock getLock()
Specified by:
getLock in interface DLFileEntry

getLuceneProperties

public String getLuceneProperties()
Specified by:
getLuceneProperties in interface DLFileEntry

getRepositoryId

public long getRepositoryId()
Specified by:
getRepositoryId in interface DLFileEntry

hasLock

public boolean hasLock(long userId)
Specified by:
hasLock in interface DLFileEntry

isLocked

public boolean isLocked()
Specified by:
isLocked in interface DLFileEntry

setExtraSettings

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

Specified by:
setExtraSettings in interface DLFileEntry
Specified by:
setExtraSettings in interface DLFileEntryModel
Overrides:
setExtraSettings in class DLFileEntryModelImpl
Parameters:
extraSettings - the extra settings of this d l file entry

setExtraSettingsProperties

public void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
Specified by:
setExtraSettingsProperties in interface DLFileEntry

Liferay 6.0.5