|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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
public class DLFileEntryImpl
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
DLFileEntryImpl()
|
|
| Method Summary | |
|---|---|
String |
buildTreePath()
|
protected void |
buildTreePath(StringBundler sb,
DLFolder dlFolder)
|
InputStream |
getContentStream()
|
InputStream |
getContentStream(String version)
|
long |
getDataRepositoryId()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getExtraSettings()
Returns the extra settings of this document library file entry. |
UnicodeProperties |
getExtraSettingsProperties()
|
Map<String,Fields> |
getFieldsMap(long fileVersionId)
|
DLFileVersion |
getFileVersion()
|
DLFileVersion |
getFileVersion(String version)
|
List<DLFileVersion> |
getFileVersions(int status)
|
int |
getFileVersionsCount(int status)
|
DLFolder |
getFolder()
|
String |
getIcon()
|
DLFileVersion |
getLatestFileVersion(boolean trusted)
|
Lock |
getLock()
|
String |
getLuceneProperties()
|
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this document library file entry. |
DLFolder |
getTrashContainer()
|
long |
getVersionUserId()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserId() |
String |
getVersionUserName()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserName() |
String |
getVersionUserUuid()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserUuid() |
boolean |
hasLock()
|
boolean |
isCheckedOut()
|
boolean |
isInHiddenFolder()
|
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. |
void |
setExtraSettings(String extraSettings)
Sets the extra settings of this document library file entry. |
void |
setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
|
| Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryBaseImpl |
|---|
persist |
| 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.portal.model.BaseModel |
|---|
getModelAttributes, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Constructor Detail |
|---|
public DLFileEntryImpl()
| Method Detail |
|---|
public String buildTreePath()
throws PortalException,
SystemException
PortalException
SystemException
public InputStream getContentStream()
throws PortalException,
SystemException
PortalException
SystemException
public InputStream getContentStream(String version)
throws PortalException,
SystemException
PortalException
SystemExceptionpublic long getDataRepositoryId()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntryModelgetExpandoBridge in class DLFileEntryModelImplpublic String getExtraSettings()
DLFileEntryModel
getExtraSettings in interface DLFileEntryModelgetExtraSettings in class DLFileEntryModelImplpublic UnicodeProperties getExtraSettingsProperties()
public Map<String,Fields> getFieldsMap(long fileVersionId)
throws PortalException,
SystemException
PortalException
SystemException
public DLFileVersion getFileVersion()
throws PortalException,
SystemException
PortalException
SystemException
public DLFileVersion getFileVersion(String version)
throws PortalException,
SystemException
PortalException
SystemException
public List<DLFileVersion> getFileVersions(int status)
throws SystemException
SystemException
public int getFileVersionsCount(int status)
throws SystemException
SystemException
public DLFolder getFolder()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic String getIcon()
public DLFileVersion getLatestFileVersion(boolean trusted)
throws PortalException,
SystemException
PortalException
SystemExceptionpublic Lock getLock()
public String getLuceneProperties()
public StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelgetStagedModelType in class DLFileEntryModelImplpublic int getStatus()
DLFileEntryModel
getStatus in interface TrashedModelgetStatus in interface DLFileEntryModelgetStatus in class DLFileEntryModelImpl
public DLFolder getTrashContainer()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic long getVersionUserId()
DLFileVersionModel.getUserId()
public String getVersionUserName()
DLFileVersionModel.getUserName()
public String getVersionUserUuid()
DLFileVersionModel.getUserUuid()
public boolean hasLock()
public boolean isCheckedOut()
public boolean isInHiddenFolder()
public boolean isInTrash()
DLFileEntryModeltrue if this document library file entry is in the Recycle Bin.
isInTrash in interface TrashedModelisInTrash in interface DLFileEntryModelisInTrash in class DLFileEntryModelImpltrue if this document library file entry is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
DLFileEntryModeltrue if the parent of this document library file entry is in the Recycle Bin.
isInTrashContainer in interface TrashedModelisInTrashContainer in interface DLFileEntryModelisInTrashContainer in class DLFileEntryModelImpltrue if the parent of this document library file entry is in the Recycle Bin; false otherwisepublic void setExtraSettings(String extraSettings)
DLFileEntryModel
setExtraSettings in interface DLFileEntryModelsetExtraSettings in class DLFileEntryModelImplextraSettings - the extra settings of this document library file entrypublic void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
protected void buildTreePath(StringBundler sb,
DLFolder dlFolder)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||