public class CounterLocalServiceWrapper extends Object implements CounterLocalService, ServiceWrapper<CounterLocalService>
CounterLocalService
.CounterLocalService
Constructor and Description |
---|
CounterLocalServiceWrapper(CounterLocalService counterLocalService) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getNames()
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CounterLocalService |
getWrappedService() |
long |
increment() |
long |
increment(String name) |
long |
increment(String name,
int size) |
void |
rename(String oldName,
String newName) |
void |
reset(String name) |
void |
reset(String name,
long size) |
void |
setWrappedService(CounterLocalService counterLocalService) |
public CounterLocalServiceWrapper(CounterLocalService counterLocalService)
public 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.getNames
in interface CounterLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CounterLocalService
public long increment()
increment
in interface CounterLocalService
public long increment(String name)
increment
in interface CounterLocalService
public long increment(String name, int size)
increment
in interface CounterLocalService
public void rename(String oldName, String newName)
rename
in interface CounterLocalService
public void reset(String name)
reset
in interface CounterLocalService
public void reset(String name, long size)
reset
in interface CounterLocalService
public CounterLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<CounterLocalService>
public void setWrappedService(CounterLocalService counterLocalService)
setWrappedService
in interface ServiceWrapper<CounterLocalService>