|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface JournalContentSearchLocalService
The interface for the journal content search local service.
Never modify or reference this interface directly. Always use JournalContentSearchLocalServiceUtil
to access the journal content search local service. Add custom service methods to JournalContentSearchLocalServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
JournalContentSearchLocalServiceUtil
,
JournalContentSearchLocalServiceBaseImpl
,
JournalContentSearchLocalServiceImpl
Method Summary | |
---|---|
JournalContentSearch |
addJournalContentSearch(JournalContentSearch journalContentSearch)
Adds the journal content search to the database. |
void |
checkContentSearches(long companyId)
|
JournalContentSearch |
createJournalContentSearch(long contentSearchId)
Creates a new journal content search with the primary key. |
void |
deleteArticleContentSearch(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
|
void |
deleteArticleContentSearches(long groupId,
String articleId)
|
void |
deleteJournalContentSearch(JournalContentSearch journalContentSearch)
Deletes the journal content search from the database. |
void |
deleteJournalContentSearch(long contentSearchId)
Deletes the journal content search with the primary key from the database. |
void |
deleteLayoutContentSearches(long groupId,
boolean privateLayout,
long layoutId)
|
void |
deleteOwnerContentSearches(long groupId,
boolean privateLayout)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
List<JournalContentSearch> |
getArticleContentSearches()
|
List<JournalContentSearch> |
getArticleContentSearches(long groupId,
String articleId)
|
List<JournalContentSearch> |
getArticleContentSearches(String articleId)
|
JournalContentSearch |
getJournalContentSearch(long contentSearchId)
Gets the journal content search with the primary key. |
List<JournalContentSearch> |
getJournalContentSearchs(int start,
int end)
Gets a range of all the journal content searchs. |
int |
getJournalContentSearchsCount()
Gets the number of journal content searchs. |
List<Long> |
getLayoutIds(long groupId,
boolean privateLayout,
String articleId)
|
int |
getLayoutIdsCount(long groupId,
boolean privateLayout,
String articleId)
|
int |
getLayoutIdsCount(String articleId)
|
JournalContentSearch |
updateContentSearch(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
|
List<JournalContentSearch> |
updateContentSearch(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String[] articleIds)
|
JournalContentSearch |
updateContentSearch(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean purge)
|
JournalContentSearch |
updateJournalContentSearch(JournalContentSearch journalContentSearch)
Updates the journal content search in the database. |
JournalContentSearch |
updateJournalContentSearch(JournalContentSearch journalContentSearch,
boolean merge)
Updates the journal content search in the database. |
Method Detail |
---|
JournalContentSearch addJournalContentSearch(JournalContentSearch journalContentSearch) throws SystemException
journalContentSearch
- the journal content search to add
SystemException
- if a system exception occurredJournalContentSearch createJournalContentSearch(long contentSearchId)
contentSearchId
- the primary key for the new journal content search
void deleteJournalContentSearch(long contentSearchId) throws PortalException, SystemException
contentSearchId
- the primary key of the journal content search to delete
PortalException
- if a journal content search with the primary key could not be found
SystemException
- if a system exception occurredvoid deleteJournalContentSearch(JournalContentSearch journalContentSearch) throws SystemException
journalContentSearch
- the journal content search to delete
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredList dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) JournalContentSearch getJournalContentSearch(long contentSearchId) throws PortalException, SystemException
contentSearchId
- the primary key of the journal content search to get
PortalException
- if a journal content search with the primary key could not be found
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalContentSearch> getJournalContentSearchs(int start, int end) throws SystemException
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.
start
- the lower bound of the range of journal content searchs to returnend
- the upper bound of the range of journal content searchs to return (not inclusive)
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getJournalContentSearchsCount() throws SystemException
SystemException
- if a system exception occurredJournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch) throws SystemException
journalContentSearch
- the journal content search to update
SystemException
- if a system exception occurredJournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch, boolean merge) throws SystemException
journalContentSearch
- the journal content search to updatemerge
- whether to merge the journal content search with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredvoid checkContentSearches(long companyId) throws PortalException, SystemException
PortalException
SystemException
void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws PortalException, SystemException
PortalException
SystemException
void deleteArticleContentSearches(long groupId, String articleId) throws SystemException
SystemException
void deleteLayoutContentSearches(long groupId, boolean privateLayout, long layoutId) throws SystemException
SystemException
void deleteOwnerContentSearches(long groupId, boolean privateLayout) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalContentSearch> getArticleContentSearches() throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalContentSearch> getArticleContentSearches(long groupId, String articleId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<JournalContentSearch> getArticleContentSearches(String articleId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getLayoutIds(long groupId, boolean privateLayout, String articleId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getLayoutIdsCount(long groupId, boolean privateLayout, String articleId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getLayoutIdsCount(String articleId) throws SystemException
SystemException
JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws PortalException, SystemException
PortalException
SystemException
JournalContentSearch updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean purge) throws PortalException, SystemException
PortalException
SystemException
List<JournalContentSearch> updateContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String[] articleIds) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |