@Deprecated
public class TrashImpl
extends Object
implements com.liferay.trash.kernel.util.Trash
| Modifier and Type | Field and Description |
|---|---|
protected String |
TRASH_PREFIX
Deprecated.
|
| Constructor and Description |
|---|
TrashImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
Deprecated.
|
protected void |
addBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
String paramName,
javax.portlet.PortletURL containerModelURL,
boolean checkInTrashContainers)
Deprecated.
|
void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
Deprecated.
|
void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<com.liferay.portal.kernel.model.TrashedModel> trashedModels)
Deprecated.
|
void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<com.liferay.portal.kernel.model.TrashedModel> trashedModels,
String cmd)
Deprecated.
|
void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
com.liferay.portal.kernel.model.TrashedModel trashedModel)
Deprecated.
|
void |
addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
com.liferay.portal.kernel.model.TrashedModel trashedModel,
String cmd)
Deprecated.
|
void |
deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
Deprecated.
|
com.liferay.portal.kernel.model.Group |
disableTrash(com.liferay.portal.kernel.model.Group group)
Deprecated.
|
List<com.liferay.trash.kernel.model.TrashEntry> |
getEntries(com.liferay.portal.kernel.search.Hits hits)
Deprecated.
|
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> |
getEntryOrderByComparator(String orderByCol,
String orderByType)
Deprecated.
|
int |
getMaxAge(com.liferay.portal.kernel.model.Group group)
Deprecated.
|
String |
getNewName(String oldName,
String token)
Deprecated.
|
String |
getNewName(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
Deprecated.
|
String |
getOriginalTitle(String title)
Deprecated.
|
String |
getOriginalTitle(String title,
String paramName)
Deprecated.
|
protected String |
getOriginalTitle(String title,
String paramName,
String prefix)
Deprecated.
|
String |
getTrashTime(String title,
String separator)
Deprecated.
|
String |
getTrashTitle(long trashEntryId)
Deprecated.
|
protected String |
getTrashTitle(long trashEntryId,
String prefix)
Deprecated.
|
javax.portlet.PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
long trashEntryId)
Deprecated.
|
javax.portlet.PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
String className,
long classPK)
Deprecated.
|
javax.portlet.PortletURL |
getViewURL(javax.servlet.http.HttpServletRequest httpServletRequest)
Deprecated.
|
boolean |
isInTrash(String className,
long classPK)
Deprecated.
|
boolean |
isTrashEnabled(com.liferay.portal.kernel.model.Group group)
Deprecated.
|
boolean |
isTrashEnabled(long groupId)
Deprecated.
|
boolean |
isValidTrashTitle(String title)
Deprecated.
|
protected boolean |
isValidTrashTitle(String title,
String prefix)
Deprecated.
|
protected final String TRASH_PREFIX
public void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
throws com.liferay.portal.kernel.exception.PortalException,
javax.portlet.PortletException
addBaseModelBreadcrumbEntries in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionjavax.portlet.PortletExceptionpublic void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
javax.portlet.PortletURL containerModelURL)
throws com.liferay.portal.kernel.exception.PortalException,
javax.portlet.PortletException
addContainerModelBreadcrumbEntries in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionjavax.portlet.PortletExceptionpublic void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<com.liferay.portal.kernel.model.TrashedModel> trashedModels)
addTrashSessionMessages in interface com.liferay.trash.kernel.util.Trashpublic void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
List<com.liferay.portal.kernel.model.TrashedModel> trashedModels,
String cmd)
addTrashSessionMessages in interface com.liferay.trash.kernel.util.Trashpublic void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
com.liferay.portal.kernel.model.TrashedModel trashedModel)
addTrashSessionMessages in interface com.liferay.trash.kernel.util.Trashpublic void addTrashSessionMessages(javax.portlet.ActionRequest actionRequest,
com.liferay.portal.kernel.model.TrashedModel trashedModel,
String cmd)
addTrashSessionMessages in interface com.liferay.trash.kernel.util.Trashpublic void deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
deleteEntriesAttachments in interface com.liferay.trash.kernel.util.Trashpublic com.liferay.portal.kernel.model.Group disableTrash(com.liferay.portal.kernel.model.Group group)
disableTrash in interface com.liferay.trash.kernel.util.Trashpublic List<com.liferay.trash.kernel.model.TrashEntry> getEntries(com.liferay.portal.kernel.search.Hits hits)
getEntries in interface com.liferay.trash.kernel.util.Trashpublic com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> getEntryOrderByComparator(String orderByCol,
String orderByType)
getEntryOrderByComparator in interface com.liferay.trash.kernel.util.Trashpublic int getMaxAge(com.liferay.portal.kernel.model.Group group)
getMaxAge in interface com.liferay.trash.kernel.util.Trashpublic String getNewName(String oldName,
String token)
getNewName in interface com.liferay.trash.kernel.util.Trashpublic String getNewName(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
throws com.liferay.portal.kernel.exception.PortalException
getNewName in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic String getOriginalTitle(String title)
getOriginalTitle in interface com.liferay.trash.kernel.util.Trashpublic String getOriginalTitle(String title,
String paramName)
getOriginalTitle in interface com.liferay.trash.kernel.util.Trashpublic String getTrashTime(String title,
String separator)
getTrashTime in interface com.liferay.trash.kernel.util.Trashpublic String getTrashTitle(long trashEntryId)
getTrashTitle in interface com.liferay.trash.kernel.util.Trashpublic javax.portlet.PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException
getViewContentURL in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic javax.portlet.PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest httpServletRequest,
String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
getViewContentURL in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic javax.portlet.PortletURL getViewURL(javax.servlet.http.HttpServletRequest httpServletRequest)
throws com.liferay.portal.kernel.exception.PortalException
getViewURL in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isInTrash(String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException
isInTrash in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isTrashEnabled(com.liferay.portal.kernel.model.Group group)
isTrashEnabled in interface com.liferay.trash.kernel.util.Trashpublic boolean isTrashEnabled(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
isTrashEnabled in interface com.liferay.trash.kernel.util.Trashcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isValidTrashTitle(String title)
isValidTrashTitle in interface com.liferay.trash.kernel.util.Trashprotected void addBreadcrumbEntries(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
String paramName,
javax.portlet.PortletURL containerModelURL,
boolean checkInTrashContainers)
throws com.liferay.portal.kernel.exception.PortalException,
javax.portlet.PortletException
com.liferay.portal.kernel.exception.PortalExceptionjavax.portlet.PortletExceptionprotected String getOriginalTitle(String title,
String paramName,
String prefix)
protected String getTrashTitle(long trashEntryId,
String prefix)
protected boolean isValidTrashTitle(String title,
String prefix)