Liferay 6.0.3

com.liferay.portlet.messageboards.service.persistence
Class MBBanUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.persistence.MBBanUtil

public class MBBanUtil
extends Object

See Also:
MBBanPersistence, MBBanPersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
MBBanUtil()
           
 
Method Summary
static void cacheResult(List<MBBan> mbBans)
           
static void cacheResult(MBBan mbBan)
           
static void clearCache()
           
static void clearCache(MBBan mbBan)
           
static int countAll()
           
static int countByBanUserId(long banUserId)
           
static int countByG_B(long groupId, long banUserId)
           
static int countByGroupId(long groupId)
           
static int countByUserId(long userId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static MBBan create(long banId)
           
static MBBan fetchByG_B(long groupId, long banUserId)
           
static MBBan fetchByG_B(long groupId, long banUserId, boolean retrieveFromCache)
           
static MBBan fetchByPrimaryKey(long banId)
           
static List<MBBan> findAll()
           
static List<MBBan> findAll(int start, int end)
           
static List<MBBan> findAll(int start, int end, OrderByComparator orderByComparator)
           
static MBBan findByBanUserId_First(long banUserId, OrderByComparator orderByComparator)
           
static MBBan findByBanUserId_Last(long banUserId, OrderByComparator orderByComparator)
           
static MBBan[] findByBanUserId_PrevAndNext(long banId, long banUserId, OrderByComparator orderByComparator)
           
static List<MBBan> findByBanUserId(long banUserId)
           
static List<MBBan> findByBanUserId(long banUserId, int start, int end)
           
static List<MBBan> findByBanUserId(long banUserId, int start, int end, OrderByComparator orderByComparator)
           
static MBBan findByG_B(long groupId, long banUserId)
           
static MBBan findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
static MBBan findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
static MBBan[] findByGroupId_PrevAndNext(long banId, long groupId, OrderByComparator orderByComparator)
           
static List<MBBan> findByGroupId(long groupId)
           
static List<MBBan> findByGroupId(long groupId, int start, int end)
           
static List<MBBan> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
static MBBan findByPrimaryKey(long banId)
           
static MBBan findByUserId_First(long userId, OrderByComparator orderByComparator)
           
static MBBan findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
static MBBan[] findByUserId_PrevAndNext(long banId, long userId, OrderByComparator orderByComparator)
           
static List<MBBan> findByUserId(long userId)
           
static List<MBBan> findByUserId(long userId, int start, int end)
           
static List<MBBan> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static MBBanPersistence getPersistence()
           
static MBBan remove(long banId)
           
static MBBan remove(MBBan mbBan)
           
static void removeAll()
           
static void removeByBanUserId(long banUserId)
           
static void removeByG_B(long groupId, long banUserId)
           
static void removeByGroupId(long groupId)
           
static void removeByUserId(long userId)
           
 void setPersistence(MBBanPersistence persistence)
           
static MBBan update(MBBan mbBan, boolean merge)
           
static MBBan update(MBBan mbBan, boolean merge, ServiceContext serviceContext)
           
static MBBan updateImpl(MBBan mbBan, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBBanUtil

public MBBanUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(MBBan mbBan)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<MBBan> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static MBBan remove(MBBan mbBan)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static MBBan update(MBBan mbBan,
                           boolean merge)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static MBBan update(MBBan mbBan,
                           boolean merge,
                           ServiceContext serviceContext)
                    throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(MBBan mbBan)

cacheResult

public static void cacheResult(List<MBBan> mbBans)

create

public static MBBan create(long banId)

remove

public static MBBan remove(long banId)
                    throws SystemException,
                           NoSuchBanException
Throws:
SystemException
NoSuchBanException

updateImpl

public static MBBan updateImpl(MBBan mbBan,
                               boolean merge)
                        throws SystemException
Throws:
SystemException

findByPrimaryKey

public static MBBan findByPrimaryKey(long banId)
                              throws SystemException,
                                     NoSuchBanException
Throws:
SystemException
NoSuchBanException

fetchByPrimaryKey

public static MBBan fetchByPrimaryKey(long banId)
                               throws SystemException
Throws:
SystemException

findByGroupId

public static List<MBBan> findByGroupId(long groupId)
                                 throws SystemException
Throws:
SystemException

findByGroupId

public static List<MBBan> findByGroupId(long groupId,
                                        int start,
                                        int end)
                                 throws SystemException
Throws:
SystemException

findByGroupId

public static List<MBBan> findByGroupId(long groupId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByGroupId_First

public static MBBan findByGroupId_First(long groupId,
                                        OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByGroupId_Last

public static MBBan findByGroupId_Last(long groupId,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByGroupId_PrevAndNext

public static MBBan[] findByGroupId_PrevAndNext(long banId,
                                                long groupId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId

public static List<MBBan> findByUserId(long userId)
                                throws SystemException
Throws:
SystemException

findByUserId

public static List<MBBan> findByUserId(long userId,
                                       int start,
                                       int end)
                                throws SystemException
Throws:
SystemException

findByUserId

public static List<MBBan> findByUserId(long userId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Throws:
SystemException

findByUserId_First

public static MBBan findByUserId_First(long userId,
                                       OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId_Last

public static MBBan findByUserId_Last(long userId,
                                      OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId_PrevAndNext

public static MBBan[] findByUserId_PrevAndNext(long banId,
                                               long userId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId

public static List<MBBan> findByBanUserId(long banUserId)
                                   throws SystemException
Throws:
SystemException

findByBanUserId

public static List<MBBan> findByBanUserId(long banUserId,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

findByBanUserId

public static List<MBBan> findByBanUserId(long banUserId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByBanUserId_First

public static MBBan findByBanUserId_First(long banUserId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId_Last

public static MBBan findByBanUserId_Last(long banUserId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId_PrevAndNext

public static MBBan[] findByBanUserId_PrevAndNext(long banId,
                                                  long banUserId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByG_B

public static MBBan findByG_B(long groupId,
                              long banUserId)
                       throws SystemException,
                              NoSuchBanException
Throws:
SystemException
NoSuchBanException

fetchByG_B

public static MBBan fetchByG_B(long groupId,
                               long banUserId)
                        throws SystemException
Throws:
SystemException

fetchByG_B

public static MBBan fetchByG_B(long groupId,
                               long banUserId,
                               boolean retrieveFromCache)
                        throws SystemException
Throws:
SystemException

findAll

public static List<MBBan> findAll()
                           throws SystemException
Throws:
SystemException

findAll

public static List<MBBan> findAll(int start,
                                  int end)
                           throws SystemException
Throws:
SystemException

findAll

public static List<MBBan> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws SystemException
Throws:
SystemException

removeByUserId

public static void removeByUserId(long userId)
                           throws SystemException
Throws:
SystemException

removeByBanUserId

public static void removeByBanUserId(long banUserId)
                              throws SystemException
Throws:
SystemException

removeByG_B

public static void removeByG_B(long groupId,
                               long banUserId)
                        throws SystemException,
                               NoSuchBanException
Throws:
SystemException
NoSuchBanException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Throws:
SystemException

countByUserId

public static int countByUserId(long userId)
                         throws SystemException
Throws:
SystemException

countByBanUserId

public static int countByBanUserId(long banUserId)
                            throws SystemException
Throws:
SystemException

countByG_B

public static int countByG_B(long groupId,
                             long banUserId)
                      throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static MBBanPersistence getPersistence()

setPersistence

public void setPersistence(MBBanPersistence persistence)

Liferay 6.0.3