|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.messageboards.service.persistence.MBThreadUtil
public class MBThreadUtil
The persistence utility for the message boards thread service. This utility wraps MBThreadPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
MBThreadPersistence
,
MBThreadPersistenceImpl
Constructor Summary | |
---|---|
MBThreadUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(List<MBThread> mbThreads)
Caches the message boards threads in the entity cache if it is enabled. |
static void |
cacheResult(MBThread mbThread)
Caches the message boards thread in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(MBThread mbThread)
|
static int |
countAll()
Counts all the message boards threads. |
static int |
countByC_P(long categoryId,
double priority)
Counts all the message boards threads where categoryId = ? and priority = ?. |
static int |
countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Counts all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
static int |
countByG_C_S(long groupId,
long[] categoryIds,
int status)
Counts all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
static int |
countByG_C_S(long groupId,
long categoryId,
int status)
Counts all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
static int |
countByG_C(long groupId,
long categoryId)
Counts all the message boards threads where groupId = ? and categoryId = ?. |
static int |
countByG_C(long groupId,
long[] categoryIds)
Counts all the message boards threads where groupId = ? and categoryId = any ?. |
static int |
countByG_NotC_S(long groupId,
long categoryId,
int status)
Counts all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
static int |
countByG_NotC(long groupId,
long categoryId)
Counts all the message boards threads where groupId = ? and categoryId ≠ ?. |
static int |
countByG_S(long groupId,
int status)
Counts all the message boards threads where groupId = ? and status = ?. |
static int |
countByGroupId(long groupId)
Counts all the message boards threads where groupId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static MBThread |
create(long threadId)
Creates a new message boards thread with the primary key. |
static MBThread |
fetchByPrimaryKey(long threadId)
Finds the message boards thread with the primary key or returns null if it could not be found. |
static List<MBThread> |
findAll()
Finds all the message boards threads. |
static List<MBThread> |
findAll(int start,
int end)
Finds a range of all the message boards threads. |
static List<MBThread> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads. |
static MBThread |
findByC_P_First(long categoryId,
double priority,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where categoryId = ? and priority = ?. |
static MBThread |
findByC_P_Last(long categoryId,
double priority,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where categoryId = ? and priority = ?. |
static MBThread[] |
findByC_P_PrevAndNext(long threadId,
long categoryId,
double priority,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where categoryId = ? and priority = ?. |
static List<MBThread> |
findByC_P(long categoryId,
double priority)
Finds all the message boards threads where categoryId = ? and priority = ?. |
static List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end)
Finds a range of all the message boards threads where categoryId = ? and priority = ?. |
static List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where categoryId = ? and priority = ?. |
static MBThread |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and categoryId = ?. |
static MBThread |
findByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
static MBThread |
findByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
static MBThread[] |
findByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and lastPostDate = ?. |
static List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Finds all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
static List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
static List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ?. |
static MBThread |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and categoryId = ?. |
static MBThread[] |
findByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ?. |
static MBThread |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static MBThread |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static MBThread[] |
findByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId = ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status)
Finds all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId = any ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status)
Finds all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
static List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId = ? and status = ?. |
static List<MBThread> |
findByG_C(long groupId,
long categoryId)
Finds all the message boards threads where groupId = ? and categoryId = ?. |
static List<MBThread> |
findByG_C(long groupId,
long[] categoryIds)
Finds all the message boards threads where groupId = ? and categoryId = any ?. |
static List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId = any ?. |
static List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId = any ?. |
static List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId = ?. |
static List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId = ?. |
static MBThread |
findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
static MBThread |
findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
static MBThread[] |
findByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ?. |
static MBThread |
findByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
static MBThread |
findByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
static MBThread[] |
findByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and categoryId ≠ ? and status = ?. |
static List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status)
Finds all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
static List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
static List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ? and status = ?. |
static List<MBThread> |
findByG_NotC(long groupId,
long categoryId)
Finds all the message boards threads where groupId = ? and categoryId ≠ ?. |
static List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
static List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and categoryId ≠ ?. |
static MBThread |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ? and status = ?. |
static MBThread |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ? and status = ?. |
static MBThread[] |
findByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ? and status = ?. |
static List<MBThread> |
findByG_S(long groupId,
int status)
Finds all the message boards threads where groupId = ? and status = ?. |
static List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end)
Finds a range of all the message boards threads where groupId = ? and status = ?. |
static List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ? and status = ?. |
static MBThread |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first message boards thread in the ordered set where groupId = ?. |
static MBThread |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last message boards thread in the ordered set where groupId = ?. |
static MBThread[] |
findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator orderByComparator)
Finds the message boards threads before and after the current message boards thread in the ordered set where groupId = ?. |
static List<MBThread> |
findByGroupId(long groupId)
Finds all the message boards threads where groupId = ?. |
static List<MBThread> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the message boards threads where groupId = ?. |
static List<MBThread> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards threads where groupId = ?. |
static MBThread |
findByPrimaryKey(long threadId)
Finds the message boards thread with the primary key or throws a NoSuchThreadException if it could not be found. |
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<MBThread> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBThreadPersistence |
getPersistence()
|
static MBThread |
remove(long threadId)
Removes the message boards thread with the primary key from the database. |
static MBThread |
remove(MBThread mbThread)
|
static void |
removeAll()
Removes all the message boards threads from the database. |
static void |
removeByC_P(long categoryId,
double priority)
Removes all the message boards threads where categoryId = ? and priority = ? from the database. |
static void |
removeByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
Removes all the message boards threads where groupId = ? and categoryId = ? and lastPostDate = ? from the database. |
static void |
removeByG_C_S(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId = ? and status = ? from the database. |
static void |
removeByG_C(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId = ? from the database. |
static void |
removeByG_NotC_S(long groupId,
long categoryId,
int status)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? and status = ? from the database. |
static void |
removeByG_NotC(long groupId,
long categoryId)
Removes all the message boards threads where groupId = ? and categoryId ≠ ? from the database. |
static void |
removeByG_S(long groupId,
int status)
Removes all the message boards threads where groupId = ? and status = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the message boards threads where groupId = ? from the database. |
void |
setPersistence(MBThreadPersistence persistence)
|
static MBThread |
update(MBThread mbThread,
boolean merge)
|
static MBThread |
update(MBThread mbThread,
boolean merge,
ServiceContext serviceContext)
|
static MBThread |
updateImpl(MBThread mbThread,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MBThreadUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MBThread mbThread)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<MBThread> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MBThread remove(MBThread mbThread) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static MBThread update(MBThread mbThread, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static MBThread update(MBThread mbThread, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(MBThread mbThread)
mbThread
- the message boards thread to cachepublic static void cacheResult(List<MBThread> mbThreads)
mbThreads
- the message boards threads to cachepublic static MBThread create(long threadId)
threadId
- the primary key for the new message boards thread
public static MBThread remove(long threadId) throws SystemException, NoSuchThreadException
threadId
- the primary key of the message boards thread to remove
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static MBThread updateImpl(MBThread mbThread, boolean merge) throws SystemException
SystemException
public static MBThread findByPrimaryKey(long threadId) throws SystemException, NoSuchThreadException
NoSuchThreadException
if it could not be found.
threadId
- the primary key of the message boards thread to find
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static MBThread fetchByPrimaryKey(long threadId) throws SystemException
null
if it could not be found.
threadId
- the primary key of the message boards thread to find
null
if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long[] categoryIds) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withcategoryId
- the category id to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_S(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_S(long groupId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_S_First(long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByC_P(long categoryId, double priority) throws SystemException
categoryId
- the category id to search withpriority
- the priority to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByC_P(long categoryId, double priority, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
categoryId
- the category id to search withpriority
- the priority to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
categoryId
- the category id to search withpriority
- the priority to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
categoryId
- the category id to search withpriority
- the priority to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
categoryId
- the category id to search withpriority
- the priority to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadcategoryId
- the category id to search withpriority
- the priority to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryIds
- the category ids to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withstart
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a matching message boards thread could not be found
SystemException
- if a system exception occurredpublic static MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchThreadException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the primary key of the current message boards threadgroupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchThreadException
- if a message boards thread with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<MBThread> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<MBThread> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<MBThread> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of message boards threads to returnend
- the upper bound of the range of message boards threads to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static void removeByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static void removeByG_C(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static void removeByG_NotC(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static void removeByG_S(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByC_P(long categoryId, double priority) throws SystemException
categoryId
- the category id to search withpriority
- the priority to search with
SystemException
- if a system exception occurredpublic static void removeByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search with
SystemException
- if a system exception occurredpublic static void removeByG_C_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByG_C(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static int countByG_C(long groupId, long[] categoryIds) throws SystemException
groupId
- the group id to search withcategoryIds
- the category ids to search with
SystemException
- if a system exception occurredpublic static int countByG_NotC(long groupId, long categoryId) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search with
SystemException
- if a system exception occurredpublic static int countByG_S(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByC_P(long categoryId, double priority) throws SystemException
categoryId
- the category id to search withpriority
- the priority to search with
SystemException
- if a system exception occurredpublic static int countByG_C_L(long groupId, long categoryId, Date lastPostDate) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withlastPostDate
- the last post date to search with
SystemException
- if a system exception occurredpublic static int countByG_C_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_C_S(long groupId, long[] categoryIds, int status) throws SystemException
groupId
- the group id to search withcategoryIds
- the category ids to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_NotC_S(long groupId, long categoryId, int status) throws SystemException
groupId
- the group id to search withcategoryId
- the category id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static MBThreadPersistence getPersistence()
public void setPersistence(MBThreadPersistence persistence)
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |