Liferay 7.0-ce-b4

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

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

@ProviderType
public abstract class BlogsEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements BlogsEntryLocalService, IdentifiableOSGiService

Provides the base implementation for the blogs 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 BlogsEntryLocalServiceImpl.

See Also:
BlogsEntryLocalServiceImpl, BlogsEntryLocalServiceUtil
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  AssetLinkLocalService assetLinkLocalService
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  BlogsEntryFinder blogsEntryFinder
           
protected  BlogsEntryLocalService blogsEntryLocalService
           
protected  BlogsEntryPersistence blogsEntryPersistence
           
protected  BlogsStatsUserFinder blogsStatsUserFinder
           
protected  BlogsStatsUserLocalService blogsStatsUserLocalService
           
protected  BlogsStatsUserPersistence blogsStatsUserPersistence
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
protected  CounterLocalService counterLocalService
           
protected  ExpandoRowLocalService expandoRowLocalService
           
protected  ExpandoRowPersistence expandoRowPersistence
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  ImageLocalService imageLocalService
           
protected  ImagePersistence imagePersistence
           
protected  OrganizationFinder organizationFinder
           
protected  OrganizationLocalService organizationLocalService
           
protected  OrganizationPersistence organizationPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  PortletPreferencesFinder portletPreferencesFinder
           
protected  PortletPreferencesLocalService portletPreferencesLocalService
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RatingsStatsFinder ratingsStatsFinder
           
protected  RatingsStatsLocalService ratingsStatsLocalService
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  TrashEntryLocalService trashEntryLocalService
           
