@ProviderType 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) |
void |
execute(RepositoryModelOperation repositoryModelOperation) |
java.util.Map<java.lang.String,java.io.Serializable> |
getAttributes() |
long |
getCompanyId() |
java.io.InputStream |
getContentStream()
Returns 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() |
java.lang.String |
getFileName() |
java.util.List<FileShortcut> |
getFileShortcuts() |
FileVersion |
getFileVersion()
Returns 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() |
java.lang.String |
getIconCssClass() |
java.util.Date |
getLastPublishDate() |
FileVersion |
getLatestFileVersion()
Returns the latest file version.
|
FileVersion |
getLatestFileVersion(boolean trusted)
Returns the latest file version, optionally bypassing security checks.
|
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() |
<T extends Capability> |
getRepositoryCapability(java.lang.Class<T> capabilityClass) |
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() |
<T extends Capability> |
isRepositoryCapabilityProvided(java.lang.Class<T> capabilityClass) |
boolean |
isSupportsLocking() |
boolean |
isSupportsMetadata() |
boolean |
isSupportsSocial() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setGroupId(long groupId) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setModifiedDate(java.util.Date modifiedDate) |
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, newFileShortcutProxyBean, 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
containsPermission in interface FileEntryPortalExceptionpublic void execute(RepositoryModelOperation repositoryModelOperation) throws PortalException
execute in interface RepositoryModel<FileEntry>PortalExceptionpublic java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
getAttributes in interface RepositoryModel<FileEntry>public long getCompanyId()
getCompanyId in interface FileEntrygetCompanyId in interface RepositoryEntrygetCompanyId in interface AuditedModelgetCompanyId in interface StagedModelpublic java.io.InputStream getContentStream()
throws PortalException
FileEntrygetContentStream in interface FileEntryPortalException - if a portal exception occurredFileEntry.getFileVersion()public java.io.InputStream getContentStream(java.lang.String version)
throws PortalException
getContentStream in interface FileEntryPortalExceptionpublic java.util.Date getCreateDate()
getCreateDate in interface FileEntrygetCreateDate in interface RepositoryEntrygetCreateDate 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 java.lang.String getFileName()
getFileName in interface FileEntrypublic java.util.List<FileShortcut> getFileShortcuts()
getFileShortcuts in interface FileEntrypublic FileVersion getFileVersion() throws PortalException
FileEntryFileEntry.getLatestFileVersion(). In third-party repositories, these two methods
may function identically.getFileVersion in interface FileEntryPortalException - if a portal exception occurredpublic FileVersion getFileVersion(java.lang.String version) throws PortalException
getFileVersion in interface FileEntryPortalExceptionpublic java.util.List<FileVersion> getFileVersions(int status)
getFileVersions in interface FileEntrypublic long getFolderId()
getFolderId in interface FileEntrypublic long getGroupId()
getGroupId in interface FileEntrygetGroupId in interface RepositoryEntrygetGroupId in interface GroupedModelpublic java.lang.String getIconCssClass()
getIconCssClass in interface FileEntrypublic java.util.Date getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelpublic FileVersion getLatestFileVersion() throws PortalException
FileEntryFileEntry.getFileVersion() may be identical.getLatestFileVersion in interface FileEntryPortalException - if a portal exception occurredpublic FileVersion getLatestFileVersion(boolean trusted) throws PortalException
FileEntryFileEntry.getFileVersion() may be identical.getLatestFileVersion in interface FileEntrytrusted - whether to bypass permission checks. In third-party
repositories, this parameter may be ignored.PortalException - if a portal 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 RepositoryEntrygetModifiedDate 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 <T extends Capability> T getRepositoryCapability(java.lang.Class<T> capabilityClass)
getRepositoryCapability in interface FileEntrypublic long getRepositoryId()
getRepositoryId in interface FileEntrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getUserId()
getUserId in interface FileEntrygetUserId in interface RepositoryEntrygetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface FileEntrygetUserName in interface RepositoryEntrygetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface FileEntrygetUserUuid in interface RepositoryEntrygetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface FileEntrygetUuid in interface StagedModelpublic java.lang.String getVersion()
getVersion in interface FileEntry@Deprecated public long getVersionUserId()
FileVersionProxyBean.getUserId()getVersionUserId in interface FileEntry@Deprecated public java.lang.String getVersionUserName()
FileVersionProxyBean.getUserName()getVersionUserName in interface FileEntry@Deprecated public 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 <T extends Capability> boolean isRepositoryCapabilityProvided(java.lang.Class<T> capabilityClass)
isRepositoryCapabilityProvided 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 createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModelpublic void setModifiedDate(java.util.Date modifiedDate)
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>