Interface MBThreadFlagPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<MBThreadFlag>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBThreadFlag>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByThreadId(long threadId) Returns the number of message boards thread flags where threadId = ?.intcountByU_T(long userId, long threadId) Returns the number of message boards thread flags where userId = ? and threadId = ?.intcountByUserId(long userId) Returns the number of message boards thread flags where userId = ?.intcountByUuid(String uuid) Returns the number of message boards thread flags where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of message boards thread flags where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of message boards thread flags where uuid = ? and groupId = ?.create(long threadFlagId) Creates a new message boards thread flag with the primary key.fetchByPrimaryKey(long threadFlagId) Returns the message boards thread flag with the primary key or returnsnullif it could not be found.fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where threadId = ?.default MBThreadFlagfetchByU_T(long userId, long threadId) Returns the message boards thread flag where userId = ? and threadId = ? or returnsnullif it could not be found.fetchByU_T(long userId, long threadId, boolean useFinderCache) Returns the message boards thread flag where userId = ? and threadId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where userId = ?.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ?.default MBThreadFlagfetchByUUID_G(String uuid, long groupId) Returns the message boards thread flag where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the message boards thread flag where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByPrimaryKey(long threadFlagId) Returns the message boards thread flag with the primary key or throws aNoSuchThreadFlagExceptionif it could not be found.default List<MBThreadFlag> findByThreadId(long threadId) Returns all the message boards thread flags where threadId = ?.default List<MBThreadFlag> findByThreadId(long threadId, int start, int end) Returns a range of all the message boards thread flags where threadId = ?.default List<MBThreadFlag> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where threadId = ?.findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where threadId = ?.findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where threadId = ?.findByU_T(long userId, long threadId) Returns the message boards thread flag where userId = ? and threadId = ? or throws aNoSuchThreadFlagExceptionif it could not be found.default List<MBThreadFlag> findByUserId(long userId) Returns all the message boards thread flags where userId = ?.default List<MBThreadFlag> findByUserId(long userId, int start, int end) Returns a range of all the message boards thread flags where userId = ?.default List<MBThreadFlag> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where userId = ?.findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where userId = ?.default List<MBThreadFlag> findByUuid(String uuid) Returns all the message boards thread flags where uuid = ?.default List<MBThreadFlag> findByUuid(String uuid, int start, int end) Returns a range of all the message boards thread flags where uuid = ?.default List<MBThreadFlag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where uuid = ?.default List<MBThreadFlag> findByUuid_C(String uuid, long companyId) Returns all the message boards thread flags where uuid = ? and companyId = ?.default List<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 = ?.default List<MBThreadFlag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the message boards thread flag where uuid = ? and groupId = ? or throws aNoSuchThreadFlagExceptionif it could not be found.remove(long threadFlagId) Removes the message boards thread flag with the primary key from the database.voidremoveByThreadId(long threadId) Removes all the message boards thread flags where threadId = ? from the database.removeByU_T(long userId, long threadId) Removes the message boards thread flag where userId = ? and threadId = ? from the database.voidremoveByUserId(long userId) Removes all the message boards thread flags where userId = ? from the database.voidremoveByUuid(String uuid) Removes all the message boards thread flags where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the message boards thread flags where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the message boards thread flag where uuid = ? and groupId = ? from the database.updateImpl(MBThreadFlag mbThreadFlag) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
List<MBThreadFlag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards thread flags
-
findByUuid_First
MBThreadFlag findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) throws NoSuchThreadFlagException Returns the first message boards thread flag in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByUuid_First
MBThreadFlag fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByUuid
Removes all the message boards thread flags where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of message boards thread flags where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching message boards thread flags
-
findByUUID_G
Returns the message boards thread flag where uuid = ? and groupId = ? or throws aNoSuchThreadFlagExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByUUID_G
Returns the message boards thread flag where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByUUID_G
Removes the message boards thread flag where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the message boards thread flag that was removed
- Throws:
NoSuchThreadFlagException
-
countByUUID_G
Returns the number of message boards thread flags where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching message boards thread flags
-
findByUuid_C
List<MBThreadFlag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards thread flags
-
findByUuid_C_First
MBThreadFlag findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) throws NoSuchThreadFlagException Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByUuid_C_First
MBThreadFlag fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByUuid_C
Removes all the message boards thread flags where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of message boards thread flags where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching message boards thread flags
-
findByUserId
List<MBThreadFlag> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards thread flags
-
findByUserId_First
MBThreadFlag findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) throws NoSuchThreadFlagException Returns the first message boards thread flag in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByUserId_First
MBThreadFlag fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the message boards thread flags where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
int countByUserId(long userId) Returns the number of message boards thread flags where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching message boards thread flags
-
findByThreadId
List<MBThreadFlag> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards thread flags where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards thread flags
-
findByThreadId_First
MBThreadFlag findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) throws NoSuchThreadFlagException Returns the first message boards thread flag in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByThreadId_First
MBThreadFlag fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns the first message boards thread flag in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByThreadId
void removeByThreadId(long threadId) Removes all the message boards thread flags where threadId = ? from the database.- Parameters:
threadId- the thread ID
-
countByThreadId
int countByThreadId(long threadId) Returns the number of message boards thread flags where threadId = ?.- Parameters:
threadId- the thread ID- Returns:
- the number of matching message boards thread flags
-
findByU_T
Returns the message boards thread flag where userId = ? and threadId = ? or throws aNoSuchThreadFlagExceptionif it could not be found.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the matching message boards thread flag
- Throws:
NoSuchThreadFlagException- if a matching message boards thread flag could not be found
-
fetchByU_T
Returns the message boards thread flag where userId = ? and threadId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDthreadId- the thread IDuseFinderCache- whether to use the finder cache- Returns:
- the matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
removeByU_T
Removes the message boards thread flag where userId = ? and threadId = ? from the database.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the message boards thread flag that was removed
- Throws:
NoSuchThreadFlagException
-
countByU_T
int countByU_T(long userId, long threadId) Returns the number of message boards thread flags where userId = ? and threadId = ?.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the number of matching message boards thread flags
-
create
Creates a new message boards thread flag with the primary key. Does not add the message boards thread flag to the database.- Parameters:
threadFlagId- the primary key for the new message boards thread flag- Returns:
- the new message boards thread flag
-
remove
Removes the message boards thread flag with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
threadFlagId- the primary key of the message boards thread flag- Returns:
- the message boards thread flag that was removed
- Throws:
NoSuchThreadFlagException- if a message boards thread flag with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the message boards thread flag with the primary key or throws aNoSuchThreadFlagExceptionif it could not be found.- Parameters:
threadFlagId- the primary key of the message boards thread flag- Returns:
- the message boards thread flag
- Throws:
NoSuchThreadFlagException- if a message boards thread flag with the primary key could not be found
-
fetchByPrimaryKey
Returns the message boards thread flag with the primary key or returnsnullif it could not be found.- Parameters:
threadFlagId- the primary key of the message boards thread flag- Returns:
- the message boards thread flag, or
nullif a message boards thread flag with the primary key could not be found
-
fetchByUUID_G
Returns the message boards thread flag where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
fetchByU_T
Returns the message boards thread flag where userId = ? and threadId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the matching message boards thread flag, or
nullif a matching message boards thread flag could not be found
-
findByUuid
Returns all the message boards thread flags where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching message boards thread flags
-
findByUuid
Returns a range of all the message boards thread flags where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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)- Returns:
- the range of matching message boards thread flags
-
findByUuid
default List<MBThreadFlag> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching message boards thread flags
-
findByUuid_C
Returns all the message boards thread flags where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching message boards thread flags
-
findByUuid_C
Returns a range of all the message boards thread flags where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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)- Returns:
- the range of matching message boards thread flags
-
findByUuid_C
default List<MBThreadFlag> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching message boards thread flags
-
findByUserId
Returns all the message boards thread flags where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching message boards thread flags
-
findByUserId
Returns a range of all the message boards thread flags where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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)- Returns:
- the range of matching message boards thread flags
-
findByUserId
default List<MBThreadFlag> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching message boards thread flags
-
findByThreadId
Returns all the message boards thread flags where threadId = ?.- Parameters:
threadId- the thread ID- Returns:
- the matching message boards thread flags
-
findByThreadId
Returns a range of all the message boards thread flags where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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)- Returns:
- the range of matching message boards thread flags
-
findByThreadId
default List<MBThreadFlag> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBThreadFlag> orderByComparator) Returns an ordered range of all the message boards thread flags where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBThreadFlagModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching message boards thread flags
-