Liferay 7.0-ce-m6

com.liferay.portlet.journal.service.base
Class JournalContentSearchLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.journal.service.base.JournalContentSearchLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalContentSearchLocalService
Direct Known Subclasses:
JournalContentSearchLocalServiceImpl

@ProviderType
public abstract class JournalContentSearchLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements JournalContentSearchLocalService, IdentifiableBean

Provides the base implementation for the journal content search 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 JournalContentSearchLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  JournalContentSearchLocalService journalContentSearchLocalService
           
protected  JournalContentSearchPersistence journalContentSearchPersistence
           
protected  LayoutFinder layoutFinder
           
protected  LayoutLocalService layoutLocalService
           
protected  LayoutPersistence layoutPersistence
           
protected  LayoutService layoutService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  PortletPreferencesFinder portletPreferencesFinder
           
protected  PortletPreferencesLocalService portletPreferencesLocalService
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  PortletPreferencesService portletPreferencesService
           
 
Constructor Summary
JournalContentSearchLocalServiceBaseImpl()
           
 
Method Summary
 JournalContentSearch addJournalContentSearch(JournalContentSearch journalContentSearch)
          Adds the journal content search to the database.
 void afterPropertiesSet()
           
 JournalContentSearch createJournalContentSearch(long contentSearchId)
          Creates a new journal content search with the primary key.
 JournalContentSearch deleteJournalContentSearch(JournalContentSearch journalContentSearch)
          Deletes the journal content search from the database.
 JournalContentSearch deleteJournalContentSearch(long contentSearchId)
          Deletes the journal content search 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.
 JournalContentSearch fetchJournalContentSearch(long contentSearchId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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.
 GroupService getGroupService()
          Returns the group remote service.
 JournalContentSearch getJournalContentSearch(long contentSearchId)
          Returns the journal content search with the primary key.
 JournalContentSearchLocalService getJournalContentSearchLocalService()
          Returns the journal content search local service.
 JournalContentSearchPersistence getJournalContentSearchPersistence()
          Returns the journal content search persistence.
 List<JournalContentSearch> getJournalContentSearchs(int start, int end)
          Returns a range of all the journal content searchs.
 int getJournalContentSearchsCount()
          Returns the number of journal content searchs.
 LayoutFinder getLayoutFinder()
          Returns the layout finder.
 LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
 LayoutService getLayoutService()
          Returns the layout remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 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.
 PortletPreferencesService getPortletPreferencesService()
          Returns the portlet preferences remote service.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setJournalContentSearchLocalService(JournalContentSearchLocalService journalContentSearchLocalService)
          Sets the journal content search local service.
 void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
          Sets the journal content search persistence.
 void setLayoutFinder(LayoutFinder layoutFinder)
          Sets the layout finder.
 void setLayoutLocalService(LayoutLocalService layoutLocalService)
          Sets the layout local service.
 void setLayoutPersistence(LayoutPersistence layoutPersistence)
          Sets the layout persistence.
 void setLayoutService(LayoutService layoutService)
          Sets the layout remote service.
 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 setPortletPreferencesService(PortletPreferencesService portletPreferencesService)
          Sets the portlet preferences remote service.
 JournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch)
          Updates the journal content search 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.journal.service.JournalContentSearchLocalService
checkContentSearches, deleteArticleContentSearch, deleteArticleContentSearch, deleteArticleContentSearches, deleteLayoutContentSearches, deleteOwnerContentSearches, getArticleContentSearches, getArticleContentSearches, getArticleContentSearches, getLayoutIds, getLayoutIdsCount, getLayoutIdsCount, getPortletContentSearches, updateContentSearch, updateContentSearch, updateContentSearch
 

Field Detail

journalContentSearchLocalService

@BeanReference(type=JournalContentSearchLocalService.class)
protected JournalContentSearchLocalService journalContentSearchLocalService

journalContentSearchPersistence

@BeanReference(type=JournalContentSearchPersistence.class)
protected JournalContentSearchPersistence journalContentSearchPersistence

counterLocalService

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

groupLocalService

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

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

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

groupFinder

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

layoutLocalService

@BeanReference(type=LayoutLocalService.class)
protected LayoutLocalService layoutLocalService

layoutService

@BeanReference(type=LayoutService.class)
protected LayoutService layoutService

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

layoutFinder

@BeanReference(type=LayoutFinder.class)
protected LayoutFinder layoutFinder

portletPreferencesLocalService

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

portletPreferencesService

@BeanReference(type=PortletPreferencesService.class)
protected PortletPreferencesService portletPreferencesService

portletPreferencesPersistence

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

portletPreferencesFinder

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

persistedModelLocalServiceRegistry

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

JournalContentSearchLocalServiceBaseImpl

