public class CounterLocalServiceUtil
extends Object
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.CounterLocalService
Constructor and Description |
---|
CounterLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getNames()
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CounterLocalService |
getService() |
static long |
increment() |
static long |
increment(String name) |
static long |
increment(String name,
int size) |
static void |
rename(String oldName,
String newName) |
static void |
reset(String name) |
static void |
reset(String name,
long size) |
public static List<String> getNames()
CounterLocalServiceUtil
to access the counter local service. Add custom service methods to com.liferay.counter.service.impl.CounterLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.public static String getOSGiServiceIdentifier()
public static long increment()
public static long increment(String name)
public static long increment(String name, int size)
public static void rename(String oldName, String newName)
public static void reset(String name)
public static void reset(String name, long size)
public static CounterLocalService getService()