Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.service.persistence
Class JournalContentSearchPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalContentSearch>
      extended by com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<JournalContentSearch>, JournalContentSearchPersistence

public class JournalContentSearchPersistenceImpl
extends BasePersistenceImpl<JournalContentSearch>
implements JournalContentSearchPersistence

The persistence implementation for the journal content search service.

Caching information and settings can be found in portal.properties

See Also:
JournalContentSearchPersistence, JournalContentSearchUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_ARTICLEID
           
static FinderPath FINDER_PATH_COUNT_BY_G_A
           
static FinderPath FINDER_PATH_COUNT_BY_G_P
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_A
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_L_P
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_L_P_A
           
static FinderPath FINDER_PATH_FETCH_BY_G_P_L_P_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L_P
           
protected  GroupPersistence groupPersistence
           
protected  JournalArticleImagePersistence journalArticleImagePersistence
           
protected  JournalArticlePersistence journalArticlePersistence
           
protected  JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  JournalContentSearchPersistence journalContentSearchPersistence
           
protected  JournalFeedPersistence journalFeedPersistence
           
protected  JournalStructurePersistence journalStructurePersistence
           
protected  JournalTemplatePersistence journalTemplatePersistence
           
protected  LayoutPersistence layoutPersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  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(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 = ?.
 JournalContentSearch create(long contentSearchId)
          Creates a new journal content search with the primary key.
 void destroy()
           
 JournalContentSearch fetchByArticleId_First(String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where articleId = ?.
 JournalContentSearch fetchByArticleId_Last(String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where articleId = ?.
 JournalContentSearch fetchByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
 JournalContentSearch fetchByG_A_Last(long groupId, String articleId, OrderByComparator 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 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 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 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 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 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 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 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 orderByComparator)
          Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.
 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.
 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 orderByComparator)
          Returns an ordered range of all the journal content searchs.
 JournalContentSearch findByArticleId_First(String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where articleId = ?.
 JournalContentSearch findByArticleId_Last(String articleId, OrderByComparator orderByComparator)
          Returns the last journal content search in the ordered set where articleId = ?.
 JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, String articleId, OrderByComparator 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 orderByComparator)
          Returns an ordered range of all the journal content searchs where articleId = ?.
 JournalContentSearch findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.
 JournalContentSearch findByG_A_Last(long groupId, String articleId, OrderByComparator 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 orderByComparator)
          Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?.
 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 orderByComparator, boolean previous)
           
protected  JournalContentSearch getByG_A_PrevAndNext(Session session, JournalContentSearch journalContentSearch, long groupId, String articleId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalContentSearch getByG_P_A_PrevAndNext(Session session, JournalContentSearch journalContentSearch, long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalContentSearch getByG_P_L_P_PrevAndNext(Session session, JournalContentSearch journalContentSearch, long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalContentSearch getByG_P_L_PrevAndNext(Session session, JournalContentSearch journalContentSearch, long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalContentSearch getByG_P_PrevAndNext(Session session, JournalContentSearch journalContentSearch, long groupId, boolean privateLayout, OrderByComparator orderByComparator, boolean previous)
           
 JournalContentSearch remove(long contentSearchId)
          Removes the journal content search with the primary key from the database.
 JournalContentSearch remove(Serializable primaryKey)
          Removes the journal content search with the primary key from the database.
 void removeAll()
          Removes all the journal content searchs from the database.
 void removeByArticleId(String articleId)
          Removes all the journal content searchs where articleId = ? from the database.
 void removeByG_A(long groupId, String articleId)
          Removes all the journal content searchs where groupId = ? and articleId = ? from the database.
 void removeByG_P_A(long groupId, boolean privateLayout, String articleId)
          Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database.
 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.
protected  JournalContentSearch removeImpl(JournalContentSearch journalContentSearch)
          Removes the model instance from the database.
protected  JournalContentSearch toUnwrappedModel(JournalContentSearch journalContentSearch)
           
 JournalContentSearch updateImpl(JournalContentSearch journalContentSearch, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, 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

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ARTICLEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ARTICLEID

FINDER_PATH_COUNT_BY_ARTICLEID

public static final FinderPath FINDER_PATH_COUNT_BY_ARTICLEID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P

FINDER_PATH_COUNT_BY_G_P

public static final FinderPath FINDER_PATH_COUNT_BY_G_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L

FINDER_PATH_COUNT_BY_G_P_L

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_A

FINDER_PATH_COUNT_BY_G_P_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_A

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_L_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_L_P

FINDER_PATH_COUNT_BY_G_P_L_P

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L_P

FINDER_PATH_FETCH_BY_G_P_L_P_A

public static final FinderPath FINDER_PATH_FETCH_BY_G_P_L_P_A

FINDER_PATH_COUNT_BY_G_P_L_P_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_L_P_A

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

journalArticlePersistence

@BeanReference(type=JournalArticlePersistence.class)
protected JournalArticlePersistence journalArticlePersistence

journalArticleImagePersistence

@BeanReference(type=JournalArticleImagePersistence.class)
protected JournalArticleImagePersistence journalArticleImagePersistence

journalArticleResourcePersistence

@BeanReference(type=JournalArticleResourcePersistence.class)
protected JournalArticleResourcePersistence journalArticleResourcePersistence

journalContentSearchPersistence

@BeanReference(type=JournalContentSearchPersistence.class)
protected JournalContentSearchPersistence journalContentSearchPersistence

journalFeedPersistence

@BeanReference(type=JournalFeedPersistence.class)
protected JournalFeedPersistence journalFeedPersistence

journalStructurePersistence

@BeanReference(type=JournalStructurePersistence.class)
protected JournalStructurePersistence journalStructurePersistence

journalTemplatePersistence

@BeanReference(type=JournalTemplatePersistence.class)
protected JournalTemplatePersistence journalTemplatePersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence
Constructor Detail

JournalContentSearchPersistenceImpl

public JournalContentSearchPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(JournalContentSearch journalContentSearch)
Caches the journal content search in the entity cache if it is enabled.

Specified by:
cacheResult in interface JournalContentSearchPersistence
Parameters:
journalContentSearch - the journal content search

cacheResult

public void cacheResult(List<JournalContentSearch> journalContentSearchs)
Caches the journal content searchs in the entity cache if it is enabled.

Specified by:
cacheResult in interface JournalContentSearchPersistence
Parameters:
journalContentSearchs - the journal content searchs

clearCache

public void clearCache()
Clears the cache for all journal content searchs.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalContentSearch>
Overrides:
clearCache in class BasePersistenceImpl<JournalContentSearch>

clearCache

public void clearCache(JournalContentSearch journalContentSearch)
Clears the cache for the journal content search.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalContentSearch>
Overrides:
clearCache in class BasePersistenceImpl<JournalContentSearch>
Parameters:
journalContentSearch - the instance of this model to clear the cache for

clearCache

public void clearCache(List<JournalContentSearch> journalContentSearchs)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalContentSearch>
Overrides:
clearCache in class BasePersistenceImpl<JournalContentSearch>
Parameters:
journalContentSearchs - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(JournalContentSearch journalContentSearch)

clearUniqueFindersCache

protected void clearUniqueFindersCache(JournalContentSearch journalContentSearch)

create

public JournalContentSearch create(long contentSearchId)
Creates a new journal content search with the primary key. Does not add the journal content search to the database.

Specified by:
create in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key for the new journal content search
Returns:
the new journal content search

remove

public JournalContentSearch remove(long contentSearchId)
                            throws NoSuchContentSearchException,
                                   SystemException
Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the journal content search
Returns:
the journal content search that was removed
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

remove

public JournalContentSearch remove(Serializable primaryKey)
                            throws NoSuchContentSearchException,
                                   SystemException
Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<JournalContentSearch>
Overrides:
remove in class BasePersistenceImpl<JournalContentSearch>
Parameters:
primaryKey - the primary key of the journal content search
Returns:
the journal content search that was removed
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected JournalContentSearch removeImpl(JournalContentSearch journalContentSearch)
                                   throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<JournalContentSearch>
Parameters:
journalContentSearch - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
                                       boolean merge)
                                throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface JournalContentSearchPersistence
Overrides:
updateImpl in class BasePersistenceImpl<JournalContentSearch>
Parameters:
journalContentSearch - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected JournalContentSearch toUnwrappedModel(JournalContentSearch journalContentSearch)

findByPrimaryKey

public JournalContentSearch findByPrimaryKey(Serializable primaryKey)
                                      throws NoSuchModelException,
                                             SystemException
Returns the journal content search with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<JournalContentSearch>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<JournalContentSearch>
Parameters:
primaryKey - the primary key of the journal content search
Returns:
the journal content search
Throws:
NoSuchModelException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public JournalContentSearch findByPrimaryKey(long contentSearchId)
                                      throws NoSuchContentSearchException,
                                             SystemException
Returns the journal content search with the primary key or throws a NoSuchContentSearchException if it could not be found.

Specified by:
findByPrimaryKey in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the journal content search
Returns:
the journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalContentSearch fetchByPrimaryKey(Serializable primaryKey)
                                       throws SystemException
Returns the journal content search with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<JournalContentSearch>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<JournalContentSearch>
Parameters:
primaryKey - the primary key of the journal content search
Returns:
the journal content search, or null if a journal content search with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalContentSearch fetchByPrimaryKey(long contentSearchId)
                                       throws SystemException
Returns the journal content search with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the journal content search
Returns:
the journal content search, or null if a journal content search with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId)
                                           throws SystemException
Returns all the journal content searchs where articleId = ?.

Specified by:
findByArticleId in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId,
                                                  int start,
                                                  int end)
                                           throws SystemException
Returns a range of all the journal content searchs where articleId = ?.

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.

Specified by:
findByArticleId in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns an ordered range of all the journal content searchs where articleId = ?.

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.

Specified by:
findByArticleId in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByArticleId_First

public JournalContentSearch findByArticleId_First(String articleId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchContentSearchException,
                                                  SystemException
Returns the first journal content search in the ordered set where articleId = ?.

Specified by:
findByArticleId_First in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByArticleId_First

public JournalContentSearch fetchByArticleId_First(String articleId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the first journal content search in the ordered set where articleId = ?.

Specified by:
fetchByArticleId_First in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId_Last

public JournalContentSearch findByArticleId_Last(String articleId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchContentSearchException,
                                                 SystemException
Returns the last journal content search in the ordered set where articleId = ?.

Specified by:
findByArticleId_Last in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByArticleId_Last

public JournalContentSearch fetchByArticleId_Last(String articleId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns the last journal content search in the ordered set where articleId = ?.

Specified by:
fetchByArticleId_Last in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByArticleId_PrevAndNext

public JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
                                                          String articleId,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchContentSearchException,
                                                          SystemException
Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?.

Specified by:
findByArticleId_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByArticleId_PrevAndNext

protected JournalContentSearch getByArticleId_PrevAndNext(Session session,
                                                          JournalContentSearch journalContentSearch,
                                                          String articleId,
                                                          OrderByComparator orderByComparator,
                                                          boolean previous)

findByG_P

public List<JournalContentSearch> findByG_P(long groupId,
                                            boolean privateLayout)
                                     throws SystemException
Returns all the journal content searchs where groupId = ? and privateLayout = ?.

Specified by:
findByG_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P

public List<JournalContentSearch> findByG_P(long groupId,
                                            boolean privateLayout,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ?.

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.

Specified by:
findByG_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P

public List<JournalContentSearch> findByG_P(long groupId,
                                            boolean privateLayout,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?.

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.

Specified by:
findByG_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_First

public JournalContentSearch findByG_P_First(long groupId,
                                            boolean privateLayout,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchContentSearchException,
                                            SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.

Specified by:
findByG_P_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_First

public JournalContentSearch fetchByG_P_First(long groupId,
                                             boolean privateLayout,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?.

Specified by:
fetchByG_P_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_Last

public JournalContentSearch findByG_P_Last(long groupId,
                                           boolean privateLayout,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchContentSearchException,
                                           SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.

Specified by:
findByG_P_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_Last

public JournalContentSearch fetchByG_P_Last(long groupId,
                                            boolean privateLayout,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?.

Specified by:
fetchByG_P_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_PrevAndNext

public JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
                                                    long groupId,
                                                    boolean privateLayout,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchContentSearchException,
                                                    SystemException
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?.

Specified by:
findByG_P_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByG_P_PrevAndNext

protected JournalContentSearch getByG_P_PrevAndNext(Session session,
                                                    JournalContentSearch journalContentSearch,
                                                    long groupId,
                                                    boolean privateLayout,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_A

public List<JournalContentSearch> findByG_A(long groupId,
                                            String articleId)
                                     throws SystemException
Returns all the journal content searchs where groupId = ? and articleId = ?.

Specified by:
findByG_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A

public List<JournalContentSearch> findByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the journal content searchs where groupId = ? and articleId = ?.

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.

Specified by:
findByG_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A

public List<JournalContentSearch> findByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the journal content searchs where groupId = ? and articleId = ?.

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.

Specified by:
findByG_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_A_First

public JournalContentSearch findByG_A_First(long groupId,
                                            String articleId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchContentSearchException,
                                            SystemException
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.

Specified by:
findByG_A_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_A_First

public JournalContentSearch fetchByG_A_First(long groupId,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and articleId = ?.

Specified by:
fetchByG_A_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_Last

public JournalContentSearch findByG_A_Last(long groupId,
                                           String articleId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchContentSearchException,
                                           SystemException
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.

Specified by:
findByG_A_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_A_Last

public JournalContentSearch fetchByG_A_Last(long groupId,
                                            String articleId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and articleId = ?.

Specified by:
fetchByG_A_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_PrevAndNext

public JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchContentSearchException,
                                                    SystemException
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?.

Specified by:
findByG_A_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByG_A_PrevAndNext

protected JournalContentSearch getByG_A_PrevAndNext(Session session,
                                                    JournalContentSearch journalContentSearch,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_P_L

public List<JournalContentSearch> findByG_P_L(long groupId,
                                              boolean privateLayout,
                                              long layoutId)
                                       throws SystemException
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L

public List<JournalContentSearch> findByG_P_L(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L

public List<JournalContentSearch> findByG_P_L(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

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.

Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_First

public JournalContentSearch findByG_P_L_First(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchContentSearchException,
                                              SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
findByG_P_L_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_First

public JournalContentSearch fetchByG_P_L_First(long groupId,
                                               boolean privateLayout,
                                               long layoutId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
fetchByG_P_L_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_Last

public JournalContentSearch findByG_P_L_Last(long groupId,
                                             boolean privateLayout,
                                             long layoutId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchContentSearchException,
                                             SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
findByG_P_L_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_Last

public JournalContentSearch fetchByG_P_L_Last(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
fetchByG_P_L_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_PrevAndNext

public JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      long layoutId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchContentSearchException,
                                                      SystemException
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
findByG_P_L_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByG_P_L_PrevAndNext

protected JournalContentSearch getByG_P_L_PrevAndNext(Session session,
                                                      JournalContentSearch journalContentSearch,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      long layoutId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByG_P_A

public List<JournalContentSearch> findByG_P_A(long groupId,
                                              boolean privateLayout,
                                              String articleId)
                                       throws SystemException
Returns all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A

public List<JournalContentSearch> findByG_P_A(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

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.

Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A

public List<JournalContentSearch> findByG_P_A(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

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.

Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_A_First

public JournalContentSearch findByG_P_A_First(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchContentSearchException,
                                              SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
findByG_P_A_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_A_First

public JournalContentSearch fetchByG_P_A_First(long groupId,
                                               boolean privateLayout,
                                               String articleId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
fetchByG_P_A_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_A_Last

public JournalContentSearch findByG_P_A_Last(long groupId,
                                             boolean privateLayout,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchContentSearchException,
                                             SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
findByG_P_A_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_A_Last

public JournalContentSearch fetchByG_P_A_Last(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
fetchByG_P_A_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_A_PrevAndNext

public JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      String articleId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchContentSearchException,
                                                      SystemException
Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
findByG_P_A_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByG_P_A_PrevAndNext

protected JournalContentSearch getByG_P_A_PrevAndNext(Session session,
                                                      JournalContentSearch journalContentSearch,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      String articleId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByG_P_L_P

public List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                boolean privateLayout,
                                                long layoutId,
                                                String portletId)
                                         throws SystemException
Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
Returns:
the matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P

public List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                boolean privateLayout,
                                                long layoutId,
                                                String portletId,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P

public List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                boolean privateLayout,
                                                long layoutId,
                                                String portletId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

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.

Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal content searchs
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_First

public JournalContentSearch findByG_P_L_P_First(long groupId,
                                                boolean privateLayout,
                                                long layoutId,
                                                String portletId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchContentSearchException,
                                                SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
findByG_P_L_P_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_P_First

public JournalContentSearch fetchByG_P_L_P_First(long groupId,
                                                 boolean privateLayout,
                                                 long layoutId,
                                                 String portletId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
fetchByG_P_L_P_First in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_Last

public JournalContentSearch findByG_P_L_P_Last(long groupId,
                                               boolean privateLayout,
                                               long layoutId,
                                               String portletId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchContentSearchException,
                                               SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
findByG_P_L_P_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_P_Last

public JournalContentSearch fetchByG_P_L_P_Last(long groupId,
                                                boolean privateLayout,
                                                long layoutId,
                                                String portletId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
fetchByG_P_L_P_Last in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_L_P_PrevAndNext

public JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
                                                        long groupId,
                                                        boolean privateLayout,
                                                        long layoutId,
                                                        String portletId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchContentSearchException,
                                                        SystemException
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 = ?.

Specified by:
findByG_P_L_P_PrevAndNext in interface JournalContentSearchPersistence
Parameters:
contentSearchId - the primary key of the current journal content search
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal content search
Throws:
NoSuchContentSearchException - if a journal content search with the primary key could not be found
SystemException - if a system exception occurred

getByG_P_L_P_PrevAndNext

protected JournalContentSearch getByG_P_L_P_PrevAndNext(Session session,
                                                        JournalContentSearch journalContentSearch,
                                                        long groupId,
                                                        boolean privateLayout,
                                                        long layoutId,
                                                        String portletId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

findByG_P_L_P_A

public JournalContentSearch findByG_P_L_P_A(long groupId,
                                            boolean privateLayout,
                                            long layoutId,
                                            String portletId,
                                            String articleId)
                                     throws NoSuchContentSearchException,
                                            SystemException
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.

Specified by:
findByG_P_L_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
Returns:
the matching journal content search
Throws:
NoSuchContentSearchException - if a matching journal content search could not be found
SystemException - if a system exception occurred

fetchByG_P_L_P_A

public JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                             boolean privateLayout,
                                             long layoutId,
                                             String portletId,
                                             String articleId)
                                      throws SystemException
Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_P_L_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
Returns:
the matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_P_L_P_A

public JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                             boolean privateLayout,
                                             long layoutId,
                                             String portletId,
                                             String articleId,
                                             boolean retrieveFromCache)
                                      throws SystemException
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.

Specified by:
fetchByG_P_L_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal content search, or null if a matching journal content search could not be found
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalContentSearch> findAll()
                                   throws SystemException
Returns all the journal content searchs.

Specified by:
findAll in interface JournalContentSearchPersistence
Returns:
the journal content searchs
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalContentSearch> findAll(int start,
                                          int end)
                                   throws SystemException
Returns a range of all the journal content searchs.

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.

Specified by:
findAll in interface JournalContentSearchPersistence
Parameters:
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
Returns:
the range of journal content searchs
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalContentSearch> findAll(int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the journal content searchs.

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.

Specified by:
findAll in interface JournalContentSearchPersistence
Parameters:
start - the lower bound of the range of journal content searchs
end - the upper bound of the range of journal content searchs (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of journal content searchs
Throws:
SystemException - if a system exception occurred

removeByArticleId

public void removeByArticleId(String articleId)
                       throws SystemException
Removes all the journal content searchs where articleId = ? from the database.

Specified by:
removeByArticleId in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P

public void removeByG_P(long groupId,
                        boolean privateLayout)
                 throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database.

Specified by:
removeByG_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
Throws:
SystemException - if a system exception occurred

removeByG_A

public void removeByG_A(long groupId,
                        String articleId)
                 throws SystemException
Removes all the journal content searchs where groupId = ? and articleId = ? from the database.

Specified by:
removeByG_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L

public void removeByG_P_L(long groupId,
                          boolean privateLayout,
                          long layoutId)
                   throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database.

Specified by:
removeByG_P_L in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Throws:
SystemException - if a system exception occurred

removeByG_P_A

public void removeByG_P_A(long groupId,
                          boolean privateLayout,
                          String articleId)
                   throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database.

Specified by:
removeByG_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P

public void removeByG_P_L_P(long groupId,
                            boolean privateLayout,
                            long layoutId,
                            String portletId)
                     throws SystemException
Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database.

Specified by:
removeByG_P_L_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
Throws:
SystemException - if a system exception occurred

removeByG_P_L_P_A

public JournalContentSearch removeByG_P_L_P_A(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              String portletId,
                                              String articleId)
                                       throws NoSuchContentSearchException,
                                              SystemException
Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database.

Specified by:
removeByG_P_L_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
Returns:
the journal content search that was removed
Throws:
SystemException - if a system exception occurred
NoSuchContentSearchException

removeAll

public void removeAll()
               throws SystemException
Removes all the journal content searchs from the database.

Specified by:
removeAll in interface JournalContentSearchPersistence
Throws:
SystemException - if a system exception occurred

countByArticleId

public int countByArticleId(String articleId)
                     throws SystemException
Returns the number of journal content searchs where articleId = ?.

Specified by:
countByArticleId in interface JournalContentSearchPersistence
Parameters:
articleId - the article ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P

public int countByG_P(long groupId,
                      boolean privateLayout)
               throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ?.

Specified by:
countByG_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_A

public int countByG_A(long groupId,
                      String articleId)
               throws SystemException
Returns the number of journal content searchs where groupId = ? and articleId = ?.

Specified by:
countByG_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L

public int countByG_P_L(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?.

Specified by:
countByG_P_L in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_A

public int countByG_P_A(long groupId,
                        boolean privateLayout,
                        String articleId)
                 throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and articleId = ?.

Specified by:
countByG_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
articleId - the article ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L_P

public int countByG_P_L_P(long groupId,
                          boolean privateLayout,
                          long layoutId,
                          String portletId)
                   throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?.

Specified by:
countByG_P_L_P in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countByG_P_L_P_A

public int countByG_P_L_P_A(long groupId,
                            boolean privateLayout,
                            long layoutId,
                            String portletId,
                            String articleId)
                     throws SystemException
Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?.

Specified by:
countByG_P_L_P_A in interface JournalContentSearchPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
layoutId - the layout ID
portletId - the portlet ID
articleId - the article ID
Returns:
the number of matching journal content searchs
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of journal content searchs.

Specified by:
countAll in interface JournalContentSearchPersistence
Returns:
the number of journal content searchs
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the journal content search persistence.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3