001
014
015 package com.liferay.counter.service.persistence;
016
017
020 public interface CounterFinder {
021 public java.util.List<java.lang.String> getNames()
022 throws com.liferay.portal.kernel.exception.SystemException;
023
024 public long increment()
025 throws com.liferay.portal.kernel.exception.SystemException;
026
027 public long increment(java.lang.String name)
028 throws com.liferay.portal.kernel.exception.SystemException;
029
030 public long increment(java.lang.String name, int size)
031 throws com.liferay.portal.kernel.exception.SystemException;
032
033 public void rename(java.lang.String oldName, java.lang.String newName)
034 throws com.liferay.portal.kernel.exception.SystemException;
035
036 public void reset(java.lang.String name)
037 throws com.liferay.portal.kernel.exception.SystemException;
038
039 public void reset(java.lang.String name, long size)
040 throws com.liferay.portal.kernel.exception.SystemException;
041 }