Liferay 7.0-ce-b4

com.liferay.portlet.ratings.service.base
Class RatingsEntryLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.ratings.service.base.RatingsEntryLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, RatingsEntryLocalService
Direct Known Subclasses:
RatingsEntryLocalServiceImpl

@ProviderType
public abstract class RatingsEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements RatingsEntryLocalService, IdentifiableOSGiService

Provides the base implementation for the ratings entry 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 RatingsEntryLocalServiceImpl.

See Also:
RatingsEntryLocalServiceImpl, RatingsEntryLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  BlogsEntryFinder blogsEntryFinder
           
protected  BlogsEntryLocalService blogsEntryLocalService
           
protected  BlogsEntryPersistence blogsEntryPersistence
           
protected  BlogsStatsUserFinder blogsStatsUserFinder
           
protected  BlogsStatsUserLocalService blogsStatsUserLocalService
           
protected  BlogsStatsUserPersistence blogsStatsUserPersistence
           
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  RatingsEntryFinder ratingsEntryFinder
           
protected  RatingsEntryLocalService ratingsEntryLocalService
           
protected  RatingsEntryPersistence ratingsEntryPersistence
           
protected  RatingsStatsFinder ratingsStatsFinder
           
protected  RatingsStatsLocalService ratingsStatsLocalService
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
Constructor Summary
RatingsEntryLocalServiceBaseImpl()
           
 
Method Summary
 RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
          Adds the ratings entry to the database.
 void afterPropertiesSet()
           
 RatingsEntry createRatingsEntry(long entryId)
          Creates a new ratings entry with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 RatingsEntry deleteRatingsEntry(long entryId)
          Deletes the ratings entry with the primary key from the database.
 RatingsEntry deleteRatingsEntry(RatingsEntry ratingsEntry)
          Deletes the ratings entry from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(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(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 RatingsEntry fetchRatingsEntry(long entryId)
           
 RatingsEntry fetchRatingsEntryByUuidAndCompanyId(String uuid, long companyId)
          Returns the ratings entry with the matching UUID and company.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 BlogsEntryFinder getBlogsEntryFinder()
          Returns the blogs entry finder.
 BlogsEntryLocalService getBlogsEntryLocalService()
          Returns the blogs entry local service.
 BlogsEntryPersistence getBlogsEntryPersistence()
          Returns the blogs entry persistence.
 BlogsStatsUserFinder getBlogsStatsUserFinder()
          Returns the blogs stats user finder.
 BlogsStatsUserLocalService getBlogsStatsUserLocalService()
          Returns the blogs stats user local service.
 BlogsStatsUserPersistence getBlogsStatsUserPersistence()
          Returns the blogs stats user persistence.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<RatingsEntry> getRatingsEntries(int start, int end)
          Returns a range of all the ratings entries.
 int getRatingsEntriesCount()
          Returns the number of ratings entries.
 RatingsEntry getRatingsEntry(long entryId)
          Returns the ratings entry with the primary key.
 RatingsEntry getRatingsEntryByUuidAndCompanyId(String uuid, long companyId)
          Returns the ratings entry with the matching UUID and company.
 RatingsEntryFinder getRatingsEntryFinder()
          Returns the ratings entry finder.
 RatingsEntryLocalService getRatingsEntryLocalService()
          Returns the ratings entry local service.
 RatingsEntryPersistence getRatingsEntryPersistence()
          Returns the ratings entry persistence.
 RatingsStatsFinder getRatingsStatsFinder()
          Returns the ratings stats finder.
 RatingsStatsLocalService getRatingsStatsLocalService()
          Returns the ratings stats local service.
 RatingsStatsPersistence getRatingsStatsPersistence()
          Returns the ratings stats persistence.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder)
          Sets the blogs entry finder.
 void setBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
          Sets the blogs entry local service.
 void setBlogsEntryPersistence(BlogsEntryPersistence blogsEntryPersistence)
          Sets the blogs entry persistence.
 void setBlogsStatsUserFinder(BlogsStatsUserFinder blogsStatsUserFinder)
          Sets the blogs stats user finder.
 void setBlogsStatsUserLocalService(BlogsStatsUserLocalService blogsStatsUserLocalService)
          Sets the blogs stats user local service.
 void setBlogsStatsUserPersistence(BlogsStatsUserPersistence blogsStatsUserPersistence)
          Sets the blogs stats user persistence.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setRatingsEntryFinder(RatingsEntryFinder ratingsEntryFinder)
          Sets the ratings entry finder.
 void setRatingsEntryLocalService(RatingsEntryLocalService ratingsEntryLocalService)
          Sets the ratings entry local service.
 void setRatingsEntryPersistence(RatingsEntryPersistence ratingsEntryPersistence)
          Sets the ratings entry persistence.
 void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
          Sets the ratings stats finder.
 void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
          Sets the ratings stats local service.
 void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
          Sets the ratings stats persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
          Updates the ratings entry in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.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.portlet.ratings.service.RatingsEntryLocalService
deleteEntry, deleteEntry, fetchEntry, getEntries, getEntries, getEntries, getEntriesCount, getEntry, updateEntry
 

Field Detail

ratingsEntryLocalService

@BeanReference(type=RatingsEntryLocalService.class)
protected RatingsEntryLocalService ratingsEntryLocalService

ratingsEntryPersistence

@BeanReference(type=RatingsEntryPersistence.class)
protected RatingsEntryPersistence ratingsEntryPersistence

ratingsEntryFinder

@BeanReference(type=RatingsEntryFinder.class)
protected RatingsEntryFinder ratingsEntryFinder

ratingsStatsLocalService

@BeanReference(type=RatingsStatsLocalService.class)
protected RatingsStatsLocalService ratingsStatsLocalService

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

ratingsStatsFinder

@BeanReference(type=RatingsStatsFinder.class)
protected RatingsStatsFinder ratingsStatsFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

blogsEntryLocalService

@BeanReference(type=BlogsEntryLocalService.class)
protected BlogsEntryLocalService blogsEntryLocalService

blogsEntryPersistence

@BeanReference(type=BlogsEntryPersistence.class)
protected BlogsEntryPersistence blogsEntryPersistence

blogsEntryFinder

@BeanReference(type=BlogsEntryFinder.class)
protected BlogsEntryFinder blogsEntryFinder

blogsStatsUserLocalService

@BeanReference(type=BlogsStatsUserLocalService.class)
protected BlogsStatsUserLocalService blogsStatsUserLocalService

blogsStatsUserPersistence

@BeanReference(type=BlogsStatsUserPersistence.class)
protected BlogsStatsUserPersistence blogsStatsUserPersistence

blogsStatsUserFinder

@BeanReference(type=BlogsStatsUserFinder.class)
protected BlogsStatsUserFinder blogsStatsUserFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

RatingsEntryLocalServiceBaseImpl

public RatingsEntryLocalServiceBaseImpl()
Method Detail

addRatingsEntry

@Indexable(type=REINDEX)
public RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
Adds the ratings entry to the database. Also notifies the appropriate model listeners.

Specified by:
addRatingsEntry in interface RatingsEntryLocalService
Parameters:
ratingsEntry - the ratings entry
Returns:
the ratings entry that was added

createRatingsEntry

public RatingsEntry createRatingsEntry(long entryId)
Creates a new ratings entry with the primary key. Does not add the ratings entry to the database.

Specified by:
createRatingsEntry in interface RatingsEntryLocalService
Parameters:
entryId - the primary key for the new ratings entry
Returns:
the new ratings entry

deleteRatingsEntry

@Indexable(type=DELETE)
public RatingsEntry deleteRatingsEntry(long entryId)
                                throws PortalException
Deletes the ratings entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRatingsEntry in interface RatingsEntryLocalService
Parameters:
entryId - the primary key of the ratings entry
Returns:
the ratings entry that was removed
Throws:
PortalException - if a ratings entry with the primary key could not be found

deleteRatingsEntry

@Indexable(type=DELETE)
public RatingsEntry deleteRatingsEntry(RatingsEntry ratingsEntry)
Deletes the ratings entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRatingsEntry in interface RatingsEntryLocalService
Parameters:
ratingsEntry - the ratings entry
Returns:
the ratings entry that was removed

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface RatingsEntryLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface RatingsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(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 RatingsEntryModelImpl. 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 RatingsEntryLocalService
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(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                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 RatingsEntryModelImpl. 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 RatingsEntryLocalService
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(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface RatingsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface RatingsEntryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchRatingsEntry

public RatingsEntry fetchRatingsEntry(long entryId)
Specified by:
fetchRatingsEntry in interface RatingsEntryLocalService

fetchRatingsEntryByUuidAndCompanyId

public RatingsEntry fetchRatingsEntryByUuidAndCompanyId(String uuid,
                                                        long companyId)
Returns the ratings entry with the matching UUID and company.

Specified by:
fetchRatingsEntryByUuidAndCompanyId in interface RatingsEntryLocalService
Parameters:
uuid - the ratings entry's UUID
companyId - the primary key of the company
Returns:
the matching ratings entry, or null if a matching ratings entry could not be found

getRatingsEntry

public RatingsEntry getRatingsEntry(long entryId)
                             throws PortalException
Returns the ratings entry with the primary key.

Specified by:
getRatingsEntry in interface RatingsEntryLocalService
Parameters:
entryId - the primary key of the ratings entry
Returns:
the ratings entry
Throws:
PortalException - if a ratings entry with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface RatingsEntryLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface RatingsEntryLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface RatingsEntryLocalService

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface RatingsEntryLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface RatingsEntryLocalService
Throws:
PortalException

getRatingsEntryByUuidAndCompanyId

public RatingsEntry getRatingsEntryByUuidAndCompanyId(String uuid,
                                                      long companyId)
                                               throws PortalException
Returns the ratings entry with the matching UUID and company.

Specified by:
getRatingsEntryByUuidAndCompanyId in interface RatingsEntryLocalService
Parameters:
uuid - the ratings entry's UUID
companyId - the primary key of the company
Returns:
the matching ratings entry
Throws:
PortalException - if a matching ratings entry could not be found

getRatingsEntries

public List<RatingsEntry> getRatingsEntries(int start,
                                            int end)
Returns a range of all the ratings entries.

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 RatingsEntryModelImpl. 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:
getRatingsEntries in interface RatingsEntryLocalService
Parameters:
start - the lower bound of the range of ratings entries
end - the upper bound of the range of ratings entries (not inclusive)
Returns:
the range of ratings entries

getRatingsEntriesCount

public int getRatingsEntriesCount()
Returns the number of ratings entries.

Specified by:
getRatingsEntriesCount in interface RatingsEntryLocalService
Returns:
the number of ratings entries

updateRatingsEntry

@Indexable(type=REINDEX)
public RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
Updates the ratings entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateRatingsEntry in interface RatingsEntryLocalService
Parameters:
ratingsEntry - the ratings entry
Returns:
the ratings entry that was updated

getRatingsEntryLocalService

public RatingsEntryLocalService getRatingsEntryLocalService()
Returns the ratings entry local service.

Returns:
the ratings entry local service

setRatingsEntryLocalService

public void setRatingsEntryLocalService(RatingsEntryLocalService ratingsEntryLocalService)
Sets the ratings entry local service.

Parameters:
ratingsEntryLocalService - the ratings entry local service

getRatingsEntryPersistence

public RatingsEntryPersistence getRatingsEntryPersistence()
Returns the ratings entry persistence.

Returns:
the ratings entry persistence

setRatingsEntryPersistence

public void setRatingsEntryPersistence(RatingsEntryPersistence ratingsEntryPersistence)
Sets the ratings entry persistence.

Parameters:
ratingsEntryPersistence - the ratings entry persistence

getRatingsEntryFinder

public RatingsEntryFinder getRatingsEntryFinder()
Returns the ratings entry finder.

Returns:
the ratings entry finder

setRatingsEntryFinder

public void setRatingsEntryFinder(RatingsEntryFinder ratingsEntryFinder)
Sets the ratings entry finder.

Parameters:
ratingsEntryFinder - the ratings entry finder

getRatingsStatsLocalService

public RatingsStatsLocalService getRatingsStatsLocalService()
Returns the ratings stats local service.

Returns:
the ratings stats local service

setRatingsStatsLocalService

public void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
Sets the ratings stats local service.

Parameters:
ratingsStatsLocalService - the ratings stats local service

getRatingsStatsPersistence

public RatingsStatsPersistence getRatingsStatsPersistence()
Returns the ratings stats persistence.

Returns:
the ratings stats persistence

setRatingsStatsPersistence

public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
Sets the ratings stats persistence.

Parameters:
ratingsStatsPersistence - the ratings stats persistence

getRatingsStatsFinder

public RatingsStatsFinder getRatingsStatsFinder()
Returns the ratings stats finder.

Returns:
the ratings stats finder

setRatingsStatsFinder

public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
Sets the ratings stats finder.

Parameters:
ratingsStatsFinder - the ratings stats finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getBlogsEntryLocalService

public BlogsEntryLocalService getBlogsEntryLocalService()
Returns the blogs entry local service.

Returns:
the blogs entry local service

setBlogsEntryLocalService

public void setBlogsEntryLocalService(BlogsEntryLocalService blogsEntryLocalService)
Sets the blogs entry local service.

Parameters:
blogsEntryLocalService - the blogs entry local service

getBlogsEntryPersistence

public BlogsEntryPersistence getBlogsEntryPersistence()
Returns the blogs entry persistence.

Returns:
the blogs entry persistence

setBlogsEntryPersistence

public void setBlogsEntryPersistence(BlogsEntryPersistence blogsEntryPersistence)
Sets the blogs entry persistence.

Parameters:
blogsEntryPersistence - the blogs entry persistence

getBlogsEntryFinder

public BlogsEntryFinder getBlogsEntryFinder()
Returns the blogs entry finder.

Returns:
the blogs entry finder

setBlogsEntryFinder

public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder)
Sets the blogs entry finder.

Parameters:
blogsEntryFinder - the blogs entry finder

getBlogsStatsUserLocalService

public BlogsStatsUserLocalService getBlogsStatsUserLocalService()
Returns the blogs stats user local service.

Returns:
the blogs stats user local service

setBlogsStatsUserLocalService

public void setBlogsStatsUserLocalService(BlogsStatsUserLocalService blogsStatsUserLocalService)
Sets the blogs stats user local service.

Parameters:
blogsStatsUserLocalService - the blogs stats user local service

getBlogsStatsUserPersistence

public BlogsStatsUserPersistence getBlogsStatsUserPersistence()
Returns the blogs stats user persistence.

Returns:
the blogs stats user persistence

setBlogsStatsUserPersistence

public void setBlogsStatsUserPersistence(BlogsStatsUserPersistence blogsStatsUserPersistence)
Sets the blogs stats user persistence.

Parameters:
blogsStatsUserPersistence - the blogs stats user persistence

getBlogsStatsUserFinder

public BlogsStatsUserFinder getBlogsStatsUserFinder()
Returns the blogs stats user finder.

Returns:
the blogs stats user finder

setBlogsStatsUserFinder

public void setBlogsStatsUserFinder(BlogsStatsUserFinder blogsStatsUserFinder)
Sets the blogs stats user finder.

Parameters:
blogsStatsUserFinder - the blogs stats user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface RatingsEntryLocalService
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-b4