com.liferay.portlet.trash.util
Interface Trash
- All Known Implementing Classes:
- TrashImpl
public interface Trash
|
Method Summary |
String |
appendTrashNamespace(String title)
|
String |
appendTrashNamespace(String title,
String separator)
|
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 |
getTrashTime(String title,
String separator)
|
boolean |
isInTrash(String className,
long classPK)
|
boolean |
isTrashEnabled(long groupId)
|
void |
moveAttachmentFromTrash(long companyId,
long repositoryId,
String deletedFileName,
String attachmentsDir)
|
void |
moveAttachmentFromTrash(long companyId,
long repositoryId,
String deletedFileName,
String attachmentsDir,
String separator)
|
String |
moveAttachmentToTrash(long companyId,
long repositoryId,
String fileName,
String deletedAttachmentsDir)
|
String |
moveAttachmentToTrash(long companyId,
long repositoryId,
String fileName,
String deletedAttachmentsDir,
String separator)
|
String |
stripTrashNamespace(String title)
|
String |
stripTrashNamespace(String title,
String separator)
|
appendTrashNamespace
String appendTrashNamespace(String title)
appendTrashNamespace
String appendTrashNamespace(String title,
String separator)
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)
getTrashTime
String getTrashTime(String title,
String separator)
isInTrash
boolean isInTrash(String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isTrashEnabled
boolean isTrashEnabled(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveAttachmentFromTrash
void moveAttachmentFromTrash(long companyId,
long repositoryId,
String deletedFileName,
String attachmentsDir)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveAttachmentFromTrash
void moveAttachmentFromTrash(long companyId,
long repositoryId,
String deletedFileName,
String attachmentsDir,
String separator)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveAttachmentToTrash
String moveAttachmentToTrash(long companyId,
long repositoryId,
String fileName,
String deletedAttachmentsDir)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveAttachmentToTrash
String moveAttachmentToTrash(long companyId,
long repositoryId,
String fileName,
String deletedAttachmentsDir,
String separator)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
stripTrashNamespace
String stripTrashNamespace(String title)
stripTrashNamespace
String stripTrashNamespace(String title,
String separator)