|
Liferay 7.0-ce-m6 | |||||||||
| 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.impl.JournalContentSearchPersistenceImpl
@ProviderType public class JournalContentSearchPersistenceImpl
The persistence implementation for the journal content search service.
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, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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. |
protected void |
cacheUniqueFindersCache(JournalContentSearch journalContentSearch)
|
void |
clearCache()
Clears the cache for all journal content searchs. |
void |
clearCache(JournalContentSearch journalContentSearch)
Clears the cache for the journal content search. |
void |
clearCache(List<JournalContentSearch> journalContentSearchs)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(JournalContentSearch journalContentSearch)
|
int |
countAll()
Returns the number of journal content searchs. |
int |
countByArticleId(String articleId)
Returns the number of journal content searchs where articleId = ?. |
int |
countByG_A(long groupId,
String articleId)
Returns the number of journal content searchs where groupId = ? and articleId = ?. |
int |
countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
int |
countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?. |
int |
countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of journal content searchs where groupId = ? and privateLayout = ?. |
int |
countByPortletId(String portletId)
Returns the number of journal content searchs where portletId = ?. |
JournalContentSearch |
create(long contentSearchId)
Creates a new journal content search with the primary key. |
void |
destroy()
|
JournalContentSearch |
fetchByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
fetchByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
fetchByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
fetchByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
fetchByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
fetchByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. |
JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found, optionally using the finder cache. |
JournalContentSearch |
fetchByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
fetchByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
fetchByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
fetchByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or returns null if it could not be found. |
JournalContentSearch |
fetchByPrimaryKey(Serializable primaryKey)
Returns the journal content search with the primary key or returns null if it could not be found. |
Map<Serializable,JournalContentSearch> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
List<JournalContentSearch> |
findAll()
Returns all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end)
Returns a range of all the journal content searchs. |
List<JournalContentSearch> |
findAll(int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs. |
JournalContentSearch |
findByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where articleId = ?. |
JournalContentSearch |
findByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where articleId = ?. |
JournalContentSearch[] |
findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId)
Returns all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end)
Returns a range of all the journal content searchs where articleId = ?. |
List<JournalContentSearch> |
findByArticleId(String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where articleId = ?. |
JournalContentSearch |
findByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch |
findByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. |
JournalContentSearch[] |
findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId)
Returns all the journal content searchs where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and articleId = ?. |
JournalContentSearch |
findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch[] |
findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
JournalContentSearch |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch |
findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a NoSuchContentSearchException if it could not be found. |
JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch |
findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch[] |
findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
JournalContentSearch[] |
findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
JournalContentSearch |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
JournalContentSearch[] |
findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the journal content searchs where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ?. |
List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. |
JournalContentSearch |
findByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the first journal content search in the ordered set where portletId = ?. |
JournalContentSearch |
findByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the last journal content search in the ordered set where portletId = ?. |
JournalContentSearch[] |
findByPortletId_PrevAndNext(long contentSearchId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId)
Returns all the journal content searchs where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId,
int start,
int end)
Returns a range of all the journal content searchs where portletId = ?. |
List<JournalContentSearch> |
findByPortletId(String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Returns an ordered range of all the journal content searchs where portletId = ?. |
JournalContentSearch |
findByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found. |
JournalContentSearch |
findByPrimaryKey(Serializable primaryKey)
Returns 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<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_L_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_L_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByG_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
|
protected JournalContentSearch |
getByPortletId_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
String portletId,
OrderByComparator<JournalContentSearch> 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. |
JournalContentSearch |
removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database. |
void |
removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database. |
void |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database. |
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database. |
void |
removeByPortletId(String portletId)
Removes all the journal content searchs where portletId = ? from the database. |
protected JournalContentSearch |
removeImpl(JournalContentSearch journalContentSearch)
Removes the model instance from the database. |
protected JournalContentSearch |
toUnwrappedModel(JournalContentSearch journalContentSearch)
|
JournalContentSearch |
updateImpl(JournalContentSearch journalContentSearch)
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, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| 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 |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PORTLETID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PORTLETID
public static final FinderPath FINDER_PATH_COUNT_BY_PORTLETID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID
public static final FinderPath FINDER_PATH_COUNT_BY_ARTICLEID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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
| Constructor Detail |
|---|
public JournalContentSearchPersistenceImpl()
| Method Detail |
|---|
public List<JournalContentSearch> findByPortletId(String portletId)
findByPortletId in interface JournalContentSearchPersistenceportletId - the portlet ID
public List<JournalContentSearch> findByPortletId(String portletId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPortletId in interface JournalContentSearchPersistenceportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByPortletId(String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPortletId in interface JournalContentSearchPersistenceportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByPortletId_First in interface JournalContentSearchPersistenceportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByPortletId_First(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByPortletId_First in interface JournalContentSearchPersistenceportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByPortletId_Last in interface JournalContentSearchPersistenceportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByPortletId_Last(String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByPortletId_Last in interface JournalContentSearchPersistenceportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByPortletId_PrevAndNext(long contentSearchId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByPortletId_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByPortletId_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByPortletId(String portletId)
removeByPortletId in interface JournalContentSearchPersistenceportletId - the portlet IDpublic int countByPortletId(String portletId)
countByPortletId in interface JournalContentSearchPersistenceportletId - the portlet ID
public List<JournalContentSearch> findByArticleId(String articleId)
findByArticleId in interface JournalContentSearchPersistencearticleId - the article ID
public List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByArticleId in interface JournalContentSearchPersistencearticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByArticleId(String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByArticleId in interface JournalContentSearchPersistencearticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByArticleId_First in interface JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByArticleId_First(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByArticleId_First in interface JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByArticleId_Last in interface JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByArticleId_Last(String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByArticleId_Last in interface JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByArticleId_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searcharticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByArticleId_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByArticleId(String articleId)
removeByArticleId in interface JournalContentSearchPersistencearticleId - the article IDpublic int countByArticleId(String articleId)
countByArticleId in interface JournalContentSearchPersistencearticleId - the article ID
public List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
findByG_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
public List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByG_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByG_P(long groupId,
boolean privateLayout)
removeByG_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
public int countByG_P(long groupId,
boolean privateLayout)
countByG_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
public List<JournalContentSearch> findByG_A(long groupId,
String articleId)
findByG_A in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
public List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_A in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_A in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_A_First in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_A_First(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_A_First in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_A_Last in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_A_Last(long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_A_Last in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_A_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchgroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByG_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByG_A(long groupId,
String articleId)
removeByG_A in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
public int countByG_A(long groupId,
String articleId)
countByG_A in interface JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
public List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
findByG_P_L in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
public List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_L in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_L in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_L_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_L_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByG_P_L_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
removeByG_P_L in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
countByG_P_L in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
public List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId)
findByG_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
public List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
String articleId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_A_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_A_First(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_A_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_A_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_A_Last(long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_A_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_A_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByG_P_A_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
String articleId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByG_P_A(long groupId,
boolean privateLayout,
String articleId)
removeByG_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
public int countByG_P_A(long groupId,
boolean privateLayout,
String articleId)
countByG_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
public List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
public List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_L_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDstart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalContentSearch findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_P_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_L_P_First in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_P_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
fetchByG_P_L_P_Last in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal content search could not be found
public JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator)
throws NoSuchContentSearchException
findByG_P_L_P_PrevAndNext in interface JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searchgroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchContentSearchException - if a journal content search with the primary key could not be found
protected JournalContentSearch getByG_P_L_P_PrevAndNext(Session session,
JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
String portletId,
OrderByComparator<JournalContentSearch> orderByComparator,
boolean previous)
public void removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
removeByG_P_L_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
public int countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
String portletId)
countByG_P_L_P in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
public JournalContentSearch findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
findByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
NoSuchContentSearchException - if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
null if it could not be found. Uses the finder cache.
fetchByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
null if a matching journal content search could not be found
public JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article IDretrieveFromCache - whether to use the finder cache
null if a matching journal content search could not be found
public JournalContentSearch removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
throws NoSuchContentSearchException
removeByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
NoSuchContentSearchException
public int countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
String portletId,
String articleId)
countByG_P_L_P_A in interface JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
public void cacheResult(JournalContentSearch journalContentSearch)
cacheResult in interface JournalContentSearchPersistencejournalContentSearch - the journal content searchpublic void cacheResult(List<JournalContentSearch> journalContentSearchs)
cacheResult in interface JournalContentSearchPersistencejournalContentSearchs - the journal content searchspublic 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 void clearCache(List<JournalContentSearch> journalContentSearchs)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<JournalContentSearch>clearCache in class BasePersistenceImpl<JournalContentSearch>journalContentSearchs - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(JournalContentSearch journalContentSearch)
protected void clearUniqueFindersCache(JournalContentSearch journalContentSearch)
public JournalContentSearch create(long contentSearchId)
create in interface JournalContentSearchPersistencecontentSearchId - the primary key for the new journal content search
public JournalContentSearch remove(long contentSearchId)
throws NoSuchContentSearchException
remove in interface JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
NoSuchContentSearchException - if a journal content search with the primary key could not be found
public JournalContentSearch remove(Serializable primaryKey)
throws NoSuchContentSearchException
remove in interface BasePersistence<JournalContentSearch>remove in class BasePersistenceImpl<JournalContentSearch>primaryKey - the primary key of the journal content search
NoSuchContentSearchException - if a journal content search with the primary key could not be foundprotected JournalContentSearch removeImpl(JournalContentSearch journalContentSearch)
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
public JournalContentSearch updateImpl(JournalContentSearch journalContentSearch)
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 update
protected JournalContentSearch toUnwrappedModel(JournalContentSearch journalContentSearch)
public JournalContentSearch findByPrimaryKey(Serializable primaryKey)
throws NoSuchContentSearchException
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
NoSuchContentSearchException - if a journal content search with the primary key could not be found
public JournalContentSearch findByPrimaryKey(long contentSearchId)
throws NoSuchContentSearchException
NoSuchContentSearchException if it could not be found.
findByPrimaryKey in interface JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
NoSuchContentSearchException - if a journal content search with the primary key could not be foundpublic JournalContentSearch fetchByPrimaryKey(Serializable primaryKey)
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
null if a journal content search with the primary key could not be foundpublic JournalContentSearch fetchByPrimaryKey(long contentSearchId)
null if it could not be found.
fetchByPrimaryKey in interface JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
null if a journal content search with the primary key could not be foundpublic Map<Serializable,JournalContentSearch> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<JournalContentSearch>fetchByPrimaryKeys in interface JournalContentSearchPersistencefetchByPrimaryKeys in class BasePersistenceImpl<JournalContentSearch>public List<JournalContentSearch> findAll()
findAll in interface JournalContentSearchPersistence
public List<JournalContentSearch> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface JournalContentSearchPersistencestart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
public List<JournalContentSearch> findAll(int start,
int end,
OrderByComparator<JournalContentSearch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalContentSearchModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface JournalContentSearchPersistencestart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public void removeAll()
removeAll in interface JournalContentSearchPersistencepublic int countAll()
countAll in interface JournalContentSearchPersistencepublic void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||