|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.service.persistence.JournalContentSearchUtil
public class JournalContentSearchUtil
The persistence utility for the journal content search service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
JournalContentSearchPersistence,
JournalContentSearchPersistenceImpl| 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()
Counts all the journal content searchs. |
static int |
countByArticleId(String articleId)
Counts all the journal content searchs where articleId = ?. |
static int |
countByG_A(long groupId,
String articleId)
Counts all the journal content searchs where groupId = ? and articleId = ?. |
static int |
countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Counts all the 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)
Counts all the 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)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
static int |
countByG_P(long groupId,
boolean privateLayout)
Counts all the 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 |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. |
static JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache. |
static JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
Finds the journal content search with the primary key or returns null if it could not be found. |
static List<JournalContentSearch> |
findAll()
Finds all the journal content searchs. |
static List<JournalContentSearch> |
findAll(int start,
int end)
Finds a range of all the journal content searchs. |
static List<JournalContentSearch> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs. |
static JournalContentSearch |
findByArticleId_First(String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where articleId = ?. |
static JournalContentSearch |
findByArticleId_Last(String articleId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where articleId = ?. |
static JournalContentSearch[] |
findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. |
static List<JournalContentSearch> |
findByArticleId(String articleId)
Finds all the journal content searchs where articleId = ?. |
static List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end)
Finds a range of all the journal content searchs where articleId = ?. |
static List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where articleId = ?. |
static JournalContentSearch |
findByG_A_First(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and articleId = ?. |
static JournalContentSearch |
findByG_A_Last(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds 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)
Finds 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)
Finds all the journal content searchs where groupId = ? and articleId = ?. |
static List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and articleId = ?. |
static List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and articleId = ?. |
static JournalContentSearch |
findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
static JournalContentSearch |
findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
static JournalContentSearch[] |
findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
static List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found. |
static JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static JournalContentSearch |
findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static JournalContentSearch[] |
findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
static JournalContentSearch[] |
findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
static List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds all the journal content searchs where groupId = ? and privateLayout = ?. |
static List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ?. |
static List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. |
static JournalContentSearch |
findByPrimaryKey(long contentSearchId)
Finds 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(JournalContentSearch journalContentSearch)
|
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 void |
removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database. |
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)
|
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 |
|---|
public JournalContentSearchUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(JournalContentSearch journalContentSearch)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<JournalContentSearch> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static JournalContentSearch remove(JournalContentSearch journalContentSearch)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static JournalContentSearch update(JournalContentSearch journalContentSearch,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static JournalContentSearch update(JournalContentSearch journalContentSearch,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(JournalContentSearch journalContentSearch)
journalContentSearch - the journal content search to cachepublic static void cacheResult(List<JournalContentSearch> journalContentSearchs)
journalContentSearchs - the journal content searchs to cachepublic static JournalContentSearch create(long contentSearchId)
contentSearchId - the primary key for the new journal content search
public static JournalContentSearch remove(long contentSearchId)
throws SystemException,
NoSuchContentSearchException
contentSearchId - the primary key of the journal content search to remove
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
boolean merge)
throws SystemException
SystemException
public static JournalContentSearch findByPrimaryKey(long contentSearchId)
throws SystemException,
NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
contentSearchId - the primary key of the journal content search to find
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
throws SystemException
null if it could not be found.
contentSearchId - the primary key of the journal content search to find
null if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByArticleId(String articleId)
throws SystemException
articleId - the article id to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
articleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
articleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByArticleId_First(String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
articleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByArticleId_Last(String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
articleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searcharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searchgroupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_A(long groupId,
String articleId)
throws SystemException
groupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search witharticleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search witharticleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByG_A_First(long groupId,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_A_Last(long groupId,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searchgroupId - the group id to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searchgroupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searchgroupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search with
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search withstart - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchContentSearchException
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.
contentSearchId - the primary key of the current journal content searchgroupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search withorderByComparator - the comparator to order the set by
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public static JournalContentSearch findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws SystemException,
NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search witharticleId - the article id to search with
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search witharticleId - the article id to search with
null if a matching journal content search could not be found
SystemException - if a system exception occurred
public static JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search witharticleId - the article id to search with
null if a matching journal content search could not be found
SystemException - if a system exception occurred
public static List<JournalContentSearch> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<JournalContentSearch> findAll(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)
SystemException - if a system exception occurred
public static List<JournalContentSearch> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
start - the lower bound of the range of journal content searchs to returnend - the upper bound of the range of journal content searchs to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByArticleId(String articleId)
throws SystemException
articleId - the article id to search with
SystemException - if a system exception occurred
public static void removeByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public static void removeByG_A(long groupId,
String articleId)
throws SystemException
groupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
SystemException - if a system exception occurred
public static void removeByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static void removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search with
SystemException - if a system exception occurred
public static void removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws SystemException,
NoSuchContentSearchException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
NoSuchContentSearchException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByArticleId(String articleId)
throws SystemException
articleId - the article id to search with
SystemException - if a system exception occurred
public static int countByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public static int countByG_A(long groupId,
String articleId)
throws SystemException
groupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
SystemException - if a system exception occurred
public static int countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static int countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search with
SystemException - if a system exception occurred
public static int countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search withportletId - the portlet id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static JournalContentSearchPersistence getPersistence()
public void setPersistence(JournalContentSearchPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||