com.liferay.counter.service.persistence
Class CounterUtil

java.lang.Object
  extended by com.liferay.counter.service.persistence.CounterUtil

public class CounterUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
CounterPersistence, CounterPersistenceImpl
Generated:

Constructor Summary
CounterUtil()
           
 
Method Summary
static void cacheResult(Counter counter)
           
static void cacheResult(java.util.List<Counter> counters)
           
static void clearCache()
           
static void clearCache(Counter counter)
           
static int countAll()
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static Counter create(java.lang.String name)
           
static Counter fetchByPrimaryKey(java.lang.String name)
           
static java.util.List<Counter> findAll()
           
static java.util.List<Counter> findAll(int start, int end)
           
static java.util.List<Counter> findAll(int start, int end, OrderByComparator orderByComparator)
           
static Counter findByPrimaryKey(java.lang.String name)
           
static java.util.List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static CounterPersistence getPersistence()
           
static Counter remove(Counter counter)
           
static Counter remove(java.lang.String name)
           
static void removeAll()
           
 void setPersistence(CounterPersistence persistence)
           
static Counter update(Counter counter, boolean merge)
           
static Counter updateImpl(Counter counter, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterUtil

public CounterUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(Counter counter)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Counter)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                           int start,
                                                           int end)
                                                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static Counter remove(Counter counter)
                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Counter update(Counter counter,
                             boolean merge)
                      throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(Counter counter)

cacheResult

public static void cacheResult(java.util.List<Counter> counters)

create

public static Counter create(java.lang.String name)

remove

public static Counter remove(java.lang.String name)
                      throws NoSuchCounterException,
                             SystemException
Throws:
NoSuchCounterException
SystemException

updateImpl

public static Counter updateImpl(Counter counter,
                                 boolean merge)
                          throws SystemException
Throws:
SystemException

findByPrimaryKey

public static Counter findByPrimaryKey(java.lang.String name)
                                throws NoSuchCounterException,
                                       SystemException
Throws:
NoSuchCounterException
SystemException

fetchByPrimaryKey

public static Counter fetchByPrimaryKey(java.lang.String name)
                                 throws SystemException
Throws:
SystemException

findAll

public static java.util.List<Counter> findAll()
                                       throws SystemException
Throws:
SystemException

findAll

public static java.util.List<Counter> findAll(int start,
                                              int end)
                                       throws SystemException
Throws:
SystemException

findAll

public static java.util.List<Counter> findAll(int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static CounterPersistence getPersistence()

setPersistence

public void setPersistence(CounterPersistence persistence)