com.liferay.portlet.documentlibrary.context.helper
Class FileEntryDisplayContextHelper
java.lang.Object
com.liferay.portlet.documentlibrary.context.helper.FileEntryDisplayContextHelper
public class FileEntryDisplayContextHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryDisplayContextHelper
public FileEntryDisplayContextHelper(PermissionChecker permissionChecker,
FileEntry fileEntry)
getDLFileEntryType
public DLFileEntryType getDLFileEntryType()
throws PortalException
- Throws:
PortalException
getFileEntry
public FileEntry getFileEntry()
hasDeletePermission
public boolean hasDeletePermission()
throws PortalException
- Throws:
PortalException
hasLock
public boolean hasLock()
hasOverrideCheckoutPermission
public boolean hasOverrideCheckoutPermission()
throws PortalException
- Throws:
PortalException
hasPermissionsPermission
public boolean hasPermissionsPermission()
throws PortalException
- Throws:
PortalException
hasUpdatePermission
public boolean hasUpdatePermission()
throws PortalException
- Throws:
PortalException
hasViewPermission
public boolean hasViewPermission()
throws PortalException
- Throws:
PortalException
isCancelCheckoutDocumentButtonVisible
public boolean isCancelCheckoutDocumentButtonVisible()
throws PortalException
- Throws:
PortalException
isCheckedOut
public boolean isCheckedOut()
isCheckedOutByMe
public boolean isCheckedOutByMe()
isCheckedOutByOther
public boolean isCheckedOutByOther()
isCheckinButtonVisible
public boolean isCheckinButtonVisible()
throws PortalException
- Throws:
PortalException
isCheckoutDocumentButtonVisible
public boolean isCheckoutDocumentButtonVisible()
throws PortalException
- Throws:
PortalException
isDLFileEntry
public boolean isDLFileEntry()
isFileEntryDeletable
public boolean isFileEntryDeletable()
throws PortalException
- Throws:
PortalException
isLockedByMe
public boolean isLockedByMe()
isSupportsLocking
public boolean isSupportsLocking()
isUpdatable
public boolean isUpdatable()
throws PortalException
- Throws:
PortalException