com.liferay.counter.service.persistence
Class CounterUtil
java.lang.Object
com.liferay.counter.service.persistence.CounterUtil
public class CounterUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CounterUtil
public CounterUtil()
getNames
public static java.util.List<java.lang.String> getNames()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public static long increment()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public static long increment(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
increment
public static long increment(java.lang.String name,
int size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
rename
public static void rename(java.lang.String oldName,
java.lang.String newName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reset
public static void reset(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reset
public static void reset(java.lang.String name,
long size)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static CounterPersistence getPersistence()
setPersistence
public void setPersistence(CounterPersistence persistence)