Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.trash.service.base.TrashVersionLocalServiceBaseImpl
          extended by com.liferay.portlet.trash.service.impl.TrashVersionLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, TrashVersionLocalService

public class TrashVersionLocalServiceImpl
extends TrashVersionLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.trash.service.base.TrashVersionLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
TrashVersionLocalServiceImpl()
           
 
Method Summary
 void addTrashVersion(long trashEntryId, String className, long classPK, int status, UnicodeProperties typeSettingsProperties)
           
 TrashVersion deleteTrashVersion(long entryId, String className, long classPK)
           
 TrashVersion fetchVersion(long entryId, String className, long classPK)
           
 List<TrashVersion> getVersions(long entryId)
           
 List<TrashVersion> getVersions(long entryId, String className)
           
 List<TrashVersion> getVersions(String className, long classPK)
          Returns all the trash versions associated with the trash entry.
 
Methods inherited from class com.liferay.portlet.trash.service.base.TrashVersionLocalServiceBaseImpl
addTrashVersion, afterPropertiesSet, createTrashVersion, deleteTrashVersion, deleteTrashVersion, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchTrashVersion, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersion, getTrashVersionLocalService, getTrashVersionPersistence, getTrashVersions, getTrashVersionsCount, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateTrashVersion
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrashVersionLocalServiceImpl

public TrashVersionLocalServiceImpl()
Method Detail

addTrashVersion

public void addTrashVersion(long trashEntryId,
                            String className,
                            long classPK,
                            int status,
                            UnicodeProperties typeSettingsProperties)
                     throws SystemException
Throws:
SystemException

deleteTrashVersion

public TrashVersion deleteTrashVersion(long entryId,
                                       String className,
                                       long classPK)
                                throws SystemException
Throws:
SystemException

fetchVersion

public TrashVersion fetchVersion(long entryId,
                                 String className,
                                 long classPK)
                          throws SystemException
Throws:
SystemException

getVersions

public List<TrashVersion> getVersions(long entryId)
                               throws SystemException
Throws:
SystemException

getVersions

public List<TrashVersion> getVersions(long entryId,
                                      String className)
                               throws SystemException
Throws:
SystemException

getVersions

public List<TrashVersion> getVersions(String className,
                                      long classPK)
                               throws SystemException
Returns all the trash versions associated with the trash entry.

Parameters:
className - the class name of the trash entity
classPK - the primary key of the trash entity
Returns:
all the trash versions associated with the trash entry
Throws:
SystemException - if a system exception occurred

Liferay 6.2-ce-ga5