Interface ViewCountManager
@ProviderType
public interface ViewCountManager
- Author:
- Preston Crary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteViewCount
(long companyId, long classNameId, long classPK) long
getViewCount
(long companyId, long classNameId, long classPK) com.liferay.petra.sql.dsl.Table<?>
void
incrementViewCount
(long companyId, long classNameId, long classPK, int increment) boolean
boolean
isViewCountEnabled
(long classNameId)
-
Method Details
-
deleteViewCount
- Throws:
PortalException
-
getViewCount
long getViewCount(long companyId, long classNameId, long classPK) -
getViewCountEntryTable
com.liferay.petra.sql.dsl.Table<?> getViewCountEntryTable() -
incrementViewCount
void incrementViewCount(long companyId, long classNameId, long classPK, int increment) -
isViewCountEnabled
boolean isViewCountEnabled() -
isViewCountEnabled
boolean isViewCountEnabled(long classNameId)
-