com.liferay.portlet.trash.util
Interface Trash
- All Known Implementing Classes:
- TrashImpl
@ProviderType
public interface Trash
|
Method Summary |
void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
|
void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
|
void |
addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels)
|
void |
addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels,
String cmd)
|
void |
addTrashSessionMessages(ActionRequest actionRequest,
TrashedModel trashedModel)
|
void |
addTrashSessionMessages(ActionRequest actionRequest,
TrashedModel trashedModel,
String cmd)
|
void |
deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
|
Group |
disableTrash(Group group)
|
List<TrashEntry> |
getEntries(Hits hits)
|
OrderByComparator<TrashEntry> |
getEntryOrderByComparator(String orderByCol,
String orderByType)
|
int |
getMaxAge(Group group)
|
String |
getNewName(String oldName,
String token)
|
String |
getNewName(ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
|
String |
getOriginalTitle(String title)
|
String |
getOriginalTitle(String title,
String paramName)
|
String |
getTrashTime(String title,
String separator)
|
String |
getTrashTitle(long trashEntryId)
|
PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest request,
long trashEntryId)
|
PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest request,
String className,
long classPK)
|
PortletURL |
getViewURL(javax.servlet.http.HttpServletRequest request)
|
boolean |
isInTrash(String className,
long classPK)
|
boolean |
isTrashEnabled(Group group)
|
boolean |
isTrashEnabled(long groupId)
|
boolean |
isValidTrashTitle(String title)
|
TRASH_TIME_SEPARATOR
static final String TRASH_TIME_SEPARATOR
- See Also:
- Constant Field Values
addBaseModelBreadcrumbEntries
void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
throws PortalException,
PortletException
- Throws:
PortalException
PortletException
addContainerModelBreadcrumbEntries
void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
throws PortalException,
PortletException
- Throws:
PortalException
PortletException
addTrashSessionMessages
void addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels)
addTrashSessionMessages
void addTrashSessionMessages(ActionRequest actionRequest,
List<TrashedModel> trashedModels,
String cmd)
addTrashSessionMessages
void addTrashSessionMessages(ActionRequest actionRequest,
TrashedModel trashedModel)
addTrashSessionMessages
void addTrashSessionMessages(ActionRequest actionRequest,
TrashedModel trashedModel,
String cmd)
deleteEntriesAttachments
void deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
disableTrash
Group disableTrash(Group group)
getEntries
List<TrashEntry> getEntries(Hits hits)
throws PortalException
- Throws:
PortalException
getEntryOrderByComparator
OrderByComparator<TrashEntry> getEntryOrderByComparator(String orderByCol,
String orderByType)
getMaxAge
int getMaxAge(Group group)
throws PortalException
- Throws:
PortalException
getNewName
String getNewName(String oldName,
String token)
getNewName
String getNewName(ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
throws PortalException
- Throws:
PortalException
getOriginalTitle
String getOriginalTitle(String title)
getOriginalTitle
String getOriginalTitle(String title,
String paramName)
getTrashTime
String getTrashTime(String title,
String separator)
getTrashTitle
String getTrashTitle(long trashEntryId)
getViewContentURL
PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request,
long trashEntryId)
throws PortalException
- Throws:
PortalException
getViewContentURL
PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request,
String className,
long classPK)
throws PortalException
- Throws:
PortalException
getViewURL
PortletURL getViewURL(javax.servlet.http.HttpServletRequest request)
throws PortalException
- Throws:
PortalException
isInTrash
boolean isInTrash(String className,
long classPK)
throws PortalException
- Throws:
PortalException
isTrashEnabled
boolean isTrashEnabled(Group group)
isTrashEnabled
boolean isTrashEnabled(long groupId)
throws PortalException
- Throws:
PortalException
isValidTrashTitle
boolean isValidTrashTitle(String title)