|
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<MBMessageFlag>
com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistenceImpl
public class MBMessageFlagPersistenceImpl
MBMessageFlagPersistence,
MBMessageFlagUtil| 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 | |
|---|---|
MBMessageFlagPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(List<MBMessageFlag> mbMessageFlags)
|
void |
cacheResult(MBMessageFlag mbMessageFlag)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(MBMessageFlag mbMessageFlag)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByM_F(long messageId,
int flag)
|
int |
countByMessageId(long messageId)
|
int |
countByT_F(long threadId,
int flag)
|
int |
countByThreadId(long threadId)
|
int |
countByU_M_F(long userId,
long messageId,
int flag)
|
int |
countByU_T_F(long userId,
long threadId,
int flag)
|
int |
countByUserId(long userId)
|
MBMessageFlag |
create(long messageFlagId)
|
MBMessageFlag |
fetchByPrimaryKey(long messageFlagId)
|
MBMessageFlag |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag)
|
MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag,
boolean retrieveFromCache)
|
List<MBMessageFlag> |
findAll()
|
List<MBMessageFlag> |
findAll(int start,
int end)
|
List<MBMessageFlag> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByM_F_First(long messageId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByM_F_Last(long messageId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByM_F_PrevAndNext(long messageFlagId,
long messageId,
int flag,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByM_F(long messageId,
int flag)
|
List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end)
|
List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByMessageId_First(long messageId,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByMessageId_Last(long messageId,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByMessageId(long messageId)
|
List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end)
|
List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByPrimaryKey(long messageFlagId)
|
MBMessageFlag |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
MBMessageFlag |
findByT_F_First(long threadId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByT_F_Last(long threadId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByT_F_PrevAndNext(long messageFlagId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByT_F(long threadId,
int flag)
|
List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end)
|
List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByThreadId_PrevAndNext(long messageFlagId,
long threadId,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByThreadId(long threadId)
|
List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end)
|
List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByU_M_F(long userId,
long messageId,
int flag)
|
MBMessageFlag |
findByU_T_F_First(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByU_T_F_Last(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByU_T_F_PrevAndNext(long messageFlagId,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag)
|
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end)
|
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
|
MBMessageFlag |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
|
MBMessageFlag[] |
findByUserId_PrevAndNext(long messageFlagId,
long userId,
OrderByComparator orderByComparator)
|
List<MBMessageFlag> |
findByUserId(long userId)
|
List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end)
|
List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
|
protected MBMessageFlag |
getByM_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long messageId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessageFlag |
getByMessageId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long messageId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessageFlag |
getByT_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long threadId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessageFlag |
getByThreadId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long threadId,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessageFlag |
getByU_T_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
|
protected MBMessageFlag |
getByUserId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
MBMessageFlag |
remove(long messageFlagId)
|
MBMessageFlag |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByM_F(long messageId,
int flag)
|
void |
removeByMessageId(long messageId)
|
void |
removeByT_F(long threadId,
int flag)
|
void |
removeByThreadId(long threadId)
|
void |
removeByU_M_F(long userId,
long messageId,
int flag)
|
void |
removeByU_T_F(long userId,
long threadId,
int flag)
|
void |
removeByUserId(long userId)
|
protected MBMessageFlag |
removeImpl(MBMessageFlag mbMessageFlag)
Removes the model instance from the database. |
protected MBMessageFlag |
toUnwrappedModel(MBMessageFlag mbMessageFlag)
|
MBMessageFlag |
updateImpl(MBMessageFlag mbMessageFlag,
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_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_FIND_BY_THREADID
public static final FinderPath FINDER_PATH_COUNT_BY_THREADID
public static final FinderPath FINDER_PATH_FIND_BY_MESSAGEID
public static final FinderPath FINDER_PATH_COUNT_BY_MESSAGEID
public static final FinderPath FINDER_PATH_FIND_BY_T_F
public static final FinderPath FINDER_PATH_COUNT_BY_T_F
public static final FinderPath FINDER_PATH_FIND_BY_M_F
public static final FinderPath FINDER_PATH_COUNT_BY_M_F
public static final FinderPath FINDER_PATH_FIND_BY_U_T_F
public static final FinderPath FINDER_PATH_COUNT_BY_U_T_F
public static final FinderPath FINDER_PATH_FETCH_BY_U_M_F
public static final FinderPath FINDER_PATH_COUNT_BY_U_M_F
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=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public MBMessageFlagPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(MBMessageFlag mbMessageFlag)
cacheResult in interface MBMessageFlagPersistencepublic void cacheResult(List<MBMessageFlag> mbMessageFlags)
cacheResult in interface MBMessageFlagPersistencepublic 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<MBMessageFlag>clearCache in class BasePersistenceImpl<MBMessageFlag>public void clearCache(MBMessageFlag mbMessageFlag)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<MBMessageFlag>clearCache in class BasePersistenceImpl<MBMessageFlag>mbMessageFlag - the instance of this model to clear the cache forpublic MBMessageFlag create(long messageFlagId)
create in interface MBMessageFlagPersistence
public MBMessageFlag remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<MBMessageFlag>remove in class BasePersistenceImpl<MBMessageFlag>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 MBMessageFlag remove(long messageFlagId)
throws NoSuchMessageFlagException,
SystemException
remove in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag removeImpl(MBMessageFlag mbMessageFlag)
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<MBMessageFlag>mbMessageFlag - the model instance to remove
SystemException - if a system exception occurred
public MBMessageFlag updateImpl(MBMessageFlag mbMessageFlag,
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 MBMessageFlagPersistenceupdateImpl in class BasePersistenceImpl<MBMessageFlag>mbMessageFlag - 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 MBMessageFlag toUnwrappedModel(MBMessageFlag mbMessageFlag)
public MBMessageFlag findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<MBMessageFlag>findByPrimaryKey in class BasePersistenceImpl<MBMessageFlag>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 MBMessageFlag findByPrimaryKey(long messageFlagId)
throws NoSuchMessageFlagException,
SystemException
findByPrimaryKey in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<MBMessageFlag>fetchByPrimaryKey in class BasePersistenceImpl<MBMessageFlag>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 MBMessageFlag fetchByPrimaryKey(long messageFlagId)
throws SystemException
fetchByPrimaryKey in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByUserId(long userId)
throws SystemException
findByUserId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByUserId(long userId,
int start,
int end)
throws SystemException
findByUserId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUserId in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByUserId_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByUserId_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByUserId_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByUserId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long userId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBMessageFlag> findByThreadId(long threadId)
throws SystemException
findByThreadId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByThreadId(long threadId,
int start,
int end)
throws SystemException
findByThreadId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByThreadId in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByThreadId_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByThreadId_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByThreadId_PrevAndNext(long messageFlagId,
long threadId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByThreadId_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByThreadId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long threadId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBMessageFlag> findByMessageId(long messageId)
throws SystemException
findByMessageId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end)
throws SystemException
findByMessageId in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByMessageId in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByMessageId_First(long messageId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByMessageId_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByMessageId_Last(long messageId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByMessageId_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByMessageId_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByMessageId_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long messageId,
OrderByComparator orderByComparator,
boolean previous)
public List<MBMessageFlag> findByT_F(long threadId,
int flag)
throws SystemException
findByT_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByT_F(long threadId,
int flag,
int start,
int end)
throws SystemException
findByT_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByT_F(long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByT_F in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByT_F_First(long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByT_F_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByT_F_Last(long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByT_F_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByT_F_PrevAndNext(long messageFlagId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByT_F_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByT_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long threadId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
public List<MBMessageFlag> findByM_F(long messageId,
int flag)
throws SystemException
findByM_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByM_F(long messageId,
int flag,
int start,
int end)
throws SystemException
findByM_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByM_F(long messageId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByM_F in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByM_F_First(long messageId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByM_F_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByM_F_Last(long messageId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByM_F_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByM_F_PrevAndNext(long messageFlagId,
long messageId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByM_F_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByM_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long messageId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
public List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
findByU_T_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end)
throws SystemException
findByU_T_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByU_T_F in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag findByU_T_F_First(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByU_T_F_First in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag findByU_T_F_Last(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByU_T_F_Last in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag[] findByU_T_F_PrevAndNext(long messageFlagId,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws NoSuchMessageFlagException,
SystemException
findByU_T_F_PrevAndNext in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
protected MBMessageFlag getByU_T_F_PrevAndNext(Session session,
MBMessageFlag mbMessageFlag,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator,
boolean previous)
public MBMessageFlag findByU_M_F(long userId,
long messageId,
int flag)
throws NoSuchMessageFlagException,
SystemException
findByU_M_F in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public MBMessageFlag fetchByU_M_F(long userId,
long messageId,
int flag)
throws SystemException
fetchByU_M_F in interface MBMessageFlagPersistenceSystemException
public MBMessageFlag fetchByU_M_F(long userId,
long messageId,
int flag,
boolean retrieveFromCache)
throws SystemException
fetchByU_M_F in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findAll()
throws SystemException
findAll in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findAll(int start,
int end)
throws SystemException
findAll in interface MBMessageFlagPersistenceSystemException
public List<MBMessageFlag> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface MBMessageFlagPersistenceSystemException
public void removeByUserId(long userId)
throws SystemException
removeByUserId in interface MBMessageFlagPersistenceSystemException
public void removeByThreadId(long threadId)
throws SystemException
removeByThreadId in interface MBMessageFlagPersistenceSystemException
public void removeByMessageId(long messageId)
throws SystemException
removeByMessageId in interface MBMessageFlagPersistenceSystemException
public void removeByT_F(long threadId,
int flag)
throws SystemException
removeByT_F in interface MBMessageFlagPersistenceSystemException
public void removeByM_F(long messageId,
int flag)
throws SystemException
removeByM_F in interface MBMessageFlagPersistenceSystemException
public void removeByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
removeByU_T_F in interface MBMessageFlagPersistenceSystemException
public void removeByU_M_F(long userId,
long messageId,
int flag)
throws NoSuchMessageFlagException,
SystemException
removeByU_M_F in interface MBMessageFlagPersistenceNoSuchMessageFlagException
SystemException
public void removeAll()
throws SystemException
removeAll in interface MBMessageFlagPersistenceSystemException
public int countByUserId(long userId)
throws SystemException
countByUserId in interface MBMessageFlagPersistenceSystemException
public int countByThreadId(long threadId)
throws SystemException
countByThreadId in interface MBMessageFlagPersistenceSystemException
public int countByMessageId(long messageId)
throws SystemException
countByMessageId in interface MBMessageFlagPersistenceSystemException
public int countByT_F(long threadId,
int flag)
throws SystemException
countByT_F in interface MBMessageFlagPersistenceSystemException
public int countByM_F(long messageId,
int flag)
throws SystemException
countByM_F in interface MBMessageFlagPersistenceSystemException
public int countByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
countByU_T_F in interface MBMessageFlagPersistenceSystemException
public int countByU_M_F(long userId,
long messageId,
int flag)
throws SystemException
countByU_M_F in interface MBMessageFlagPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface MBMessageFlagPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||