Liferay 6.2.0-ce-m3

com.liferay.portlet.trash.util
Interface Trash


public interface Trash


Method Summary
 void addBaseModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, String className, long classPK, PortletURL containerModelURL)
           
 void addContainerModelBreadcrumbEntries(javax.servlet.http.HttpServletRequest request, String className, long classPK, PortletURL containerModelURL)
           
 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(ThemeDisplay themeDisplay, String oldName)
           
 String getOriginalTitle(String title)
           
 String getTrashTime(String title, String separator)
           
 String getTrashTitle(long trashEntryId)
           
 boolean isInTrash(String className, long classPK)
           
 boolean isTrashEnabled(long groupId)
           
 

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(ThemeDisplay themeDisplay,
                  String oldName)

getOriginalTitle

String getOriginalTitle(String title)

getTrashTime

String getTrashTime(String title,
                    String separator)

getTrashTitle

String getTrashTitle(long trashEntryId)

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-ce-m3