com.liferay.portlet.trash.util
Interface Trash
- All Known Implementing Classes:
- TrashImpl
public interface Trash
Method Summary |
void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
|
void |
addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
String className,
long classPK,
PortletURL containerModelURL)
Deprecated. As of 7.0.0, replaced by #addBaseModelBreadcrumbEntries(HttpServletRequest,
LiferayPortletResponse, String, long, PortletURL |
void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
|
void |
addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
String className,
long classPK,
PortletURL containerModelURL)
Deprecated. As of 7.0.0, replaced by #addContainerModelBreadcrumbEntries(HttpServletRequest,
LiferayPortletResponse, String, long, PortletURL |
void |
deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
|
List<TrashEntry> |
getEntries(Hits hits)
|
OrderByComparator |
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 |
getTrashTime(String title,
String separator)
|
String |
getTrashTitle(long trashEntryId)
|
PortletURL |
getViewContentURL(javax.servlet.http.HttpServletRequest request,
String className,
long classPK)
|
boolean |
isInTrash(String className,
long classPK)
|
boolean |
isTrashEnabled(long groupId)
|
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,
SystemException
- Throws:
PortalException
SystemException
addBaseModelBreadcrumbEntries
@Deprecated
void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
String className,
long classPK,
PortletURL containerModelURL)
throws PortalException,
SystemException
- Deprecated. As of 7.0.0, replaced by
#addBaseModelBreadcrumbEntries(HttpServletRequest,
LiferayPortletResponse, String, long, PortletURL
- Throws:
PortalException
SystemException
addContainerModelBreadcrumbEntries
void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
LiferayPortletResponse liferayPortletResponse,
String className,
long classPK,
PortletURL containerModelURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addContainerModelBreadcrumbEntries
@Deprecated
void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
String className,
long classPK,
PortletURL containerModelURL)
throws PortalException,
SystemException
- Deprecated. As of 7.0.0, replaced by
#addContainerModelBreadcrumbEntries(HttpServletRequest,
LiferayPortletResponse, String, long, PortletURL
- Throws:
PortalException
SystemException
deleteEntriesAttachments
void deleteEntriesAttachments(long companyId,
long repositoryId,
Date date,
String[] attachmentFileNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntries
List<TrashEntry> getEntries(Hits hits)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntryOrderByComparator
OrderByComparator getEntryOrderByComparator(String orderByCol,
String orderByType)
getMaxAge
int getMaxAge(Group group)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNewName
String getNewName(String oldName,
String token)
getNewName
String getNewName(ThemeDisplay themeDisplay,
String className,
long classPK,
String oldName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOriginalTitle
String getOriginalTitle(String title)
getTrashTime
String getTrashTime(String title,
String separator)
getTrashTitle
String getTrashTitle(long trashEntryId)
getViewContentURL
PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isInTrash
boolean isInTrash(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isTrashEnabled
boolean isTrashEnabled(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException