com.liferay.portlet.journal.service.persistence
Class JournalContentSearchUtil
java.lang.Object
com.liferay.portlet.journal.service.persistence.JournalContentSearchUtil
public class JournalContentSearchUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByG_A(long groupId,
java.lang.String articleId)
|
static int |
countByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
|
static int |
countByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
|
static int |
countByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
|
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
static int |
countByG_P(long groupId,
boolean privateLayout)
|
static JournalContentSearch |
create(long contentSearchId)
|
static JournalContentSearch |
fetchByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
|
static JournalContentSearch |
fetchByPrimaryKey(long contentSearchId)
|
static java.util.List<JournalContentSearch> |
findAll()
|
static java.util.List<JournalContentSearch> |
findAll(int start,
int end)
|
static java.util.List<JournalContentSearch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch[] |
findByG_A_PrevAndNext(long contentSearchId,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId)
|
static java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
|
static java.util.List<JournalContentSearch> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_A_First(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_A_Last(long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch[] |
findByG_P_A_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
|
static java.util.List<JournalContentSearch> |
findByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId,
int start,
int end)
|
static 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)
|
static JournalContentSearch |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_L_First(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_L_Last(long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
|
static JournalContentSearch |
findByG_P_L_P_First(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_L_P_Last(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static 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)
|
static java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
|
static java.util.List<JournalContentSearch> |
findByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
int start,
int end)
|
static 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)
|
static JournalContentSearch[] |
findByG_P_L_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
static java.util.List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end)
|
static java.util.List<JournalContentSearch> |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch[] |
findByG_P_PrevAndNext(long contentSearchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout)
|
static java.util.List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
|
static java.util.List<JournalContentSearch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalContentSearch |
findByPrimaryKey(long contentSearchId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static JournalContentSearchPersistence |
getPersistence()
|
static void |
registerListener(ModelListener listener)
|
static JournalContentSearch |
remove(JournalContentSearch journalContentSearch)
|
static JournalContentSearch |
remove(long contentSearchId)
|
static void |
removeAll()
|
static void |
removeByG_A(long groupId,
java.lang.String articleId)
|
static void |
removeByG_P_A(long groupId,
boolean privateLayout,
java.lang.String articleId)
|
static void |
removeByG_P_L_P_A(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId,
java.lang.String articleId)
|
static void |
removeByG_P_L_P(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String portletId)
|
static void |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
|
static void |
removeByG_P(long groupId,
boolean privateLayout)
|
void |
setPersistence(JournalContentSearchPersistence persistence)
|
static void |
unregisterListener(ModelListener listener)
|
static JournalContentSearch |
update(JournalContentSearch journalContentSearch)
Deprecated. Use update(JournalContentSearch journalContentSearch, boolean merge) . |
static JournalContentSearch |
update(JournalContentSearch journalContentSearch,
boolean merge)
Add, update, or merge, the entity. |
static JournalContentSearch |
updateImpl(JournalContentSearch journalContentSearch,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalContentSearchUtil
public JournalContentSearchUtil()
create
public static JournalContentSearch create(long contentSearchId)
remove
public static JournalContentSearch remove(long contentSearchId)
throws com.liferay.portal.SystemException,
NoSuchContentSearchException
- Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException
remove
public static JournalContentSearch remove(JournalContentSearch journalContentSearch)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static JournalContentSearch update(JournalContentSearch journalContentSearch)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(JournalContentSearch journalContentSearch, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static 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 mergemerge
- 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
public static JournalContentSearch updateImpl(JournalContentSearch journalContentSearch,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static JournalContentSearch findByPrimaryKey(long contentSearchId)
throws com.liferay.portal.SystemException,
NoSuchContentSearchException
- Throws:
com.liferay.portal.SystemException
NoSuchContentSearchException
fetchByPrimaryKey
public static JournalContentSearch fetchByPrimaryKey(long contentSearchId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
public static java.util.List<JournalContentSearch> findByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
public static 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
public static 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
public static 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
public static 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
public static 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
public static java.util.List<JournalContentSearch> findByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static java.util.List<JournalContentSearch> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<JournalContentSearch> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_A
public static void removeByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P_L
public static void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P_A
public static 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
public static 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
public static 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
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P
public static int countByG_P(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_A
public static int countByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P_L
public static int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P_A
public static 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
public static 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
public static 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
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
registerListener
public static void registerListener(ModelListener listener)
unregisterListener
public static void unregisterListener(ModelListener listener)
getPersistence
public static JournalContentSearchPersistence getPersistence()
setPersistence
public void setPersistence(JournalContentSearchPersistence persistence)