Liferay 6.0.3

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

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
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_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_ARTICLEID
           
static FinderPath FINDER_PATH_FIND_BY_G_A
           
static FinderPath FINDER_PATH_FIND_BY_G_P
           
static FinderPath FINDER_PATH_FIND_BY_G_P_A
           
static FinderPath FINDER_PATH_FIND_BY_G_P_L
           
static FinderPath FINDER_PATH_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, 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()
           
 void cacheResult(JournalContentSearch journalContentSearch)
           
 void cacheResult(List<JournalContentSearch> journalContentSearchs)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(JournalContentSearch journalContentSearch)
          Clears the cache for one instance of this model.
 int countAll()
           
 int countByArticleId(String articleId)
           
 int countByG_A(long groupId, String articleId)
           
 int countByG_P_A(long groupId, boolean privateLayout, String articleId)
           
 int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
           
 int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
           
 int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 int countByG_P(long groupId, boolean privateLayout)
           
 JournalContentSearch create(long contentSearchId)
           
 JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
           
 JournalContentSearch fetchByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId, boolean retrieveFromCache)
           
 JournalContentSearch fetchByPrimaryKey(long contentSearchId)
           
 JournalContentSearch fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 List<JournalContentSearch> findAll()
           
 List<JournalContentSearch> findAll(int start, int end)
           
 List<JournalContentSearch> findAll(int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByArticleId_First(String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByArticleId_Last(String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId, String articleId, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByArticleId(String articleId)
           
 List<JournalContentSearch> findByArticleId(String articleId, int start, int end)
           
 List<JournalContentSearch> findByArticleId(String articleId, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, String articleId, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByG_A(long groupId, String articleId)
           
 List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end)
           
 List<JournalContentSearch> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, String articleId, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId)
           
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end)
           
 List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, String articleId, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
           
 JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, String portletId, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
           
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end)
           
 List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
           
 List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
           
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
           
 List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator)
           
 JournalContentSearch findByPrimaryKey(long contentSearchId)
           
 JournalContentSearch findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception 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)
           
 JournalContentSearch remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByArticleId(String articleId)
           
 void removeByG_A(long groupId, String articleId)
           
 void removeByG_P_A(long groupId, boolean privateLayout, String articleId)
           
 void removeByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, String portletId, String articleId)
           
 void removeByG_P_L_P(long groupId, boolean privateLayout, long layoutId, String portletId)
           
 void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 void removeByG_P(long groupId, boolean privateLayout)
           
protected  JournalContentSearch removeImpl(JournalContentSearch journalContentSearch)
          Removes the model instance from the database.
protected  JournalContentSearch toUnwrappedModel(JournalContentSearch journalContentSearch)
           
 JournalContentSearch updateImpl(JournalContentSearch journalContentSearch, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_ARTICLEID

public static final FinderPath FINDER_PATH_FIND_BY_ARTICLEID

FINDER_PATH_COUNT_BY_ARTICLEID

public static final FinderPath FINDER_PATH_COUNT_BY_ARTICLEID

FINDER_PATH_FIND_BY_G_P

public static final FinderPath FINDER_PATH_FIND_BY_G_P

FINDER_PATH_COUNT_BY_G_P

public static final FinderPath FINDER_PATH_COUNT_BY_G_P

FINDER_PATH_FIND_BY_G_A

public static final FinderPath FINDER_PATH_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_FIND_BY_G_P_L

public static final FinderPath FINDER_PATH_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_FIND_BY_G_P_A

public static final FinderPath FINDER_PATH_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_FIND_BY_G_P_L_P

public static final FinderPath FINDER_PATH_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_FIND_ALL

public static final FinderPath FINDER_PATH_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)
Specified by:
cacheResult in interface JournalContentSearchPersistence

cacheResult

public void cacheResult(List<JournalContentSearch> journalContentSearchs)
Specified by:
cacheResult in interface JournalContentSearchPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

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

clearCache

public void clearCache(JournalContentSearch journalContentSearch)
Description copied from interface: BasePersistence
Clears the cache for one instance 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:
journalContentSearch - the instance of this model to clear the cache for

create

public JournalContentSearch create(long contentSearchId)
Specified by:
create in interface JournalContentSearchPersistence

remove

public JournalContentSearch remove(Serializable primaryKey)
                            throws NoSuchModelException,
                                   SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and 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 model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public JournalContentSearch remove(long contentSearchId)
                            throws NoSuchContentSearchException,
                                   SystemException
Specified by:
remove in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception 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 model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public JournalContentSearch findByPrimaryKey(long contentSearchId)
                                      throws NoSuchContentSearchException,
                                             SystemException
Specified by:
findByPrimaryKey in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

fetchByPrimaryKey

public JournalContentSearch fetchByPrimaryKey(Serializable primaryKey)
                                       throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return 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 model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public JournalContentSearch fetchByPrimaryKey(long contentSearchId)
                                       throws SystemException
Specified by:
fetchByPrimaryKey in interface JournalContentSearchPersistence
Throws:
SystemException

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId)
                                           throws SystemException
Specified by:
findByArticleId in interface JournalContentSearchPersistence
Throws:
SystemException

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId,
                                                  int start,
                                                  int end)
                                           throws SystemException
Specified by:
findByArticleId in interface JournalContentSearchPersistence
Throws:
SystemException

findByArticleId

public List<JournalContentSearch> findByArticleId(String articleId,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Specified by:
findByArticleId in interface JournalContentSearchPersistence
Throws:
SystemException

findByArticleId_First

public JournalContentSearch findByArticleId_First(String articleId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchContentSearchException,
                                                  SystemException
Specified by:
findByArticleId_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByArticleId_Last

public JournalContentSearch findByArticleId_Last(String articleId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchContentSearchException,
                                                 SystemException
Specified by:
findByArticleId_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByArticleId_PrevAndNext

public JournalContentSearch[] findByArticleId_PrevAndNext(long contentSearchId,
                                                          String articleId,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchContentSearchException,
                                                          SystemException
Specified by:
findByArticleId_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P

public List<JournalContentSearch> findByG_P(long groupId,
                                            boolean privateLayout,
                                            int start,
                                            int end)
                                     throws SystemException
Specified by:
findByG_P in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P

public List<JournalContentSearch> findByG_P(long groupId,
                                            boolean privateLayout,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Specified by:
findByG_P in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_First

public JournalContentSearch findByG_P_First(long groupId,
                                            boolean privateLayout,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchContentSearchException,
                                            SystemException
Specified by:
findByG_P_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_Last

public JournalContentSearch findByG_P_Last(long groupId,
                                           boolean privateLayout,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchContentSearchException,
                                           SystemException
Specified by:
findByG_P_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_PrevAndNext

public JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
                                                    long groupId,
                                                    boolean privateLayout,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchContentSearchException,
                                                    SystemException
Specified by:
findByG_P_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_A

public List<JournalContentSearch> findByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end)
                                     throws SystemException
Specified by:
findByG_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_A

public List<JournalContentSearch> findByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Specified by:
findByG_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_A_First

public JournalContentSearch findByG_A_First(long groupId,
                                            String articleId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchContentSearchException,
                                            SystemException
Specified by:
findByG_A_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_A_Last

public JournalContentSearch findByG_A_Last(long groupId,
                                           String articleId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchContentSearchException,
                                           SystemException
Specified by:
findByG_A_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_A_PrevAndNext

public JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchContentSearchException,
                                                    SystemException
Specified by:
findByG_A_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_L

public List<JournalContentSearch> findByG_P_L(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_L

public List<JournalContentSearch> findByG_P_L(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
findByG_P_L in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_L_First

public JournalContentSearch findByG_P_L_First(long groupId,
                                              boolean privateLayout,
                                              long layoutId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchContentSearchException,
                                              SystemException
Specified by:
findByG_P_L_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_L_Last

public JournalContentSearch findByG_P_L_Last(long groupId,
                                             boolean privateLayout,
                                             long layoutId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchContentSearchException,
                                             SystemException
Specified by:
findByG_P_L_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_L_PrevAndNext

public JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      long layoutId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchContentSearchException,
                                                      SystemException
Specified by:
findByG_P_L_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_A

public List<JournalContentSearch> findByG_P_A(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_A

public List<JournalContentSearch> findByG_P_A(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
findByG_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

findByG_P_A_First

public JournalContentSearch findByG_P_A_First(long groupId,
                                              boolean privateLayout,
                                              String articleId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchContentSearchException,
                                              SystemException
Specified by:
findByG_P_A_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_A_Last

public JournalContentSearch findByG_P_A_Last(long groupId,
                                             boolean privateLayout,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchContentSearchException,
                                             SystemException
Specified by:
findByG_P_A_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

findByG_P_A_PrevAndNext

public JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
                                                      long groupId,
                                                      boolean privateLayout,
                                                      String articleId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchContentSearchException,
                                                      SystemException
Specified by:
findByG_P_A_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Throws:
SystemException

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
Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Throws:
SystemException

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
Specified by:
findByG_P_L_P in interface JournalContentSearchPersistence
Throws:
SystemException

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
Specified by:
findByG_P_L_P_First in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_L_P_Last in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_L_P_PrevAndNext in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

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
Specified by:
findByG_P_L_P_A in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

fetchByG_P_L_P_A

public JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                             boolean privateLayout,
                                             long layoutId,
                                             String portletId,
                                             String articleId)
                                      throws SystemException
Specified by:
fetchByG_P_L_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

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
Specified by:
fetchByG_P_L_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

findAll

public List<JournalContentSearch> findAll()
                                   throws SystemException
Specified by:
findAll in interface JournalContentSearchPersistence
Throws:
SystemException

findAll

public List<JournalContentSearch> findAll(int start,
                                          int end)
                                   throws SystemException
Specified by:
findAll in interface JournalContentSearchPersistence
Throws:
SystemException

findAll

public List<JournalContentSearch> findAll(int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Specified by:
findAll in interface JournalContentSearchPersistence
Throws:
SystemException

removeByArticleId

public void removeByArticleId(String articleId)
                       throws SystemException
Specified by:
removeByArticleId in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_P

public void removeByG_P(long groupId,
                        boolean privateLayout)
                 throws SystemException
Specified by:
removeByG_P in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_A

public void removeByG_A(long groupId,
                        String articleId)
                 throws SystemException
Specified by:
removeByG_A in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_P_L

public void removeByG_P_L(long groupId,
                          boolean privateLayout,
                          long layoutId)
                   throws SystemException
Specified by:
removeByG_P_L in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_P_A

public void removeByG_P_A(long groupId,
                          boolean privateLayout,
                          String articleId)
                   throws SystemException
Specified by:
removeByG_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_P_L_P

public void removeByG_P_L_P(long groupId,
                            boolean privateLayout,
                            long layoutId,
                            String portletId)
                     throws SystemException
Specified by:
removeByG_P_L_P in interface JournalContentSearchPersistence
Throws:
SystemException

removeByG_P_L_P_A

public void removeByG_P_L_P_A(long groupId,
                              boolean privateLayout,
                              long layoutId,
                              String portletId,
                              String articleId)
                       throws NoSuchContentSearchException,
                              SystemException
Specified by:
removeByG_P_L_P_A in interface JournalContentSearchPersistence
Throws:
NoSuchContentSearchException
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface JournalContentSearchPersistence
Throws:
SystemException

countByArticleId

public int countByArticleId(String articleId)
                     throws SystemException
Specified by:
countByArticleId in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_P

public int countByG_P(long groupId,
                      boolean privateLayout)
               throws SystemException
Specified by:
countByG_P in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_A

public int countByG_A(long groupId,
                      String articleId)
               throws SystemException
Specified by:
countByG_A in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_P_L

public int countByG_P_L(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws SystemException
Specified by:
countByG_P_L in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_P_A

public int countByG_P_A(long groupId,
                        boolean privateLayout,
                        String articleId)
                 throws SystemException
Specified by:
countByG_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_P_L_P

public int countByG_P_L_P(long groupId,
                          boolean privateLayout,
                          long layoutId,
                          String portletId)
                   throws SystemException
Specified by:
countByG_P_L_P in interface JournalContentSearchPersistence
Throws:
SystemException

countByG_P_L_P_A

public int countByG_P_L_P_A(long groupId,
                            boolean privateLayout,
                            long layoutId,
                            String portletId,
                            String articleId)
                     throws SystemException
Specified by:
countByG_P_L_P_A in interface JournalContentSearchPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface JournalContentSearchPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3