Liferay 7.0-ce-b7 portal-impl

com.liferay.portlet.asset.service.base
Class AssetTagStatsLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetTagStatsLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.asset.kernel.service.AssetTagStatsLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
Direct Known Subclasses:
AssetTagStatsLocalServiceImpl

@ProviderType
public abstract class AssetTagStatsLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.asset.kernel.service.AssetTagStatsLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService

Provides the base implementation for the asset tag stats local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in AssetTagStatsLocalServiceImpl.

See Also:
AssetTagStatsLocalServiceImpl, AssetTagStatsLocalServiceUtil
{$generated.description}

Field Summary
protected  com.liferay.asset.kernel.service.persistence.AssetTagFinder assetTagFinder
           
protected  com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService
           
protected  com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence
           
protected  com.liferay.asset.kernel.service.AssetTagStatsLocalService assetTagStatsLocalService
           
protected  com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
           
protected  com.liferay.counter.kernel.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
 
Constructor Summary
AssetTagStatsLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.asset.kernel.model.AssetTagStats addAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
          Adds the asset tag stats to the database.
 void afterPropertiesSet()
           
 com.liferay.asset.kernel.model.AssetTagStats createAssetTagStats(long tagStatsId)
          Creates a new asset tag stats with the primary key.
 com.liferay.asset.kernel.model.AssetTagStats deleteAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
          Deletes the asset tag stats from the database.
 com.liferay.asset.kernel.model.AssetTagStats deleteAssetTagStats(long tagStatsId)
          Deletes the asset tag stats with the primary key from the database.
 com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
           
 void destroy()
           
 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
          Returns the number of rows matching the dynamic query.
 com.liferay.asset.kernel.model.AssetTagStats fetchAssetTagStats(long tagStatsId)
           
 com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
           
 com.liferay.asset.kernel.service.persistence.AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 com.liferay.asset.kernel.service.AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 com.liferay.asset.kernel.service.persistence.AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 com.liferay.asset.kernel.model.AssetTagStats getAssetTagStats(long tagStatsId)
          Returns the asset tag stats with the primary key.
 List<com.liferay.asset.kernel.model.AssetTagStats> getAssetTagStatses(int start, int end)
          Returns a range of all the asset tag statses.
 int getAssetTagStatsesCount()
          Returns the number of asset tag statses.
 com.liferay.asset.kernel.service.AssetTagStatsLocalService getAssetTagStatsLocalService()
          Returns the asset tag stats local service.
 com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence getAssetTagStatsPersistence()
          Returns the asset tag stats persistence.
 com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
protected  void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setAssetTagFinder(com.liferay.asset.kernel.service.persistence.AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setAssetTagStatsLocalService(com.liferay.asset.kernel.service.AssetTagStatsLocalService assetTagStatsLocalService)
          Sets the asset tag stats local service.
 void setAssetTagStatsPersistence(com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence)
          Sets the asset tag stats persistence.
 void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 com.liferay.asset.kernel.model.AssetTagStats updateAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
          Updates the asset tag stats in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
addTagStats, deleteTagStats, deleteTagStats, deleteTagStatsByClassNameId, deleteTagStatsByTagId, getTagStats, getTagStats, updateTagStats
 

Field Detail

assetTagStatsLocalService

@BeanReference(type=com.liferay.asset.kernel.service.AssetTagStatsLocalService.class)
protected com.liferay.asset.kernel.service.AssetTagStatsLocalService assetTagStatsLocalService

assetTagStatsPersistence

@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence.class)
protected com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence

counterLocalService

@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class)
protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService

assetTagLocalService

@BeanReference(type=com.liferay.asset.kernel.service.AssetTagLocalService.class)
protected com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService

assetTagPersistence

@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagPersistence.class)
protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagFinder.class)
protected com.liferay.asset.kernel.service.persistence.AssetTagFinder assetTagFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

AssetTagStatsLocalServiceBaseImpl

public AssetTagStatsLocalServiceBaseImpl()
Method Detail

addAssetTagStats

@Indexable(type=REINDEX)
public com.liferay.asset.kernel.model.AssetTagStats addAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Adds the asset tag stats to the database. Also notifies the appropriate model listeners.

