Class JournalContentSearchLocalServiceWrapper
- All Implemented Interfaces:
JournalContentSearchLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<JournalContentSearchLocalService>
JournalContentSearchLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionJournalContentSearchLocalServiceWrapper
(JournalContentSearchLocalService journalContentSearchLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddJournalContentSearch
(JournalContentSearch journalContentSearch) Adds the journal content search to the database.void
checkContentSearches
(long companyId) createJournalContentSearch
(long contentSearchId) Creates a new journal content search with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) void
deleteArticleContentSearch
(long groupId, boolean privateLayout, long layoutId, String portletId) void
deleteArticleContentSearch
(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) void
deleteArticleContentSearches
(long groupId, String articleId) deleteJournalContentSearch
(long contentSearchId) Deletes the journal content search with the primary key from the database.deleteJournalContentSearch
(JournalContentSearch journalContentSearch) Deletes the journal content search from the database.void
deleteLayoutContentSearches
(long groupId, boolean privateLayout, long layoutId) void
deleteOwnerContentSearches
(long groupId, boolean privateLayout) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchJournalContentSearch
(long contentSearchId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getArticleContentSearches
(long groupId, String articleId) getArticleContentSearches
(String articleId) com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalContentSearch>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getJournalContentSearch
(long contentSearchId) Returns the journal content search with the primary key.getJournalContentSearchs
(int start, int end) Returns a range of all the journal content searches.int
Returns the number of journal content searches.getLayoutIds
(long groupId, boolean privateLayout, String articleId) int
getLayoutIdsCount
(long groupId, boolean privateLayout, String articleId) int
getLayoutIdsCount
(String articleId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getPortletContentSearches
(String portletId) void
setWrappedService
(JournalContentSearchLocalService journalContentSearchLocalService) updateContentSearch
(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) updateContentSearch
(long groupId, boolean privateLayout, long layoutId, String portletId, String[] articleIds) updateContentSearch
(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean purge) updateJournalContentSearch
(JournalContentSearch journalContentSearch) Updates the journal content search in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalContentSearch>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
JournalContentSearchLocalServiceWrapper
public JournalContentSearchLocalServiceWrapper() -
JournalContentSearchLocalServiceWrapper
public JournalContentSearchLocalServiceWrapper(JournalContentSearchLocalService journalContentSearchLocalService)
-
-
Method Details
-
addJournalContentSearch
Adds the journal content search to the database. Also notifies the appropriate model listeners.Important: Inspect JournalContentSearchLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addJournalContentSearch
in interfaceJournalContentSearchLocalService
- Parameters:
journalContentSearch
- the journal content search- Returns:
- the journal content search that was added
-
checkContentSearches
public void checkContentSearches(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
checkContentSearches
in interfaceJournalContentSearchLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createJournalContentSearch
Creates a new journal content search with the primary key. Does not add the journal content search to the database.- Specified by:
createJournalContentSearch
in interfaceJournalContentSearchLocalService
- Parameters:
contentSearchId
- the primary key for the new journal content search- Returns:
- the new journal content search
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceJournalContentSearchLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteArticleContentSearch
public void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId) - Specified by:
deleteArticleContentSearch
in interfaceJournalContentSearchLocalService
-
deleteArticleContentSearch
public void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) - Specified by:
deleteArticleContentSearch
in interfaceJournalContentSearchLocalService
-
deleteArticleContentSearches
- Specified by:
deleteArticleContentSearches
in interfaceJournalContentSearchLocalService
-
deleteJournalContentSearch
Deletes the journal content search from the database. Also notifies the appropriate model listeners.Important: Inspect JournalContentSearchLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJournalContentSearch
in interfaceJournalContentSearchLocalService
- Parameters:
journalContentSearch
- the journal content search- Returns:
- the journal content search that was removed
-
deleteJournalContentSearch
public JournalContentSearch deleteJournalContentSearch(long contentSearchId) throws com.liferay.portal.kernel.exception.PortalException Deletes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect JournalContentSearchLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteJournalContentSearch
in interfaceJournalContentSearchLocalService
- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
deleteLayoutContentSearches
public void deleteLayoutContentSearches(long groupId, boolean privateLayout, long layoutId) - Specified by:
deleteLayoutContentSearches
in interfaceJournalContentSearchLocalService
-
deleteOwnerContentSearches
public void deleteOwnerContentSearches(long groupId, boolean privateLayout) - Specified by:
deleteOwnerContentSearches
in interfaceJournalContentSearchLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceJournalContentSearchLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceJournalContentSearchLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceJournalContentSearchLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceJournalContentSearchLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceJournalContentSearchLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl
.- Specified by:
dynamicQuery
in interfaceJournalContentSearchLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl
.- Specified by:
dynamicQuery
in interfaceJournalContentSearchLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceJournalContentSearchLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceJournalContentSearchLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchJournalContentSearch
- Specified by:
fetchJournalContentSearch
in interfaceJournalContentSearchLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceJournalContentSearchLocalService
-
getArticleContentSearches
- Specified by:
getArticleContentSearches
in interfaceJournalContentSearchLocalService
-
getArticleContentSearches
- Specified by:
getArticleContentSearches
in interfaceJournalContentSearchLocalService
-
getArticleContentSearches
- Specified by:
getArticleContentSearches
in interfaceJournalContentSearchLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceJournalContentSearchLocalService
-
getJournalContentSearch
public JournalContentSearch getJournalContentSearch(long contentSearchId) throws com.liferay.portal.kernel.exception.PortalException Returns the journal content search with the primary key.- Specified by:
getJournalContentSearch
in interfaceJournalContentSearchLocalService
- 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 foundcom.liferay.portal.kernel.exception.PortalException
-
getJournalContentSearchs
Returns a range of all the journal content searches.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.journal.model.impl.JournalContentSearchModelImpl
.- Specified by:
getJournalContentSearchs
in interfaceJournalContentSearchLocalService
- Parameters:
start
- the lower bound of the range of journal content searchesend
- the upper bound of the range of journal content searches (not inclusive)- Returns:
- the range of journal content searches
-
getJournalContentSearchsCount
public int getJournalContentSearchsCount()Returns the number of journal content searches.- Specified by:
getJournalContentSearchsCount
in interfaceJournalContentSearchLocalService
- Returns:
- the number of journal content searches
-
getLayoutIds
- Specified by:
getLayoutIds
in interfaceJournalContentSearchLocalService
-
getLayoutIdsCount
- Specified by:
getLayoutIdsCount
in interfaceJournalContentSearchLocalService
-
getLayoutIdsCount
- Specified by:
getLayoutIdsCount
in interfaceJournalContentSearchLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceJournalContentSearchLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceJournalContentSearchLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getPortletContentSearches
- Specified by:
getPortletContentSearches
in interfaceJournalContentSearchLocalService
-
updateContentSearch
public JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateContentSearch
in interfaceJournalContentSearchLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateContentSearch
public JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean purge) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateContentSearch
in interfaceJournalContentSearchLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateContentSearch
public List<JournalContentSearch> updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String[] articleIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateContentSearch
in interfaceJournalContentSearchLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateJournalContentSearch
Updates the journal content search in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect JournalContentSearchLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateJournalContentSearch
in interfaceJournalContentSearchLocalService
- Parameters:
journalContentSearch
- the journal content search- Returns:
- the journal content search that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalContentSearch> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>
- Specified by:
getCTPersistence
in interfaceJournalContentSearchLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>
- Specified by:
getModelClass
in interfaceJournalContentSearchLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalContentSearch>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<JournalContentSearch>
- Specified by:
updateWithUnsafeFunction
in interfaceJournalContentSearchLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<JournalContentSearchLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<JournalContentSearchLocalService>
-