com.liferay.portlet.trash.service.impl
Class TrashVersionLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.trash.service.base.TrashVersionLocalServiceBaseImpl
com.liferay.portlet.trash.service.impl.TrashVersionLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, TrashVersionLocalService
public class TrashVersionLocalServiceImpl
- extends TrashVersionLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.trash.service.base.TrashVersionLocalServiceBaseImpl |
counterLocalService, persistedModelLocalServiceRegistry, resourceLocalService, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrashVersionLocalServiceImpl
public TrashVersionLocalServiceImpl()
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 entityclassPK
- the primary key of the trash entity
- Returns:
- all the trash versions associated with the trash entry
- Throws:
SystemException
- if a system exception occurred