com.liferay.counter.service
Class CounterLocalServiceUtil

java.lang.Object
  extended by com.liferay.counter.service.CounterLocalServiceUtil

public class CounterLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the CounterLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
CounterLocalService
Generated:

Constructor Summary
CounterLocalServiceUtil()
           
 
Method Summary
static Counter addCounter(Counter counter)
           
static Counter createCounter(java.lang.String name)
           
static void deleteCounter(Counter counter)
           
static void deleteCounter(java.lang.String name)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static Counter getCounter(java.lang.String name)
           
static java.util.List<Counter> getCounters(int start, int end)
           
static int getCountersCount()
           
static java.util.List<java.lang.String> getNames()
           
static CounterLocalService getService()
           
static long increment()
           
static long increment(java.lang.String name)
           
static long increment(java.lang.String name, int size)
           
static void rename(java.lang.String oldName, java.lang.String newName)
           
static void reset(java.lang.String name)
           
static void reset(java.lang.String name, long size)
           
 void setService(CounterLocalService service)
           
static Counter updateCounter(Counter counter)
           
static Counter updateCounter(Counter counter, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterLocalServiceUtil

public CounterLocalServiceUtil()
Method Detail

addCounter

public static Counter addCounter(Counter counter)
                          throws SystemException
Throws:
SystemException

createCounter

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

deleteCounter

public static void deleteCounter(java.lang.String name)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

deleteCounter

public static void deleteCounter(Counter counter)
                          throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getCounter

public static Counter getCounter(java.lang.String name)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getCounters

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

getCountersCount

public static int getCountersCount()
                            throws SystemException
Throws:
SystemException

updateCounter

public static Counter updateCounter(Counter counter)
                             throws SystemException
Throws:
SystemException

updateCounter

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

getNames

public static java.util.List<java.lang.String> getNames()
                                                 throws SystemException
Throws:
SystemException

increment

public static long increment()
                      throws SystemException
Throws:
SystemException

increment

public static long increment(java.lang.String name)
                      throws SystemException
Throws:
SystemException

increment

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

rename

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

reset

public static void reset(java.lang.String name)
                  throws SystemException
Throws:
SystemException

reset

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

getService

public static CounterLocalService getService()

setService

public void setService(CounterLocalService service)