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