com.liferay.portlet.journal.service.persistence
Interface JournalContentSearchPersistence


public interface JournalContentSearchPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByG_A(long groupId, java.lang.String articleId)
           
 int countByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
           
 int countByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId)
           
 int countByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.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, java.lang.String portletId, java.lang.String articleId)
           
 JournalContentSearch fetchByPrimaryKey(long contentSearchId)
           
 java.util.List<JournalContentSearch> findAll()
           
 java.util.List<JournalContentSearch> findAll(int start, int end)
           
 java.util.List<JournalContentSearch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_A_First(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_A_Last(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId, long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId)
           
 java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId, int start, int end)
           
 java.util.List<JournalContentSearch> findByG_A(long groupId, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_A_First(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_A_Last(long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
           
 java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId, int start, int end)
           
 java.util.List<JournalContentSearch> findByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_L_First(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_L_Last(long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId)
           
 JournalContentSearch findByG_P_L_P_First(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_L_P_Last(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId)
           
 java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, int start, int end)
           
 java.util.List<JournalContentSearch> findByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end)
           
 java.util.List<JournalContentSearch> findByG_P_L(long groupId, boolean privateLayout, long layoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout)
           
 java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end)
           
 java.util.List<JournalContentSearch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalContentSearch findByPrimaryKey(long contentSearchId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 void registerListener(ModelListener listener)
           
 JournalContentSearch remove(JournalContentSearch journalContentSearch)
           
 JournalContentSearch remove(long contentSearchId)
           
 void removeAll()
           
 void removeByG_A(long groupId, java.lang.String articleId)
           
 void removeByG_P_A(long groupId, boolean privateLayout, java.lang.String articleId)
           
 void removeByG_P_L_P_A(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId, java.lang.String articleId)
           
 void removeByG_P_L_P(long groupId, boolean privateLayout, long layoutId, java.lang.String portletId)
           
 void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 void removeByG_P(long groupId, boolean privateLayout)
           
 void unregisterListener(ModelListener listener)
           
 JournalContentSearch update(JournalContentSearch journalContentSearch)
          Deprecated. Use update(JournalContentSearch journalContentSearch, boolean merge).
 JournalContentSearch update(JournalContentSearch journalContentSearch, boolean merge)
          Add, update, or merge, the entity.
 JournalContentSearch updateImpl(JournalContentSearch journalContentSearch, boolean merge)
           
 

Method Detail

create

JournalContentSearch create(long contentSearchId)

remove

JournalContentSearch remove(long contentSearchId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

remove

JournalContentSearch remove(JournalContentSearch journalContentSearch)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

JournalContentSearch update(JournalContentSearch journalContentSearch)
                            throws com.liferay.portal.SystemException
Deprecated. Use update(JournalContentSearch journalContentSearch, boolean merge).

Throws:
com.liferay.portal.SystemException

update

JournalContentSearch update(JournalContentSearch journalContentSearch,
                            boolean merge)
                            throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
journalContentSearch - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when journalContentSearch is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
                                boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

JournalContentSearch findByPrimaryKey(long contentSearchId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

fetchByPrimaryKey

JournalContentSearch fetchByPrimaryKey(long contentSearchId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

java.util.List<JournalContentSearch> findByG_P(long groupId,
                                               boolean privateLayout)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

java.util.List<JournalContentSearch> findByG_P(long groupId,
                                               boolean privateLayout,
                                               int start,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P

java.util.List<JournalContentSearch> findByG_P(long groupId,
                                               boolean privateLayout,
                                               int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_First

JournalContentSearch findByG_P_First(long groupId,
                                     boolean privateLayout,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_Last

JournalContentSearch findByG_P_Last(long groupId,
                                    boolean privateLayout,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_PrevAndNext

JournalContentSearch[] findByG_P_PrevAndNext(long contentSearchId,
                                             long groupId,
                                             boolean privateLayout,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_A

java.util.List<JournalContentSearch> findByG_A(long groupId,
                                               java.lang.String articleId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

java.util.List<JournalContentSearch> findByG_A(long groupId,
                                               java.lang.String articleId,
                                               int start,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

java.util.List<JournalContentSearch> findByG_A(long groupId,
                                               java.lang.String articleId,
                                               int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A_First

JournalContentSearch findByG_A_First(long groupId,
                                     java.lang.String articleId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_A_Last

JournalContentSearch findByG_A_Last(long groupId,
                                    java.lang.String articleId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_A_PrevAndNext

JournalContentSearch[] findByG_A_PrevAndNext(long contentSearchId,
                                             long groupId,
                                             java.lang.String articleId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L

java.util.List<JournalContentSearch> findByG_P_L(long groupId,
                                                 boolean privateLayout,
                                                 long layoutId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L

java.util.List<JournalContentSearch> findByG_P_L(long groupId,
                                                 boolean privateLayout,
                                                 long layoutId,
                                                 int start,
                                                 int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L

java.util.List<JournalContentSearch> findByG_P_L(long groupId,
                                                 boolean privateLayout,
                                                 long layoutId,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L_First

JournalContentSearch findByG_P_L_First(long groupId,
                                       boolean privateLayout,
                                       long layoutId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_Last

JournalContentSearch findByG_P_L_Last(long groupId,
                                      boolean privateLayout,
                                      long layoutId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_PrevAndNext

JournalContentSearch[] findByG_P_L_PrevAndNext(long contentSearchId,
                                               long groupId,
                                               boolean privateLayout,
                                               long layoutId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_A

java.util.List<JournalContentSearch> findByG_P_A(long groupId,
                                                 boolean privateLayout,
                                                 java.lang.String articleId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_A

java.util.List<JournalContentSearch> findByG_P_A(long groupId,
                                                 boolean privateLayout,
                                                 java.lang.String articleId,
                                                 int start,
                                                 int end)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_A

java.util.List<JournalContentSearch> findByG_P_A(long groupId,
                                                 boolean privateLayout,
                                                 java.lang.String articleId,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_A_First

JournalContentSearch findByG_P_A_First(long groupId,
                                       boolean privateLayout,
                                       java.lang.String articleId,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_A_Last

JournalContentSearch findByG_P_A_Last(long groupId,
                                      boolean privateLayout,
                                      java.lang.String articleId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_A_PrevAndNext

JournalContentSearch[] findByG_P_A_PrevAndNext(long contentSearchId,
                                               long groupId,
                                               boolean privateLayout,
                                               java.lang.String articleId,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_P

java.util.List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                   boolean privateLayout,
                                                   long layoutId,
                                                   java.lang.String portletId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L_P

java.util.List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                   boolean privateLayout,
                                                   long layoutId,
                                                   java.lang.String portletId,
                                                   int start,
                                                   int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L_P

java.util.List<JournalContentSearch> findByG_P_L_P(long groupId,
                                                   boolean privateLayout,
                                                   long layoutId,
                                                   java.lang.String portletId,
                                                   int start,
                                                   int end,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_P_L_P_First

JournalContentSearch findByG_P_L_P_First(long groupId,
                                         boolean privateLayout,
                                         long layoutId,
                                         java.lang.String portletId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_P_Last

JournalContentSearch findByG_P_L_P_Last(long groupId,
                                        boolean privateLayout,
                                        long layoutId,
                                        java.lang.String portletId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_P_PrevAndNext

JournalContentSearch[] findByG_P_L_P_PrevAndNext(long contentSearchId,
                                                 long groupId,
                                                 boolean privateLayout,
                                                 long layoutId,
                                                 java.lang.String portletId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.SystemException,
                                                        NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

findByG_P_L_P_A

JournalContentSearch findByG_P_L_P_A(long groupId,
                                     boolean privateLayout,
                                     long layoutId,
                                     java.lang.String portletId,
                                     java.lang.String articleId)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

fetchByG_P_L_P_A

JournalContentSearch fetchByG_P_L_P_A(long groupId,
                                      boolean privateLayout,
                                      long layoutId,
                                      java.lang.String portletId,
                                      java.lang.String articleId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalContentSearch> findAll()
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalContentSearch> findAll(int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<JournalContentSearch> findAll(int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A

void removeByG_A(long groupId,
                 java.lang.String articleId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P_L

void removeByG_P_L(long groupId,
                   boolean privateLayout,
                   long layoutId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P_A

void removeByG_P_A(long groupId,
                   boolean privateLayout,
                   java.lang.String articleId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P_L_P

void removeByG_P_L_P(long groupId,
                     boolean privateLayout,
                     long layoutId,
                     java.lang.String portletId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_P_L_P_A

void removeByG_P_L_P_A(long groupId,
                       boolean privateLayout,
                       long layoutId,
                       java.lang.String portletId,
                       java.lang.String articleId)
                       throws com.liferay.portal.SystemException,
                              NoSuchContentSearchException
Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A

int countByG_A(long groupId,
               java.lang.String articleId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_L

int countByG_P_L(long groupId,
                 boolean privateLayout,
                 long layoutId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_A

int countByG_P_A(long groupId,
                 boolean privateLayout,
                 java.lang.String articleId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_L_P

int countByG_P_L_P(long groupId,
                   boolean privateLayout,
                   long layoutId,
                   java.lang.String portletId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_P_L_P_A

int countByG_P_L_P_A(long groupId,
                     boolean privateLayout,
                     long layoutId,
                     java.lang.String portletId,
                     java.lang.String articleId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)