@Deprecated
public class TrashUtil
extends Object
Constructor and Description |
---|
TrashUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
Deprecated.
|
static void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
Deprecated.
|
static void |
addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels)
Deprecated.
|
static void |
addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels,
String cmd)
Deprecated.
|
static void |
addTrashSessionMessages(ActionRequest actionRequest,
TrashedModel trashedModel)
Deprecated.
|
static void |
addTrashSessionMessages(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 PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
long trashEntryId)
Deprecated.
|
static PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
String className,
long classPK)
Deprecated.
|
static PortletURL |
getViewURL(javax.servlet.http.HttpServletRequest httpServletRequest)
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 httpServletRequest, LiferayPortletResponse liferayPortletResponse, String className, long classPK, PortletURL containerModelURL) throws PortalException, PortletException
PortalException
PortletException
public static void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest, LiferayPortletResponse liferayPortletResponse, String className, long classPK, PortletURL containerModelURL) throws PortalException, PortletException
PortalException
PortletException
public static void addTrashSessionMessages(ActionRequest actionRequest, List<TrashedModel> trashedModels)
public static void addTrashSessionMessages(ActionRequest actionRequest, List<TrashedModel> trashedModels, String cmd)
public static void addTrashSessionMessages(ActionRequest actionRequest, TrashedModel trashedModel)
public static void addTrashSessionMessages(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 PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest, long trashEntryId) throws PortalException
PortalException
public static PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest, String className, long classPK) throws PortalException
PortalException
public static PortletURL getViewURL(javax.servlet.http.HttpServletRequest httpServletRequest) 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)