protected  TrashEntryPersistence trashEntryPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Constructor Summary
BlogsEntryLocalServiceBaseImpl()
           
 
Method Summary
 BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
          Adds the blogs entry to the database.
 void afterPropertiesSet()
           
 BlogsEntry createBlogsEntry(long entryId)
          Creates a new blogs entry with the primary key.
 BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
          Deletes the blogs entry from the database.
 BlogsEntry deleteBlogsEntry(long entryId)
          Deletes the blogs entry 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.
 BlogsEntry fetchBlogsEntry(long entryId)
           
 BlogsEntry fetchBlogsEntryByUuidAndGroupId(String uuid, long groupId)
          Returns the blogs entry matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetLinkLocalService getAssetLinkLocalService()
          Returns the asset link local service.
 AssetLinkPersistence getAssetLinkPersistence()
          Returns the asset link persistence.
 List<BlogsEntry> getBlogsEntries(int start, int end)
          Returns a range of all the blogs entries.
 List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid, long companyId)
          Returns all the blogs entries matching the UUID and company.
 List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<BlogsEntry> orderByComparator)
          Returns a range of blogs entries matching the UUID and company.
 int getBlogsEntriesCount()
          Returns the number of blogs entries.
 BlogsEntry getBlogsEntry(long entryId)
          Returns the blogs entry with the primary key.
 BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId)
          Returns the blogs entry matching the UUID and group.
 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.
 CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 CompanyPersistence getCompanyPersistence()
          Returns the company persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExpandoRowLocalService getExpandoRowLocalService()
          Returns the expando row local service.
 ExpandoRowPersistence getExpandoRowPersistence()
          Returns the expando row persistence.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 ImageLocalService getImageLocalService()
          Returns the image local service.
 ImagePersistence getImagePersistence()
          Returns the image persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 OrganizationFinder getOrganizationFinder()
          Returns the organization finder.
 OrganizationLocalService getOrganizationLocalService()
          Returns the organization local service.
 OrganizationPersistence getOrganizationPersistence()
          Returns the organization persistence.
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 PortletPreferencesFinder getPortletPreferencesFinder()
          Returns the portlet preferences finder.
 PortletPreferencesLocalService getPortletPreferencesLocalService()
          Returns the portlet preferences local service.
 PortletPreferencesPersistence getPortletPreferencesPersistence()
          Returns the portlet preferences 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.
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 TrashEntryLocalService getTrashEntryLocalService()
          Returns the trash entry local service.
 TrashEntryPersistence getTrashEntryPersistence()
          Returns the trash entry persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
          Returns the workflow instance link local service.
 WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
          Returns the workflow instance link 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 setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
          Sets the asset link local service.
 void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
          Sets the asset link 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 setCompanyLocalService(CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(CompanyPersistence companyPersistence)
          Sets the company persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
          Sets the expando row local service.
 void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
          Sets the expando row persistence.
 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.
 void setImageLocalService(ImageLocalService imageLocalService)
          Sets the image local service.
 void setImagePersistence(ImagePersistence imagePersistence)
          Sets the image persistence.
 void setOrganizationFinder(OrganizationFinder organizationFinder)
          Sets the organization finder.
 void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
          Sets the organization local service.
 void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
          Sets the organization persistence.
 void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
          Sets the portlet preferences finder.
 void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
          Sets the portlet preferences local service.
 void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
          Sets the portlet preferences 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 setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
          Sets the trash entry local service.
 void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
          Sets the trash entry persistence.
 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.
 void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
          Sets the workflow instance link local service.
 void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
          Sets the workflow instance link persistence.
 BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
          Updates the blogs 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.blogs.service.BlogsEntryLocalService
addAttachmentsFolder, addCoverImage, addEntry, addEntry, addEntry, addEntry, addEntry, addEntryResources, addEntryResources, addEntryResources, addEntryResources, addOriginalImageFileEntry, addSmallImage, checkEntries, deleteEntries, deleteEntry, deleteEntry, fetchAttachmentsFolder, getCompanyEntries, getCompanyEntriesCount, getEntriesPrevAndNext, getEntry, getEntry, getGroupEntries, getGroupEntries, getGroupEntriesCount, getGroupEntriesCount, getGroupsEntries, getGroupUserEntries, getGroupUserEntriesCount, getNoAssetEntries, getOrganizationEntries, getOrganizationEntriesCount, moveEntriesToTrash, moveEntryToTrash, moveEntryToTrash, restoreEntryFromTrash, subscribe, unsubscribe, updateAsset, updateEntry, updateEntry, updateEntry, updateEntry, updateEntryResources, updateEntryResources, updateStatus, updateStatus
 

Field Detail

blogsEntryLocalService

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

blogsEntryPersistence

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

blogsEntryFinder

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

counterLocalService

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

companyLocalService

@BeanReference(type=CompanyLocalService.class)
protected CompanyLocalService companyLocalService

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupLocalService

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

groupPersistence

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

groupFinder

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

imageLocalService

@BeanReference(type=ImageLocalService.class)
protected ImageLocalService imageLocalService

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

organizationLocalService

@BeanReference(type=OrganizationLocalService.class)
protected OrganizationLocalService organizationLocalService

organizationPersistence

@BeanReference(type=OrganizationPersistence.class)
protected OrganizationPersistence organizationPersistence

organizationFinder

@BeanReference(type=OrganizationFinder.class)
protected OrganizationFinder organizationFinder

portletPreferencesLocalService

@BeanReference(type=PortletPreferencesLocalService.class)
protected PortletPreferencesLocalService portletPreferencesLocalService

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

portletPreferencesFinder

@BeanReference(type=PortletPreferencesFinder.class)
protected PortletPreferencesFinder portletPreferencesFinder

resourceLocalService

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

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userLocalService

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

userPersistence

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

userFinder

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

workflowInstanceLinkLocalService

@BeanReference(type=WorkflowInstanceLinkLocalService.class)
protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryLocalService

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

assetEntryPersistence

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

assetEntryFinder

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

assetLinkLocalService

@BeanReference(type=AssetLinkLocalService.class)
protected AssetLinkLocalService assetLinkLocalService

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

expandoRowLocalService

@BeanReference(type=ExpandoRowLocalService.class)
protected ExpandoRowLocalService expandoRowLocalService

expandoRowPersistence

@BeanReference(type=ExpandoRowPersistence.class)
protected ExpandoRowPersistence expandoRowPersistence

ratingsStatsLocalService

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

ratingsStatsPersistence

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

ratingsStatsFinder

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

trashEntryLocalService

@BeanReference(type=TrashEntryLocalService.class)
protected TrashEntryLocalService trashEntryLocalService

trashEntryPersistence

@BeanReference(type=TrashEntryPersistence.class)
protected TrashEntryPersistence trashEntryPersistence

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

BlogsEntryLocalServiceBaseImpl

public BlogsEntryLocalServiceBaseImpl()
Method Detail

addBlogsEntry

@Indexable(type=REINDEX)
public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
Adds the blogs entry to the database. Also notifies the appropriate model listeners.

Specified by:
addBlogsEntry in interface BlogsEntryLocalService
Parameters:
blogsEntry - the blogs entry
Returns:
the blogs entry that was added

createBlogsEntry

public BlogsEntry createBlogsEntry(long entryId)
Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.

Specified by:
createBlogsEntry in interface BlogsEntryLocalService
Parameters:
entryId - the primary key for the new blogs entry
Returns:
the new blogs entry

deleteBlogsEntry

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

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

deleteBlogsEntry

@Indexable(type=DELETE)
public BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
Deletes the blogs entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteBlogsEntry in interface BlogsEntryLocalService
Parameters:
blogsEntry - the blogs entry
Returns:
the blogs entry that was removed

dynamicQuery

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

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

fetchBlogsEntry

public BlogsEntry fetchBlogsEntry(long entryId)
Specified by:
fetchBlogsEntry in interface BlogsEntryLocalService

fetchBlogsEntryByUuidAndGroupId

public BlogsEntry fetchBlogsEntryByUuidAndGroupId(String uuid,
                                                  long groupId)
Returns the blogs entry matching the UUID and group.

Specified by:
fetchBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalService
Parameters:
uuid - the blogs entry's UUID
groupId - the primary key of the group
Returns:
the matching blogs entry, or null if a matching blogs entry could not be found

getBlogsEntry

public BlogsEntry getBlogsEntry(long entryId)
                         throws PortalException
Returns the blogs entry with the primary key.

Specified by:
getBlogsEntry in interface BlogsEntryLocalService
Parameters:
entryId - the primary key of the blogs entry
Returns:
the blogs entry
Throws:
PortalException - if a blogs entry with the primary key could not be found

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

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

deletePersistedModel

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

getPersistedModel

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

getBlogsEntriesByUuidAndCompanyId

public List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid,
                                                          long companyId)
