Liferay 6.0.5

com.liferay.portlet.journal.service.persistence
Interface JournalContentSearchPersistence

All Superinterfaces:
BasePersistence<JournalContentSearch>
All Known Implementing Classes:
JournalContentSearchPersistenceImpl

public interface JournalContentSearchPersistence
extends BasePersistence<JournalContentSearch>

The persistence interface for the journal content search service.

Never modify or reference this interface directly. Always use JournalContentSearchUtil to access the journal content search persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.

Caching information and settings can be found in portal.properties

See Also:
JournalContentSearchPersistenceImpl, JournalContentSearchUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(JournalContentSearch journalContentSearch)
          Caches the journal content search in the entity cache if it is enabled.
 void cacheResult(List<JournalContentSearch> journalContentSearchs)
          Caches the journal content searchs in the entity cache if it is enabled.
 int countAll()
          Counts all the journal content searchs.
 int countByArticleId(String articleId)
          Counts all the journal content searchs where articleId = ?.
 int countByG_A(long groupId, String articleId)
          Counts all the journal content searchs where groupId = ? and articleId = ?.
 int countByG_P_A(long groupId, boolean privateLayout, String articleId)
          Counts all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
 int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.
 int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
          Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
 int countByG_P(long groupId, boolean privateLayout)
          Counts all the journal content searchs where groupId = ? and privateLayout = ?.
 JournalContentSearch create(long contentSearchId)
          Creates a new journal content search with the primary key.
 JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found.
 JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean retrieveFromCache)
          Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache.
 JournalContentSearch fetchByPrimaryKey(long contentSearchId)
          Finds the journal content search with the primary key or returns null if it could not be found.
 List<JournalContentSearch> findAll()
          Finds all the journal content searchs.
 List<JournalContentSearch> findAll(int start, int end)
          Finds a range of all the journal content searchs.
 List<JournalContentSearch> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs.
 JournalContentSearch findByArticleId_First(String articleId, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where articleId = ?.
 JournalContentSearch findByArticleId_Last(String articleId, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where articleId = ?.
 JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, String articleId, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = ?.
 List<JournalContentSearch> findByArticleId(String articleId)
          Finds all the journal content searchs where articleId = ?.
 List<JournalContentSearch> findByArticleId(String articleId, int start, int end)
          Finds a range of all the journal content searchs where articleId = ?.
 List<JournalContentSearch> findByArticleId(String articleId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where articleId = ?.
 JournalContentSearch findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where groupId = ? and articleId = ?.
 JournalContentSearch findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where groupId = ? and articleId = ?.
 JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?.
 List<JournalContentSearch> findByG_A(long groupId, String articleId)
          Finds all the journal content searchs where groupId = ? and articleId = ?.
 List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end)
          Finds a range of all the journal content searchs where groupId = ? and articleId = ?.
 List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where groupId = ? and articleId = ?.
 JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
 JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
 JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId)
          Finds all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end)
          Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
 JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ?.
 JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
 JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
 JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found.
 JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
          Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end)
          Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
 JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
          Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
 JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
 JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
          Finds all the journal content searchs where groupId = ? and privateLayout = ?.
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
          Finds a range of all the journal content searchs where groupId = ? and privateLayout = ?.
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?.
 JournalContentSearch findByPrimaryKey(long contentSearchId)
          Finds the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found.
 JournalContentSearch remove(long contentSearchId)
          Removes the journal content search with the primary key from the database.
 void removeAll()
          Removes all the journal content searchs from the database.
 void removeByArticleId(String articleId)
          Removes all the journal content searchs where articleId = ? from the database.
 void removeByG_A(long groupId, String articleId)
          Removes all the journal content searchs where groupId = ? and articleId = ? from the database.
 void removeByG_P_A(long groupId, boolean privateLayout, String articleId)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database.
 void removeByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.
 void removeByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database.
 void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database.
 void removeByG_P(long groupId, boolean privateLayout)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database.
 JournalContentSearch updateImpl(JournalContentSearch journalContentSearch, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(JournalContentSearch journalContentSearch)
Caches the journal content search in the entity cache if it is enabled.

Parameters:
journalContentSearch - the journal content search to cache

cacheResult

void cacheResult(List<JournalContentSearch> journalContentSearchs)
Caches the journal content searchs in the entity cache if it is enabled.

Parameters:
journalContentSearchs - the journal content searchs to cache

create

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

Parameters:
contentSearchId - the primary key for the new journal content search
Returns:
the new journal content search

remove

JournalContentSearch remove(long contentSearchId)
                            throws SystemException,
                                   NoSuchContentSearchException
Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
contentSearchId - the primary key of the journal content search to remove
Returns:
the journal content search that was removed
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
                                boolean merge)
                                throws SystemException
Throws:
SystemException

findByPrimaryKey

JournalContentSearch findByPrimaryKey(long contentSearchId)
                                      throws SystemException,
                                             NoSuchContentSearchException
Finds the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found.

