public class FileEntryProxyBean extends RepositoryModelProxyBean implements FileEntry
FILE_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
FileEntryProxyBean(FileEntry fileEntry,
java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
containsPermission(PermissionChecker permissionChecker,
java.lang.String actionId) |
java.util.Map<java.lang.String,java.io.Serializable> |
getAttributes() |
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() |
ExpandoBridge |
getExpandoBridge() |
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.lang.Object |
getModel() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
int |
getReadCount() |
long |
getRepositoryId() |
long |
getSize() |
StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
java.lang.String |
getVersion() |
long |
getVersionUserId()
Deprecated.
As of 6.2.0, replaced by
FileVersionProxyBean.getUserId() |
java.lang.String |
getVersionUserName()
Deprecated.
As of 6.2.0, replaced by
FileVersionProxyBean.getUserName() |
java.lang.String |
getVersionUserUuid()
Deprecated.
As of 6.2.0, replaced by
FileVersionProxyBean.getUserUuid() |
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isDefaultRepository() |
boolean |
isEscapedModel() |
boolean |
isInTrash() |
boolean |
isInTrashContainer() |
boolean |
isManualCheckInRequired() |
boolean |
isSupportsLocking() |
boolean |
isSupportsMetadata() |
boolean |
isSupportsSocial() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date date) |
void |
setGroupId(long groupId) |
void |
setModifiedDate(java.util.Date date) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
FileEntry |
toEscapedModel() |
FileEntry |
toUnescapedModel() |
newFileEntryProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeanspublic FileEntryProxyBean(FileEntry fileEntry, java.lang.ClassLoader classLoader)
public java.lang.Object clone()
clone in interface StagedModelclone in class java.lang.Objectpublic boolean containsPermission(PermissionChecker permissionChecker, java.lang.String actionId) throws PortalException, SystemException
containsPermission in interface FileEntryPortalExceptionSystemExceptionpublic java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
getAttributes in interface RepositoryModel<FileEntry>public long getCompanyId()
getCompanyId in interface FileEntrygetCompanyId in interface AuditedModelgetCompanyId in interface StagedModelpublic java.io.InputStream getContentStream()
throws PortalException,
SystemException
FileEntrygetContentStream in interface FileEntryPortalException - if a portal exception occurredSystemException - if a system exception occurredFileEntry.getFileVersion()public java.io.InputStream getContentStream(java.lang.String version)
throws PortalException,
SystemException
getContentStream in interface FileEntryPortalExceptionSystemExceptionpublic java.util.Date getCreateDate()
getCreateDate in interface FileEntrygetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDescription()
getDescription in interface FileEntrypublic ExpandoBridge getExpandoBridge()
getExpandoBridge in interface ClassedModelpublic java.lang.String getExtension()
getExtension in interface FileEntrypublic long getFileEntryId()
getFileEntryId in interface FileEntrypublic FileVersion getFileVersion() throws PortalException, SystemException
FileEntryFileEntry.getLatestFileVersion(). In third-party repositories, these two methods
may function identically.getFileVersion in interface FileEntryPortalException - if a portal exception occurredSystemException - if a system exception occurredpublic FileVersion getFileVersion(java.lang.String version) throws PortalException, SystemException
getFileVersion in interface FileEntryPortalExceptionSystemExceptionpublic java.util.List<FileVersion> getFileVersions(int status) throws SystemException
getFileVersions in interface FileEntrySystemExceptionpublic long getFolderId()
getFolderId in interface FileEntrypublic long getGroupId()
getGroupId in interface FileEntrygetGroupId in interface GroupedModelpublic FileVersion getLatestFileVersion() throws PortalException, SystemException
FileEntryFileEntry.getFileVersion().getLatestFileVersion in interface FileEntryPortalException - if a portal exception occurredSystemException - if a system exception occurredpublic java.lang.String getMimeType()
getMimeType in interface FileEntrypublic java.lang.String getMimeType(java.lang.String version)
getMimeType in interface FileEntrypublic java.lang.Object getModel()
getModel in interface RepositoryModel<FileEntry>public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface FileEntrygetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface RepositoryModel<FileEntry>public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface ClassedModelpublic int getReadCount()
getReadCount in interface FileEntrypublic long getRepositoryId()
getRepositoryId in interface FileEntrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getUserId()
getUserId in interface FileEntrygetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface FileEntrygetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface FileEntrygetUserUuid in interface AuditedModelSystemExceptionpublic java.lang.String getUuid()
getUuid in interface FileEntrygetUuid in interface StagedModelpublic java.lang.String getVersion()
getVersion in interface FileEntrypublic long getVersionUserId()
FileVersionProxyBean.getUserId()getVersionUserId in interface FileEntrypublic java.lang.String getVersionUserName()
FileVersionProxyBean.getUserName()getVersionUserName in interface FileEntrypublic java.lang.String getVersionUserUuid()
FileVersionProxyBean.getUserUuid()getVersionUserUuid in interface FileEntrypublic boolean isCheckedOut()
isCheckedOut in interface FileEntrypublic boolean isDefaultRepository()
isDefaultRepository in interface FileEntrypublic boolean isEscapedModel()
isEscapedModel in interface RepositoryModel<FileEntry>public boolean isInTrashContainer()
isInTrashContainer in interface FileEntrypublic boolean isManualCheckInRequired()
isManualCheckInRequired in interface FileEntrypublic boolean isSupportsLocking()
isSupportsLocking in interface FileEntrypublic boolean isSupportsMetadata()
isSupportsMetadata in interface FileEntrypublic boolean isSupportsSocial()
isSupportsSocial in interface FileEntrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelpublic void setCreateDate(java.util.Date date)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelpublic void setModifiedDate(java.util.Date date)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface ClassedModelpublic void setUserId(long userId)
setUserId in interface AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelpublic FileEntry toEscapedModel()
toEscapedModel in interface RepositoryModel<FileEntry>public FileEntry toUnescapedModel()
toUnescapedModel in interface RepositoryModel<FileEntry>