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.DLFileEntryBaseImpl
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
- All Implemented Interfaces:
- AuditedModel, BaseModel<DLFileEntry>, ClassedModel, GroupedModel, PersistedModel, DLFileEntry, DLFileEntryModel, Serializable, Cloneable, Comparable<DLFileEntry>
public class DLFileEntryImpl
- extends DLFileEntryBaseImpl
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl |
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FILEENTRYTYPEID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MIMETYPE_COLUMN_BITMASK, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TITLE_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK |
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl |
clone, compareTo, equals, getColumnBitmask, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getMimeType, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalFileEntryTypeId, getOriginalFolderId, getOriginalGroupId, getOriginalMimeType, getOriginalName, getOriginalTitle, getOriginalUserId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, resetOriginalValues, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFolderId, setGroupId, setLargeImageId, setMimeType, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString |
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel |
clone, compareTo, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getMimeType, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFolderId, setGroupId, setLargeImageId, setMimeType, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
DLFileEntryImpl
public DLFileEntryImpl()
getContentStream
public InputStream getContentStream()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getContentStream
public InputStream getContentStream(String version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDataRepositoryId
public long getDataRepositoryId()
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 DLFileEntry
- Specified by:
getExpandoBridge
in interface DLFileEntryModel
- Overrides:
getExpandoBridge
in class DLFileEntryModelImpl
- Returns:
- the expando bridge for this model instance
getExtraSettings
public String getExtraSettings()
- Description copied from interface:
DLFileEntryModel
- Returns the extra settings of this document library 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 document library file entry
getExtraSettingsProperties
public UnicodeProperties getExtraSettingsProperties()
getFieldsMap
public Map<String,Fields> getFieldsMap(long fileVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileVersion
public DLFileVersion getFileVersion()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileVersion
public DLFileVersion getFileVersion(String version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileVersions
public List<DLFileVersion> getFileVersions(int status)
throws SystemException
- Throws:
SystemException
getFileVersionsCount
public int getFileVersionsCount(int status)
throws SystemException
- Throws:
SystemException
getFolder
public DLFolder getFolder()
getIcon
public String getIcon()
getLatestFileVersion
public DLFileVersion getLatestFileVersion(boolean trusted)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLock
public Lock getLock()
getLuceneProperties
public String getLuceneProperties()
hasLock
public boolean hasLock()
isCheckedOut
public boolean isCheckedOut()
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 DLFileEntry
- Specified by:
setExtraSettings
in interface DLFileEntryModel
- Overrides:
setExtraSettings
in class DLFileEntryModelImpl
- Parameters:
extraSettings
- the extra settings of this document library file entry
setExtraSettingsProperties
public void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
setFileVersion
public void setFileVersion(DLFileVersion dlFileVersion)