com.liferay.counter.service.impl
Class CounterLocalServiceImpl

java.lang.Object
  extended by com.liferay.counter.service.base.CounterLocalServiceBaseImpl
      extended by com.liferay.counter.service.impl.CounterLocalServiceImpl
All Implemented Interfaces:
com.liferay.counter.service.CounterLocalService

public class CounterLocalServiceImpl
extends CounterLocalServiceBaseImpl
implements com.liferay.counter.service.CounterLocalService

View Source

Author:
Brian Wing Shun Chan, Edward Han

Field Summary
 
Fields inherited from class com.liferay.counter.service.base.CounterLocalServiceBaseImpl
counterFinder, counterLocalService, counterPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
CounterLocalServiceImpl()
           
 
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 class com.liferay.counter.service.base.CounterLocalServiceBaseImpl
addCounter, createCounter, deleteCounter, deleteCounter, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounter, getCounterFinder, getCounterLocalService, getCounterPersistence, getCounters, getCountersCount, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterFinder, setCounterLocalService, setCounterPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateCounter, updateCounter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.counter.service.CounterLocalService
addCounter, createCounter, deleteCounter, deleteCounter, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounter, getCounters, getCountersCount, updateCounter, updateCounter
 

Constructor Detail

CounterLocalServiceImpl

public CounterLocalServiceImpl()
Method Detail

getNames

public java.util.List<java.lang.String> getNames()
                                          throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getNames in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

increment

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public long increment()
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
increment in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

increment

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public long increment(java.lang.String name)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
increment in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

increment

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public long increment(java.lang.String name,
                                    int size)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
increment in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

rename

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public void rename(java.lang.String oldName,
                                 java.lang.String newName)
            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
rename in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

reset

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public void reset(java.lang.String name)
           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
reset in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

reset

@Transactional(isolation=SERIALIZABLE,
               propagation=REQUIRES_NEW)
public void reset(java.lang.String name,
                                long size)
           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
reset in interface com.liferay.counter.service.CounterLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException