|
Liferay 6.1.2-ce-ga3 | |||||||||
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.
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)
|
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. |
void |
deleteLayoutContentSearches(long groupId,
boolean privateLayout,
long layoutId)
|
void |
deleteOwnerContentSearches(long groupId,
boolean privateLayout)
|
DynamicQuery |
dynamicQuery()
|
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)
Returns the number of rows that match the dynamic query. |
JournalContentSearch |
fetchJournalContentSearch(long contentSearchId)
|
List<JournalContentSearch> |
getArticleContentSearches()
|
List<JournalContentSearch> |
getArticleContentSearches(long groupId,
String articleId)
|
List<JournalContentSearch> |
getArticleContentSearches(String articleId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
JournalContentSearch |
getJournalContentSearch(long contentSearchId)
Returns the journal content search with the primary key. |
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. |
List<Long> |
getLayoutIds(long groupId,
boolean privateLayout,
String articleId)
|
int |
getLayoutIdsCount(long groupId,
boolean privateLayout,
String articleId)
|
int |
getLayoutIdsCount(String articleId)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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 or adds it if it does not yet exist. |
JournalContentSearch |
updateJournalContentSearch(JournalContentSearch journalContentSearch,
boolean merge)
Updates the journal content search in the database or adds it if it does not yet exist. |
Method Detail |
---|
JournalContentSearch addJournalContentSearch(JournalContentSearch journalContentSearch) throws SystemException
journalContentSearch
- the journal content search
SystemException
- if a system exception occurredJournalContentSearch createJournalContentSearch(long contentSearchId)
contentSearchId
- the primary key for the new journal content search
JournalContentSearch deleteJournalContentSearch(long contentSearchId) throws PortalException, SystemException
contentSearchId
- the primary key of the journal content search
PortalException
- if a journal content search with the primary key could not be found
SystemException
- if a system exception occurredJournalContentSearch deleteJournalContentSearch(JournalContentSearch journalContentSearch) throws SystemException
journalContentSearch
- the journal content search
SystemException
- if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
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 querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (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 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 (optionally null
)
SystemException
- if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) JournalContentSearch fetchJournalContentSearch(long contentSearchId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JournalContentSearch getJournalContentSearch(long contentSearchId) throws PortalException, SystemException
contentSearchId
- the primary key of the journal content search
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) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
PortalException
SystemException
@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 searchsend
- the upper bound of the range of journal content searchs (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
SystemException
- if a system exception occurredJournalContentSearch updateJournalContentSearch(JournalContentSearch journalContentSearch, boolean merge) throws SystemException
journalContentSearch
- the journal content searchmerge
- 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 occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanvoid checkContentSearches(long companyId) throws PortalException, SystemException
PortalException
SystemException
void deleteArticleContentSearch(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId) throws SystemException
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |