com.liferay.counter.service
Class CounterServiceUtil

java.lang.Object
  extended bycom.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 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)
           
 
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 getNames()
                               throws java.rmi.RemoteException,
                                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

increment

public static long increment()
                      throws java.rmi.RemoteException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

increment

public static long increment(java.lang.String name)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

increment

public static long increment(java.lang.String name,
                             int size)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

rename

public static void rename(java.lang.String oldName,
                          java.lang.String newName)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

reset

public static void reset(java.lang.String name)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

reset

public static void reset(java.lang.String name,
                         long size)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException