@ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface CounterLocalService extends BaseLocalService
CounterLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
List<String> |
getNames() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
@Transactional(propagation=SUPPORTS, readOnly=true) List<String> getNames()
String getOSGiServiceIdentifier()
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) long increment()
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) long increment(String name)
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) long increment(String name, int size)
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) void rename(String oldName, String newName)
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) void reset(String name)
@Transactional(isolation=COUNTER, propagation=REQUIRES_NEW) void reset(String name, long size)