Specified by:
addAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was added

createAssetTagStats

public com.liferay.asset.kernel.model.AssetTagStats createAssetTagStats(long tagStatsId)
Creates a new asset tag stats with the primary key. Does not add the asset tag stats to the database.

Specified by:
createAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key for the new asset tag stats
Returns:
the new asset tag stats

deleteAssetTagStats

@Indexable(type=DELETE)
public com.liferay.asset.kernel.model.AssetTagStats deleteAssetTagStats(long tagStatsId)
                                                                 throws com.liferay.portal.kernel.exception.PortalException
Deletes the asset tag stats with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats that was removed
Throws:
com.liferay.portal.kernel.exception.PortalException - if a asset tag stats with the primary key could not be found

deleteAssetTagStats

@Indexable(type=DELETE)
public com.liferay.asset.kernel.model.AssetTagStats deleteAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Deletes the asset tag stats from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was removed

dynamicQuery

public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                              com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchAssetTagStats

public com.liferay.asset.kernel.model.AssetTagStats fetchAssetTagStats(long tagStatsId)
Specified by:
fetchAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService

getAssetTagStats

public com.liferay.asset.kernel.model.AssetTagStats getAssetTagStats(long tagStatsId)
                                                              throws com.liferay.portal.kernel.exception.PortalException
Returns the asset tag stats with the primary key.

Specified by:
getAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
tagStatsId - the primary key of the asset tag stats
Returns:
the asset tag stats
Throws:
com.liferay.portal.kernel.exception.PortalException - if a asset tag stats with the primary key could not be found

getActionableDynamicQuery

public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService

getIndexableActionableDynamicQuery

public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deletePersistedModel in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Specified by:
deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

getPersistedModel

public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                                                 throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getPersistedModel in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Specified by:
getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException

getAssetTagStatses

public List<com.liferay.asset.kernel.model.AssetTagStats> getAssetTagStatses(int start,
                                                                             int end)
Returns a range of all the asset tag statses.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetTagStatsModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getAssetTagStatses in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
start - the lower bound of the range of asset tag statses
end - the upper bound of the range of asset tag statses (not inclusive)
Returns:
the range of asset tag statses

getAssetTagStatsesCount

public int getAssetTagStatsesCount()
Returns the number of asset tag statses.

Specified by:
getAssetTagStatsesCount in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Returns:
the number of asset tag statses

updateAssetTagStats

@Indexable(type=REINDEX)
public com.liferay.asset.kernel.model.AssetTagStats updateAssetTagStats(com.liferay.asset.kernel.model.AssetTagStats assetTagStats)
Updates the asset tag stats in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetTagStats in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Parameters:
assetTagStats - the asset tag stats
Returns:
the asset tag stats that was updated

getAssetTagStatsLocalService

public com.liferay.asset.kernel.service.AssetTagStatsLocalService getAssetTagStatsLocalService()
Returns the asset tag stats local service.

Returns:
the asset tag stats local service

setAssetTagStatsLocalService

public void setAssetTagStatsLocalService(com.liferay.asset.kernel.service.AssetTagStatsLocalService assetTagStatsLocalService)
Sets the asset tag stats local service.

Parameters:
assetTagStatsLocalService - the asset tag stats local service

getAssetTagStatsPersistence

public com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence getAssetTagStatsPersistence()
Returns the asset tag stats persistence.

Returns:
the asset tag stats persistence

setAssetTagStatsPersistence

public void setAssetTagStatsPersistence(com.liferay.asset.kernel.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence)
Sets the asset tag stats persistence.

Parameters:
assetTagStatsPersistence - the asset tag stats persistence

getCounterLocalService

public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getAssetTagLocalService

public com.liferay.asset.kernel.service.AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(com.liferay.asset.kernel.service.AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagPersistence

public com.liferay.asset.kernel.service.persistence.AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public com.liferay.asset.kernel.service.persistence.AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(com.liferay.asset.kernel.service.persistence.AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface com.liferay.asset.kernel.service.AssetTagStatsLocalService
Specified by:
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b7 portal-impl