Parameters:
contentSearchId - the primary key of the journal content search to find
Returns:
the journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

JournalContentSearch fetchByPrimaryKey(long contentSearchId)
                                       throws SystemException
Finds the journal content search with the primary key or returns null if it could not be found.

Parameters:
contentSearchId - the primary key of the journal content search to find
Returns:
the journal content search, or null if a journal content search with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId

List<JournalContentSearch> findByArticleId(String articleId)
                                           throws SystemException
Finds all the journal content searchs where articleId = ?.

Parameters:
articleId - the article id to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

List<JournalContentSearch> findByArticleId(String articleId,
                                           int start,
                                           int end)
                                           throws SystemException
Finds a range of all the journal content searchs where articleId = ?.

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.

Parameters:
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

List<JournalContentSearch> findByArticleId(String articleId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Finds an ordered range of all the journal content searchs where articleId = ?.

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.

Parameters:
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId_First

JournalContentSearch findByArticleId_First(String articleId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchContentSearchException
Finds the first journal content search in the ordered set where articleId = ?.

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.

Parameters:
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByArticleId_Last

JournalContentSearch findByArticleId_Last(String articleId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchContentSearchException
Finds the last journal content search in the ordered set where articleId = ?.

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.

Parameters:
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByArticleId_PrevAndNext

JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
                                                   String articleId,
                                                   OrderByComparator orderByComparator)
                                                   throws SystemException,
                                                          NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_P

List<JournalContentSearch> findByG_P(long groupId,
                                     boolean privateLayout)
                                     throws SystemException
Finds all the journal content searchs where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P

List<JournalContentSearch> findByG_P(long groupId,
                                     boolean privateLayout,
                                     int start,
                                     int end)
                                     throws SystemException
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P

List<JournalContentSearch> findByG_P(long groupId,
                                     boolean privateLayout,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_First

JournalContentSearch findByG_P_First(long groupId,
                                     boolean privateLayout,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchContentSearchException
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_Last

JournalContentSearch findByG_P_Last(long groupId,
                                    boolean privateLayout,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchContentSearchException
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_PrevAndNext

JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
                                             long groupId,
                                             boolean privateLayout,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group id to search with
privateLayout - the private layout to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_A

List<JournalContentSearch> findByG_A(long groupId,
                                     String articleId)
                                     throws SystemException
Finds all the journal content searchs where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A

List<JournalContentSearch> findByG_A(long groupId,
                                     String articleId,
                                     int start,
                                     int end)
                                     throws SystemException
Finds a range of all the journal content searchs where groupId = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A

List<JournalContentSearch> findByG_A(long groupId,
                                     String articleId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Finds an ordered range of all the journal content searchs where groupId = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A_First

JournalContentSearch findByG_A_First(long groupId,
                                     String articleId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchContentSearchException
Finds the first journal content search in the ordered set where groupId = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_A_Last

JournalContentSearch findByG_A_Last(long groupId,
                                    String articleId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchContentSearchException
Finds the last journal content search in the ordered set where groupId = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_A_PrevAndNext

JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
                                             long groupId,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_P_L

List<JournalContentSearch> findByG_P_L(long groupId,
                                       boolean privateLayout,
                                       long layoutId)
                                       throws SystemException
Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L

List<JournalContentSearch> findByG_P_L(long groupId,
                                       boolean privateLayout,
                                       long layoutId,
                                       int start,
                                       int end)
                                       throws SystemException
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L

List<JournalContentSearch> findByG_P_L(long groupId,
                                       boolean privateLayout,
                                       long layoutId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_First

JournalContentSearch findByG_P_L_First(long groupId,
                                       boolean privateLayout,
                                       long layoutId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchContentSearchException
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_L_Last

JournalContentSearch findByG_P_L_Last(long groupId,
                                      boolean privateLayout,
                                      long layoutId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchContentSearchException
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_L_PrevAndNext

JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
                                               long groupId,
                                               boolean privateLayout,
                                               long layoutId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_P_A

List<JournalContentSearch> findByG_P_A(long groupId,
                                       boolean privateLayout,
                                       String articleId)
                                       throws SystemException
Finds all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A

List<JournalContentSearch> findByG_P_A(long groupId,
                                       boolean privateLayout,
                                       String articleId,
                                       int start,
                                       int end)
                                       throws SystemException
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A

List<JournalContentSearch> findByG_P_A(long groupId,
                                       boolean privateLayout,
                                       String articleId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A_First

JournalContentSearch findByG_P_A_First(long groupId,
                                       boolean privateLayout,
                                       String articleId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchContentSearchException
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_A_Last

JournalContentSearch findByG_P_A_Last(long groupId,
                                      boolean privateLayout,
                                      String articleId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchContentSearchException
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_A_PrevAndNext

JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
                                               long groupId,
                                               boolean privateLayout,
                                               String articleId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_P_L_P

List<JournalContentSearch> findByG_P_L_P(long groupId,
                                         boolean privateLayout,
                                         long layoutId,
                                         String portletId)
                                         throws SystemException
Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P

List<JournalContentSearch> findByG_P_L_P(long groupId,
                                         boolean privateLayout,
                                         long layoutId,
                                         String portletId,
                                         int start,
                                         int end)
                                         throws SystemException
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P

List<JournalContentSearch> findByG_P_L_P(long groupId,
                                         boolean privateLayout,
                                         long layoutId,
                                         String portletId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_First

JournalContentSearch findByG_P_L_P_First(long groupId,
                                         boolean privateLayout,
                                         long layoutId,
                                         String portletId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchContentSearchException
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_L_P_Last

JournalContentSearch findByG_P_L_P_Last(long groupId,
                                        boolean privateLayout,
                                        long layoutId,
                                        String portletId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchContentSearchException
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

findByG_P_L_P_PrevAndNext

JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
                                                 long groupId,
                                                 boolean privateLayout,
                                                 long layoutId,
                                                 String portletId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchContentSearchException
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByG_P_L_P_A

JournalContentSearch findByG_P_L_P_A(long groupId,
                                     boolean privateLayout,
                                     long layoutId,
                                     String portletId,
                                     String articleId)
                                     throws SystemException,
                                            NoSuchContentSearchException
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
articleId - the article id to search with
Returns:
the matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_P_A

JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                      boolean privateLayout,
                                      long layoutId,
                                      String portletId,
                                      String articleId)
                                      throws SystemException
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
articleId - the article id to search with
Returns:
the matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_P_L_P_A

JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                      boolean privateLayout,
                                      long layoutId,
                                      String portletId,
                                      String articleId,
                                      boolean retrieveFromCache)
                                      throws SystemException
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
articleId - the article id to search with
Returns:
the matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<JournalContentSearch> findAll()
                                   throws SystemException
Finds all the journal content searchs.

Returns:
the journal content searchs
Throws:
SystemException - if a system exception occurred

findAll

List<JournalContentSearch> findAll(int start,
                                   int end)
                                   throws SystemException
Finds 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.

Parameters:
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
Returns:
the range of journal content searchs
Throws:
SystemException - if a system exception occurred

findAll

List<JournalContentSearch> findAll(int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Finds an ordered 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.

Parameters:
start - the lower bound of the range of journal content searchs to return
end - the upper bound of the range of journal content searchs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of journal content searchs
Throws:
SystemException - if a system exception occurred

removeByArticleId

void removeByArticleId(String articleId)
                       throws SystemException
Removes all the journal content searchs where articleId = ? from the database.

Parameters:
articleId - the article id to search with
Throws:
SystemException - if a system exception occurred

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
                 throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
Throws:
SystemException - if a system exception occurred

removeByG_A

void removeByG_A(long groupId,
                 String articleId)
                 throws SystemException
Removes all the journal content searchs where groupId = ? and articleId = ? from the database.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
Throws:
SystemException - if a system exception occurred

removeByG_P_L

void removeByG_P_L(long groupId,
                   boolean privateLayout,
                   long layoutId)
                   throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
Throws:
SystemException - if a system exception occurred

removeByG_P_A

void removeByG_P_A(long groupId,
                   boolean privateLayout,
                   String articleId)
                   throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P

void removeByG_P_L_P(long groupId,
                     boolean privateLayout,
                     long layoutId,
                     String portletId)
                     throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P_A

void removeByG_P_L_P_A(long groupId,
                       boolean privateLayout,
                       long layoutId,
                       String portletId,
                       String articleId)
                       throws SystemException,
                              NoSuchContentSearchException
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
articleId - the article id to search with
Throws:
SystemException - if a system exception occurred
NoSuchContentSearchException

removeAll

void removeAll()
               throws SystemException
Removes all the journal content searchs from the database.

Throws:
SystemException - if a system exception occurred

countByArticleId

int countByArticleId(String articleId)
                     throws SystemException
Counts all the journal content searchs where articleId = ?.

Parameters:
articleId - the article id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
               throws SystemException
Counts all the journal content searchs where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_A

int countByG_A(long groupId,
               String articleId)
               throws SystemException
Counts all the journal content searchs where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L

int countByG_P_L(long groupId,
                 boolean privateLayout,
                 long layoutId)
                 throws SystemException
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_A

int countByG_P_A(long groupId,
                 boolean privateLayout,
                 String articleId)
                 throws SystemException
Counts all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
articleId - the article id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L_P

int countByG_P_L_P(long groupId,
                   boolean privateLayout,
                   long layoutId,
                   String portletId)
                   throws SystemException
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L_P_A

int countByG_P_L_P_A(long groupId,
                     boolean privateLayout,
                     long layoutId,
                     String portletId,
                     String articleId)
                     throws SystemException
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
privateLayout - the private layout to search with
layoutId - the layout id to search with
portletId - the portlet id to search with
articleId - the article id to search with
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Counts all the journal content searchs.

Returns:
the number of journal content searchs
Throws:
SystemException - if a system exception occurred

Liferay 6.0.5