Returns all the blogs entries matching the UUID and company.

Specified by:
getBlogsEntriesByUuidAndCompanyId in interface BlogsEntryLocalService
Parameters:
uuid - the UUID of the blogs entries
companyId - the primary key of the company
Returns:
the matching blogs entries, or an empty list if no matches were found

getBlogsEntriesByUuidAndCompanyId

public List<BlogsEntry> getBlogsEntriesByUuidAndCompanyId(String uuid,
                                                          long companyId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator<BlogsEntry> orderByComparator)
Returns a range of blogs entries matching the UUID and company.

Specified by:
getBlogsEntriesByUuidAndCompanyId in interface BlogsEntryLocalService
Parameters:
uuid - the UUID of the blogs entries
companyId - the primary key of the company
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching blogs entries, or an empty list if no matches were found

getBlogsEntryByUuidAndGroupId

public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid,
                                                long groupId)
                                         throws PortalException
Returns the blogs entry matching the UUID and group.

Specified by:
getBlogsEntryByUuidAndGroupId in interface BlogsEntryLocalService
Parameters:
uuid - the blogs entry's UUID
groupId - the primary key of the group
Returns:
the matching blogs entry
Throws:
PortalException - if a matching blogs entry could not be found

getBlogsEntries

public List<BlogsEntry> getBlogsEntries(int start,
                                        int end)
Returns a range of all the blogs 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 BlogsEntryModelImpl. 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:
getBlogsEntries in interface BlogsEntryLocalService
Parameters:
start - the lower bound of the range of blogs entries
end - the upper bound of the range of blogs entries (not inclusive)
Returns:
the range of blogs entries

getBlogsEntriesCount

public int getBlogsEntriesCount()
Returns the number of blogs entries.

Specified by:
getBlogsEntriesCount in interface BlogsEntryLocalService
Returns:
the number of blogs entries

updateBlogsEntry

@Indexable(type=REINDEX)
public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateBlogsEntry in interface BlogsEntryLocalService
Parameters:
blogsEntry - the blogs entry
Returns:
the blogs entry that was updated

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

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

getCompanyLocalService

public CompanyLocalService getCompanyLocalService()
Returns the company local service.

Returns:
the company local service

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service.

Parameters:
companyLocalService - the company local service

getCompanyPersistence

public CompanyPersistence getCompanyPersistence()
Returns the company persistence.

Returns:
the company persistence

setCompanyPersistence

public void setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence.

Parameters:
companyPersistence - the company persistence

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

getImageLocalService

public ImageLocalService getImageLocalService()
Returns the image local service.

Returns:
the image local service

setImageLocalService

public void setImageLocalService(ImageLocalService imageLocalService)
Sets the image local service.

Parameters:
imageLocalService - the image local service

getImagePersistence

public ImagePersistence getImagePersistence()
Returns the image persistence.

Returns:
the image persistence

setImagePersistence

