@ProviderType
public interface Trash
Modifier and Type | Field and Description |
---|---|
static String |
TRASH_TIME_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
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) |
static final String TRASH_TIME_SEPARATOR
void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, LiferayPortletResponse liferayPortletResponse, String className, long classPK, PortletURL containerModelURL) throws PortalException, PortletException
PortalException
PortletException
void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, LiferayPortletResponse liferayPortletResponse, String className, long classPK, PortletURL containerModelURL) throws PortalException, PortletException
PortalException
PortletException
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)
List<TrashEntry> getEntries(Hits hits) throws PortalException
PortalException
OrderByComparator<TrashEntry> getEntryOrderByComparator(String orderByCol, String orderByType)
int getMaxAge(Group group) throws PortalException
PortalException
String getNewName(String oldName, String token)
String getNewName(ThemeDisplay themeDisplay, String className, long classPK, String oldName) throws PortalException
PortalException
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) throws PortalException
PortalException
PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request, String className, long classPK) throws PortalException
PortalException
PortletURL getViewURL(javax.servlet.http.HttpServletRequest request) throws PortalException
PortalException
boolean isInTrash(String className, long classPK) throws PortalException
PortalException
boolean isTrashEnabled(Group group)
boolean isTrashEnabled(long groupId) throws PortalException
PortalException
boolean isValidTrashTitle(String title)