public interface FileEntry extends RepositoryModel<FileEntry>
| Modifier and Type | Field and Description |
|---|---|
static Accessor<FileEntry,java.lang.Long> |
FILE_ENTRY_ID_ACCESSOR |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPermission(PermissionChecker permissionChecker,
java.lang.String actionId) |
long |
getCompanyId() |
java.io.InputStream |
getContentStream()
Retrieves the content stream of the current file version.
|
java.io.InputStream |
getContentStream(java.lang.String version) |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
java.lang.String |
getExtension() |
long |
getFileEntryId() |
FileVersion |
getFileVersion()
Retrieves the current file version.
|
FileVersion |
getFileVersion(java.lang.String version) |
java.util.List<FileVersion> |
getFileVersions(int status) |
Folder |
getFolder() |
long |
getFolderId() |
long |
getGroupId() |
java.lang.String |
getIcon() |
FileVersion |
getLatestFileVersion()
Retrieves the latest file version.
|
Lock |
getLock() |
java.lang.String |
getMimeType() |
java.lang.String |
getMimeType(java.lang.String version) |
java.util.Date |
getModifiedDate() |
int |
getReadCount() |
long |
getRepositoryId() |
long |
getSize() |
java.lang.String |
getTitle() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
java.lang.String |
getVersion() |
long |
getVersionUserId() |
java.lang.String |
getVersionUserName() |
java.lang.String |
getVersionUserUuid() |
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isDefaultRepository() |
boolean |
isInTrash() |
boolean |
isInTrashContainer() |
boolean |
isManualCheckInRequired() |
boolean |
isSupportsLocking() |
boolean |
isSupportsMetadata() |
boolean |
isSupportsSocial() |
getAttributes, getModel, getPrimaryKey, isEscapedModel, toEscapedModel, toUnescapedModelsetGroupIdsetCompanyId, setCreateDate, setModifiedDate, setUserId, setUserName, setUserUuidgetExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, setPrimaryKeyObjclone, getStagedModelType, setCompanyId, setCreateDate, setModifiedDate, setUuidboolean containsPermission(PermissionChecker permissionChecker, java.lang.String actionId) throws PortalException, SystemException
PortalExceptionSystemExceptionlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModeljava.io.InputStream getContentStream()
throws PortalException,
SystemException
PortalException - if a portal exception occurredSystemException - if a system exception occurredgetFileVersion()java.io.InputStream getContentStream(java.lang.String version)
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModeljava.lang.String getDescription()
java.lang.String getExtension()
long getFileEntryId()
FileVersion getFileVersion() throws PortalException, SystemException
getLatestFileVersion(). In third-party repositories, these two methods
may function identically.PortalException - if a portal exception occurredSystemException - if a system exception occurredFileVersion getFileVersion(java.lang.String version) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<FileVersion> getFileVersions(int status) throws SystemException
SystemExceptionFolder getFolder()
long getFolderId()
long getGroupId()
getGroupId in interface GroupedModeljava.lang.String getIcon()
FileVersion getLatestFileVersion() throws PortalException, SystemException
getFileVersion().PortalException - if a portal exception occurredSystemException - if a system exception occurredLock getLock()
java.lang.String getMimeType()
java.lang.String getMimeType(java.lang.String version)
java.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelint getReadCount()
long getRepositoryId()
long getSize()
java.lang.String getTitle()
long getUserId()
getUserId in interface AuditedModeljava.lang.String getUserName()
getUserName in interface AuditedModeljava.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelSystemExceptionjava.lang.String getUuid()
getUuid in interface StagedModeljava.lang.String getVersion()
long getVersionUserId()
java.lang.String getVersionUserName()
java.lang.String getVersionUserUuid()
throws SystemException
SystemExceptionboolean hasLock()
boolean isCheckedOut()
boolean isDefaultRepository()
boolean isInTrash()
boolean isInTrashContainer()
boolean isManualCheckInRequired()
boolean isSupportsLocking()
boolean isSupportsMetadata()
boolean isSupportsSocial()