Package | Description |
---|---|
com.liferay.counter.kernel.model |
This package defines the portal counter model interfaces, classes, and wrappers.
|
com.liferay.counter.kernel.service |
This package defines the portal counter service local interfaces, utilities, and wrappers.
|
com.liferay.counter.kernel.service.persistence |
This package defines the portal counter service persistence interfaces and utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CounterWrapper
This class is a wrapper for
Counter . |
Modifier and Type | Field and Description |
---|---|
static Accessor<Counter,String> |
Counter.NAME_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
Counter |
CounterWrapper.getWrappedModel() |
Counter |
CounterModel.toEscapedModel() |
Counter |
CounterWrapper.toEscapedModel() |
Counter |
CounterModel.toUnescapedModel() |
Counter |
CounterWrapper.toUnescapedModel() |
Modifier and Type | Method and Description |
---|---|
CacheModel<Counter> |
CounterModel.toCacheModel() |
CacheModel<Counter> |
CounterWrapper.toCacheModel() |
Modifier and Type | Method and Description |
---|---|
int |
CounterModel.compareTo(Counter counter) |
int |
CounterWrapper.compareTo(Counter counter) |
static CounterSoap |
CounterSoap.toSoapModel(Counter model) |
static CounterSoap[] |
CounterSoap.toSoapModels(Counter[] models) |
static CounterSoap[][] |
CounterSoap.toSoapModels(Counter[][] models) |
Modifier and Type | Method and Description |
---|---|
static CounterSoap[] |
CounterSoap.toSoapModels(List<Counter> models) |
Constructor and Description |
---|
CounterWrapper(Counter counter) |
Modifier and Type | Method and Description |
---|---|
Counter |
CounterLocalService.addCounter(Counter counter)
Adds the counter to the database.
|
static Counter |
CounterLocalServiceUtil.addCounter(Counter counter)
Adds the counter to the database.
|
Counter |
CounterLocalServiceWrapper.addCounter(Counter counter)
Adds the counter to the database.
|
Counter |
CounterLocalService.createCounter(String name)
Creates a new counter with the primary key.
|
static Counter |
CounterLocalServiceUtil.createCounter(String name)
Creates a new counter with the primary key.
|
Counter |
CounterLocalServiceWrapper.createCounter(String name)
Creates a new counter with the primary key.
|
Counter |
CounterLocalService.deleteCounter(Counter counter)
Deletes the counter from the database.
|
static Counter |
CounterLocalServiceUtil.deleteCounter(Counter counter)
Deletes the counter from the database.
|
Counter |
CounterLocalServiceWrapper.deleteCounter(Counter counter)
Deletes the counter from the database.
|
Counter |
CounterLocalService.deleteCounter(String name)
Deletes the counter with the primary key from the database.
|
static Counter |
CounterLocalServiceUtil.deleteCounter(String name)
Deletes the counter with the primary key from the database.
|
Counter |
CounterLocalServiceWrapper.deleteCounter(String name)
Deletes the counter with the primary key from the database.
|
Counter |
CounterLocalService.fetchCounter(String name) |
static Counter |
CounterLocalServiceUtil.fetchCounter(String name) |
Counter |
CounterLocalServiceWrapper.fetchCounter(String name) |
Counter |
CounterLocalService.getCounter(String name)
Returns the counter with the primary key.
|
static Counter |
CounterLocalServiceUtil.getCounter(String name)
Returns the counter with the primary key.
|
Counter |
CounterLocalServiceWrapper.getCounter(String name)
Returns the counter with the primary key.
|
Counter |
CounterLocalService.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
static Counter |
CounterLocalServiceUtil.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
Counter |
CounterLocalServiceWrapper.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
Modifier and Type | Method and Description |
---|---|
List<Counter> |
CounterLocalService.getCounters(int start,
int end)
Returns a range of all the counters.
|
static List<Counter> |
CounterLocalServiceUtil.getCounters(int start,
int end)
Returns a range of all the counters.
|
List<Counter> |
CounterLocalServiceWrapper.getCounters(int start,
int end)
Returns a range of all the counters.
|
Modifier and Type | Method and Description |
---|---|
Counter |
CounterLocalService.addCounter(Counter counter)
Adds the counter to the database.
|
static Counter |
CounterLocalServiceUtil.addCounter(Counter counter)
Adds the counter to the database.
|
Counter |
CounterLocalServiceWrapper.addCounter(Counter counter)
Adds the counter to the database.
|
Counter |
CounterLocalService.deleteCounter(Counter counter)
Deletes the counter from the database.
|
static Counter |
CounterLocalServiceUtil.deleteCounter(Counter counter)
Deletes the counter from the database.
|
Counter |
CounterLocalServiceWrapper.deleteCounter(Counter counter)
Deletes the counter from the database.
|
Counter |
CounterLocalService.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
static Counter |
CounterLocalServiceUtil.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
Counter |
CounterLocalServiceWrapper.updateCounter(Counter counter)
Updates the counter in the database or adds it if it does not yet exist.
|
Modifier and Type | Method and Description |
---|---|
static Counter |
CounterUtil.create(String name)
Creates a new counter with the primary key.
|
Counter |
CounterPersistence.create(String name)
Creates a new counter with the primary key.
|
static Counter |
CounterUtil.fetchByPrimaryKey(String name)
Returns the counter with the primary key or returns
null if it could not be found. |
Counter |
CounterPersistence.fetchByPrimaryKey(String name)
Returns the counter with the primary key or returns
null if it could not be found. |
static Counter |
CounterUtil.findByPrimaryKey(String name)
Returns the counter with the primary key or throws a
NoSuchCounterException if it could not be found. |
Counter |
CounterPersistence.findByPrimaryKey(String name)
Returns the counter with the primary key or throws a
NoSuchCounterException if it could not be found. |
static Counter |
CounterUtil.remove(String name)
Removes the counter with the primary key from the database.
|
Counter |
CounterPersistence.remove(String name)
Removes the counter with the primary key from the database.
|
static Counter |
CounterUtil.update(Counter counter) |
static Counter |
CounterUtil.update(Counter counter,
ServiceContext serviceContext) |
static Counter |
CounterUtil.updateImpl(Counter counter) |
Counter |
CounterPersistence.updateImpl(Counter counter) |
Modifier and Type | Method and Description |
---|---|
static Map<Serializable,Counter> |
CounterUtil.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
Map<Serializable,Counter> |
CounterPersistence.fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static List<Counter> |
CounterUtil.findAll()
Returns all the counters.
|
List<Counter> |
CounterPersistence.findAll()
Returns all the counters.
|
static List<Counter> |
CounterUtil.findAll(int start,
int end)
Returns a range of all the counters.
|
List<Counter> |
CounterPersistence.findAll(int start,
int end)
Returns a range of all the counters.
|
static List<Counter> |
CounterUtil.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator)
Returns an ordered range of all the counters.
|
List<Counter> |
CounterPersistence.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator)
Returns an ordered range of all the counters.
|
static List<Counter> |
CounterUtil.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the counters.
|
List<Counter> |
CounterPersistence.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the counters.
|
static List<Counter> |
CounterUtil.findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<Counter> |
CounterUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<Counter> |
CounterUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Counter> orderByComparator) |
Modifier and Type | Method and Description |
---|---|
static void |
CounterUtil.cacheResult(Counter counter)
Caches the counter in the entity cache if it is enabled.
|
void |
CounterPersistence.cacheResult(Counter counter)
Caches the counter in the entity cache if it is enabled.
|
static void |
CounterUtil.clearCache(Counter counter) |
static Counter |
CounterUtil.update(Counter counter) |
static Counter |
CounterUtil.update(Counter counter,
ServiceContext serviceContext) |
static Counter |
CounterUtil.updateImpl(Counter counter) |
Counter |
CounterPersistence.updateImpl(Counter counter) |
Modifier and Type | Method and Description |
---|---|
static void |
CounterUtil.cacheResult(List<Counter> counters)
Caches the counters in the entity cache if it is enabled.
|
void |
CounterPersistence.cacheResult(List<Counter> counters)
Caches the counters in the entity cache if it is enabled.
|
static List<Counter> |
CounterUtil.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator)
Returns an ordered range of all the counters.
|
List<Counter> |
CounterPersistence.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator)
Returns an ordered range of all the counters.
|
static List<Counter> |
CounterUtil.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the counters.
|
List<Counter> |
CounterPersistence.findAll(int start,
int end,
OrderByComparator<Counter> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the counters.
|
static List<Counter> |
CounterUtil.findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Counter> orderByComparator) |