public JournalContentSearchLocalServiceBaseImpl()
Method Detail

addJournalContentSearch

@Indexable(type=REINDEX)
public JournalContentSearch addJournalContentSearch(JournalContentSearch journalContentSearch)
Adds the journal content search to the database. Also notifies the appropriate model listeners.

Specified by:
addJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
journalContentSearch - the journal content search
Returns:
the journal content search that was added

createJournalContentSearch

public JournalContentSearch createJournalContentSearch(long contentSearchId)
Creates a new journal content search with the primary key. Does not add the journal content search to the database.

Specified by:
createJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
contentSearchId - the primary key for the new journal content search
Returns:
the new journal content search

deleteJournalContentSearch

@Indexable(type=DELETE)
public JournalContentSearch deleteJournalContentSearch(long contentSearchId)
                                                throws PortalException
Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
contentSearchId - the primary key of the journal content search
Returns:
the journal content search that was removed
Throws:
PortalException - if a journal content search with the primary key could not be found

deleteJournalContentSearch

@Indexable(type=DELETE)
public JournalContentSearch deleteJournalContentSearch(JournalContentSearch journalContentSearch)
Deletes the journal content search from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
journalContentSearch - the journal content search
Returns:
the journal content search that was removed

dynamicQuery

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

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

fetchJournalContentSearch

public JournalContentSearch fetchJournalContentSearch(long contentSearchId)
Specified by:
fetchJournalContentSearch in interface JournalContentSearchLocalService

getJournalContentSearch

public JournalContentSearch getJournalContentSearch(long contentSearchId)
                                             throws PortalException
Returns the journal content search with the primary key.

Specified by:
getJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
contentSearchId - the primary key of the journal content search
Returns:
the journal content search
Throws:
PortalException - if a journal content search with the primary key could not be found

getActionableDynamicQuery

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

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 JournalContentSearchLocalService
Throws:
PortalException

getPersistedModel

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

getJournalContentSearchs

public List<JournalContentSearch> getJournalContentSearchs(int start,
                                                           int end)
Returns a range of all the journal content searchs.

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 JournalContentSearchModelImpl. 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:
getJournalContentSearchs in interface JournalContentSearchLocalService
Parameters:
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of journal content searchs

getJournalContentSearchsCount

public int getJournalContentSearchsCount()
Returns the number of journal content searchs.

Specified by:
getJournalContentSearchsCount in interface JournalContentSearchLocalService
Returns:
the number of journal content searchs

updateJournalContentSearch

@Indexable(type=REINDEX)
public JournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch)
Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalContentSearch in interface JournalContentSearchLocalService
Parameters:
journalContentSearch - the journal content search
Returns:
the journal content search that was updated

getJournalContentSearchLocalService

public JournalContentSearchLocalService getJournalContentSearchLocalService()
Returns the journal content search local service.

Returns:
the journal content search local service

setJournalContentSearchLocalService

public void setJournalContentSearchLocalService(JournalContentSearchLocalService journalContentSearchLocalService)
Sets the journal content search local service.

Parameters:
journalContentSearchLocalService - the journal content search local service

getJournalContentSearchPersistence

public JournalContentSearchPersistence getJournalContentSearchPersistence()
Returns the journal content search persistence.

Returns:
the journal content search persistence

setJournalContentSearchPersistence

public void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
Sets the journal content search persistence.

Parameters:
journalContentSearchPersistence - the journal content search persistence

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

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

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

getLayoutLocalService

public LayoutLocalService getLayoutLocalService()
Returns the layout local service.

Returns:
the layout local service

setLayoutLocalService

public void setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service.

Parameters:
layoutLocalService - the layout local service

getLayoutService

public LayoutService getLayoutService()
Returns the layout remote service.

Returns:
the layout remote service

setLayoutService

public void setLayoutService(LayoutService layoutService)
Sets the layout remote service.

Parameters:
layoutService - the layout remote service

getLayoutPersistence

public LayoutPersistence getLayoutPersistence()
Returns the layout persistence.

Returns:
the layout persistence

setLayoutPersistence

public void setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence.

Parameters:
layoutPersistence - the layout persistence

getLayoutFinder

public LayoutFinder getLayoutFinder()
Returns the layout finder.

Returns:
the layout finder

setLayoutFinder

public void setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder.

Parameters:
layoutFinder - the layout 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

getPortletPreferencesService

public PortletPreferencesService getPortletPreferencesService()
Returns the portlet preferences remote service.

Returns:
the portlet preferences remote service

setPortletPreferencesService

public void setPortletPreferencesService(PortletPreferencesService portletPreferencesService)
Sets the portlet preferences remote service.

Parameters:
portletPreferencesService - the portlet preferences remote 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

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface JournalContentSearchLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface JournalContentSearchLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

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