Class ViewCountManagerUtil
Object
com.liferay.portal.kernel.view.count.ViewCountManagerUtil
- Author:
- Preston Crary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteViewCount
(long companyId, long classNameId, long classPK) static long
getViewCount
(long companyId, long classNameId, long classPK) static com.liferay.petra.sql.dsl.Table<?>
static void
incrementViewCount
(long companyId, long classNameId, long classPK, int increment) static boolean
static boolean
isViewCountEnabled
(long classNameId)
-
Constructor Details
-
ViewCountManagerUtil
public ViewCountManagerUtil()
-
-
Method Details
-
deleteViewCount
public static void deleteViewCount(long companyId, long classNameId, long classPK) throws PortalException - Throws:
PortalException
-
getViewCount
public static long getViewCount(long companyId, long classNameId, long classPK) -
getViewCountEntryTable
public static com.liferay.petra.sql.dsl.Table<?> getViewCountEntryTable() -
incrementViewCount
public static void incrementViewCount(long companyId, long classNameId, long classPK, int increment) -
isViewCountEnabled
public static boolean isViewCountEnabled() -
isViewCountEnabled
public static boolean isViewCountEnabled(long classNameId)
-