|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<MBThread>
com.liferay.portlet.messageboards.service.persistence.MBThreadPersistenceImpl
public class MBThreadPersistenceImpl
MBThreadPersistence,
MBThreadUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
MBThreadPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(List<MBThread> mbThreads)
|
void |
cacheResult(MBThread mbThread)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(MBThread mbThread)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByC_P(long categoryId,
double priority)
|
int |
countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
|
int |
countByG_C_S(long groupId,
long[] categoryIds,
int status)
|
int |
countByG_C_S(long groupId,
long categoryId,
int status)
|
int |
countByG_C(long groupId,
long categoryId)
|
int |
countByG_C(long groupId,
long[] categoryIds)
|
int |
countByG_NotC_S(long groupId,
long categoryId,
int status)
|
int |
countByG_NotC(long groupId,
long categoryId)
|
int |
countByG_S(long groupId,
int status)
|
int |
countByGroupId(long groupId)
|
MBThread |
create(long threadId)
|
MBThread |
fetchByPrimaryKey(long threadId)
|
MBThread |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
List<MBThread> |
findAll()
|
List<MBThread> |
findAll(int start,
int end)
|
List<MBThread> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByC_P_First(long categoryId,
double priority,
OrderByComparator orderByComparator)
|
MBThread |
findByC_P_Last(long categoryId,
double priority,
OrderByComparator orderByComparator)
|
MBThread[] |
findByC_P_PrevAndNext(long threadId,
long categoryId,
double priority,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByC_P(long categoryId,
double priority)
|
List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end)
|
List<MBThread> |
findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
|
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
|
List<MBThread> |
findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
MBThread |
findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status)
|
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
|
List<MBThread> |
findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status)
|
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
|
List<MBThread> |
findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_C(long groupId,
long categoryId)
|
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds)
|
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end)
|
List<MBThread> |
findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
|
List<MBThread> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread |
findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
|
MBThread |
findByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
MBThread |
findByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status)
|
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
|
List<MBThread> |
findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_NotC(long groupId,
long categoryId)
|
List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end)
|
List<MBThread> |
findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
|
MBThread |
findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
|
MBThread[] |
findByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByG_S(long groupId,
int status)
|
List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end)
|
List<MBThread> |
findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
MBThread |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
MBThread[] |
findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator orderByComparator)
|
List<MBThread> |
findByGroupId(long groupId)
|
List<MBThread> |
findByGroupId(long groupId,
int start,
int end)
|
List<MBThread> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
MBThread |
findByPrimaryKey(long threadId)
|
MBThread |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
protected MBThread |
getByC_P_PrevAndNext(Session session,
MBThread mbThread,
long categoryId,
double priority,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBThread |
getByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
MBThread |
remove(long threadId)
|
MBThread |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByC_P(long categoryId,
double priority)
|
void |
removeByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
|
void |
removeByG_C_S(long groupId,
long categoryId,
int status)
|
void |
removeByG_C(long groupId,
long categoryId)
|
void |
removeByG_NotC_S(long groupId,
long categoryId,
int status)
|
void |
removeByG_NotC(long groupId,
long categoryId)
|
void |
removeByG_S(long groupId,
int status)
|
void |
removeByGroupId(long groupId)
|
protected MBThread |
removeImpl(MBThread mbThread)
Removes the model instance from the database. |
protected MBThread |
toUnwrappedModel(MBThread mbThread)
|
MBThread |
updateImpl(MBThread mbThread,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_G_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C
public static final FinderPath FINDER_PATH_FIND_BY_G_NOTC
public static final FinderPath FINDER_PATH_COUNT_BY_G_NOTC
public static final FinderPath FINDER_PATH_FIND_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_FIND_BY_C_P
public static final FinderPath FINDER_PATH_COUNT_BY_C_P
public static final FinderPath FINDER_PATH_FIND_BY_G_C_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_L
public static final FinderPath FINDER_PATH_FIND_BY_G_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S
public static final FinderPath FINDER_PATH_FIND_BY_G_NOTC_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_NOTC_S
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=MBBanPersistence.class) protected MBBanPersistence mbBanPersistence
@BeanReference(type=MBCategoryPersistence.class) protected MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=MBDiscussionPersistence.class) protected MBDiscussionPersistence mbDiscussionPersistence
@BeanReference(type=MBMailingListPersistence.class) protected MBMailingListPersistence mbMailingListPersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=MBMessageFlagPersistence.class) protected MBMessageFlagPersistence mbMessageFlagPersistence
@BeanReference(type=MBStatsUserPersistence.class) protected MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=MBThreadPersistence.class) protected MBThreadPersistence mbThreadPersistence
@BeanReference(type=LockPersistence.class) protected LockPersistence lockPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
| Constructor Detail |
|---|
public MBThreadPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(MBThread mbThread)
cacheResult in interface MBThreadPersistencepublic void cacheResult(List<MBThread> mbThreads)
cacheResult in interface MBThreadPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<MBThread>clearCache in class BasePersistenceImpl<MBThread>public void clearCache(MBThread mbThread)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<MBThread>clearCache in class BasePersistenceImpl<MBThread>mbThread - the instance of this model to clear the cache forpublic MBThread create(long threadId)
create in interface MBThreadPersistence
public MBThread remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<MBThread>remove in class BasePersistenceImpl<MBThread>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public MBThread remove(long threadId)
throws NoSuchThreadException,
SystemException
remove in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread removeImpl(MBThread mbThread)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<MBThread>mbThread - the model instance to remove
SystemException - if a system exception occurred
public MBThread updateImpl(MBThread mbThread,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface MBThreadPersistenceupdateImpl in class BasePersistenceImpl<MBThread>mbThread - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected MBThread toUnwrappedModel(MBThread mbThread)
public MBThread findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<MBThread>findByPrimaryKey in class BasePersistenceImpl<MBThread>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public MBThread findByPrimaryKey(long threadId)
throws NoSuchThreadException,
SystemException
findByPrimaryKey in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<MBThread>fetchByPrimaryKey in class BasePersistenceImpl<MBThread>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public MBThread fetchByPrimaryKey(long threadId)
throws SystemException
fetchByPrimaryKey in interface MBThreadPersistenceSystemException
public List<MBThread> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface MBThreadPersistenceSystemException
public List<MBThread> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface MBThreadPersistenceSystemException
public List<MBThread> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface MBThreadPersistenceSystemException
public MBThread findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByGroupId_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByGroupId_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByGroupId_PrevAndNext(long threadId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByGroupId_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByGroupId_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_C(long groupId,
long categoryId)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C(long groupId,
long categoryId,
int start,
int end)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public MBThread findByG_C_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_C_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_C_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_C_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_C(long groupId,
long[] categoryIds)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C(long groupId,
long[] categoryIds,
int start,
int end)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C(long groupId,
long[] categoryIds,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_C in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC(long groupId,
long categoryId)
throws SystemException
findByG_NotC in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC(long groupId,
long categoryId,
int start,
int end)
throws SystemException
findByG_NotC in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC(long groupId,
long categoryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_NotC in interface MBThreadPersistenceSystemException
public MBThread findByG_NotC_First(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_NotC_Last(long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_NotC_PrevAndNext(long threadId,
long groupId,
long categoryId,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_NotC_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_S(long groupId,
int status)
throws SystemException
findByG_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_S(long groupId,
int status,
int start,
int end)
throws SystemException
findByG_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_S(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_S in interface MBThreadPersistenceSystemException
public MBThread findByG_S_First(long groupId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_S_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_S_Last(long groupId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_S_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_S_PrevAndNext(long threadId,
long groupId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_S_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByC_P(long categoryId,
double priority)
throws SystemException
findByC_P in interface MBThreadPersistenceSystemException
public List<MBThread> findByC_P(long categoryId,
double priority,
int start,
int end)
throws SystemException
findByC_P in interface MBThreadPersistenceSystemException
public List<MBThread> findByC_P(long categoryId,
double priority,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByC_P in interface MBThreadPersistenceSystemException
public MBThread findByC_P_First(long categoryId,
double priority,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByC_P_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByC_P_Last(long categoryId,
double priority,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByC_P_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByC_P_PrevAndNext(long threadId,
long categoryId,
double priority,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByC_P_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByC_P_PrevAndNext(Session session,
MBThread mbThread,
long categoryId,
double priority,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
throws SystemException
findByG_C_L in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end)
throws SystemException
findByG_C_L in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_L(long groupId,
long categoryId,
Date lastPostDate,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_C_L in interface MBThreadPersistenceSystemException
public MBThread findByG_C_L_First(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_L_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_C_L_Last(long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_L_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_C_L_PrevAndNext(long threadId,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_L_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_C_L_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
Date lastPostDate,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public MBThread findByG_C_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_S_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_C_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_S_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_C_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_C_S_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_C_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_C_S(long groupId,
long[] categoryIds,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_C_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status)
throws SystemException
findByG_NotC_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end)
throws SystemException
findByG_NotC_S in interface MBThreadPersistenceSystemException
public List<MBThread> findByG_NotC_S(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_NotC_S in interface MBThreadPersistenceSystemException
public MBThread findByG_NotC_S_First(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_S_First in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread findByG_NotC_S_Last(long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_S_Last in interface MBThreadPersistenceNoSuchThreadException
SystemException
public MBThread[] findByG_NotC_S_PrevAndNext(long threadId,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator)
throws NoSuchThreadException,
SystemException
findByG_NotC_S_PrevAndNext in interface MBThreadPersistenceNoSuchThreadException
SystemException
protected MBThread getByG_NotC_S_PrevAndNext(Session session,
MBThread mbThread,
long groupId,
long categoryId,
int status,
OrderByComparator orderByComparator,
boolean previous)
public List<MBThread> findAll()
throws SystemException
findAll in interface MBThreadPersistenceSystemException
public List<MBThread> findAll(int start,
int end)
throws SystemException
findAll in interface MBThreadPersistenceSystemException
public List<MBThread> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface MBThreadPersistenceSystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface MBThreadPersistenceSystemException
public void removeByG_C(long groupId,
long categoryId)
throws SystemException
removeByG_C in interface MBThreadPersistenceSystemException
public void removeByG_NotC(long groupId,
long categoryId)
throws SystemException
removeByG_NotC in interface MBThreadPersistenceSystemException
public void removeByG_S(long groupId,
int status)
throws SystemException
removeByG_S in interface MBThreadPersistenceSystemException
public void removeByC_P(long categoryId,
double priority)
throws SystemException
removeByC_P in interface MBThreadPersistenceSystemException
public void removeByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
throws SystemException
removeByG_C_L in interface MBThreadPersistenceSystemException
public void removeByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
removeByG_C_S in interface MBThreadPersistenceSystemException
public void removeByG_NotC_S(long groupId,
long categoryId,
int status)
throws SystemException
removeByG_NotC_S in interface MBThreadPersistenceSystemException
public void removeAll()
throws SystemException
removeAll in interface MBThreadPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface MBThreadPersistenceSystemException
public int countByG_C(long groupId,
long categoryId)
throws SystemException
countByG_C in interface MBThreadPersistenceSystemException
public int countByG_C(long groupId,
long[] categoryIds)
throws SystemException
countByG_C in interface MBThreadPersistenceSystemException
public int countByG_NotC(long groupId,
long categoryId)
throws SystemException
countByG_NotC in interface MBThreadPersistenceSystemException
public int countByG_S(long groupId,
int status)
throws SystemException
countByG_S in interface MBThreadPersistenceSystemException
public int countByC_P(long categoryId,
double priority)
throws SystemException
countByC_P in interface MBThreadPersistenceSystemException
public int countByG_C_L(long groupId,
long categoryId,
Date lastPostDate)
throws SystemException
countByG_C_L in interface MBThreadPersistenceSystemException
public int countByG_C_S(long groupId,
long categoryId,
int status)
throws SystemException
countByG_C_S in interface MBThreadPersistenceSystemException
public int countByG_C_S(long groupId,
long[] categoryIds,
int status)
throws SystemException
countByG_C_S in interface MBThreadPersistenceSystemException
public int countByG_NotC_S(long groupId,
long categoryId,
int status)
throws SystemException
countByG_NotC_S in interface MBThreadPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface MBThreadPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||