|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.repository.proxy.RepositoryModelProxyBean
com.liferay.portal.repository.proxy.FileEntryProxyBean
public class FileEntryProxyBean
| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.kernel.repository.model.FileEntry |
|---|
FILE_ENTRY_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
FileEntryProxyBean(FileEntry fileEntry,
java.lang.ClassLoader classLoader)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class com.liferay.portal.repository.proxy.RepositoryModelProxyBean |
|---|
newFileEntryProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeans |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileEntryProxyBean(FileEntry fileEntry,
java.lang.ClassLoader classLoader)
| Method Detail |
|---|
public java.lang.Object clone()
clone in interface StagedModelclone in class java.lang.Object
public boolean containsPermission(PermissionChecker permissionChecker,
java.lang.String actionId)
throws PortalException,
SystemException
containsPermission in interface FileEntryPortalException
SystemExceptionpublic 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 StagedModel
public java.io.InputStream getContentStream()
throws PortalException,
SystemException
FileEntry
getContentStream in interface FileEntryPortalException - if a portal exception occurred
SystemException - if a system exception occurredFileEntry.getFileVersion()
public java.io.InputStream getContentStream(java.lang.String version)
throws PortalException,
SystemException
getContentStream in interface FileEntryPortalException
SystemExceptionpublic 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 FileEntry
public 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 occurred
SystemException - if a system exception occurred
public FileVersion getFileVersion(java.lang.String version)
throws PortalException,
SystemException
getFileVersion in interface FileEntryPortalException
SystemException
public java.util.List<FileVersion> getFileVersions(int status)
throws SystemException
getFileVersions in interface FileEntrySystemExceptionpublic Folder getFolder()
getFolder in interface FileEntrypublic long getFolderId()
getFolderId in interface FileEntrypublic long getGroupId()
getGroupId in interface FileEntrygetGroupId in interface GroupedModelpublic java.lang.String getIcon()
getIcon in interface FileEntry
public FileVersion getLatestFileVersion()
throws PortalException,
SystemException
FileEntryFileEntry.getFileVersion().
getLatestFileVersion in interface FileEntryPortalException - if a portal exception occurred
SystemException - if a system exception occurredpublic Lock getLock()
getLock in interface FileEntrypublic 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 long getSize()
getSize in interface FileEntrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic java.lang.String getTitle()
getTitle in interface FileEntrypublic long getUserId()
getUserId in interface FileEntrygetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface FileEntrygetUserName in interface AuditedModel
public 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 hasLock()
hasLock in interface FileEntrypublic boolean isCheckedOut()
isCheckedOut in interface FileEntrypublic boolean isDefaultRepository()
isDefaultRepository in interface FileEntrypublic boolean isEscapedModel()
isEscapedModel in interface RepositoryModel<FileEntry>public boolean isInTrash()
isInTrash in interface FileEntrypublic 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>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||