com.liferay.counter.service
Class CounterServiceUtil

java.lang.Object
  extended by com.liferay.counter.service.CounterServiceUtil

public class CounterServiceUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
CounterServiceUtil()
           
 
Method Summary
static java.util.List<java.lang.String> getNames()
           
static long increment()
           
static long increment(java.lang.String name)
           
static long increment(java.lang.String name, int size)
           
static void rename(java.lang.String oldName, java.lang.String newName)
           
static void reset(java.lang.String name)
           
static void reset(java.lang.String name, long size)
           
 void setService(CounterService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterServiceUtil

public CounterServiceUtil()
Method Detail

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

setService

public void setService(CounterService service)