Class ViewCountManagerUtil

Object
com.liferay.portal.kernel.view.count.ViewCountManagerUtil

public class ViewCountManagerUtil extends Object
Author:
Preston Crary
  • 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)