@ProviderType
public class MBThreadFlagPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
implements com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
Caching information and settings can be found in portal.properties
MBThreadFlagPersistence
,
MBThreadFlagUtil
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_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_U_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_U_T |
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_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
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 |
---|
MBThreadFlagPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the message boards thread flag persistence.
|
void |
cacheResult(List<com.liferay.message.boards.kernel.model.MBThreadFlag> mbThreadFlags)
Caches the message boards thread flags in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
Caches the message boards thread flag in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(MBThreadFlagModelImpl mbThreadFlagModelImpl) |
void |
clearCache()
Clears the cache for all message boards thread flags.
|
void |
clearCache(List<com.liferay.message.boards.kernel.model.MBThreadFlag> mbThreadFlags) |
void |
clearCache(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
Clears the cache for the message boards thread flag.
|
protected void |
clearUniqueFindersCache(MBThreadFlagModelImpl mbThreadFlagModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of message boards thread flags.
|
int |
countByThreadId(long threadId)
Returns the number of message boards thread flags where threadId = ?.
|
int |
countByU_T(long userId,
long threadId)
Returns the number of message boards thread flags where userId = ? and threadId = ?.
|
int |
countByUserId(long userId)
Returns the number of message boards thread flags where userId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of message boards thread flags where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of message boards thread flags where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of message boards thread flags where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
create(long threadFlagId)
Creates a new message boards thread flag with the primary key.
|
void |
destroy() |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByPrimaryKey(long threadFlagId)
Returns the message boards thread flag with the primary key or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByPrimaryKey(Serializable primaryKey)
Returns the message boards thread flag with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.message.boards.kernel.model.MBThreadFlag> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByThreadId_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByThreadId_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByU_T(long userId,
long threadId)
Returns the message boards thread flag where userId = ? and threadId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByU_T(long userId,
long threadId,
boolean retrieveFromCache)
Returns the message boards thread flag where userId = ? and threadId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUUID_G(String uuid,
long groupId)
Returns the message boards thread flag where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the message boards thread flag where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findAll()
Returns all the message boards thread flags.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findAll(int start,
int end)
Returns a range of all the message boards thread flags.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns an ordered range of all the message boards thread flags.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards thread flags.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByPrimaryKey(long threadFlagId)
Returns the message boards thread flag with the primary key or throws a
NoSuchThreadFlagException if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByPrimaryKey(Serializable primaryKey)
Returns the message boards thread flag with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByThreadId_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByThreadId_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag[] |
findByThreadId_PrevAndNext(long threadFlagId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the message boards thread flags before and after the current message boards thread flag in the ordered set where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByThreadId(long threadId)
Returns all the message boards thread flags where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByThreadId(long threadId,
int start,
int end)
Returns a range of all the message boards thread flags where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByThreadId(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns an ordered range of all the message boards thread flags where threadId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByThreadId(long threadId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards thread flags where threadId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByU_T(long userId,
long threadId)
Returns the message boards thread flag where userId = ? and threadId = ? or throws a
NoSuchThreadFlagException if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where userId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag[] |
findByUserId_PrevAndNext(long threadFlagId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the message boards thread flags before and after the current message boards thread flag in the ordered set where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUserId(long userId)
Returns all the message boards thread flags where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the message boards thread flags where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns an ordered range of all the message boards thread flags where userId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards thread flags where userId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag[] |
findByUuid_C_PrevAndNext(long threadFlagId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the message boards thread flags before and after the current message boards thread flag in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid_C(String uuid,
long companyId)
Returns all the message boards thread flags where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the message boards thread flags where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the first message boards thread flag in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUUID_G(String uuid,
long groupId)
Returns the message boards thread flag where uuid = ? and groupId = ? or throws a
NoSuchThreadFlagException if it could not be found. |
com.liferay.message.boards.kernel.model.MBThreadFlag |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the last message boards thread flag in the ordered set where uuid = ?.
|
com.liferay.message.boards.kernel.model.MBThreadFlag[] |
findByUuid_PrevAndNext(long threadFlagId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns the message boards thread flags before and after the current message boards thread flag in the ordered set where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid(String uuid)
Returns all the message boards thread flags where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the message boards thread flags where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
Returns an ordered range of all the message boards thread flags where uuid = ?.
|
List<com.liferay.message.boards.kernel.model.MBThreadFlag> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the message boards thread flags where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
getByThreadId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean previous) |
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.message.boards.kernel.model.MBThreadFlag |
remove(long threadFlagId)
Removes the message boards thread flag with the primary key from the database.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
remove(Serializable primaryKey)
Removes the message boards thread flag with the primary key from the database.
|
void |
removeAll()
Removes all the message boards thread flags from the database.
|
void |
removeByThreadId(long threadId)
Removes all the message boards thread flags where threadId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
removeByU_T(long userId,
long threadId)
Removes the message boards thread flag where userId = ? and threadId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the message boards thread flags where userId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the message boards thread flags where uuid = ? and companyId = ? from the database.
|
com.liferay.message.boards.kernel.model.MBThreadFlag |
removeByUUID_G(String uuid,
long groupId)
Removes the message boards thread flag where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the message boards thread flags where uuid = ? from the database.
|
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
removeImpl(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag) |
protected com.liferay.message.boards.kernel.model.MBThreadFlag |
toUnwrappedModel(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag) |
com.liferay.message.boards.kernel.model.MBThreadFlag |
updateImpl(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag) |
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_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_THREADID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_U_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_U_T
@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.MBThreadFlag> findByUuid(String uuid)
findByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (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.MBThreadFlag findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUuid_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUuid_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag[] findByUuid_PrevAndNext(long threadFlagId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the current message boards thread flaguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBThreadFlag getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
NoSuchThreadFlagException
if it could not be found.findByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag 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.MBThreadFlagPersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag 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.MBThreadFlagPersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag removeByUUID_G(String uuid, long groupId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
removeByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (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.MBThreadFlag findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag[] findByUuid_C_PrevAndNext(long threadFlagId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUuid_C_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the current message boards thread flaguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBThreadFlag getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUserId(long userId)
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from MBThreadFlagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (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.MBThreadFlag findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUserId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByUserId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag[] findByUserId_PrevAndNext(long threadFlagId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByUserId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the current message boards thread flaguserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBThreadFlag getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator, boolean previous)
public void removeByUserId(long userId)
removeByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDpublic int countByUserId(long userId)
countByUserId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByThreadId(long threadId)
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDpublic List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByThreadId(long threadId, 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 MBThreadFlagModelImpl
. 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.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.
findByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDstart
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (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.MBThreadFlag findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByThreadId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByThreadId_First
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByThreadId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator)
fetchByThreadId_Last
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag[] findByThreadId_PrevAndNext(long threadFlagId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
findByThreadId_PrevAndNext
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the current message boards thread flagthreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBThreadFlag getByThreadId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag, long threadId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> orderByComparator, boolean previous)
public void removeByThreadId(long threadId)
removeByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDpublic int countByThreadId(long threadId)
countByThreadId
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadId
- the thread IDpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByU_T(long userId, long threadId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
NoSuchThreadFlagException
if it could not be found.findByU_T
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDthreadId
- the thread IDcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByU_T(long userId, long threadId)
null
if it could not be found. Uses the finder cache.fetchByU_T
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDthreadId
- the thread IDnull
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByU_T(long userId, long threadId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByU_T
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDthreadId
- the thread IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching message boards thread flag could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag removeByU_T(long userId, long threadId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
removeByU_T
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDthreadId
- the thread IDcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
public int countByU_T(long userId, long threadId)
countByU_T
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
userId
- the user IDthreadId
- the thread IDpublic void cacheResult(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
mbThreadFlag
- the message boards thread flagpublic void cacheResult(List<com.liferay.message.boards.kernel.model.MBThreadFlag> mbThreadFlags)
cacheResult
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
mbThreadFlags
- the message boards thread flagspublic 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.MBThreadFlag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
public void clearCache(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
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.MBThreadFlag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
public void clearCache(List<com.liferay.message.boards.kernel.model.MBThreadFlag> mbThreadFlags)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBThreadFlag>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
protected void cacheUniqueFindersCache(MBThreadFlagModelImpl mbThreadFlagModelImpl)
protected void clearUniqueFindersCache(MBThreadFlagModelImpl mbThreadFlagModelImpl, boolean clearCurrent)
public com.liferay.message.boards.kernel.model.MBThreadFlag create(long threadFlagId)
create
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key for the new message boards thread flagpublic com.liferay.message.boards.kernel.model.MBThreadFlag remove(long threadFlagId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
remove
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the message boards thread flagcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag remove(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBThreadFlag>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
primaryKey
- the primary key of the message boards thread flagcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundprotected com.liferay.message.boards.kernel.model.MBThreadFlag removeImpl(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
public com.liferay.message.boards.kernel.model.MBThreadFlag updateImpl(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
updateImpl
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
protected com.liferay.message.boards.kernel.model.MBThreadFlag toUnwrappedModel(com.liferay.message.boards.kernel.model.MBThreadFlag mbThreadFlag)
public com.liferay.message.boards.kernel.model.MBThreadFlag findByPrimaryKey(Serializable primaryKey) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBThreadFlag>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
primaryKey
- the primary key of the message boards thread flagcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag findByPrimaryKey(long threadFlagId) throws com.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
NoSuchThreadFlagException
if it could not be found.findByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the message boards thread flagcom.liferay.message.boards.kernel.exception.NoSuchThreadFlagException
- if a message boards thread flag with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag 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.MBThreadFlag>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
primaryKey
- the primary key of the message boards thread flagnull
if a message boards thread flag with the primary key could not be foundpublic com.liferay.message.boards.kernel.model.MBThreadFlag fetchByPrimaryKey(long threadFlagId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
threadFlagId
- the primary key of the message boards thread flagnull
if a message boards thread flag with the primary key could not be foundpublic Map<Serializable,com.liferay.message.boards.kernel.model.MBThreadFlag> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBThreadFlag>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findAll()
findAll
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
public List<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
start
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
start
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.message.boards.kernel.model.MBThreadFlag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.message.boards.kernel.model.MBThreadFlag> 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 MBThreadFlagModelImpl
. 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.MBThreadFlagPersistence
start
- the lower bound of the range of message boards thread flagsend
- the upper bound of the range of message boards thread flags (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.MBThreadFlagPersistence
public int countAll()
countAll
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.message.boards.kernel.service.persistence.MBThreadFlagPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.message.boards.kernel.model.MBThreadFlag>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.message.boards.kernel.model.MBThreadFlag>
public void afterPropertiesSet()
public void destroy()