public class DLFileEntryImpl extends DLFileEntryBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, CUSTOM1IMAGEID_COLUMN_BITMASK, CUSTOM2IMAGEID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FILEENTRYTYPEID_COLUMN_BITMASK, FILENAME_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LARGEIMAGEID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MIMETYPE_COLUMN_BITMASK, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, REPOSITORYID_COLUMN_BITMASK, SESSION_FACTORY, SMALLIMAGEID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TITLE_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
Constructor and Description |
---|
DLFileEntryImpl() |
Modifier and Type | Method and Description |
---|---|
String |
buildTreePath() |
InputStream |
getContentStream() |
InputStream |
getContentStream(String version) |
long |
getDataRepositoryId() |
Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> |
getDDMFormValuesMap(long fileVersionId) |
com.liferay.document.library.kernel.model.DLFileEntryType |
getDLFileEntryType() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getExtraSettings() |
com.liferay.portal.kernel.util.UnicodeProperties |
getExtraSettingsProperties() |
List<com.liferay.document.library.kernel.model.DLFileShortcut> |
getFileShortcuts() |
com.liferay.document.library.kernel.model.DLFileVersion |
getFileVersion() |
com.liferay.document.library.kernel.model.DLFileVersion |
getFileVersion(String version) |
List<com.liferay.document.library.kernel.model.DLFileVersion> |
getFileVersions(int status) |
int |
getFileVersionsCount(int status) |
com.liferay.document.library.kernel.model.DLFolder |
getFolder() |
String |
getIcon() |
String |
getIconCssClass() |
com.liferay.document.library.kernel.model.DLFileVersion |
getLatestFileVersion(boolean trusted) |
com.liferay.portal.kernel.lock.Lock |
getLock() |
String |
getLuceneProperties() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus() |
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isInHiddenFolder() |
boolean |
isInTrash() |
void |
setExtraSettings(String extraSettings) |
void |
setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) |
persist, updateTreePath
clone, compareTo, equals, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, getManualCheckInRequired, getMimeType, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalCustom1ImageId, getOriginalCustom2ImageId, getOriginalFileEntryTypeId, getOriginalFileName, getOriginalFolderId, getOriginalGroupId, getOriginalLargeImageId, getOriginalMimeType, getOriginalName, getOriginalRepositoryId, getOriginalSmallImageId, getOriginalTitle, getOriginalUserId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isManualCheckInRequired, resetOriginalValues, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFileName, setFolderId, setGroupId, setLargeImageId, setLastPublishDate, setManualCheckInRequired, setMimeType, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
clone, compareTo, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, getManualCheckInRequired, getMimeType, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isCachedModel, isEscapedModel, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isManualCheckInRequired, isNew, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFileName, setFolderId, setGroupId, setLargeImageId, setLastPublishDate, setManualCheckInRequired, setMimeType, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public InputStream getContentStream() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public InputStream getContentStream(String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getDataRepositoryId()
public Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> getDDMFormValuesMap(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.document.library.kernel.model.DLFileEntryType getDLFileEntryType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class DLFileEntryModelImpl
public String getExtraSettings()
getExtraSettings
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
getExtraSettings
in class DLFileEntryModelImpl
public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts()
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(int status)
public int getFileVersionsCount(int status)
public com.liferay.document.library.kernel.model.DLFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public String getIcon()
public String getIconCssClass()
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(boolean trusted) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.lock.Lock getLock()
public String getLuceneProperties()
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
getStagedModelType
in class DLFileEntryModelImpl
public int getStatus()
getStatus
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in class DLFileEntryModelImpl
public boolean hasLock()
public boolean isCheckedOut()
public boolean isInHiddenFolder()
public boolean isInTrash()
isInTrash
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
isInTrash
in interface com.liferay.portal.kernel.model.TrashedModel
isInTrash
in class DLFileEntryModelImpl
public void setExtraSettings(String extraSettings)
setExtraSettings
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
setExtraSettings
in class DLFileEntryModelImpl
public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)