com.liferay.portlet.trash.service.impl
Class TrashEntryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.trash.service.base.TrashEntryServiceBaseImpl
com.liferay.portlet.trash.service.impl.TrashEntryServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, TrashEntryService
public class TrashEntryServiceImpl
- extends TrashEntryServiceBaseImpl
The trash entry remote service is responsible for returning trash entries.
For more information on trash entries services and TrashEntry, see TrashEntryLocalServiceImpl.
| Fields inherited from class com.liferay.portlet.trash.service.base.TrashEntryServiceBaseImpl |
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService |
| Methods inherited from class com.liferay.portlet.trash.service.base.TrashEntryServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrashEntryServiceImpl
public TrashEntryServiceImpl()
deleteEntries
public void deleteEntries(long groupId)
throws PrincipalException,
SystemException
- Deletes the trash entries with the matching group ID considering
permissions.
- Parameters:
groupId - the primary key of the group
- Throws:
PrincipalException - if a principal exception occurred
SystemException - if a system exception occurred
getEntries
public TrashEntryList getEntries(long groupId)
throws PrincipalException,
SystemException
- Returns the trash entries with the matching group ID.
- Parameters:
groupId - the primary key of the group
- Returns:
- the matching trash entries
- Throws:
PrincipalException - if a principal exception occurred
SystemException - if a system exception occurred
getEntries
public TrashEntryList getEntries(long groupId,
int start,
int end,
OrderByComparator obc)
throws PrincipalException,
SystemException
- Returns a range of all the trash entries matching the group ID.
- Parameters:
groupId - the primary key of the groupstart - the lower bound of the range of trash entries to returnend - the upper bound of the range of trash entries to return (not
inclusive)obc - the comparator to order the trash entries (optionally
null)
- Returns:
- the range of matching trash entries ordered by comparator
obc
- Throws:
PrincipalException - if a system exception occurred
SystemException - if a system exception occurred