|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>
com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceImpl
public class MBMailingListPersistenceImpl
The persistence implementation for the message boards mailing list service.
Caching information and settings can be found in portal.properties
MBMailingListPersistence,
MBMailingListUtil| Field Summary | |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.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_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_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
|
protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence |
mbBanPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence |
mbCategoryPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence |
mbDiscussionPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence |
mbMailingListPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence |
mbMessagePersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence |
mbStatsUserPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence |
mbThreadFlagPersistence
|
protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence |
mbThreadPersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
MBMailingListPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the message boards mailing list persistence. |
void |
cacheResult(java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists)
Caches the message boards mailing lists in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
Caches the message boards mailing list in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all message boards mailing lists. |
void |
clearCache(java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists)
|
void |
clearCache(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
Clears the cache for the message boards mailing list. |
protected void |
clearUniqueFindersCache(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
|
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_G(java.lang.String uuid,
long groupId)
Returns the number of message boards mailing lists where uuid = ? and groupId = ?. |
int |
countByUuid(java.lang.String uuid)
Returns the number of message boards mailing lists where uuid = ?. |
com.liferay.portlet.messageboards.model.MBMailingList |
create(long mailingListId)
Creates a new message boards mailing list with the primary key. |
void |
destroy()
|
com.liferay.portlet.messageboards.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.portlet.messageboards.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.portlet.messageboards.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.portlet.messageboards.model.MBMailingList |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the message boards mailing list with the primary key or returns null if it could not be found. |
com.liferay.portlet.messageboards.model.MBMailingList |
fetchByUUID_G(java.lang.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.portlet.messageboards.model.MBMailingList |
fetchByUUID_G(java.lang.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. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findAll()
Returns all the message boards mailing lists. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findAll(int start,
int end)
Returns a range of all the message boards mailing lists. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the message boards mailing lists. |
com.liferay.portlet.messageboards.model.MBMailingList |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first message boards mailing list in the ordered set where active = ?. |
com.liferay.portlet.messageboards.model.MBMailingList |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last message boards mailing list in the ordered set where active = ?. |
com.liferay.portlet.messageboards.model.MBMailingList[] |
findByActive_PrevAndNext(long mailingListId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the message boards mailing lists before and after the current message boards mailing list in the ordered set where active = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByActive(boolean active)
Returns all the message boards mailing lists where active = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the message boards mailing lists where active = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the message boards mailing lists where active = ?. |
com.liferay.portlet.messageboards.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.portlet.messageboards.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.portlet.messageboards.model.MBMailingList |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the message boards mailing list with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.messageboards.model.MBMailingList |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first message boards mailing list in the ordered set where uuid = ?. |
com.liferay.portlet.messageboards.model.MBMailingList |
findByUUID_G(java.lang.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.portlet.messageboards.model.MBMailingList |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last message boards mailing list in the ordered set where uuid = ?. |
com.liferay.portlet.messageboards.model.MBMailingList[] |
findByUuid_PrevAndNext(long mailingListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the message boards mailing lists before and after the current message boards mailing list in the ordered set where uuid = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByUuid(java.lang.String uuid)
Returns all the message boards mailing lists where uuid = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the message boards mailing lists where uuid = ?. |
java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the message boards mailing lists where uuid = ?. |
protected com.liferay.portlet.messageboards.model.MBMailingList |
getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
protected com.liferay.portlet.messageboards.model.MBMailingList |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.messageboards.model.MBMailingList |
remove(long mailingListId)
Removes the message boards mailing list with the primary key from the database. |
com.liferay.portlet.messageboards.model.MBMailingList |
remove(java.io.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. |
void |
removeByG_C(long groupId,
long categoryId)
Removes the message boards mailing list where groupId = ? and categoryId = ? from the database. |
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the message boards mailing list where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(java.lang.String uuid)
Removes all the message boards mailing lists where uuid = ? from the database. |
protected com.liferay.portlet.messageboards.model.MBMailingList |
removeImpl(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
|
protected com.liferay.portlet.messageboards.model.MBMailingList |
toUnwrappedModel(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
|
com.liferay.portlet.messageboards.model.MBMailingList |
updateImpl(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
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_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
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
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBBanPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBCategoryPersistence mbCategoryPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBDiscussionPersistence mbDiscussionPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence mbMailingListPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBThreadPersistence mbThreadPersistence
@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence.class) protected com.liferay.portlet.messageboards.service.persistence.MBThreadFlagPersistence mbThreadFlagPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public MBMailingListPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
cacheResult in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencembMailingList - the message boards mailing listpublic void cacheResult(java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists)
cacheResult in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencembMailingLists - the message boards mailing listspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>public void clearCache(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>public void clearCache(java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> mbMailingLists)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>protected void clearUniqueFindersCache(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
public com.liferay.portlet.messageboards.model.MBMailingList create(long mailingListId)
create in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key for the new message boards mailing list
public com.liferay.portlet.messageboards.model.MBMailingList remove(long mailingListId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key of the message boards mailing list
com.liferay.portlet.messageboards.NoSuchMailingListException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>primaryKey - the primary key of the message boards mailing list
com.liferay.portlet.messageboards.NoSuchMailingListException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.messageboards.model.MBMailingList removeImpl(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.messageboards.model.MBMailingList updateImpl(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.messageboards.model.MBMailingList toUnwrappedModel(com.liferay.portlet.messageboards.model.MBMailingList mbMailingList)
public com.liferay.portlet.messageboards.model.MBMailingList findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>primaryKey - the primary key of the message boards mailing list
com.liferay.portal.NoSuchModelException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList findByPrimaryKey(long mailingListId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key of the message boards mailing list
com.liferay.portlet.messageboards.NoSuchMailingListException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.messageboards.model.MBMailingList>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.messageboards.model.MBMailingList>primaryKey - the primary key of the message boards mailing list
null if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByPrimaryKey(long mailingListId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key of the message boards mailing list
null if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByUuid in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByUuid in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByUuid_First in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByUuid_Last in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList[] findByUuid_PrevAndNext(long mailingListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByUuid_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key of the current message boards mailing listuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.messageboards.model.MBMailingList getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.messageboards.model.MBMailingList findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException if it could not be found.
findByUUID_G in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidgroupId - the group ID
null if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByActive in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByActive in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByActive in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_First in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_Last in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList[] findByActive_PrevAndNext(long mailingListId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
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.
findByActive_PrevAndNext in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencemailingListId - the primary key of the current message boards mailing listactive - the activeorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.messageboards.NoSuchMailingListException - if a message boards mailing list with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.messageboards.model.MBMailingList getByActive_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.messageboards.model.MBMailingList mbMailingList,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.messageboards.model.MBMailingList findByG_C(long groupId,
long categoryId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException if it could not be found.
findByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portlet.messageboards.NoSuchMailingListException - if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencegroupId - the group IDcategoryId - the category ID
null if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.messageboards.model.MBMailingList fetchByG_C(long groupId,
long categoryId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencegroupId - the group IDcategoryId - the category IDretrieveFromCache - whether to use the finder cache
null if a matching message boards mailing list could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencestart - the lower bound of the range of message boards mailing listsend - the upper bound of the range of message boards mailing lists (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.messageboards.model.MBMailingList> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencestart - 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)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
removeByUUID_G in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.messageboards.NoSuchMailingListException
public void removeByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByActive in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByG_C(long groupId,
long categoryId)
throws com.liferay.portlet.messageboards.NoSuchMailingListException,
com.liferay.portal.kernel.exception.SystemException
removeByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.messageboards.NoSuchMailingListException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByUUID_G in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceuuid - the uuidgroupId - the group ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByActive(boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByActive in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistenceactive - the active
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||