com.liferay.wiki.internal.trash.WikiPageTrashHandler
@Deprecated public class WikiPageTrashHandler extends BaseWikiTrashHandler
Constructor and Description |
---|
WikiPageTrashHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.SystemEvent |
addDeletionSystemEvent(long userId,
long groupId,
long classPK,
java.lang.String classUuid,
java.lang.String referrerClassName)
Deprecated.
|
protected void |
checkRestorableEntry(long classPK,
long trashEntryId,
long containerModelId,
java.lang.String originalTitle,
java.lang.String newName)
Deprecated.
|
void |
checkRestorableEntry(long classPK,
long containerModelId,
java.lang.String newName)
Deprecated.
|
void |
checkRestorableEntry(com.liferay.trash.kernel.model.TrashEntry trashEntry,
long containerModelId,
java.lang.String newName)
Deprecated.
|
void |
deleteTrashEntry(long classPK)
Deprecated.
|
java.lang.String |
getClassName()
Deprecated.
|
com.liferay.portal.kernel.model.ContainerModel |
getParentContainerModel(long classPK)
Deprecated.
|
com.liferay.portal.kernel.model.ContainerModel |
getParentContainerModel(com.liferay.portal.kernel.model.TrashedModel trashedModel)
Deprecated.
|
java.util.List<com.liferay.portal.kernel.model.ContainerModel> |
getParentContainerModels(long classPK)
Deprecated.
|
java.lang.String |
getRestoreContainedModelLink(javax.portlet.PortletRequest portletRequest,
long classPK)
Deprecated.
|
java.lang.String |
getRestoreContainerModelLink(javax.portlet.PortletRequest portletRequest,
long classPK)
Deprecated.
|
java.lang.String |
getRestoreMessage(javax.portlet.PortletRequest portletRequest,
long classPK)
Deprecated.
|
protected javax.portlet.PortletURL |
getRestoreURL(javax.portlet.PortletRequest portletRequest,
long classPK,
boolean containerModel)
Deprecated.
|
int |
getTrashContainedModelsCount(long classPK)
Deprecated.
|
java.lang.String |
getTrashContainerModelName()
Deprecated.
|
int |
getTrashContainerModelsCount(long classPK)
Deprecated.
|
java.util.List<com.liferay.portal.kernel.trash.TrashRenderer> |
getTrashContainerModelTrashRenderers(long classPK,
int start,
int end)
Deprecated.
|
com.liferay.trash.kernel.model.TrashEntry |
getTrashEntry(long classPK)
Deprecated.
|
java.util.List<com.liferay.portal.kernel.trash.TrashRenderer> |
getTrashModelTrashRenderers(long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
|
com.liferay.portal.kernel.trash.TrashRenderer |
getTrashRenderer(long classPK)
Deprecated.
|
protected boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
Deprecated.
|
boolean |
hasTrashPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
long classPK,
java.lang.String trashActionId)
Deprecated.
|
boolean |
isContainerModel()
Deprecated.
|
boolean |
isInTrash(long classPK)
Deprecated.
|
boolean |
isInTrashContainer(long classPK)
Deprecated.
|
boolean |
isMovable()
Deprecated.
|
void |
restoreRelatedTrashEntry(java.lang.String className,
long classPK)
Deprecated.
|
void |
restoreTrashEntry(long userId,
long classPK)
Deprecated.
|
protected void |
setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer)
Deprecated.
|
protected void |
setWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
Deprecated.
|
protected void |
setWikiPageResourceLocalService(WikiPageResourceLocalService wikiPageResourceLocalService)
Deprecated.
|
protected void |
setWikiPageService(WikiPageService wikiPageService)
Deprecated.
|
void |
updateTitle(long classPK,
java.lang.String name)
Deprecated.
|
getContainerModel, getContainerModelClassName, getContainerModelName, getContainerModels, getContainerModelsCount, getDestinationContainerModelId, getSubcontainerModelName, moveEntry, moveTrashEntry
checkDuplicateEntry, checkDuplicateTrashEntry, getAssetRendererFactory, getContainerModelClassName, getDeleteMessage, getExcludeFilter, getExcludeQuery, getRootContainerModelName, getSystemEventClassName, getTrashContainedModelName, getTrashContainedModelTrashRenderers, getTrashModelsCount, isDeletable, isRestorable
public com.liferay.portal.kernel.model.SystemEvent addDeletionSystemEvent(long userId, long groupId, long classPK, java.lang.String classUuid, java.lang.String referrerClassName) throws com.liferay.portal.kernel.exception.PortalException
addDeletionSystemEvent
in interface com.liferay.portal.kernel.trash.TrashHandler
addDeletionSystemEvent
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public void checkRestorableEntry(long classPK, long containerModelId, java.lang.String newName) throws com.liferay.portal.kernel.exception.PortalException
checkRestorableEntry
in interface com.liferay.portal.kernel.trash.TrashHandler
checkRestorableEntry
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public void checkRestorableEntry(com.liferay.trash.kernel.model.TrashEntry trashEntry, long containerModelId, java.lang.String newName) throws com.liferay.portal.kernel.exception.PortalException
checkRestorableEntry
in interface com.liferay.portal.kernel.trash.TrashHandler
checkRestorableEntry
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public void deleteTrashEntry(long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.TrashHandler
getParentContainerModel
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.ContainerModel getParentContainerModel(com.liferay.portal.kernel.model.TrashedModel trashedModel)
getParentContainerModel
in interface com.liferay.portal.kernel.trash.TrashHandler
getParentContainerModel
in class com.liferay.portal.kernel.trash.BaseTrashHandler
public java.util.List<com.liferay.portal.kernel.model.ContainerModel> getParentContainerModels(long classPK) throws com.liferay.portal.kernel.exception.PortalException
getParentContainerModels
in interface com.liferay.portal.kernel.trash.TrashHandler
getParentContainerModels
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getRestoreContainedModelLink(javax.portlet.PortletRequest portletRequest, long classPK) throws com.liferay.portal.kernel.exception.PortalException
getRestoreContainedModelLink
in interface com.liferay.portal.kernel.trash.TrashHandler
getRestoreContainedModelLink
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public 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.TrashHandler
getRestoreContainerModelLink
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public 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.TrashHandler
getRestoreMessage
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public int getTrashContainedModelsCount(long classPK) throws com.liferay.portal.kernel.exception.PortalException
getTrashContainedModelsCount
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashContainedModelsCount
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getTrashContainerModelName()
getTrashContainerModelName
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashContainerModelName
in class com.liferay.portal.kernel.trash.BaseTrashHandler
public int getTrashContainerModelsCount(long classPK) throws com.liferay.portal.kernel.exception.PortalException
getTrashContainerModelsCount
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashContainerModelsCount
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.trash.TrashRenderer> getTrashContainerModelTrashRenderers(long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
getTrashContainerModelTrashRenderers
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashContainerModelTrashRenderers
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public com.liferay.trash.kernel.model.TrashEntry getTrashEntry(long classPK) throws com.liferay.portal.kernel.exception.PortalException
getTrashEntry
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashEntry
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.trash.TrashRenderer> getTrashModelTrashRenderers(long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.kernel.exception.PortalException
getTrashModelTrashRenderers
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashModelTrashRenderers
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.trash.TrashRenderer getTrashRenderer(long classPK) throws com.liferay.portal.kernel.exception.PortalException
getTrashRenderer
in interface com.liferay.portal.kernel.trash.TrashHandler
getTrashRenderer
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public 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.TrashHandler
hasTrashPermission
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public boolean isContainerModel()
isContainerModel
in interface com.liferay.portal.kernel.trash.TrashHandler
isContainerModel
in class com.liferay.portal.kernel.trash.BaseTrashHandler
public boolean isInTrash(long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public boolean isInTrashContainer(long classPK) throws com.liferay.portal.kernel.exception.PortalException
isInTrashContainer
in interface com.liferay.portal.kernel.trash.TrashHandler
isInTrashContainer
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public boolean isMovable()
isMovable
in interface com.liferay.portal.kernel.trash.TrashHandler
isMovable
in class com.liferay.portal.kernel.trash.BaseTrashHandler
public void restoreRelatedTrashEntry(java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
restoreRelatedTrashEntry
in interface com.liferay.portal.kernel.trash.TrashHandler
restoreRelatedTrashEntry
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
public void restoreTrashEntry(long userId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateTitle(long classPK, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
updateTitle
in interface com.liferay.portal.kernel.trash.TrashHandler
updateTitle
in class com.liferay.portal.kernel.trash.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
protected void checkRestorableEntry(long classPK, long trashEntryId, long containerModelId, java.lang.String originalTitle, java.lang.String newName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected javax.portlet.PortletURL getRestoreURL(javax.portlet.PortletRequest portletRequest, long classPK, boolean containerModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected 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.BaseTrashHandler
com.liferay.portal.kernel.exception.PortalException
protected void setWikiEngineRenderer(WikiEngineRenderer wikiEngineRenderer)
protected void setWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
protected void setWikiPageResourceLocalService(WikiPageResourceLocalService wikiPageResourceLocalService)
protected void setWikiPageService(WikiPageService wikiPageService)