@Deprecated
@ProviderType
public class TrashUtil
extends Object
Constructor and Description |
---|
TrashUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
Deprecated.
|
static void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
Deprecated.
|
static void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<TrashedModel> trashedModels)
Deprecated.
|
static void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<TrashedModel> trashedModels,
String cmd)
Deprecated.
|
static void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
TrashedModel trashedModel)
Deprecated.
|
static void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
TrashedModel trashedModel,
String cmd)
Deprecated.
|
static void |
deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
Deprecated.
|
static Group |
disableTrash(Group group)
Deprecated.
|
static List<TrashEntry> |
getEntries(Hits hits)
Deprecated.
|
static OrderByComparator<TrashEntry> |
getEntryOrderByComparator(String orderByCol,
String orderByType)
Deprecated.
|
static int |
getMaxAge(Group group)
Deprecated.
|
static String |
getNewName(String oldName,
String token)
Deprecated.
|
static String |
getNewName(ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
Deprecated.
|
static String |
getOriginalTitle(String title)
Deprecated.
|
static String |
getOriginalTitle(String title,
String paramName)
Deprecated.
|
static Trash |
getTrash()
Deprecated.
|
static String |
getTrashTime(String title,
String separator)
Deprecated.
|
static String |
getTrashTitle(long trashEntryId)
Deprecated.
|
static javax.portlet.PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest request,
long trashEntryId)
Deprecated.
|
static javax.portlet.PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest request,
String className,
long classPK)
Deprecated.
|
static javax.portlet.PortletURL |
getViewURL(javax.servlet.http.HttpServletRequest request)
Deprecated.
|
static boolean |
isInTrash(String className,
long classPK)
Deprecated.
|
static boolean |
isTrashEnabled(Group group)
Deprecated.
|
static boolean |
isTrashEnabled(long groupId)
Deprecated.
|
static boolean |
isValidTrashTitle(String title)
Deprecated.
|
void |
setTrash(Trash trash)
Deprecated.
|
public static void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, LiferayPortletResponse liferayPortletResponse, String className, long classPK, javax.portlet.PortletURL containerModelURL) throws PortalException, javax.portlet.PortletException
PortalException
javax.portlet.PortletException
public static void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, LiferayPortletResponse liferayPortletResponse, String className, long classPK, javax.portlet.PortletURL containerModelURL) throws PortalException, javax.portlet.PortletException
PortalException
javax.portlet.PortletException
public static void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest, List<TrashedModel> trashedModels)
public static void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest, List<TrashedModel> trashedModels, String cmd)
public static void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest, TrashedModel trashedModel)
public static void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest, TrashedModel trashedModel, String cmd)
public static void deleteEntriesAttachments(long companyId, long repositoryId, Date date, String[] attachmentFileNames)
public static List<TrashEntry> getEntries(Hits hits) throws PortalException
PortalException
public static OrderByComparator<TrashEntry> getEntryOrderByComparator(String orderByCol, String orderByType)
public static int getMaxAge(Group group) throws PortalException
PortalException
public static String getNewName(String oldName, String token)
public static String getNewName(ThemeDisplay themeDisplay, String className, long classPK, String oldName) throws PortalException
PortalException
public static String getOriginalTitle(String title)
public static String getOriginalTitle(String title, String paramName)
public static Trash getTrash()
public static String getTrashTime(String title, String separator)
public static String getTrashTitle(long trashEntryId)
public static javax.portlet.PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request, long trashEntryId) throws PortalException
PortalException
public static javax.portlet.PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request, String className, long classPK) throws PortalException
PortalException
public static javax.portlet.PortletURL getViewURL(javax.servlet.http.HttpServletRequest request) throws PortalException
PortalException
public static boolean isInTrash(String className, long classPK) throws PortalException
PortalException
public static boolean isTrashEnabled(Group group)
public static boolean isTrashEnabled(long groupId) throws PortalException
PortalException
public static boolean isValidTrashTitle(String title)
public void setTrash(Trash trash)