Class CounterLocalServiceUtil

Object
com.liferay.counter.kernel.service.CounterLocalServiceUtil

public class CounterLocalServiceUtil extends Object
Provides the local service utility for Counter. This utility wraps com.liferay.counter.service.impl.CounterLocalServiceImpl and is an access point for service operations in application layer code running on the local server. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • CounterLocalServiceUtil

      public CounterLocalServiceUtil()
  • Method Details

    • getCurrentId

      public static long getCurrentId(String name)
    • getNames

      public static List<String> getNames()
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • increment

      public static long increment()
    • increment

      public static long increment(String name)
    • increment

      public static long increment(String name, int size)
    • rename

      public static void rename(String oldName, String newName)
    • reset

      public static void reset(String name)
    • reset

      public static void reset(String name, long size)
    • getService

      public static CounterLocalService getService()
    • setService

      public static void setService(CounterLocalService service)