|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface JournalContentSearchPersistence
The persistence interface for the journal content search service.
Caching information and settings can be found in portal.properties
JournalContentSearchPersistenceImpl,
JournalContentSearchUtil| 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()
Returns the number of journal content searchs. |
int |
countByArticleId(String articleId)
Returns the number of journal content searchs where articleId = ?. |
int |
countByG_A(long groupId,
String articleId)
Returns the number of journal content searchs where groupId = ? and articleId = ?. |
int |
countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Returns the number of 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)
Returns the number of 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)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of journal content searchs where groupId = ? and privateLayout = ?. |
int |
countByPortletId(String portletId)
Returns the number of journal content searchs where portletId = ?. |
JournalContentSearch |
create(long contentSearchId)
Creates a new journal content search with the primary key. |
JournalContentSearch |
fetchByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
fetchByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
fetchByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
fetchByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
fetchByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
fetchByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
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. |
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. |
JournalContentSearch |
fetchByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
fetchByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
fetchByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
fetchByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or returns null if it could not be found. |
Map<Serializable,JournalContentSearch> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
List<JournalContentSearch> |
findAll()
Returns all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end)
Returns a range of all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs. |
JournalContentSearch |
findByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
findByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where articleId = ?. |
JournalContentSearch[] |
findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId)
Returns all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end)
Returns a range of all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where articleId = ?. |
JournalContentSearch |
findByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
findByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch[] |
findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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)
Returns all the journal content searchs where groupId = ? and articleId = ?. |
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 = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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)
Returns 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)
Returns 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<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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)
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. |
JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> 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 = ?. |
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 = ?. |
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 = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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<JournalContentSearch> orderByComparator)
Returns 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)
Returns 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)
Returns 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<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch[] |
findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns 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)
Returns all the journal content searchs where groupId = ? and privateLayout = ?. |
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 = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. |
JournalContentSearch |
findByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
findByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where portletId = ?. |
JournalContentSearch[] |
findByPortletId_PrevAndNext(long contentSearchId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId)
Returns all the journal content searchs where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId,
int start,
int end)
Returns a range of all the journal content searchs where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where portletId = ?. |
JournalContentSearch |
findByPrimaryKey(long contentSearchId)
Returns 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. |
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. |
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. |
void |
removeByPortletId(String portletId)
Removes all the journal content searchs where portletId = ? from the database. |
JournalContentSearch |
updateImpl(JournalContentSearch journalContentSearch)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<JournalContentSearch> findByPortletId(String portletId)
portletId - the portlet ID
List<JournalContentSearch> findByPortletId(String portletId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
portletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByPortletId(String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
portletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
portletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
portletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
portletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
portletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByPortletId_PrevAndNext(long contentSearchId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be foundvoid removeByPortletId(String portletId)
portletId - the portlet IDint countByPortletId(String portletId)
portletId - the portlet ID
List<JournalContentSearch> findByArticleId(String articleId)
articleId - the article ID
List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
articleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
articleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
articleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
articleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
articleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
articleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searcharticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be foundvoid removeByArticleId(String articleId)
articleId - the article IDint countByArticleId(String articleId)
articleId - the article ID
List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
groupId - the group IDprivateLayout - the private layout
List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
void removeByG_P(long groupId,
boolean privateLayout)
groupId - the group IDprivateLayout - the private layout
int countByG_P(long groupId,
boolean privateLayout)
groupId - the group IDprivateLayout - the private layout
List<JournalContentSearch> findByG_A(long groupId,
String articleId)
groupId - the group IDarticleId - the article ID
List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchgroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
void removeByG_A(long groupId,
String articleId)
groupId - the group IDarticleId - the article ID
int countByG_A(long groupId,
String articleId)
groupId - the group IDarticleId - the article ID
List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
groupId - the group IDprivateLayout - the private layoutarticleId - the article ID
List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
void removeByG_P_A(long groupId,
boolean privateLayout,
String articleId)
groupId - the group IDprivateLayout - the private layoutarticleId - the article ID
int countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
groupId - the group IDprivateLayout - the private layoutarticleId - the article ID
List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
JournalContentSearch findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
contentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
void removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
int countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
JournalContentSearch findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
NoSuchContentSearchException - if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
null if it could not be found. Uses the finder cache.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
null if a matching journal content search could not be found
JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article IDretrieveFromCache - whether to use the finder cache
null if a matching journal content search could not be found
JournalContentSearch removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
NoSuchContentSearchException
int countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
groupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
void cacheResult(JournalContentSearch journalContentSearch)
journalContentSearch - the journal content searchvoid cacheResult(List<JournalContentSearch> journalContentSearchs)
journalContentSearchs - the journal content searchsJournalContentSearch create(long contentSearchId)
contentSearchId - the primary key for the new journal content search
JournalContentSearch remove(long contentSearchId)
throws NoSuchContentSearchException
contentSearchId - the primary key of the journal content search
NoSuchContentSearchException - if a journal content search with the primary key could not be foundJournalContentSearch updateImpl(JournalContentSearch journalContentSearch)
JournalContentSearch findByPrimaryKey(long contentSearchId)
throws NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
contentSearchId - the primary key of the journal content search
NoSuchContentSearchException - if a journal content search with the primary key could not be foundJournalContentSearch fetchByPrimaryKey(long contentSearchId)
null if it could not be found.
contentSearchId - the primary key of the journal content search
null if a journal content search with the primary key could not be foundMap<Serializable,JournalContentSearch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<JournalContentSearch>List<JournalContentSearch> findAll()
List<JournalContentSearch> findAll(int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
List<JournalContentSearch> findAll(int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
void removeAll()
int countAll()
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||