Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.service.persistence
Class JournalContentSearchUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.persistence.JournalContentSearchUtil

public class JournalContentSearchUtil
extends Object

The persistence utility for the journal content search service. This utility wraps JournalContentSearchPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

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

Constructor Summary
JournalContentSearchUtil()
           
 
Method Summary
static void cacheResult(JournalContentSearch journalContentSearch)
          Caches the journal content search in the entity cache if it is enabled.
static void cacheResult(List<JournalContentSearch> journalContentSearchs)
          Caches the journal content searchs in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(JournalContentSearch journalContentSearch)
           
static int countAll()
          Returns the number of journal content searchs.
static int countByArticleId(String articleId)
          Returns the number of journal content searchs where articleId = ?.
static int countByG_A(long groupId, String articleId)
          Returns the number of journal content searchs where groupId = ? and articleId = ?.
static int countByG_P_A(long groupId, boolean privateLayout, String articleId)
          Returns the number of journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
static int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.
static int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
          Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
static int countByG_P(long groupId, boolean privateLayout)
          Returns the number of journal content searchs where groupId = ? and privateLayout = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static JournalContentSearch create(long contentSearchId)
          Creates a new journal content search with the primary key.
static JournalContentSearch fetchByArticleId_First(String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where articleId = ?.
static JournalContentSearch fetchByArticleId_Last(String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where articleId = ?.
static JournalContentSearch fetchByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
static JournalContentSearch fetchByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.
static JournalContentSearch fetchByG_P_A_First(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
static JournalContentSearch fetchByG_P_A_Last(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
static JournalContentSearch fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.
static JournalContentSearch fetchByG_P_L_First(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
static JournalContentSearch fetchByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found.
static JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean retrieveFromCache)
          Returns 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.
static JournalContentSearch fetchByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static JournalContentSearch fetchByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static JournalContentSearch fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
          Returns the journal content search with the primary key or returns null if it could not be found.
static List<JournalContentSearch> findAll()
          Returns all the journal content searchs.
static List<JournalContentSearch> findAll(int start, int end)
          Returns a range of all the journal content searchs.
static List<JournalContentSearch> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs.
static JournalContentSearch findByArticleId_First(String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where articleId = ?.
static JournalContentSearch findByArticleId_Last(String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where articleId = ?.
static JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, String articleId, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?.
static List<JournalContentSearch> findByArticleId(String articleId)
          Returns all the journal content searchs where articleId = ?.
static List<JournalContentSearch> findByArticleId(String articleId, int start, int end)
          Returns a range of all the journal content searchs where articleId = ?.
static List<JournalContentSearch> findByArticleId(String articleId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where articleId = ?.
static JournalContentSearch findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
static JournalContentSearch findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.
static JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?.
static List<JournalContentSearch> findByG_A(long groupId, String articleId)
          Returns all the journal content searchs where groupId = ? and articleId = ?.
static List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end)
          Returns a range of all the journal content searchs where groupId = ? and articleId = ?.
static List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and articleId = ?.
static JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
static JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
static JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.
static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId)
          Returns all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end)
          Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
static List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.
static JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.
static JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
static JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
static JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
          Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found.
static JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
          Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end)
          Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.
static JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.
static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
          Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
          Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
static List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.
static JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
static JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, OrderByComparator orderByComparator)
          Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.
static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
          Returns all the journal content searchs where groupId = ? and privateLayout = ?.
static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
          Returns a range of all the journal content searchs where groupId = ? and privateLayout = ?.
static List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?.
static JournalContentSearch findByPrimaryKey(long contentSearchId)
          Returns the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found.
static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static JournalContentSearchPersistence getPersistence()
           
static JournalContentSearch remove(long contentSearchId)
          Removes the journal content search with the primary key from the database.
static void removeAll()
          Removes all the journal content searchs from the database.
static void removeByArticleId(String articleId)
          Removes all the journal content searchs where articleId = ? from the database.
static void removeByG_A(long groupId, String articleId)
          Removes all the journal content searchs where groupId = ? and articleId = ? from the database.
static 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.
static JournalContentSearch 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.
static 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.
static 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.
static void removeByG_P(long groupId, boolean privateLayout)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database.
 void setPersistence(JournalContentSearchPersistence persistence)
          Deprecated.  
static JournalContentSearch update(JournalContentSearch journalContentSearch, boolean merge)
           
static JournalContentSearch update(JournalContentSearch journalContentSearch, boolean merge, ServiceContext serviceContext)
           
static JournalContentSearch updateImpl(JournalContentSearch journalContentSearch, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalContentSearchUtil

public JournalContentSearchUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(JournalContentSearch journalContentSearch)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                              int start,
                                                              int end)
                                                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                              int start,
                                                              int end,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static JournalContentSearch update(JournalContentSearch journalContentSearch,
                                          boolean merge)
                                   throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static JournalContentSearch update(JournalContentSearch journalContentSearch,
                                          boolean merge,
                                          ServiceContext serviceContext)
                                   throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

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

Parameters:
journalContentSearch - the journal content search

cacheResult

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

Parameters:
journalContentSearchs - the journal content searchs

create

public static 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

public static 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
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

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

findByPrimaryKey

public static JournalContentSearch findByPrimaryKey(long contentSearchId)
                                             throws SystemException,
                                                    NoSuchContentSearchException
Returns 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
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

public static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
                                              throws SystemException
Returns 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
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

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

Parameters:
articleId - the article ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

public static List<JournalContentSearch> findByArticleId(String articleId,
                                                         int start,
                                                         int end)
                                                  throws SystemException
Returns 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
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

public static List<JournalContentSearch> findByArticleId(String articleId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Returns 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
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId_First

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

Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByArticleId_First

public static JournalContentSearch fetchByArticleId_First(String articleId,
                                                          OrderByComparator orderByComparator)
                                                   throws SystemException
Returns the first journal content search in the ordered set where articleId = ?.

Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId_Last

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

Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByArticleId_Last

public static JournalContentSearch fetchByArticleId_Last(String articleId,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Returns the last journal content search in the ordered set where articleId = ?.

Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

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

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

findByG_P

public static List<JournalContentSearch> findByG_P(long groupId,
                                                   boolean privateLayout,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns 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
privateLayout - the private layout
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P

public static List<JournalContentSearch> findByG_P(long groupId,
                                                   boolean privateLayout,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns 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
privateLayout - the private layout
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_First

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

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_First

public static JournalContentSearch fetchByG_P_First(long groupId,
                                                    boolean privateLayout,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_Last

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

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_Last

public static JournalContentSearch fetchByG_P_Last(long groupId,
                                                   boolean privateLayout,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
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

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

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

findByG_A

public static List<JournalContentSearch> findByG_A(long groupId,
                                                   String articleId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns 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
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A

public static List<JournalContentSearch> findByG_A(long groupId,
                                                   String articleId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns 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
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A_First

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

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_A_First

public static JournalContentSearch fetchByG_A_First(long groupId,
                                                    String articleId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_Last

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

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_A_Last

public static JournalContentSearch fetchByG_A_Last(long groupId,
                                                   String articleId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

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

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

findByG_P_L

public static List<JournalContentSearch> findByG_P_L(long groupId,
                                                     boolean privateLayout,
                                                     long layoutId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L

public static List<JournalContentSearch> findByG_P_L(long groupId,
                                                     boolean privateLayout,
                                                     long layoutId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_First

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_L_First

public static JournalContentSearch fetchByG_P_L_First(long groupId,
                                                      boolean privateLayout,
                                                      long layoutId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_Last

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_L_Last

public static JournalContentSearch fetchByG_P_L_Last(long groupId,
                                                     boolean privateLayout,
                                                     long layoutId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
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

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

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

findByG_P_A

public static List<JournalContentSearch> findByG_P_A(long groupId,
                                                     boolean privateLayout,
                                                     String articleId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns 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
privateLayout - the private layout
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A

public static List<JournalContentSearch> findByG_P_A(long groupId,
                                                     boolean privateLayout,
                                                     String articleId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns 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
privateLayout - the private layout
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A_First

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

Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_A_First

public static JournalContentSearch fetchByG_P_A_First(long groupId,
                                                      boolean privateLayout,
                                                      String articleId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_A_Last

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

Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_A_Last

public static JournalContentSearch fetchByG_P_A_Last(long groupId,
                                                     boolean privateLayout,
                                                     String articleId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_A_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
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

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

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

findByG_P_L_P

public static List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                       boolean privateLayout,
                                                       long layoutId,
                                                       String portletId,
                                                       int start,
                                                       int end)
                                                throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P

public static List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                       boolean privateLayout,
                                                       long layoutId,
                                                       String portletId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_First

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_L_P_First

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_Last

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
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

fetchByG_P_L_P_Last

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

Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_PrevAndNext

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

Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
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

public static JournalContentSearch findByG_P_L_P_A(long groupId,
                                                   boolean privateLayout,
                                                   long layoutId,
                                                   String portletId,
                                                   String articleId)
                                            throws SystemException,
                                                   NoSuchContentSearchException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
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

public static JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                                    boolean privateLayout,
                                                    long layoutId,
                                                    String portletId,
                                                    String articleId)
                                             throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
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

public static JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                                    boolean privateLayout,
                                                    long layoutId,
                                                    String portletId,
                                                    String articleId,
                                                    boolean retrieveFromCache)
                                             throws SystemException
Returns 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
retrieveFromCache - whether to use the finder cache
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

public static List<JournalContentSearch> findAll()
                                          throws SystemException
Returns all the journal content searchs.

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

public static List<JournalContentSearch> findAll(int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns 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
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of journal content searchs
Throws:
SystemException - if a system exception occurred

removeByArticleId

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

Parameters:
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P

public static 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
privateLayout - the private layout
Throws:
SystemException - if a system exception occurred

removeByG_A

public static 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
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L

public static 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
privateLayout - the private layout
layoutId - the layout ID
Throws:
SystemException - if a system exception occurred

removeByG_P_A

public static 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
privateLayout - the private layout
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P

public static 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P_A

public static JournalContentSearch 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
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
Returns:
the journal content search that was removed
Throws:
SystemException - if a system exception occurred
NoSuchContentSearchException

removeAll

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

Throws:
SystemException - if a system exception occurred

countByArticleId

public static int countByArticleId(String articleId)
                            throws SystemException
Returns the number of journal content searchs where articleId = ?.

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

countByG_P

public static int countByG_P(long groupId,
                             boolean privateLayout)
                      throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ?.

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

countByG_A

public static int countByG_A(long groupId,
                             String articleId)
                      throws SystemException
Returns the number of journal content searchs where groupId = ? and articleId = ?.

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

countByG_P_L

public static int countByG_P_L(long groupId,
                               boolean privateLayout,
                               long layoutId)
                        throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

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

countByG_P_A

public static int countByG_P_A(long groupId,
                               boolean privateLayout,
                               String articleId)
                        throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

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

countByG_P_L_P

public static int countByG_P_L_P(long groupId,
                                 boolean privateLayout,
                                 long layoutId,
                                 String portletId)
                          throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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

countByG_P_L_P_A

public static int countByG_P_L_P_A(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   String portletId,
                                   String articleId)
                            throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.

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

countAll

public static int countAll()
                    throws SystemException
Returns the number of journal content searchs.

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

getPersistence

public static JournalContentSearchPersistence getPersistence()

setPersistence

public void setPersistence(JournalContentSearchPersistence persistence)
Deprecated. 


Liferay 6.1.2-ce-ga3