Liferay 6.2-ce-ga5

com.liferay.counter.service.impl
Class CounterLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.counter.service.base.CounterLocalServiceBaseImpl
          extended by com.liferay.counter.service.impl.CounterLocalServiceImpl
All Implemented Interfaces:
CounterLocalService, IdentifiableBean, BaseLocalService, PersistedModelLocalService

public class CounterLocalServiceImpl
extends CounterLocalServiceBaseImpl
implements CounterLocalService


Field Summary
 
Fields inherited from class com.liferay.counter.service.base.CounterLocalServiceBaseImpl
counterFinder, counterLocalService, counterPersistence, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
CounterLocalServiceImpl()
           
 
Method Summary
 List<String> getNames()
           
 long increment()
           
 long increment(String name)
           
 long increment(String name, int size)
           
 void rename(String oldName, String newName)
           
 void reset(String name)
           
 void reset(String name, long size)
           
 
Methods inherited from class com.liferay.counter.service.base.CounterLocalServiceBaseImpl
addCounter, afterPropertiesSet, createCounter, deleteCounter, deleteCounter, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchCounter, getBeanIdentifier, getCounter, getCounterFinder, getCounterLocalService, getCounterPersistence, getCounters, getCountersCount, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterFinder, setCounterLocalService, setCounterPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateCounter
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchCounter, getBeanIdentifier, getCounter, getCounters, getCountersCount, getPersistedModel, setBeanIdentifier, updateCounter
 

Constructor Detail

CounterLocalServiceImpl

public CounterLocalServiceImpl()
Method Detail

getNames

public List<String> getNames()
                      throws SystemException
Specified by:
getNames in interface CounterLocalService
Throws:
SystemException

increment

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public long increment()
               throws SystemException
Specified by:
increment in interface CounterLocalService
Throws:
SystemException

increment

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public long increment(String name)
               throws SystemException
Specified by:
increment in interface CounterLocalService
Throws:
SystemException

increment

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public long increment(String name,
                                                                           int size)
               throws SystemException
Specified by:
increment in interface CounterLocalService
Throws:
SystemException

rename

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public void rename(String oldName,
                                                                        String newName)
            throws SystemException
Specified by:
rename in interface CounterLocalService
Throws:
SystemException

reset

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public void reset(String name)
           throws SystemException
Specified by:
reset in interface CounterLocalService
Throws:
SystemException

reset

@Transactional(isolation=COUNTER,
               propagation=REQUIRES_NEW)
public void reset(String name,
                                                                       long size)
           throws SystemException
Specified by:
reset in interface CounterLocalService
Throws:
SystemException

Liferay 6.2-ce-ga5