com.liferay.counter.service.persistence
Class CounterUtil
java.lang.Object
com.liferay.counter.service.persistence.CounterUtil
public class CounterUtil
- extends Object
- See Also:
CounterPersistence,
CounterPersistenceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static void |
cacheResult(Counter counter)
|
static void |
cacheResult(List<Counter> counters)
|
static void |
clearCache()
|
static void |
clearCache(Counter counter)
|
static int |
countAll()
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Counter |
create(String name)
|
static Counter |
fetchByPrimaryKey(String name)
|
static List<Counter> |
findAll()
|
static List<Counter> |
findAll(int start,
int end)
|
static List<Counter> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static Counter |
findByPrimaryKey(String name)
|
static List<Counter> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<Counter> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<Counter> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static CounterPersistence |
getPersistence()
|
static Counter |
remove(Counter counter)
|
static Counter |
remove(String name)
|
static void |
removeAll()
|
void |
setPersistence(CounterPersistence persistence)
|
static Counter |
update(Counter counter,
boolean merge)
|
static Counter |
update(Counter counter,
boolean merge,
ServiceContext serviceContext)
|
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 |
CounterUtil
public CounterUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Counter counter)
- See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
findWithDynamicQuery
public static List<Counter> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
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)
update
public static Counter update(Counter counter,
boolean merge,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
cacheResult
public static void cacheResult(Counter counter)
cacheResult
public static void cacheResult(List<Counter> counters)
create
public static Counter create(String name)
remove
public static Counter remove(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(String name)
throws NoSuchCounterException,
SystemException
- Throws:
NoSuchCounterException
SystemException
fetchByPrimaryKey
public static Counter fetchByPrimaryKey(String name)
throws SystemException
- Throws:
SystemException
findAll
public static List<Counter> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static List<Counter> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static 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)