com.liferay.counter.service
Interface CounterLocalService
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CounterLocalService
Method Summary |
java.util.List<java.lang.String> |
getNames()
|
long |
increment()
|
long |
increment(java.lang.String name)
|
long |
increment(java.lang.String name,
int size)
|
void |
rename(java.lang.String oldName,
java.lang.String newName)
|
void |
reset(java.lang.String name)
|
void |
reset(java.lang.String name,
long size)
|
getNames
java.util.List<java.lang.String> getNames()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
@Transactional(propagation=REQUIRES_NEW)
long increment()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
@Transactional(propagation=REQUIRES_NEW)
long increment(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
increment
@Transactional(propagation=REQUIRES_NEW)
long increment(java.lang.String name,
int size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
rename
void rename(java.lang.String oldName,
java.lang.String newName)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
reset
void reset(java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
reset
void reset(java.lang.String name,
long size)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException