com.liferay.counter.service
Interface CounterService


public interface CounterService

View Source

Author:
Brian Wing Shun Chan

Method Summary
 java.util.List 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)
           
 

Method Detail

getNames

public java.util.List getNames()
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

increment

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

increment

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

increment

public 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 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 void reset(java.lang.String name)
           throws java.rmi.RemoteException,
                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

reset

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