Liferay 6.2.0-ce-m5

com.liferay.portlet.trash.util
Interface Trash


public interface Trash


Field Summary
static String TRASH_TIME_SEPARATOR
           
 
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)
           
 PortletURL getViewContentURL(javax.servlet.http.HttpServletRequest request, String className, long classPK)
           
 boolean isInTrash(String className, long classPK)
           
 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(ThemeDisplay themeDisplay,
                  String oldName)

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