@ProviderType
public class MBMailingListPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
implements com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
Caching information and settings can be found in portal.properties
MBMailingListPersistence
,
MBMailingListUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
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_ACTIVE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C |
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_C |
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_ACTIVE |
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_ACTIVE |
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 |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, 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 |
---|
MBMailingListPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the message boards mailing list persistence.
|
void |
cacheResult(List<com.liferay.message.boards.kernel.model.MBMailingList> mbMailingLists)
Caches the message boards mailing lists in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
Caches the message boards mailing list in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(MBMailingListModelImpl mbMailingListModelImpl) |
void |
clearCache()
Clears the cache for all message boards mailing lists.
|
void |
clearCache(List<com.liferay.message.boards.kernel.model.MBMailingList> mbMailingLists) |
void |
clearCache(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
Clears the cache for the message boards mailing list.
|
protected void |
clearUniqueFindersCache(MBMailingListModelImpl mbMailingListModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of message boards mailing lists.
|
int |
countByActive(boolean active)
Returns the number of message boards mailing lists where active = ?.
|
int |
countByG_C(long groupId,
long categoryId)
Returns the number of message boards mailing lists where groupId = ? and categoryId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message boards mailing lists where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message boards mailing lists where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of message boards mailing lists where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
create(long mailingListId)
Creates a new message boards mailing list with the primary key.
|
void |
destroy() |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where active = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where active = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByG_C(long groupId,
long categoryId)
Returns the message boards mailing list where groupId = ? and categoryId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByG_C(long groupId,
long categoryId,
boolean retrieveFromCache)
Returns the message boards mailing list where groupId = ? and categoryId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByPrimaryKey(long mailingListId)
Returns the message boards mailing list with the primary key or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByPrimaryKey(Serializable primaryKey)
Returns the message boards mailing list with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.message.boards.kernel.model.MBMailingList> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUUID_G(String uuid,
long groupId)
Returns the message boards mailing list where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message boards mailing list where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBMailingList |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findAll()
Returns all the message boards mailing lists.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findAll(int start,
int end)
Returns a range of all the message boards mailing lists.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns an ordered range of all the message boards mailing lists.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards mailing lists.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where active = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where active = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList[] |
findByActive_PrevAndNext(long mailingListId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the message boards mailing lists before and after the current message boards mailing list in the ordered set where active = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByActive(boolean active)
Returns all the message boards mailing lists where active = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the message boards mailing lists where active = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns an ordered range of all the message boards mailing lists where active = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards mailing lists where active = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByG_C(long groupId,
long categoryId)
Returns the message boards mailing list where groupId = ? and categoryId = ? or throws a
NoSuchMailingListException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
findByPrimaryKey(long mailingListId)
Returns the message boards mailing list with the primary key or throws a
NoSuchMailingListException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
findByPrimaryKey(Serializable primaryKey)
Returns the message boards mailing list with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList[] |
findByUuid_C_PrevAndNext(long mailingListId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the message boards mailing lists before and after the current message boards mailing list in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid_C(String uuid,
long companyId)
Returns all the message boards mailing lists where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message boards mailing lists where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns an ordered range of all the message boards mailing lists where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards mailing lists where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the first message boards mailing list in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList |
findByUUID_G(String uuid,
long groupId)
Returns the message boards mailing list where uuid = ? and groupId = ? or throws a
NoSuchMailingListException if it could not be found. |
com.liferay.message.boards.kernel.model.MBMailingList |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the last message boards mailing list in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBMailingList[] |
findByUuid_PrevAndNext(long mailingListId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns the message boards mailing lists before and after the current message boards mailing list in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid(String uuid)
Returns all the message boards mailing lists where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message boards mailing lists where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
Returns an ordered range of all the message boards mailing lists where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBMailingList> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards mailing lists where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.message.boards.kernel.model.MBMailingList |
getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMailingList mbMailingList,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMailingList |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMailingList mbMailingList,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBMailingList |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBMailingList mbMailingList,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.message.boards.kernel.model.MBMailingList |
remove(long mailingListId)
Removes the message boards mailing list with the primary key from the database.
|
com.liferay.message.boards.kernel.model.MBMailingList |
remove(Serializable primaryKey)
Removes the message boards mailing list with the primary key from the database.
|
void |
removeAll()
Removes all the message boards mailing lists from the database.
|
void |
removeByActive(boolean active)
Removes all the message boards mailing lists where active = ? from the database.
|
com.liferay.message.boards.kernel.model.MBMailingList |
removeByG_C(long groupId,
long categoryId)
Removes the message boards mailing list where groupId = ? and categoryId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message boards mailing lists where uuid = ? and companyId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBMailingList |
removeByUUID_G(String uuid,
long groupId)
Removes the message boards mailing list where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the message boards mailing lists where uuid = ? from the database.
|
protected com.liferay.message.boards.kernel.model.MBMailingList |
removeImpl(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList) |
protected com.liferay.message.boards.kernel.model.MBMailingList |
toUnwrappedModel(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList) |
com.liferay.message.boards.kernel.model.MBMailingList |
updateImpl(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList) |
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_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ACTIVE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid(String uuid)
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidpublic List<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (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.MBMailingList findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList[] findByUuid_PrevAndNext(long mailingListId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the current message boards mailing listuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMailingList getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMailingList mbMailingList, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidpublic com.liferay.message.boards.kernel.model.MBMailingList findByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
NoSuchMailingListException
if it could not be found.findByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList 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.MBMailingListPersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList 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.MBMailingListPersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList removeByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
removeByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (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.MBMailingList findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList[] findByUuid_C_PrevAndNext(long mailingListId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByUuid_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the current message boards mailing listuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMailingList getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMailingList mbMailingList, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBMailingList> findByActive(boolean active)
findByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activepublic List<com.liferay.message.boards.kernel.model.MBMailingList> findByActive(boolean active, 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 MBMailingListModelImpl
. 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.
findByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activestart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.
findByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activestart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMailingList> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.
findByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activestart
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (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.MBMailingList findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByActive_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByActive_First
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByActive_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator)
fetchByActive_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList[] findByActive_PrevAndNext(long mailingListId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
findByActive_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the current message boards mailing listactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMailingList getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBMailingList mbMailingList, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> orderByComparator, boolean previous)
public void removeByActive(boolean active)
removeByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activepublic int countByActive(boolean active)
countByActive
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
active
- the activepublic com.liferay.message.boards.kernel.model.MBMailingList findByG_C(long groupId, long categoryId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
NoSuchMailingListException
if it could not be found.findByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
groupId
- the group IDcategoryId
- the category IDcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByG_C(long groupId, long categoryId)
null
if it could not be found. Uses the finder cache.fetchByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
groupId
- the group IDcategoryId
- the category IDnull
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByG_C(long groupId, long categoryId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
groupId
- the group IDcategoryId
- the category IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards mailing list could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList removeByG_C(long groupId, long categoryId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
removeByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
groupId
- the group IDcategoryId
- the category IDcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
public int countByG_C(long groupId, long categoryId)
countByG_C
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
groupId
- the group IDcategoryId
- the category IDpublic void cacheResult(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mbMailingList
- the message boards mailing listpublic void cacheResult(List<com.liferay.message.boards.kernel.model.MBMailingList> mbMailingLists)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mbMailingLists
- the message boards mailing listspublic 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.MBMailingList>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
public void clearCache(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
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.MBMailingList>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
public void clearCache(List<com.liferay.message.boards.kernel.model.MBMailingList> mbMailingLists)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMailingList>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
protected void cacheUniqueFindersCache(MBMailingListModelImpl mbMailingListModelImpl)
protected void clearUniqueFindersCache(MBMailingListModelImpl mbMailingListModelImpl, boolean clearCurrent)
public com.liferay.message.boards.kernel.model.MBMailingList create(long mailingListId)
create
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key for the new message boards mailing listpublic com.liferay.message.boards.kernel.model.MBMailingList remove(long mailingListId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
remove
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the message boards mailing listcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList remove(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMailingList>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
primaryKey
- the primary key of the message boards mailing listcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBMailingList removeImpl(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
public com.liferay.message.boards.kernel.model.MBMailingList updateImpl(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
updateImpl
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
protected com.liferay.message.boards.kernel.model.MBMailingList toUnwrappedModel(com.liferay.message.boards.kernel.model.MBMailingList mbMailingList)
public com.liferay.message.boards.kernel.model.MBMailingList findByPrimaryKey(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMailingList>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
primaryKey
- the primary key of the message boards mailing listcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList findByPrimaryKey(long mailingListId) throws com.liferay.message.boards.kernel.exception.NoSuchMailingListException
NoSuchMailingListException
if it could not be found.findByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the message boards mailing listcom.liferay.message.boards.kernel.exception.NoSuchMailingListException
- if a message boards mailing list with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList 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.MBMailingList>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
primaryKey
- the primary key of the message boards mailing listnull
if a message boards mailing list with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBMailingList fetchByPrimaryKey(long mailingListId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
mailingListId
- the primary key of the message boards mailing listnull
if a message boards mailing list with the primary key could not be foundpublic Map<Serializable,com.liferay.message.boards.kernel.model.MBMailingList> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMailingList>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
public List<com.liferay.message.boards.kernel.model.MBMailingList> findAll()
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
public List<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
start
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)public List<com.liferay.message.boards.kernel.model.MBMailingList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
start
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBMailingList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBMailingList> 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 MBMailingListModelImpl
. 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.MBMailingListPersistence
start
- the lower bound of the range of message boards mailing listsend
- the upper bound of the range of message boards mailing lists (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.MBMailingListPersistence
public int countAll()
countAll
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.message.boards.kernel.service.persistence.MBMailingListPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBMailingList>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBMailingList>
public void afterPropertiesSet()
public void destroy()