com.liferay.counter.service.impl
Class CounterLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.counter.service.base.CounterLocalServiceBaseImpl
com.liferay.counter.service.impl.CounterLocalServiceImpl
- All Implemented Interfaces:
- CounterLocalService, IdentifiableBean, BaseLocalService, PersistedModelLocalService
public class CounterLocalServiceImpl
- extends CounterLocalServiceBaseImpl
- implements CounterLocalService
Fields inherited from class com.liferay.counter.service.base.CounterLocalServiceBaseImpl |
counterFinder, counterLocalService, counterPersistence, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Methods inherited from class com.liferay.counter.service.base.CounterLocalServiceBaseImpl |
addCounter, afterPropertiesSet, createCounter, deleteCounter, deleteCounter, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchCounter, getBeanIdentifier, getCounter, getCounterFinder, getCounterLocalService, getCounterPersistence, getCounters, getCountersCount, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterFinder, setCounterLocalService, setCounterPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateCounter, updateCounter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.counter.service.CounterLocalService |
addCounter, createCounter, deleteCounter, deleteCounter, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchCounter, getBeanIdentifier, getCounter, getCounters, getCountersCount, getPersistedModel, setBeanIdentifier, updateCounter, updateCounter |
CounterLocalServiceImpl
public CounterLocalServiceImpl()
getNames
public List<String> getNames()
throws SystemException
- Specified by:
getNames
in interface CounterLocalService
- Throws:
SystemException
increment
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public long increment()
throws SystemException
- Specified by:
increment
in interface CounterLocalService
- Throws:
SystemException
increment
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public long increment(String name)
throws SystemException
- Specified by:
increment
in interface CounterLocalService
- Throws:
SystemException
increment
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public long increment(String name,
int size)
throws SystemException
- Specified by:
increment
in interface CounterLocalService
- Throws:
SystemException
rename
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public void rename(String oldName,
String newName)
throws SystemException
- Specified by:
rename
in interface CounterLocalService
- Throws:
SystemException
reset
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public void reset(String name)
throws SystemException
- Specified by:
reset
in interface CounterLocalService
- Throws:
SystemException
reset
@Transactional(isolation=COUNTER,
propagation=REQUIRES_NEW)
public void reset(String name,
long size)
throws SystemException
- Specified by:
reset
in interface CounterLocalService
- Throws:
SystemException