com.liferay.counter.service
Interface CounterService


public interface CounterService

View Source

Author:
Brian Wing Shun Chan

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

java.util.List<java.lang.String> getNames()
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

increment

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

increment

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

increment

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

rename

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

reset

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

reset

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