public class MBMessageTrashHandler
extends com.liferay.portal.kernel.trash.BaseTrashHandler
| Constructor and Description |
|---|
MBMessageTrashHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteTrashEntry(long classPK) |
java.lang.String |
getClassName() |
com.liferay.portal.model.ContainerModel |
getContainerModel(long containerModelId) |
java.lang.String |
getContainerModelClassName() |
com.liferay.portal.model.ContainerModel |
getParentContainerModel(com.liferay.portal.model.TrashedModel trashedModel) |
com.liferay.portlet.trash.model.TrashEntry |
getTrashEntry(long classPK) |
protected boolean |
hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId) |
boolean |
isDeletable() |
boolean |
isInTrash(long classPK) |
boolean |
isInTrashContainer(long classPK) |
void |
restoreRelatedTrashEntry(java.lang.String className,
long classPK) |
void |
restoreTrashEntry(long userId,
long classPK) |
addDeletionSystemEvent, checkDuplicateEntry, checkDuplicateTrashEntry, getAssetRendererFactory, getContainerModelName, getContainerModels, getContainerModelsCount, getDeleteMessage, getParentContainerModel, getParentContainerModels, getRestoreContainedModelLink, getRestoreContainerModelLink, getRestoreMessage, getRootContainerModelName, getSubcontainerModelName, getSystemEventClassName, getTrashContainedModelName, getTrashContainedModelsCount, getTrashContainedModelTrashRenderers, getTrashContainerModelName, getTrashContainerModelsCount, getTrashContainerModelTrashRenderers, getTrashRenderer, hasTrashPermission, isContainerModel, isMovable, isRestorable, isTrashEntry, moveEntry, moveTrashEntry, updateTitlepublic void deleteTrashEntry(long classPK)
public java.lang.String getClassName()
public com.liferay.portal.model.ContainerModel getContainerModel(long containerModelId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getContainerModel in interface com.liferay.portal.kernel.trash.TrashHandlergetContainerModel in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getContainerModelClassName()
getContainerModelClassName in interface com.liferay.portal.kernel.trash.TrashHandlergetContainerModelClassName in class com.liferay.portal.kernel.trash.BaseTrashHandlerpublic com.liferay.portal.model.ContainerModel getParentContainerModel(com.liferay.portal.model.TrashedModel trashedModel)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getParentContainerModel in interface com.liferay.portal.kernel.trash.TrashHandlergetParentContainerModel in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.trash.model.TrashEntry getTrashEntry(long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getTrashEntry in interface com.liferay.portal.kernel.trash.TrashHandlergetTrashEntry in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic boolean isDeletable()
isDeletable in interface com.liferay.portal.kernel.trash.TrashHandlerisDeletable in class com.liferay.portal.kernel.trash.BaseTrashHandlerpublic boolean isInTrash(long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic boolean isInTrashContainer(long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
isInTrashContainer in interface com.liferay.portal.kernel.trash.TrashHandlerisInTrashContainer in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreRelatedTrashEntry(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
restoreRelatedTrashEntry in interface com.liferay.portal.kernel.trash.TrashHandlerrestoreRelatedTrashEntry in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreTrashEntry(long userId,
long classPK)
protected boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
hasPermission in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException