|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalContentSearch>
com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistenceImpl
public class JournalContentSearchPersistenceImpl
The persistence for the journal content search service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
Caching information and settings can be found in portal.properties
JournalContentSearchPersistence,
JournalContentSearchUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
JournalContentSearchPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the journal content search persistence. |
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. |
void |
clearCache()
Clears the cache for all journal content searchs. |
void |
clearCache(JournalContentSearch journalContentSearch)
Clears the cache for the journal content search. |
int |
countAll()
Counts all the journal content searchs. |
int |
countByArticleId(String articleId)
Counts all the journal content searchs where articleId = ?. |
int |
countByG_A(long groupId,
String articleId)
Counts all the journal content searchs where groupId = ? and articleId = ?. |
int |
countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
int |
countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?. |
int |
countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Counts all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
int |
countByG_P(long groupId,
boolean privateLayout)
Counts all the journal content searchs where groupId = ? and privateLayout = ?. |
JournalContentSearch |
create(long contentSearchId)
Creates a new journal content search with the primary key. |
JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. |
JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache. |
JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
Finds the journal content search with the primary key or returns null if it could not be found. |
JournalContentSearch |
fetchByPrimaryKey(Serializable primaryKey)
Finds the journal content search with the primary key or returns null if it could not be found. |
List<JournalContentSearch> |
findAll()
Finds all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end)
Finds a range of all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs. |
JournalContentSearch |
findByArticleId_First(String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
findByArticleId_Last(String articleId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where articleId = ?. |
JournalContentSearch[] |
findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId)
Finds all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end)
Finds a range of all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where articleId = ?. |
JournalContentSearch |
findByG_A_First(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
findByG_A_Last(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch[] |
findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId)
Finds all the journal content searchs where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and articleId = ?. |
JournalContentSearch |
findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch[] |
findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Finds all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Finds the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found. |
JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch[] |
findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch[] |
findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Finds all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Finds the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch[] |
findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Finds the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout)
Finds all the journal content searchs where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Finds a range of all the journal content searchs where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. |
JournalContentSearch |
findByPrimaryKey(long contentSearchId)
Finds the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found. |
JournalContentSearch |
findByPrimaryKey(Serializable primaryKey)
Finds the journal content search with the primary key or throws a NoSuchModelException if it could not be found. |
protected JournalContentSearch |
getByArticleId_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_L_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_L_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
|
JournalContentSearch |
remove(long contentSearchId)
Removes the journal content search with the primary key from the database. |
JournalContentSearch |
remove(Serializable primaryKey)
Removes the journal content search with the primary key from the database. |
void |
removeAll()
Removes all the journal content searchs from the database. |
void |
removeByArticleId(String articleId)
Removes all the journal content searchs where articleId = ? from the database. |
void |
removeByG_A(long groupId,
String articleId)
Removes all the journal content searchs where groupId = ? and articleId = ? from the database. |
void |
removeByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database. |
void |
removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database. |
void |
removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database. |
void |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database. |
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database. |
protected JournalContentSearch |
removeImpl(JournalContentSearch journalContentSearch)
Removes the model instance from the database. |
protected JournalContentSearch |
toUnwrappedModel(JournalContentSearch journalContentSearch)
|
JournalContentSearch |
updateImpl(JournalContentSearch journalContentSearch,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_ARTICLEID
public static final FinderPath FINDER_PATH_COUNT_BY_ARTICLEID
public static final FinderPath FINDER_PATH_FIND_BY_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P
public static final FinderPath FINDER_PATH_FIND_BY_G_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_A
public static final FinderPath FINDER_PATH_FIND_BY_G_P_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L
public static final FinderPath FINDER_PATH_FIND_BY_G_P_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_A
public static final FinderPath FINDER_PATH_FIND_BY_G_P_L_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L_P
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_L_P_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L_P_A
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalArticleImagePersistence.class) protected JournalArticleImagePersistence journalArticleImagePersistence
@BeanReference(type=JournalArticleResourcePersistence.class) protected JournalArticleResourcePersistence journalArticleResourcePersistence
@BeanReference(type=JournalContentSearchPersistence.class) protected JournalContentSearchPersistence journalContentSearchPersistence
@BeanReference(type=JournalFeedPersistence.class) protected JournalFeedPersistence journalFeedPersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public JournalContentSearchPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(JournalContentSearch journalContentSearch)
cacheResult in interface JournalContentSearchPersistencejournalContentSearch - the journal content search to cachepublic void cacheResult(List<JournalContentSearch> journalContentSearchs)
cacheResult in interface JournalContentSearchPersistencejournalContentSearchs - the journal content searchs to cachepublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalContentSearch>clearCache in class BasePersistenceImpl<JournalContentSearch>public void clearCache(JournalContentSearch journalContentSearch)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalContentSearch>clearCache in class BasePersistenceImpl<JournalContentSearch>journalContentSearch - the instance of this model to clear the cache forpublic JournalContentSearch create(long contentSearchId)
create in interface JournalContentSearchPersistencecontentSearchId - the primary key for the new journal content search
public JournalContentSearch remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
remove in interface BasePersistence<JournalContentSearch>remove in class BasePersistenceImpl<JournalContentSearch>primaryKey - the primary key of the journal content search to remove
NoSuchModelException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public JournalContentSearch remove(long contentSearchId)
throws NoSuchContentSearchException,
SystemException
remove in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch removeImpl(JournalContentSearch journalContentSearch)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<JournalContentSearch>journalContentSearch - the model instance to remove
SystemException - if a system exception occurred
public JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface JournalContentSearchPersistenceupdateImpl in class BasePersistenceImpl<JournalContentSearch>journalContentSearch - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected JournalContentSearch toUnwrappedModel(JournalContentSearch journalContentSearch)
public JournalContentSearch findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<JournalContentSearch>findByPrimaryKey in class BasePersistenceImpl<JournalContentSearch>primaryKey - the primary key of the journal content search to find
NoSuchModelException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred
public JournalContentSearch findByPrimaryKey(long contentSearchId)
throws NoSuchContentSearchException,
SystemException
NoSuchContentSearchException if it could not be found.
findByPrimaryKey in interface JournalContentSearchPersistencecontentSearchId - 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 JournalContentSearch fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<JournalContentSearch>fetchByPrimaryKey in class BasePersistenceImpl<JournalContentSearch>primaryKey - 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 JournalContentSearch fetchByPrimaryKey(long contentSearchId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface JournalContentSearchPersistencecontentSearchId - 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 List<JournalContentSearch> findByArticleId(String articleId)
throws SystemException
findByArticleId in interface JournalContentSearchPersistencearticleId - the article id to search with
SystemException - if a system exception occurred
public 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.
findByArticleId in interface JournalContentSearchPersistencearticleId - 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 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.
findByArticleId in interface JournalContentSearchPersistencearticleId - 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 JournalContentSearch findByArticleId_First(String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByArticleId_First in interface JournalContentSearchPersistencearticleId - 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 JournalContentSearch findByArticleId_Last(String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByArticleId_Last in interface JournalContentSearchPersistencearticleId - 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 JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByArticleId_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByArticleId_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
throws SystemException
findByG_P in interface JournalContentSearchPersistencegroupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public 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.
findByG_P in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_First in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_Last in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByG_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalContentSearch> findByG_A(long groupId,
String articleId)
throws SystemException
findByG_A in interface JournalContentSearchPersistencegroupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public 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.
findByG_A in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_A in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_A_First(long groupId,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_A_First in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_A_Last(long groupId,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_A_Last in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_A_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByG_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
findByG_P_L in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_L in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_L in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_First in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_Last in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByG_P_L_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
findByG_P_A in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_A in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_A in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_A_First in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_A_Last in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_A_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByG_P_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - 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 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.
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_P_First in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_P_Last in interface JournalContentSearchPersistencegroupId - 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 JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator)
throws NoSuchContentSearchException,
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.
findByG_P_L_P_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - 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
protected JournalContentSearch getByG_P_L_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator orderByComparator,
boolean previous)
public JournalContentSearch findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException,
SystemException
NoSuchContentSearchException if it could not be found.
findByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - 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 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.
fetchByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - 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 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.
fetchByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - 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 List<JournalContentSearch> findAll()
throws SystemException
findAll in interface JournalContentSearchPersistenceSystemException - if a system exception occurred
public 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.
findAll in interface JournalContentSearchPersistencestart - 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 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.
findAll in interface JournalContentSearchPersistencestart - 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 void removeByArticleId(String articleId)
throws SystemException
removeByArticleId in interface JournalContentSearchPersistencearticleId - the article id to search with
SystemException - if a system exception occurred
public void removeByG_P(long groupId,
boolean privateLayout)
throws SystemException
removeByG_P in interface JournalContentSearchPersistencegroupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public void removeByG_A(long groupId,
String articleId)
throws SystemException
removeByG_A in interface JournalContentSearchPersistencegroupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
removeByG_P_L in interface JournalContentSearchPersistencegroupId - 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 void removeByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
removeByG_P_A in interface JournalContentSearchPersistencegroupId - 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 void removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
removeByG_P_L_P in interface JournalContentSearchPersistencegroupId - 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 void removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException,
SystemException
removeByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - 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 void removeAll()
throws SystemException
removeAll in interface JournalContentSearchPersistenceSystemException - if a system exception occurred
public int countByArticleId(String articleId)
throws SystemException
countByArticleId in interface JournalContentSearchPersistencearticleId - the article id to search with
SystemException - if a system exception occurred
public int countByG_P(long groupId,
boolean privateLayout)
throws SystemException
countByG_P in interface JournalContentSearchPersistencegroupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public int countByG_A(long groupId,
String articleId)
throws SystemException
countByG_A in interface JournalContentSearchPersistencegroupId - the group id to search witharticleId - the article id to search with
SystemException - if a system exception occurred
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
countByG_P_L in interface JournalContentSearchPersistencegroupId - 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 int countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
throws SystemException
countByG_P_A in interface JournalContentSearchPersistencegroupId - 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 int countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
throws SystemException
countByG_P_L_P in interface JournalContentSearchPersistencegroupId - 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 int countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws SystemException
countByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - 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 int countAll()
throws SystemException
countAll in interface JournalContentSearchPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||