|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.trash.service.TrashVersionLocalServiceWrapper
@ProviderType 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,
UnicodeProperties typeSettingsProperties)
|
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(long entryId,
String className,
long classPK)
|
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 TrashVersionLocalService
trashVersion
- the trash version
SystemException
- if a system exception occurredpublic TrashVersion createTrashVersion(long versionId)
createTrashVersion
in interface TrashVersionLocalService
versionId
- the primary key for the new trash version
public TrashVersion deleteTrashVersion(long versionId) throws PortalException, SystemException
deleteTrashVersion
in interface TrashVersionLocalService
versionId
- 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 occurredpublic TrashVersion deleteTrashVersion(TrashVersion trashVersion) throws SystemException
deleteTrashVersion
in interface TrashVersionLocalService
trashVersion
- 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 TrashVersionLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 TrashVersionLocalService
dynamicQuery
- 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 occurredpublic 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 TrashVersionLocalService
dynamicQuery
- 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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface TrashVersionLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface TrashVersionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic TrashVersion fetchTrashVersion(long versionId) throws SystemException
fetchTrashVersion
in interface TrashVersionLocalService
SystemException
public TrashVersion getTrashVersion(long versionId) throws PortalException, SystemException
getTrashVersion
in interface TrashVersionLocalService
versionId
- 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 occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface TrashVersionLocalService
PortalException
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 TrashVersionLocalService
start
- 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 occurredpublic int getTrashVersionsCount() throws SystemException
getTrashVersionsCount
in interface TrashVersionLocalService
SystemException
- if a system exception occurredpublic TrashVersion updateTrashVersion(TrashVersion trashVersion) throws SystemException
updateTrashVersion
in interface TrashVersionLocalService
trashVersion
- the trash version
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface TrashVersionLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface TrashVersionLocalService
beanIdentifier
- the Spring bean ID for this beanpublic void addTrashVersion(long trashEntryId, String className, long classPK, int status, UnicodeProperties typeSettingsProperties) throws SystemException
addTrashVersion
in interface TrashVersionLocalService
SystemException
public TrashVersion deleteTrashVersion(long entryId, String className, long classPK) throws SystemException
deleteTrashVersion
in interface TrashVersionLocalService
SystemException
public TrashVersion fetchVersion(long entryId, String className, long classPK) throws SystemException
fetchVersion
in interface TrashVersionLocalService
SystemException
public List<TrashVersion> getVersions(long entryId) throws SystemException
getVersions
in interface TrashVersionLocalService
SystemException
public List<TrashVersion> getVersions(long entryId, String className) throws SystemException
getVersions
in interface TrashVersionLocalService
SystemException
public List<TrashVersion> getVersions(String className, long classPK) throws SystemException
getVersions
in interface TrashVersionLocalService
className
- 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-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |