|
|||||||||
| 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<com.liferay.portlet.journal.model.JournalContentSearch>
com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistenceImpl
public class JournalContentSearchPersistenceImpl
The persistence implementation for the journal content search service.
Caching information and settings can be found in portal.properties
JournalContentSearchPersistence,
JournalContentSearchUtil| Field Summary | |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_ARTICLEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_L
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_L_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_L_P_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_L_P_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L_P
|
protected com.liferay.portal.service.persistence.GroupPersistence |
groupPersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence |
journalArticleImagePersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalArticlePersistence |
journalArticlePersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence |
journalArticleResourcePersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence |
journalContentSearchPersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalFeedPersistence |
journalFeedPersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalStructurePersistence |
journalStructurePersistence
|
protected com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence |
journalTemplatePersistence
|
protected com.liferay.portal.service.persistence.LayoutPersistence |
layoutPersistence
|
protected com.liferay.portal.service.persistence.PortletPreferencesPersistence |
portletPreferencesPersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
Caches the journal content search in the entity cache if it is enabled. |
void |
cacheResult(java.util.List<com.liferay.portlet.journal.model.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(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
Clears the cache for the journal content search. |
void |
clearCache(java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs)
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
|
int |
countAll()
Returns the number of journal content searchs. |
int |
countByArticleId(java.lang.String articleId)
Returns the number of journal content searchs where articleId = ?. |
int |
countByG_A(long groupId,
java.lang.String articleId)
Returns the number of journal content searchs where groupId = ? and articleId = ?. |
int |
countByG_P_A(long groupId,
boolean privateLayout,
java.lang.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,
java.lang.String portletId,
java.lang.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,
java.lang.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 = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
create(long contentSearchId)
Creates a new journal content search with the primary key. |
void |
destroy()
|
com.liferay.portlet.journal.model.JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.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. |
com.liferay.portlet.journal.model.JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.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. |
com.liferay.portlet.journal.model.JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or returns null if it could not be found. |
com.liferay.portlet.journal.model.JournalContentSearch |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the journal content search with the primary key or returns null if it could not be found. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findAll()
Returns all the journal content searchs. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findAll(int start,
int end)
Returns a range of all the journal content searchs. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByArticleId_First(java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByArticleId_Last(java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByArticleId_PrevAndNext(long contentSearchId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByArticleId(java.lang.String articleId)
Returns all the journal content searchs where articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByArticleId(java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searchs where articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByArticleId(java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByG_A_PrevAndNext(long contentSearchId,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId)
Returns all the journal content searchs where groupId = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_A_First(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_A_Last(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.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. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
java.util.List<com.liferay.portlet.journal.model.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 = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. |
com.liferay.portlet.journal.model.JournalContentSearch[] |
findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the journal content searchs where groupId = ? and privateLayout = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ?. |
java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByPrimaryKey(long contentSearchId)
Returns the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found. |
com.liferay.portlet.journal.model.JournalContentSearch |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the journal content search with the primary key or throws a NoSuchModelException if it could not be found. |
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByArticleId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByG_P_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByG_P_L_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByG_P_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.journal.model.JournalContentSearch |
remove(long contentSearchId)
Removes the journal content search with the primary key from the database. |
com.liferay.portlet.journal.model.JournalContentSearch |
remove(java.io.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(java.lang.String articleId)
Removes all the journal content searchs where articleId = ? from the database. |
void |
removeByG_A(long groupId,
java.lang.String articleId)
Removes all the journal content searchs where groupId = ? and articleId = ? from the database. |
void |
removeByG_P_A(long groupId,
boolean privateLayout,
java.lang.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,
java.lang.String portletId,
java.lang.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,
java.lang.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 com.liferay.portlet.journal.model.JournalContentSearch |
removeImpl(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
|
protected com.liferay.portlet.journal.model.JournalContentSearch |
toUnwrappedModel(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
|
com.liferay.portlet.journal.model.JournalContentSearch |
updateImpl(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, 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 |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ARTICLEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_L_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_L_P_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_L_P_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticlePersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalFeedPersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalStructurePersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence
@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence.class) protected com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class) protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence
@BeanReference(type=com.liferay.portal.service.persistence.LayoutPersistence.class) protected com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence
@BeanReference(type=com.liferay.portal.service.persistence.PortletPreferencesPersistence.class) protected com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public JournalContentSearchPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
cacheResult in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencejournalContentSearch - the journal content searchpublic void cacheResult(java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs)
cacheResult in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencejournalContentSearchs - the journal content searchspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>public void clearCache(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>public void clearCache(java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>protected void clearUniqueFindersCache(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
public com.liferay.portlet.journal.model.JournalContentSearch create(long contentSearchId)
create in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecontentSearchId - the primary key for the new journal content search
public com.liferay.portlet.journal.model.JournalContentSearch remove(long contentSearchId)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>primaryKey - the primary key of the journal content search
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch removeImpl(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.journal.model.JournalContentSearch updateImpl(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.journal.model.JournalContentSearch toUnwrappedModel(com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>primaryKey - the primary key of the journal content search
com.liferay.portal.NoSuchModelException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(long contentSearchId)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.SystemException
NoSuchContentSearchException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.journal.model.JournalContentSearch>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.journal.model.JournalContentSearch>primaryKey - the primary key of the journal content search
null if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(long contentSearchId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecontentSearchId - the primary key of the journal content search
null if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
findByArticleId in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencearticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(java.lang.String articleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId(java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First(java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last(java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencearticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecontentSearchId - the primary key of the current journal content searcharticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByArticleId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByG_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P_L in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByG_P_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByG_P_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_P_L_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portlet.journal.NoSuchContentSearchException - if a journal content search with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.journal.model.JournalContentSearch getByG_P_L_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.SystemException
NoSuchContentSearchException if it could not be found.
findByG_P_L_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
com.liferay.portlet.journal.NoSuchContentSearchException - if a matching journal content search could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByG_P_L_P_A in interface com.liferay.portlet.journal.service.persistence.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_P_L_P_A in interface com.liferay.portlet.journal.service.persistence.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencestart - the lower bound of the range of journal content searchsend - the upper bound of the range of journal content searchs (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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 com.liferay.portlet.journal.service.persistence.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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByArticleId(java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
removeByArticleId in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencearticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P_L in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_P_L_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
throws com.liferay.portlet.journal.NoSuchContentSearchException,
com.liferay.portal.kernel.exception.SystemException
removeByG_P_L_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.journal.NoSuchContentSearchException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByArticleId(java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
countByArticleId in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencearticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layout
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_L in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_L_P in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_P_L_P_A in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencegroupId - the group IDprivateLayout - the private layoutlayoutId - the layout IDportletId - the portlet IDarticleId - the article ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||