Liferay 7.0-ce-b4

com.liferay.portlet.blogs.service.base
Class BlogsStatsUserLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.blogs.service.base.BlogsStatsUserLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, BlogsStatsUserLocalService
Direct Known Subclasses:
BlogsStatsUserLocalServiceImpl

@ProviderType
public abstract class BlogsStatsUserLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements BlogsStatsUserLocalService, IdentifiableOSGiService

Provides the base implementation for the blogs stats user 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 BlogsStatsUserLocalServiceImpl.

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

Field Summary
protected  BlogsEntryFinder blogsEntryFinder
           
protected  BlogsEntryLocalService blogsEntryLocalService
           
protected  BlogsEntryPersistence blogsEntryPersistence
           
protected  BlogsStatsUserFinder blogsStatsUserFinder
           
protected  BlogsStatsUserLocalService blogsStatsUserLocalService
           
protected  BlogsStatsUserPersistence blogsStatsUserPersistence
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
 
Constructor Summary
BlogsStatsUserLocalServiceBaseImpl()
           
 
Method Summary
 BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
          Adds the blogs stats user to the database.
 void afterPropertiesSet()
           
 BlogsStatsUser createBlogsStatsUser(long statsUserId)
          Creates a new blogs stats user with the primary key.
 BlogsStatsUser deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
          Deletes the blogs stats user from the database.
 BlogsStatsUser deleteBlogsStatsUser(long statsUserId)
          Deletes the blogs stats user with the primary key from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 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.
 BlogsStatsUser fetchBlogsStatsUser(long statsUserId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 BlogsEntryFinder getBlogsEntryFinder()
          Returns the blogs entry finder.
 BlogsEntryLocalService getBlogsEntryLocalService()
          Returns the blogs entry local service.
 BlogsEntryPersistence getBlogsEntryPersistence()
          Returns the blogs entry persistence.
 BlogsStatsUser getBlogsStatsUser(long statsUserId)
          Returns the blogs stats user with the primary key.
 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.
 List<BlogsStatsUser> getBlogsStatsUsers(int start, int end)
          Returns a range of all the blogs stats users.
 int getBlogsStatsUsersCount()
          Returns the number of blogs stats users.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 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 setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
          Updates the blogs stats user 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.blogs.service.BlogsStatsUserLocalService
deleteStatsUser, deleteStatsUser, deleteStatsUserByGroupId, deleteStatsUserByUserId, getCompanyStatsUsers, getCompanyStatsUsers, getCompanyStatsUsersCount, getGroupsStatsUsers, getGroupStatsUsers, getGroupStatsUsers, getGroupStatsUsersCount, getOrganizationStatsUsers, getOrganizationStatsUsers, getOrganizationStatsUsersCount, getStatsUser, updateStatsUser, updateStatsUser
 

Field Detail

blogsStatsUserLocalService

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

blogsStatsUserPersistence

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

blogsStatsUserFinder

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

counterLocalService

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

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

blogsEntryLocalService

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

blogsEntryPersistence

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

blogsEntryFinder

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

persistedModelLocalServiceRegistry

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

BlogsStatsUserLocalServiceBaseImpl

public BlogsStatsUserLocalServiceBaseImpl()
Method Detail

addBlogsStatsUser

@Indexable(type=REINDEX)
public BlogsStatsUser addBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Adds the blogs stats user to the database. Also notifies the appropriate model listeners.

Specified by:
addBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
blogsStatsUser - the blogs stats user
Returns:
the blogs stats user that was added

createBlogsStatsUser

public BlogsStatsUser createBlogsStatsUser(long statsUserId)
Creates a new blogs stats user with the primary key. Does not add the blogs stats user to the database.

Specified by:
createBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
statsUserId - the primary key for the new blogs stats user
Returns:
the new blogs stats user

deleteBlogsStatsUser

@Indexable(type=DELETE)
public BlogsStatsUser deleteBlogsStatsUser(long statsUserId)
                                    throws PortalException
Deletes the blogs stats user with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
statsUserId - the primary key of the blogs stats user
Returns:
the blogs stats user that was removed
Throws:
PortalException - if a blogs stats user with the primary key could not be found

deleteBlogsStatsUser

@Indexable(type=DELETE)
public BlogsStatsUser deleteBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Deletes the blogs stats user from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
blogsStatsUser - the blogs stats user
Returns:
the blogs stats user that was removed

dynamicQuery

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

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 BlogsStatsUserLocalService
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 BlogsStatsUserModelImpl. 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 BlogsStatsUserLocalService
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 BlogsStatsUserModelImpl. 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 BlogsStatsUserLocalService
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 BlogsStatsUserLocalService
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 BlogsStatsUserLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchBlogsStatsUser

public BlogsStatsUser fetchBlogsStatsUser(long statsUserId)
Specified by:
fetchBlogsStatsUser in interface BlogsStatsUserLocalService

getBlogsStatsUser

public BlogsStatsUser getBlogsStatsUser(long statsUserId)
                                 throws PortalException
Returns the blogs stats user with the primary key.

Specified by:
getBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
statsUserId - the primary key of the blogs stats user
Returns:
the blogs stats user
Throws:
PortalException - if a blogs stats user with the primary key could not be found

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

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

getPersistedModel

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

getBlogsStatsUsers

public List<BlogsStatsUser> getBlogsStatsUsers(int start,
                                               int end)
Returns a range of all the blogs stats users.

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 BlogsStatsUserModelImpl. 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:
getBlogsStatsUsers in interface BlogsStatsUserLocalService
Parameters:
start - the lower bound of the range of blogs stats users
end - the upper bound of the range of blogs stats users (not inclusive)
Returns:
the range of blogs stats users

getBlogsStatsUsersCount

public int getBlogsStatsUsersCount()
Returns the number of blogs stats users.

Specified by:
getBlogsStatsUsersCount in interface BlogsStatsUserLocalService
Returns:
the number of blogs stats users

updateBlogsStatsUser

@Indexable(type=REINDEX)
public BlogsStatsUser updateBlogsStatsUser(BlogsStatsUser blogsStatsUser)
Updates the blogs stats user in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateBlogsStatsUser in interface BlogsStatsUserLocalService
Parameters:
blogsStatsUser - the blogs stats user
Returns:
the blogs stats user that was updated

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

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

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group 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

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 BlogsStatsUserLocalService
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