com.liferay.portlet.documentlibrary.model.impl
Class DLFileEntryImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<DLFileEntry>
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
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
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 |
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 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 |
DLFileEntryImpl
public DLFileEntryImpl()
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