com.liferay.trash.service.impl.TrashEntryLocalServiceImpl@Deprecated public class TrashEntryLocalServiceWrapper extends Object implements TrashEntryLocalService, ServiceWrapper<TrashEntryLocalService>
TrashEntryLocalService.TrashEntryLocalService| Constructor and Description |
|---|
TrashEntryLocalServiceWrapper(TrashEntryLocalService trashEntryLocalService)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TrashEntry |
addTrashEntry(long userId,
long groupId,
String className,
long classPK,
String classUuid,
String referrerClassName,
int status,
List<ObjectValuePair<Long,Integer>> statusOVPs,
UnicodeProperties typeSettingsProperties)
Deprecated.
Moves an entry to trash.
|
TrashEntry |
addTrashEntry(TrashEntry trashEntry)
Deprecated.
Adds the trash entry to the database.
|
void |
checkEntries()
Deprecated.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
TrashEntry |
createTrashEntry(long entryId)
Deprecated.
Creates a new trash entry with the primary key.
|
void |
deleteEntries(long groupId)
Deprecated.
|
void |
deleteEntries(long groupId,
boolean deleteTrashedModels)
Deprecated.
|
TrashEntry |
deleteEntry(long entryId)
Deprecated.
Deletes the trash entry with the primary key.
|
TrashEntry |
deleteEntry(String className,
long classPK)
Deprecated.
Deletes the trash entry with the entity class name and primary key.
|
TrashEntry |
deleteEntry(TrashEntry trashEntry)
Deprecated.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
Deprecated.
|
TrashEntry |
deleteTrashEntry(long entryId)
Deprecated.
Deletes the trash entry with the primary key from the database.
|
TrashEntry |
deleteTrashEntry(TrashEntry trashEntry)
Deprecated.
Deletes the trash entry from the database.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
Deprecated.
|
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
Deprecated.
|
DynamicQuery |
dynamicQuery()
Deprecated.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Deprecated.
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Deprecated.
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
TrashEntry |
fetchEntry(long entryId)
Deprecated.
Returns the trash entry with the primary key.
|
TrashEntry |
fetchEntry(String className,
long classPK)
Deprecated.
Returns the trash entry with the entity class name and primary key.
|
TrashEntry |
fetchTrashEntry(long entryId)
Deprecated.
|
ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
List<TrashEntry> |
getEntries(long groupId)
Deprecated.
Returns the trash entries with the matching group ID.
|
List<TrashEntry> |
getEntries(long groupId,
int start,
int end)
Deprecated.
Returns a range of all the trash entries matching the group ID.
|
List<TrashEntry> |
getEntries(long groupId,
int start,
int end,
OrderByComparator<TrashEntry> obc)
Deprecated.
Returns a range of all the trash entries matching the group ID.
|
List<TrashEntry> |
getEntries(long groupId,
String className)
Deprecated.
|
int |
getEntriesCount(long groupId)
Deprecated.
Returns the number of trash entries with the group ID.
|
TrashEntry |
getEntry(long entryId)
Deprecated.
Returns the trash entry with the primary key.
|
TrashEntry |
getEntry(String className,
long classPK)
Deprecated.
Returns the entry with the entity class name and primary key.
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
List<TrashEntry> |
getTrashEntries(int start,
int end)
Deprecated.
Returns a range of all the trash entries.
|
int |
getTrashEntriesCount()
Deprecated.
Returns the number of trash entries.
|
TrashEntry |
getTrashEntry(long entryId)
Deprecated.
Returns the trash entry with the primary key.
|
TrashEntryLocalService |
getWrappedService()
Deprecated.
|
Hits |
search(long companyId,
long groupId,
long userId,
String keywords,
int start,
int end,
Sort sort)
Deprecated.
|
BaseModelSearchResult<TrashEntry> |
searchTrashEntries(long companyId,
long groupId,
long userId,
String keywords,
int start,
int end,
Sort sort)
Deprecated.
|
void |
setWrappedService(TrashEntryLocalService trashEntryLocalService)
Deprecated.
|
TrashEntry |
updateTrashEntry(TrashEntry trashEntry)
Deprecated.
Updates the trash entry in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic TrashEntryLocalServiceWrapper(TrashEntryLocalService trashEntryLocalService)
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface TrashEntryLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface PersistedModelLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface TrashEntryLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface TrashEntryLocalServicepublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface TrashEntryLocalServicePortalExceptionpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface TrashEntryLocalServicePortalExceptionpublic BaseModelSearchResult<TrashEntry> searchTrashEntries(long companyId, long groupId, long userId, String keywords, int start, int end, Sort sort)
searchTrashEntries in interface TrashEntryLocalServicepublic Hits search(long companyId, long groupId, long userId, String keywords, int start, int end, Sort sort)
search in interface TrashEntryLocalServicepublic TrashEntry addTrashEntry(TrashEntry trashEntry)
addTrashEntry in interface TrashEntryLocalServicetrashEntry - the trash entrypublic TrashEntry addTrashEntry(long userId, long groupId, String className, long classPK, String classUuid, String referrerClassName, int status, List<ObjectValuePair<Long,Integer>> statusOVPs, UnicodeProperties typeSettingsProperties) throws PortalException
addTrashEntry in interface TrashEntryLocalServiceuserId - the primary key of the user removing the entitygroupId - the primary key of the entry's groupclassName - the class name of the entityclassPK - the primary key of the entityclassUuid - the UUID of the entity's classreferrerClassName - the referrer class name used to add a deletion
SystemEventstatus - the status of the entity prior to being moved to trashstatusOVPs - the primary keys and statuses of any of the entry's
versions (e.g., com.liferay.portlet.documentlibrary.model.DLFileVersion)typeSettingsProperties - the type settings propertiesPortalExceptionpublic TrashEntry createTrashEntry(long entryId)
createTrashEntry in interface TrashEntryLocalServiceentryId - the primary key for the new trash entrypublic TrashEntry deleteEntry(TrashEntry trashEntry)
deleteEntry in interface TrashEntryLocalServicepublic TrashEntry deleteEntry(String className, long classPK)
deleteEntry in interface TrashEntryLocalServiceclassName - the class name of entityclassPK - the primary key of the entrypublic void deleteEntries(long groupId,
boolean deleteTrashedModels)
deleteEntries in interface TrashEntryLocalServicepublic TrashEntry deleteEntry(long entryId)
deleteEntry in interface TrashEntryLocalServiceentryId - the primary key of the trash entrypublic TrashEntry deleteTrashEntry(TrashEntry trashEntry)
deleteTrashEntry in interface TrashEntryLocalServicetrashEntry - the trash entrypublic TrashEntry deleteTrashEntry(long entryId) throws PortalException
deleteTrashEntry in interface TrashEntryLocalServiceentryId - the primary key of the trash entryPortalException - if a trash entry with the primary key could not be foundpublic TrashEntry fetchEntry(String className, long classPK)
fetchEntry in interface TrashEntryLocalServiceclassName - the class name of the entityclassPK - the primary key of the entitypublic TrashEntry fetchEntry(long entryId)
fetchEntry in interface TrashEntryLocalServiceentryId - the primary key of the entrypublic TrashEntry fetchTrashEntry(long entryId)
fetchTrashEntry in interface TrashEntryLocalServicepublic TrashEntry getEntry(String className, long classPK) throws PortalException
getEntry in interface TrashEntryLocalServiceclassName - the class name of the entityclassPK - the primary key of the entityPortalExceptionpublic TrashEntry getEntry(long entryId) throws PortalException
getEntry in interface TrashEntryLocalServiceentryId - the primary key of the trash entryPortalExceptionpublic TrashEntry getTrashEntry(long entryId) throws PortalException
getTrashEntry in interface TrashEntryLocalServiceentryId - the primary key of the trash entryPortalException - if a trash entry with the primary key could not be foundpublic TrashEntry updateTrashEntry(TrashEntry trashEntry)
updateTrashEntry in interface TrashEntryLocalServicetrashEntry - the trash entrypublic int getEntriesCount(long groupId)
getEntriesCount in interface TrashEntryLocalServicegroupId - the primary key of the grouppublic int getTrashEntriesCount()
getTrashEntriesCount in interface TrashEntryLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface TrashEntryLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface TrashEntryLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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 com.liferay.portlet.trash.model.impl.TrashEntryModelImpl. 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 TrashEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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 com.liferay.portlet.trash.model.impl.TrashEntryModelImpl. 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 TrashEntryLocalServicedynamicQuery - 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)public List<TrashEntry> getEntries(long groupId)
getEntries in interface TrashEntryLocalServicegroupId - the primary key of the grouppublic List<TrashEntry> getEntries(long groupId, int start, int end)
getEntries in interface TrashEntryLocalServicegroupId - the primary key of the groupstart - the lower bound of the range of trash entries to returnend - the upper bound of the range of trash entries to return (not
inclusive)public List<TrashEntry> getEntries(long groupId, int start, int end, OrderByComparator<TrashEntry> obc)
getEntries in interface TrashEntryLocalServicegroupId - the primary key of the groupstart - the lower bound of the range of trash entries to returnend - the upper bound of the range of trash entries to return (not
inclusive)obc - the comparator to order the trash entries (optionally
null)obcpublic List<TrashEntry> getEntries(long groupId, String className)
getEntries in interface TrashEntryLocalServicepublic List<TrashEntry> getTrashEntries(int start, int end)
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 com.liferay.portlet.trash.model.impl.TrashEntryModelImpl. 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.
getTrashEntries in interface TrashEntryLocalServicestart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface TrashEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface TrashEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic void checkEntries()
throws PortalException
checkEntries in interface TrashEntryLocalServicePortalExceptionpublic void deleteEntries(long groupId)
deleteEntries in interface TrashEntryLocalServicepublic TrashEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<TrashEntryLocalService>public void setWrappedService(TrashEntryLocalService trashEntryLocalService)
setWrappedService in interface ServiceWrapper<TrashEntryLocalService>