@ProviderType
public class MBBanPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
implements com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
Caching information and settings can be found in portal.properties
MBBanPersistence
,
MBBanUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_BANUSERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_B |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_B |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_BANUSERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_BANUSERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
---|
MBBanPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the message boards ban persistence.
|
void |
cacheResult(List<com.liferay.message.boards.kernel.model.MBBan> mbBans)
Caches the message boards bans in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.message.boards.kernel.model.MBBan mbBan)
Caches the message boards ban in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(MBBanModelImpl mbBanModelImpl) |
void |
clearCache()
Clears the cache for all message boards bans.
|
void |
clearCache(List<com.liferay.message.boards.kernel.model.MBBan> mbBans) |
void |
clearCache(com.liferay.message.boards.kernel.model.MBBan mbBan)
Clears the cache for the message boards ban.
|
protected void |
clearUniqueFindersCache(MBBanModelImpl mbBanModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of message boards bans.
|
int |
countByBanUserId(long banUserId)
Returns the number of message boards bans where banUserId = ?.
|
int |
countByG_B(long groupId,
long banUserId)
Returns the number of message boards bans where groupId = ? and banUserId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of message boards bans where groupId = ?.
|
int |
countByUserId(long userId)
Returns the number of message boards bans where userId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message boards bans where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message boards bans where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of message boards bans where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
create(long banId)
Creates a new message boards ban with the primary key.
|
void |
destroy() |
com.liferay.message.boards.kernel.model.MBBan |
fetchByBanUserId_First(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where banUserId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByBanUserId_Last(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where banUserId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByG_B(long groupId,
long banUserId)
Returns the message boards ban where groupId = ? and banUserId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
fetchByG_B(long groupId,
long banUserId,
boolean retrieveFromCache)
Returns the message boards ban where groupId = ? and banUserId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBBan |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByPrimaryKey(long banId)
Returns the message boards ban with the primary key or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
fetchByPrimaryKey(Serializable primaryKey)
Returns the message boards ban with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.message.boards.kernel.model.MBBan> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.message.boards.kernel.model.MBBan |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
fetchByUUID_G(String uuid,
long groupId)
Returns the message boards ban where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message boards ban where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBBan |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findAll()
Returns all the message boards bans.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findAll(int start,
int end)
Returns a range of all the message boards bans.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans.
|
com.liferay.message.boards.kernel.model.MBBan |
findByBanUserId_First(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where banUserId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByBanUserId_Last(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where banUserId = ?.
|
com.liferay.message.boards.kernel.model.MBBan[] |
findByBanUserId_PrevAndNext(long banId,
long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the message boards bans before and after the current message boards ban in the ordered set where banUserId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByBanUserId(long banUserId)
Returns all the message boards bans where banUserId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByBanUserId(long banUserId,
int start,
int end)
Returns a range of all the message boards bans where banUserId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByBanUserId(long banUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans where banUserId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByBanUserId(long banUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans where banUserId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByG_B(long groupId,
long banUserId)
Returns the message boards ban where groupId = ? and banUserId = ? or throws a
NoSuchBanException if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBBan[] |
findByGroupId_PrevAndNext(long banId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the message boards bans before and after the current message boards ban in the ordered set where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByGroupId(long groupId)
Returns all the message boards bans where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the message boards bans where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans where groupId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans where groupId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByPrimaryKey(long banId)
Returns the message boards ban with the primary key or throws a
NoSuchBanException if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
findByPrimaryKey(Serializable primaryKey)
Returns the message boards ban with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBBan[] |
findByUserId_PrevAndNext(long banId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the message boards bans before and after the current message boards ban in the ordered set where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUserId(long userId)
Returns all the message boards bans where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the message boards bans where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans where userId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBBan[] |
findByUuid_C_PrevAndNext(long banId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the message boards bans before and after the current message boards ban in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid_C(String uuid,
long companyId)
Returns all the message boards bans where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message boards bans where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the first message boards ban in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBBan |
findByUUID_G(String uuid,
long groupId)
Returns the message boards ban where uuid = ? and groupId = ? or throws a
NoSuchBanException if it could not be found. |
com.liferay.message.boards.kernel.model.MBBan |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the last message boards ban in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBBan[] |
findByUuid_PrevAndNext(long banId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns the message boards bans before and after the current message boards ban in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid(String uuid)
Returns all the message boards bans where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message boards bans where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
Returns an ordered range of all the message boards bans where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBBan> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards bans where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.message.boards.kernel.model.MBBan |
getByBanUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBBan mbBan,
long banUserId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBBan |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBBan mbBan,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBBan |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBBan mbBan,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBBan |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBBan mbBan,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBBan |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBBan mbBan,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.message.boards.kernel.model.MBBan |
remove(long banId)
Removes the message boards ban with the primary key from the database.
|
com.liferay.message.boards.kernel.model.MBBan |
remove(Serializable primaryKey)
Removes the message boards ban with the primary key from the database.
|
void |
removeAll()
Removes all the message boards bans from the database.
|
void |
removeByBanUserId(long banUserId)
Removes all the message boards bans where banUserId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBBan |
removeByG_B(long groupId,
long banUserId)
Removes the message boards ban where groupId = ? and banUserId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the message boards bans where groupId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the message boards bans where userId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message boards bans where uuid = ? and companyId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBBan |
removeByUUID_G(String uuid,
long groupId)
Removes the message boards ban where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the message boards bans where uuid = ? from the database.
|
protected com.liferay.message.boards.kernel.model.MBBan |
removeImpl(com.liferay.message.boards.kernel.model.MBBan mbBan) |
com.liferay.message.boards.kernel.model.MBBan |
updateImpl(com.liferay.message.boards.kernel.model.MBBan mbBan) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_BANUSERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_BANUSERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_BANUSERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_B
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_B
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.message.boards.kernel.model.MBBan> findByUuid(String uuid)
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidpublic List<com.liferay.message.boards.kernel.model.MBBan> findByUuid(String uuid, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBBan findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan[] findByUuid_PrevAndNext(long banId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the current message boards banuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBBan mbBan, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidpublic com.liferay.message.boards.kernel.model.MBBan findByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
NoSuchBanException
if it could not be found.findByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.fetchByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan removeByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
removeByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchBanException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByUuid_C(String uuid, long companyId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBBan findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan[] findByUuid_C_PrevAndNext(long banId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUuid_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the current message boards banuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBBan mbBan, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByGroupId(long groupId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBBan findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByGroupId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByGroupId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByGroupId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan[] findByGroupId_PrevAndNext(long banId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByGroupId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the current message boards bangroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBBan mbBan, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByUserId(long userId)
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByUserId(long userId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBBan findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan[] findByUserId_PrevAndNext(long banId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByUserId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the current message boards banuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBBan mbBan, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean previous)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByBanUserId(long banUserId)
findByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDpublic List<com.liferay.message.boards.kernel.model.MBBan> findByBanUserId(long banUserId, int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findByBanUserId(long banUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findByBanUserId(long banUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDstart
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.message.boards.kernel.model.MBBan findByBanUserId_First(long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByBanUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByBanUserId_First(long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByBanUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByBanUserId_Last(long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByBanUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByBanUserId_Last(long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
fetchByBanUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan[] findByBanUserId_PrevAndNext(long banId, long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
findByBanUserId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the current message boards banbanUserId
- the ban user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan getByBanUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBBan mbBan, long banUserId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean previous)
public void removeByBanUserId(long banUserId)
removeByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDpublic int countByBanUserId(long banUserId)
countByBanUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banUserId
- the ban user IDpublic com.liferay.message.boards.kernel.model.MBBan findByG_B(long groupId, long banUserId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
NoSuchBanException
if it could not be found.findByG_B
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDbanUserId
- the ban user IDcom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByG_B(long groupId, long banUserId)
null
if it could not be found. Uses the finder cache.fetchByG_B
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDbanUserId
- the ban user IDnull
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByG_B(long groupId, long banUserId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_B
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDbanUserId
- the ban user IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards ban could not be foundpublic com.liferay.message.boards.kernel.model.MBBan removeByG_B(long groupId, long banUserId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
removeByG_B
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDbanUserId
- the ban user IDcom.liferay.message.boards.kernel.exception.NoSuchBanException
public int countByG_B(long groupId, long banUserId)
countByG_B
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
groupId
- the group IDbanUserId
- the ban user IDpublic void cacheResult(com.liferay.message.boards.kernel.model.MBBan mbBan)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
mbBan
- the message boards banpublic void cacheResult(List<com.liferay.message.boards.kernel.model.MBBan> mbBans)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
mbBans
- the message boards banspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public void clearCache(com.liferay.message.boards.kernel.model.MBBan mbBan)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public void clearCache(List<com.liferay.message.boards.kernel.model.MBBan> mbBans)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
protected void cacheUniqueFindersCache(MBBanModelImpl mbBanModelImpl)
protected void clearUniqueFindersCache(MBBanModelImpl mbBanModelImpl, boolean clearCurrent)
public com.liferay.message.boards.kernel.model.MBBan create(long banId)
create
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key for the new message boards banpublic com.liferay.message.boards.kernel.model.MBBan remove(long banId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
remove
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the message boards bancom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBBan remove(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
primaryKey
- the primary key of the message boards bancom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBBan removeImpl(com.liferay.message.boards.kernel.model.MBBan mbBan)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public com.liferay.message.boards.kernel.model.MBBan updateImpl(com.liferay.message.boards.kernel.model.MBBan mbBan)
updateImpl
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public com.liferay.message.boards.kernel.model.MBBan findByPrimaryKey(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
primaryKey
- the primary key of the message boards bancom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBBan findByPrimaryKey(long banId) throws com.liferay.message.boards.kernel.exception.NoSuchBanException
NoSuchBanException
if it could not be found.findByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the message boards bancom.liferay.message.boards.kernel.exception.NoSuchBanException
- if a message boards ban with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
primaryKey
- the primary key of the message boards bannull
if a message boards ban with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBBan fetchByPrimaryKey(long banId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
banId
- the primary key of the message boards bannull
if a message boards ban with the primary key could not be foundpublic Map<Serializable,com.liferay.message.boards.kernel.model.MBBan> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public List<com.liferay.message.boards.kernel.model.MBBan> findAll()
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
public List<com.liferay.message.boards.kernel.model.MBBan> findAll(int start, int end)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
start
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)public List<com.liferay.message.boards.kernel.model.MBBan> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
start
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBBan> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBBan> orderByComparator, boolean retrieveFromCache)
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. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBBanModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
start
- the lower bound of the range of message boards bansend
- the upper bound of the range of message boards bans (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
public int countAll()
countAll
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.message.boards.kernel.service.persistence.MBBanPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBBan>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBBan>
public void afterPropertiesSet()
public void destroy()