public class ViewCountEntryLocalServiceWrapper extends java.lang.Object implements ServiceWrapper<ViewCountEntryLocalService>, ViewCountEntryLocalService
ViewCountEntryLocalService.ViewCountEntryLocalService| Constructor and Description |
|---|
ViewCountEntryLocalServiceWrapper(ViewCountEntryLocalService viewCountEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
ViewCountEntry |
addViewCountEntry(ViewCountEntry viewCountEntry)
Adds the view count entry to the database.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
ViewCountEntry |
createViewCountEntry(ViewCountEntryPK viewCountEntryPK)
Creates a new view count entry with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteViewCount(long companyId,
long classNameId,
long classPK) |
ViewCountEntry |
deleteViewCountEntry(ViewCountEntry viewCountEntry)
Deletes the view count entry from the database.
|
ViewCountEntry |
deleteViewCountEntry(ViewCountEntryPK viewCountEntryPK)
Deletes the view count entry with the primary key from the database.
|
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
ViewCountEntry |
fetchViewCountEntry(ViewCountEntryPK viewCountEntryPK) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
long |
getViewCount(long companyId,
long classNameId,
long classPK) |
java.util.List<ViewCountEntry> |
getViewCountEntries(int start,
int end)
Returns a range of all the view count entries.
|
int |
getViewCountEntriesCount()
Returns the number of view count entries.
|
ViewCountEntry |
getViewCountEntry(ViewCountEntryPK viewCountEntryPK)
Returns the view count entry with the primary key.
|
ViewCountEntryLocalService |
getWrappedService() |
void |
incrementViewCount(long companyId,
long classNameId,
long classPK,
int increment) |
void |
setWrappedService(ViewCountEntryLocalService viewCountEntryLocalService) |
ViewCountEntry |
updateViewCountEntry(ViewCountEntry viewCountEntry)
Updates the view count entry in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic ViewCountEntryLocalServiceWrapper(ViewCountEntryLocalService viewCountEntryLocalService)
public ViewCountEntry addViewCountEntry(ViewCountEntry viewCountEntry)
Important: Inspect ViewCountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntry - the view count entrypublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface ViewCountEntryLocalServicePortalExceptionpublic ViewCountEntry createViewCountEntry(ViewCountEntryPK viewCountEntryPK)
createViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntryPK - the primary key for the new view count entrypublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface ViewCountEntryLocalServicePortalExceptionpublic void deleteViewCount(long companyId,
long classNameId,
long classPK)
deleteViewCount in interface ViewCountEntryLocalServicepublic ViewCountEntry deleteViewCountEntry(ViewCountEntry viewCountEntry)
Important: Inspect ViewCountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntry - the view count entrypublic ViewCountEntry deleteViewCountEntry(ViewCountEntryPK viewCountEntryPK) throws PortalException
Important: Inspect ViewCountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntryPK - the primary key of the view count entryPortalException - if a view count entry with the primary key could not be foundpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface ViewCountEntryLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface ViewCountEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ViewCountEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.view.count.model.impl.ViewCountEntryModelImpl.
dynamicQuery in interface ViewCountEntryLocalServicedynamicQuery - 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> java.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.view.count.model.impl.ViewCountEntryModelImpl.
dynamicQuery in interface ViewCountEntryLocalServicedynamicQuery - 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 long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface ViewCountEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface ViewCountEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic ViewCountEntry fetchViewCountEntry(ViewCountEntryPK viewCountEntryPK)
fetchViewCountEntry in interface ViewCountEntryLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ViewCountEntryLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ViewCountEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ViewCountEntryLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ViewCountEntryLocalServicePortalExceptionpublic long getViewCount(long companyId,
long classNameId,
long classPK)
getViewCount in interface ViewCountEntryLocalServicepublic java.util.List<ViewCountEntry> getViewCountEntries(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.view.count.model.impl.ViewCountEntryModelImpl.
getViewCountEntries in interface ViewCountEntryLocalServicestart - the lower bound of the range of view count entriesend - the upper bound of the range of view count entries (not inclusive)public int getViewCountEntriesCount()
getViewCountEntriesCount in interface ViewCountEntryLocalServicepublic ViewCountEntry getViewCountEntry(ViewCountEntryPK viewCountEntryPK) throws PortalException
getViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntryPK - the primary key of the view count entryPortalException - if a view count entry with the primary key could not be foundpublic void incrementViewCount(long companyId,
long classNameId,
long classPK,
int increment)
incrementViewCount in interface ViewCountEntryLocalServicepublic ViewCountEntry updateViewCountEntry(ViewCountEntry viewCountEntry)
Important: Inspect ViewCountEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateViewCountEntry in interface ViewCountEntryLocalServiceviewCountEntry - the view count entrypublic ViewCountEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<ViewCountEntryLocalService>public void setWrappedService(ViewCountEntryLocalService viewCountEntryLocalService)
setWrappedService in interface ServiceWrapper<ViewCountEntryLocalService>