com.liferay.counter.service.persistence
Interface CounterPersistence

All Superinterfaces:
com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Dummy>
All Known Implementing Classes:
CounterPersistenceImpl

public interface CounterPersistence
extends com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Dummy>

View Source

Author:
Brian Wing Shun Chan, Harry Mark, Michael Young, Shuyang Zhou

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)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

getNames

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

increment

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

increment

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

increment

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

rename

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

reset

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

reset

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