public void setImagePersistence(ImagePersistence imagePersistence)
Sets the image persistence.

Parameters:
imagePersistence - the image persistence

getOrganizationLocalService

public OrganizationLocalService getOrganizationLocalService()
Returns the organization local service.

Returns:
the organization local service

setOrganizationLocalService

public void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
Sets the organization local service.

Parameters:
organizationLocalService - the organization local service

getOrganizationPersistence

public OrganizationPersistence getOrganizationPersistence()
Returns the organization persistence.

Returns:
the organization persistence

setOrganizationPersistence

public void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
Sets the organization persistence.

Parameters:
organizationPersistence - the organization persistence

getOrganizationFinder

public OrganizationFinder getOrganizationFinder()
Returns the organization finder.

Returns:
the organization finder

setOrganizationFinder

public void setOrganizationFinder(OrganizationFinder organizationFinder)
Sets the organization finder.

Parameters:
organizationFinder - the organization finder

getPortletPreferencesLocalService

public PortletPreferencesLocalService getPortletPreferencesLocalService()
Returns the portlet preferences local service.

Returns:
the portlet preferences local service

setPortletPreferencesLocalService

public void setPortletPreferencesLocalService(PortletPreferencesLocalService portletPreferencesLocalService)
Sets the portlet preferences local service.

Parameters:
portletPreferencesLocalService - the portlet preferences local service

getPortletPreferencesPersistence

public PortletPreferencesPersistence getPortletPreferencesPersistence()
Returns the portlet preferences persistence.

Returns:
the portlet preferences persistence

setPortletPreferencesPersistence

public void setPortletPreferencesPersistence(PortletPreferencesPersistence portletPreferencesPersistence)
Sets the portlet preferences persistence.

Parameters:
portletPreferencesPersistence - the portlet preferences persistence

getPortletPreferencesFinder

public PortletPreferencesFinder getPortletPreferencesFinder()
Returns the portlet preferences finder.

Returns:
the portlet preferences finder

setPortletPreferencesFinder

public void setPortletPreferencesFinder(PortletPreferencesFinder portletPreferencesFinder)
Sets the portlet preferences finder.

Parameters:
portletPreferencesFinder - the portlet preferences finder

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

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

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

getWorkflowInstanceLinkLocalService

public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service.

Returns:
the workflow instance link local service

setWorkflowInstanceLinkLocalService

public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service.

Parameters:
workflowInstanceLinkLocalService - the workflow instance link local service

getWorkflowInstanceLinkPersistence

public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence.

Returns:
the workflow instance link persistence

setWorkflowInstanceLinkPersistence

public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence.

Parameters:
workflowInstanceLinkPersistence - the workflow instance link persistence

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

getAssetLinkLocalService

public AssetLinkLocalService getAssetLinkLocalService()
Returns the asset link local service.

Returns:
the asset link local service

setAssetLinkLocalService

public void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service.

Parameters:
assetLinkLocalService - the asset link local service

getAssetLinkPersistence

public AssetLinkPersistence getAssetLinkPersistence()
Returns the asset link persistence.

Returns:
the asset link persistence

setAssetLinkPersistence

public void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence.

Parameters:
assetLinkPersistence - the asset link persistence

getExpandoRowLocalService

public ExpandoRowLocalService getExpandoRowLocalService()
Returns the expando row local service.

Returns:
the expando row local service

setExpandoRowLocalService

public void setExpandoRowLocalService(ExpandoRowLocalService expandoRowLocalService)
Sets the expando row local service.

Parameters:
expandoRowLocalService - the expando row local service

getExpandoRowPersistence

public ExpandoRowPersistence getExpandoRowPersistence()
Returns the expando row persistence.

Returns:
the expando row persistence

setExpandoRowPersistence

public void setExpandoRowPersistence(ExpandoRowPersistence expandoRowPersistence)
Sets the expando row persistence.

Parameters:
expandoRowPersistence - the expando row persistence

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

getTrashEntryLocalService

public TrashEntryLocalService getTrashEntryLocalService()
Returns the trash entry local service.

Returns:
the trash entry local service

setTrashEntryLocalService

public void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
Sets the trash entry local service.

Parameters:
trashEntryLocalService - the trash entry local service

getTrashEntryPersistence

public TrashEntryPersistence getTrashEntryPersistence()
Returns the trash entry persistence.

Returns:
the trash entry persistence

setTrashEntryPersistence

public void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
Sets the trash entry persistence.

Parameters:
trashEntryPersistence - the trash entry persistence

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