Liferay 6.2.0

com.liferay.portlet.trash.util
Interface Trash

All Known Implementing Classes:
TrashImpl

public interface Trash


Field Summary
static String TRASH_TIME_SEPARATOR
           
 
Method Summary
abstract  void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, String className, long classPK, PortletURL containerModelURL)
           
abstract  void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, String className, long classPK, PortletURL containerModelURL)
           
abstract  void deleteEntriesAttachments(long companyId, long repositoryId, Date date, String[] attachmentFileNames)
           
abstract  List<TrashEntry> getEntries(Hits hits)
           
abstract  OrderByComparator getEntryOrderByComparator(String orderByCol, String orderByType)
           
abstract  int getMaxAge(Group group)
           
abstract  String getNewName(String oldName, String token)
           
abstract  String getNewName(ThemeDisplay themeDisplay, String className, long classPK, String oldName)
           
abstract  String getOriginalTitle(String title)
           
abstract  String getTrashTime(String title, String separator)
           
abstract  String getTrashTitle(long trashEntryId)
           
abstract  PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request, String className, long classPK)
           
abstract  boolean isInTrash(String className, long classPK)
           
abstract  boolean isTrashEnabled(long groupId)
           
 

Field Detail

TRASH_TIME_SEPARATOR

static final String TRASH_TIME_SEPARATOR
See Also:
Constant Field Values
Method Detail

addBaseModelBreadcrumbEntries

void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
                                   String className,
                                   long classPK,
                                   PortletURL containerModelURL)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

addContainerModelBreadcrumbEntries

void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request,
                                        String className,
                                        long classPK,
                                        PortletURL containerModelURL)
                                        throws PortalException,
                                               SystemException
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

Liferay 6.2.0