com.liferay.counter.service
Interface CounterLocalService
- All Known Implementing Classes:
- CounterLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CounterLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.counter.service.impl.CounterLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
CounterLocalServiceUtil
- Generated:
Method Summary |
Counter |
addCounter(Counter counter)
|
Counter |
createCounter(java.lang.String name)
|
void |
deleteCounter(Counter counter)
|
void |
deleteCounter(java.lang.String name)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
Counter |
getCounter(java.lang.String name)
|
java.util.List<Counter> |
getCounters(int start,
int end)
|
int |
getCountersCount()
|
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)
|
Counter |
updateCounter(Counter counter)
|
Counter |
updateCounter(Counter counter,
boolean merge)
|
addCounter
Counter addCounter(Counter counter)
throws SystemException
- Throws:
SystemException
createCounter
Counter createCounter(java.lang.String name)
deleteCounter
void deleteCounter(java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCounter
void deleteCounter(Counter counter)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getCounter
@Transactional(propagation=SUPPORTS,
readOnly=true)
Counter getCounter(java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCounters
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Counter> getCounters(int start,
int end)
throws SystemException
- Throws:
SystemException
getCountersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCountersCount()
throws SystemException
- Throws:
SystemException
updateCounter
Counter updateCounter(Counter counter)
throws SystemException
- Throws:
SystemException
updateCounter
Counter updateCounter(Counter counter,
boolean merge)
throws SystemException
- Throws:
SystemException
getNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.String> getNames()
throws SystemException
- Throws:
SystemException
increment
long increment()
throws SystemException
- Throws:
SystemException
increment
long increment(java.lang.String name)
throws SystemException
- Throws:
SystemException
increment
long increment(java.lang.String name,
int size)
throws SystemException
- Throws:
SystemException
rename
void rename(java.lang.String oldName,
java.lang.String newName)
throws SystemException
- Throws:
SystemException
reset
void reset(java.lang.String name)
throws SystemException
- Throws:
SystemException
reset
void reset(java.lang.String name,
long size)
throws SystemException
- Throws:
SystemException