public class BookmarksEntryTrashHandler extends BookmarksBaseTrashHandler
| Constructor and Description |
|---|
BookmarksEntryTrashHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteTrashEntry(long classPK) |
java.lang.String |
getClassName() |
protected long |
getGroupId(long classPK) |
com.liferay.portal.kernel.model.ContainerModel |
getParentContainerModel(long classPK) |
com.liferay.portal.kernel.model.ContainerModel |
getParentContainerModel(com.liferay.portal.kernel.model.TrashedModel trashedModel) |
java.lang.String |
getRestoreContainerModelLink(javax.portlet.PortletRequest portletRequest,
long classPK) |
java.lang.String |
getRestoreMessage(javax.portlet.PortletRequest portletRequest,
long classPK) |
com.liferay.trash.kernel.model.TrashEntry |
getTrashEntry(long classPK) |
protected boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId) |
boolean |
hasTrashPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long classPK,
java.lang.String trashActionId) |
boolean |
isInTrash(long classPK) |
boolean |
isInTrashContainer(long classPK) |
boolean |
isRestorable(long classPK) |
void |
moveEntry(long userId,
long classPK,
long containerModelId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
moveTrashEntry(long userId,
long classPK,
long containerId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
restoreTrashEntry(long userId,
long classPK) |
protected void |
setBookmarksEntryLocalService(com.liferay.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) |
protected void |
setBookmarksFolderLocalService(com.liferay.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) |
getContainerModel, getContainerModelClassName, getContainerModels, getContainerModelsCount, getParentContainerModels, getRootContainerModelName, getSubcontainerModelName, getTrashContainedModelName, getTrashContainedModelsCount, getTrashContainedModelTrashRenderers, getTrashContainerModelName, getTrashContainerModelsCount, getTrashContainerModelTrashRenderers, getTrashModelsCount, getTrashModelTrashRenderers, isMovableaddDeletionSystemEvent, checkDuplicateEntry, checkDuplicateTrashEntry, checkRestorableEntry, checkRestorableEntry, getAssetRendererFactory, getContainerModelClassName, getContainerModelName, getDeleteMessage, getDestinationContainerModelId, getExcludeFilter, getExcludeQuery, getRestoreContainedModelLink, getSystemEventClassName, getTrashRenderer, isContainerModel, isDeletable, restoreRelatedTrashEntry, updateTitlepublic void deleteTrashEntry(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
public com.liferay.portal.kernel.model.ContainerModel getParentContainerModel(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getParentContainerModel in interface com.liferay.portal.kernel.trash.TrashHandlergetParentContainerModel in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.ContainerModel getParentContainerModel(com.liferay.portal.kernel.model.TrashedModel trashedModel)
throws com.liferay.portal.kernel.exception.PortalException
getParentContainerModel in interface com.liferay.portal.kernel.trash.TrashHandlergetParentContainerModel in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getRestoreContainerModelLink(javax.portlet.PortletRequest portletRequest,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getRestoreContainerModelLink in interface com.liferay.portal.kernel.trash.TrashHandlergetRestoreContainerModelLink in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getRestoreMessage(javax.portlet.PortletRequest portletRequest,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getRestoreMessage in interface com.liferay.portal.kernel.trash.TrashHandlergetRestoreMessage in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.trash.kernel.model.TrashEntry getTrashEntry(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry in interface com.liferay.portal.kernel.trash.TrashHandlergetTrashEntry in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic boolean hasTrashPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long classPK,
java.lang.String trashActionId)
throws com.liferay.portal.kernel.exception.PortalException
hasTrashPermission in interface com.liferay.portal.kernel.trash.TrashHandlerhasTrashPermission in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isInTrash(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean isInTrashContainer(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
isInTrashContainer in interface com.liferay.portal.kernel.trash.TrashHandlerisInTrashContainer in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isRestorable(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
isRestorable in interface com.liferay.portal.kernel.trash.TrashHandlerisRestorable in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic void moveEntry(long userId,
long classPK,
long containerModelId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
moveEntry in interface com.liferay.portal.kernel.trash.TrashHandlermoveEntry in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic void moveTrashEntry(long userId,
long classPK,
long containerId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
moveTrashEntry in interface com.liferay.portal.kernel.trash.TrashHandlermoveTrashEntry in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionpublic void restoreTrashEntry(long userId,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected long getGroupId(long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getGroupId in class BookmarksBaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionprotected boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.PortalException
hasPermission in class com.liferay.portal.kernel.trash.BaseTrashHandlercom.liferay.portal.kernel.exception.PortalExceptionprotected void setBookmarksEntryLocalService(com.liferay.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService)
protected void setBookmarksFolderLocalService(com.liferay.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService)