com.liferay.counter.service
Interface CounterLocalService


public interface CounterLocalService

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 com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

increment

public long increment()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

increment

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

increment

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

rename

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

reset

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

reset

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