|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.trash.service.TrashVersionLocalServiceWrapper
public class TrashVersionLocalServiceWrapper
Provides a wrapper for TrashVersionLocalService.
TrashVersionLocalService| Constructor Summary | |
|---|---|
TrashVersionLocalServiceWrapper(TrashVersionLocalService trashVersionLocalService)
|
|
| Method Summary | |
|---|---|
void |
addTrashVersion(long trashEntryId,
String className,
long classPK,
int status)
|
TrashVersion |
addTrashVersion(TrashVersion trashVersion)
Adds the trash version to the database. |
TrashVersion |
createTrashVersion(long versionId)
Creates a new trash version with the primary key. |
TrashVersion |
deleteTrashVersion(long versionId)
Deletes the trash version with the primary key from the database. |
TrashVersion |
deleteTrashVersion(TrashVersion trashVersion)
Deletes the trash version from the database. |
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
TrashVersion |
fetchTrashVersion(long versionId)
|
TrashVersion |
fetchVersion(long entryId,
String className,
long classPK)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
TrashVersion |
getTrashVersion(long versionId)
Returns the trash version with the primary key. |
List<TrashVersion> |
getTrashVersions(int start,
int end)
Returns a range of all the trash versions. |
int |
getTrashVersionsCount()
Returns the number of trash versions. |
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. |
TrashVersionLocalService |
getWrappedService()
|
TrashVersionLocalService |
getWrappedTrashVersionLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedService(TrashVersionLocalService trashVersionLocalService)
|
void |
setWrappedTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.trash.service.TrashVersionLocalService) |
TrashVersion |
updateTrashVersion(TrashVersion trashVersion)
Updates the trash version in the database or adds it if it does not yet exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrashVersionLocalServiceWrapper(TrashVersionLocalService trashVersionLocalService)
| Method Detail |
|---|
public TrashVersion addTrashVersion(TrashVersion trashVersion)
throws SystemException
addTrashVersion in interface TrashVersionLocalServicetrashVersion - the trash version
SystemException - if a system exception occurredpublic TrashVersion createTrashVersion(long versionId)
createTrashVersion in interface TrashVersionLocalServiceversionId - the primary key for the new trash version
public TrashVersion deleteTrashVersion(long versionId)
throws PortalException,
SystemException
deleteTrashVersion in interface TrashVersionLocalServiceversionId - the primary key of the trash version
PortalException - if a trash version with the primary key could not be found
SystemException - if a system exception occurred
public TrashVersion deleteTrashVersion(TrashVersion trashVersion)
throws SystemException
deleteTrashVersion in interface TrashVersionLocalServicetrashVersion - the trash version
SystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface TrashVersionLocalService
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface TrashVersionLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface TrashVersionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface TrashVersionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface TrashVersionLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
throws SystemException
dynamicQueryCount in interface TrashVersionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
SystemException - if a system exception occurred
public TrashVersion fetchTrashVersion(long versionId)
throws SystemException
fetchTrashVersion in interface TrashVersionLocalServiceSystemException
public TrashVersion getTrashVersion(long versionId)
throws PortalException,
SystemException
getTrashVersion in interface TrashVersionLocalServiceversionId - the primary key of the trash version
PortalException - if a trash version with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface TrashVersionLocalServicePortalException
SystemException
public List<TrashVersion> getTrashVersions(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashVersionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getTrashVersions in interface TrashVersionLocalServicestart - the lower bound of the range of trash versionsend - the upper bound of the range of trash versions (not inclusive)
SystemException - if a system exception occurred
public int getTrashVersionsCount()
throws SystemException
getTrashVersionsCount in interface TrashVersionLocalServiceSystemException - if a system exception occurred
public TrashVersion updateTrashVersion(TrashVersion trashVersion)
throws SystemException
updateTrashVersion in interface TrashVersionLocalServicetrashVersion - the trash version
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface TrashVersionLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface TrashVersionLocalServicebeanIdentifier - the Spring bean ID for this bean
public void addTrashVersion(long trashEntryId,
String className,
long classPK,
int status)
throws SystemException
addTrashVersion in interface TrashVersionLocalServiceSystemException
public TrashVersion fetchVersion(long entryId,
String className,
long classPK)
throws SystemException
fetchVersion in interface TrashVersionLocalServiceSystemException
public List<TrashVersion> getVersions(long entryId)
throws SystemException
getVersions in interface TrashVersionLocalServiceSystemException
public List<TrashVersion> getVersions(long entryId,
String className)
throws SystemException
getVersions in interface TrashVersionLocalServiceSystemException
public List<TrashVersion> getVersions(String className,
long classPK)
throws SystemException
getVersions in interface TrashVersionLocalServiceclassName - the class name of the trash entityclassPK - the primary key of the trash entity
SystemException - if a system exception occurredpublic TrashVersionLocalService getWrappedTrashVersionLocalService()
getWrappedService()
public void setWrappedTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
setWrappedService(com.liferay.portlet.trash.service.TrashVersionLocalService)
public TrashVersionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<TrashVersionLocalService>public void setWrappedService(TrashVersionLocalService trashVersionLocalService)
setWrappedService in interface ServiceWrapper<TrashVersionLocalService>
|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||