public class ViewCountManagerUtil
extends java.lang.Object
Constructor and Description |
---|
ViewCountManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteViewCount(long companyId,
long classNameId,
long classPK) |
static long |
getViewCount(long companyId,
long classNameId,
long classPK) |
static com.liferay.petra.sql.dsl.Table<?> |
getViewCountEntryTable() |
static void |
incrementViewCount(long companyId,
long classNameId,
long classPK,
int increment) |
static boolean |
isViewCountEnabled() |
static boolean |
isViewCountEnabled(long classNameId) |
public static void deleteViewCount(long companyId, long classNameId, long classPK) throws PortalException
PortalException
public static long getViewCount(long companyId, long classNameId, long classPK)
public static com.liferay.petra.sql.dsl.Table<?> getViewCountEntryTable()
public static void incrementViewCount(long companyId, long classNameId, long classPK, int increment)
public static boolean isViewCountEnabled()
public static boolean isViewCountEnabled(long classNameId)