Liferay 6.0-ee-sp2

com.liferay.portlet.documentlibrary.model
Interface DLFileEntry

All Superinterfaces:
AuditedModel, BaseModel<DLFileEntry>, ClassedModel, Cloneable, Comparable<DLFileEntry>, DLFileEntryModel, GroupedModel, PersistedModel, Serializable
All Known Implementing Classes:
DLFileEntryWrapper

public interface DLFileEntry
extends DLFileEntryModel, PersistedModel

The extended model interface for the DLFileEntry service. Represents a row in the "DLFileEntry" database table, with each column mapped to a property of this class.

See Also:
DLFileEntryModel, DLFileEntryImpl, DLFileEntryModelImpl

Method Summary
 InputStream getContentStream()
           
 InputStream getContentStream(String version)
           
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getExtraSettings()
          Gets the extra settings of this d l file entry.
 UnicodeProperties getExtraSettingsProperties()
           
 DLFileVersion getFileVersion()
           
 DLFileVersion getFileVersion(String version)
           
 List<DLFileVersion> getFileVersions(int status)
           
 DLFolder getFolder()
           
 String getIcon()
           
 DLFileVersion getLatestFileVersion()
           
 Lock getLock()
           
 String getLuceneProperties()
           
 String getMimeType(String version)
           
 long getRepositoryId()
           
 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 interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getExtension, getFileEntryId, getFolderId, getGroupId, getMimeType, 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, setMimeType, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setReadCount, setSize, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getContentStream

InputStream getContentStream()
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getContentStream

InputStream getContentStream(String version)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getMimeType

String getMimeType(String version)

getExpandoBridge

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 DLFileEntryModel
Returns:
the expando bridge for this model instance

getExtraSettings

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

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

getExtraSettingsProperties

UnicodeProperties getExtraSettingsProperties()

getFileVersion

DLFileVersion getFileVersion()
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersion

DLFileVersion getFileVersion(String version)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersions

List<DLFileVersion> getFileVersions(int status)
                                    throws SystemException
Throws:
SystemException

getFolder

DLFolder getFolder()

getIcon

String getIcon()

getLatestFileVersion

DLFileVersion getLatestFileVersion()
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getLock

Lock getLock()

getLuceneProperties

String getLuceneProperties()

getRepositoryId

long getRepositoryId()

hasLock

boolean hasLock(long userId)

isLocked

boolean isLocked()

setExtraSettings

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

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

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

Liferay 6.0-ee-sp2