Interface TrashHelper


@ProviderType public interface TrashHelper
  • Method Details

    • getMaxAge

      int getMaxAge(com.liferay.portal.kernel.model.Group group)
    • getNewName

      String getNewName(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String className, long classPK, String oldName) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOriginalTitle

      String getOriginalTitle(String title)
    • getOriginalTitle

      String getOriginalTitle(String title, String paramName)
    • getTrashEntry

      TrashEntry getTrashEntry(com.liferay.portal.kernel.model.TrashedModel trashedModel) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTrashTitle

      String getTrashTitle(long entryId)
    • getViewContentURL

      javax.portlet.PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isInTrashContainer

      boolean isInTrashContainer(com.liferay.portal.kernel.model.TrashedModel trashedModel)
    • isInTrashExplicitly

      boolean isInTrashExplicitly(com.liferay.portal.kernel.model.TrashedModel trashedModel)
    • isInTrashImplicitly

      boolean isInTrashImplicitly(com.liferay.portal.kernel.model.TrashedModel trashedModel)
    • isTrashEnabled

      boolean isTrashEnabled(com.liferay.portal.kernel.model.Group group)
    • isTrashEnabled

      boolean isTrashEnabled(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException