|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface MBMessageFlagPersistence
| Method Summary | |
|---|---|
int |
countAll()
|
int |
countByMessageId(long messageId)
|
int |
countByU_M(long userId,
long messageId)
|
int |
countByUserId(long userId)
|
MBMessageFlag |
create(long messageFlagId)
|
MBMessageFlag |
fetchByPrimaryKey(long messageFlagId)
|
MBMessageFlag |
fetchByU_M(long userId,
long messageId)
|
java.util.List<MBMessageFlag> |
findAll()
|
java.util.List<MBMessageFlag> |
findAll(int start,
int end)
|
java.util.List<MBMessageFlag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag |
findByMessageId_First(long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag |
findByMessageId_Last(long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag[] |
findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMessageFlag> |
findByMessageId(long messageId)
|
java.util.List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end)
|
java.util.List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag |
findByPrimaryKey(long messageFlagId)
|
MBMessageFlag |
findByU_M(long userId,
long messageId)
|
MBMessageFlag |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMessageFlag[] |
findByUserId_PrevAndNext(long messageFlagId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMessageFlag> |
findByUserId(long userId)
|
java.util.List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
MBMessageFlag |
remove(long messageFlagId)
|
MBMessageFlag |
remove(MBMessageFlag mbMessageFlag)
|
void |
removeAll()
|
void |
removeByMessageId(long messageId)
|
void |
removeByU_M(long userId,
long messageId)
|
void |
removeByUserId(long userId)
|
void |
unregisterListener(ModelListener listener)
|
MBMessageFlag |
update(MBMessageFlag mbMessageFlag)
Deprecated. Use update(MBMessageFlag mbMessageFlag, boolean merge). |
MBMessageFlag |
update(MBMessageFlag mbMessageFlag,
boolean merge)
Add, update, or merge, the entity. |
MBMessageFlag |
updateImpl(MBMessageFlag mbMessageFlag,
boolean merge)
|
| Method Detail |
|---|
MBMessageFlag create(long messageFlagId)
MBMessageFlag remove(long messageFlagId)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
MBMessageFlag remove(MBMessageFlag mbMessageFlag)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
MBMessageFlag update(MBMessageFlag mbMessageFlag)
throws com.liferay.portal.SystemException
update(MBMessageFlag mbMessageFlag, boolean merge).
com.liferay.portal.SystemException
MBMessageFlag update(MBMessageFlag mbMessageFlag,
boolean merge)
throws com.liferay.portal.SystemException
mbMessageFlag - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when mbMessageFlag is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
MBMessageFlag updateImpl(MBMessageFlag mbMessageFlag,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByPrimaryKey(long messageFlagId)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
MBMessageFlag fetchByPrimaryKey(long messageFlagId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByMessageId(long messageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByMessageId_First(long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByMessageId_Last(long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag findByU_M(long userId,
long messageId)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
MBMessageFlag fetchByU_M(long userId,
long messageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByMessageId(long messageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByU_M(long userId,
long messageId)
throws com.liferay.portal.SystemException,
NoSuchMessageFlagException
com.liferay.portal.SystemException
NoSuchMessageFlagException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByMessageId(long messageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU_M(long userId,
long messageId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||