public class CounterLocalServiceImpl extends CounterLocalServiceBaseImpl implements com.liferay.counter.kernel.service.CounterLocalService
counterFinder, counterLocalService
Constructor and Description |
---|
CounterLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getNames() |
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) |
afterPropertiesSet, destroy, getCounterFinder, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, setCounterFinder, setCounterLocalService
getClassLoader, getLocalizationMap
public List<String> getNames()
getNames
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public long increment()
increment
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public long increment(String name)
increment
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public long increment(String name, int size)
increment
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public void rename(String oldName, String newName)
rename
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public void reset(String name)
reset
in interface com.liferay.counter.kernel.service.CounterLocalService
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) public void reset(String name, long size)
reset
in interface com.liferay.counter.kernel.service.CounterLocalService