Liferay 6.2.0-ce-m3

com.liferay.portlet.trash.service.impl
Class TrashEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.trash.service.base.TrashEntryServiceBaseImpl
          extended by 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.


Field Summary
 
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
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
TrashEntryServiceImpl()
           
 
Method Summary
 void deleteEntries(long groupId)
          Deletes the trash entries with the matching group ID considering permissions.
 TrashEntryList getEntries(long groupId)
          Returns the trash entries with the matching group ID.
 TrashEntryList getEntries(long groupId, int start, int end, OrderByComparator obc)
          Returns a range of all the trash entries matching the group ID.
 
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 com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrashEntryServiceImpl

public TrashEntryServiceImpl()
Method Detail

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 group
start - the lower bound of the range of trash entries to return
end - 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

Liferay 6.2.0-ce-m3