@ProviderType public interface KBCommentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBComment>
Caching information and settings can be found in portal.properties
KBCommentUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KBComment kbComment)
Caches the kb comment in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KBComment> kbComments)
Caches the kb comments in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kb comments.
|
int |
countByC_C_S(long classNameId,
long classPK,
int status)
Returns the number of kb comments where classNameId = ? and classPK = ? and status = ?.
|
int |
countByC_C_S(long classNameId,
long classPK,
int[] statuses)
Returns the number of kb comments where classNameId = ? and classPK = ? and status = any ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of kb comments where classNameId = ? and classPK = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Returns the number of kb comments where groupId = ? and classNameId = ?.
|
int |
countByG_S(long groupId,
int status)
Returns the number of kb comments where groupId = ? and status = ?.
|
int |
countByGroupId(long groupId)
Returns the number of kb comments where groupId = ?.
|
int |
countByU_C_C(long userId,
long classNameId,
long classPK)
Returns the number of kb comments where userId = ? and classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of kb comments where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of kb comments where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of kb comments where uuid = ?.
|
KBComment |
create(long kbCommentId)
Creates a new kb comment with the primary key.
|
KBComment |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
fetchByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
fetchByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
fetchByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
fetchByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ?.
|
KBComment |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ?.
|
KBComment |
fetchByPrimaryKey(long kbCommentId)
Returns the kb comment with the primary key or returns
null if it could not be found. |
KBComment |
fetchByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
fetchByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where uuid = ?.
|
KBComment |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the kb comment where uuid = ? and groupId = ? or returns
null if it could not be found. |
KBComment |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the kb comment where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
KBComment |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where uuid = ?.
|
java.util.List<KBComment> |
findAll()
Returns all the kb comments.
|
java.util.List<KBComment> |
findAll(int start,
int end)
Returns a range of all the kb comments.
|
java.util.List<KBComment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments.
|
java.util.List<KBComment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments.
|
KBComment |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment[] |
findByC_C_PrevAndNext(long kbCommentId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ?.
|
KBComment |
findByC_C_S_First(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment |
findByC_C_S_Last(long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
KBComment[] |
findByC_C_S_PrevAndNext(long kbCommentId,
long classNameId,
long classPK,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status)
Returns all the kb comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses)
Returns all the kb comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end)
Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = any ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int[] statuses,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?, optionally using the finder cache.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end)
Returns a range of all the kb comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C_S(long classNameId,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ? and status = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK)
Returns all the kb comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the kb comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where classNameId = ? and classPK = ?.
|
KBComment |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ? and classNameId = ?.
|
KBComment[] |
findByG_C_PrevAndNext(long kbCommentId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId)
Returns all the kb comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the kb comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where groupId = ? and classNameId = ?.
|
java.util.List<KBComment> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where groupId = ? and classNameId = ?.
|
KBComment |
findByG_S_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ? and status = ?.
|
KBComment |
findByG_S_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ? and status = ?.
|
KBComment[] |
findByG_S_PrevAndNext(long kbCommentId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status)
Returns all the kb comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the kb comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where groupId = ? and status = ?.
|
java.util.List<KBComment> |
findByG_S(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where groupId = ? and status = ?.
|
KBComment |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where groupId = ?.
|
KBComment |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where groupId = ?.
|
KBComment[] |
findByGroupId_PrevAndNext(long kbCommentId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId)
Returns all the kb comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the kb comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where groupId = ?.
|
java.util.List<KBComment> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where groupId = ?.
|
KBComment |
findByPrimaryKey(long kbCommentId)
Returns the kb comment with the primary key or throws a
NoSuchCommentException if it could not be found. |
KBComment |
findByU_C_C_First(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
findByU_C_C_Last(long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
KBComment[] |
findByU_C_C_PrevAndNext(long kbCommentId,
long userId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK)
Returns all the kb comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.
|
java.util.List<KBComment> |
findByU_C_C(long userId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where userId = ? and classNameId = ? and classPK = ?.
|
KBComment |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where uuid = ? and companyId = ?.
|
KBComment[] |
findByUuid_C_PrevAndNext(long kbCommentId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the kb comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the kb comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.
|
java.util.List<KBComment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where uuid = ? and companyId = ?.
|
KBComment |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the first kb comment in the ordered set where uuid = ?.
|
KBComment |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the kb comment where uuid = ? and groupId = ? or throws a
NoSuchCommentException if it could not be found. |
KBComment |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the last kb comment in the ordered set where uuid = ?.
|
KBComment[] |
findByUuid_PrevAndNext(long kbCommentId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns the kb comments before and after the current kb comment in the ordered set where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid)
Returns all the kb comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the kb comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
Returns an ordered range of all the kb comments where uuid = ?.
|
java.util.List<KBComment> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kb comments where uuid = ?.
|
KBComment |
remove(long kbCommentId)
Removes the kb comment with the primary key from the database.
|
void |
removeAll()
Removes all the kb comments from the database.
|
void |
removeByC_C_S(long classNameId,
long classPK,
int status)
Removes all the kb comments where classNameId = ? and classPK = ? and status = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the kb comments where classNameId = ? and classPK = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Removes all the kb comments where groupId = ? and classNameId = ? from the database.
|
void |
removeByG_S(long groupId,
int status)
Removes all the kb comments where groupId = ? and status = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the kb comments where groupId = ? from the database.
|
void |
removeByU_C_C(long userId,
long classNameId,
long classPK)
Removes all the kb comments where userId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the kb comments where uuid = ? and companyId = ? from the database.
|
KBComment |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the kb comment where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the kb comments where uuid = ? from the database.
|
KBComment |
updateImpl(KBComment kbComment) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KBComment> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<KBComment> findByUuid(java.lang.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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByUuid_PrevAndNext(long kbCommentId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidKBComment findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCommentException
NoSuchCommentException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching kb comment could not be foundKBComment fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching kb comment could not be foundKBComment removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCommentException
uuid
- the uuidgroupId
- the group IDNoSuchCommentException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<KBComment> findByUuid_C(java.lang.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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByUuid_C_PrevAndNext(long kbCommentId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<KBComment> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<KBComment> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByGroupId_PrevAndNext(long kbCommentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<KBComment> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDjava.util.List<KBComment> findByG_C(long groupId, long classNameId, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByG_C_PrevAndNext(long kbCommentId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDint countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDjava.util.List<KBComment> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<KBComment> findByG_S(long groupId, int status, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByG_S_PrevAndNext(long kbCommentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusint countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<KBComment> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<KBComment> findByC_C(long classNameId, long classPK, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByC_C_PrevAndNext(long kbCommentId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByU_C_C(long userId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByU_C_C_First(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByU_C_C_Last(long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByU_C_C_PrevAndNext(long kbCommentId, long userId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundvoid removeByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkint countByU_C_C(long userId, long classNameId, long classPK)
userId
- the user IDclassNameId
- the class name IDclassPK
- the class pkjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheKBComment findByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByC_C_S_First(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment findByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a matching kb comment could not be foundKBComment fetchByC_C_S_Last(long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kb comment could not be foundKBComment[] findByC_C_S_PrevAndNext(long kbCommentId, long classNameId, long classPK, int status, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws NoSuchCommentException
kbCommentId
- the primary key of the current kb commentclassNameId
- the class name IDclassPK
- the class pkstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCommentException
- if a kb comment with the primary key could not be foundjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesjava.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findByC_C_S(long classNameId, long classPK, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusstart
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusint countByC_C_S(long classNameId, long classPK, int status)
classNameId
- the class name IDclassPK
- the class pkstatus
- the statusint countByC_C_S(long classNameId, long classPK, int[] statuses)
classNameId
- the class name IDclassPK
- the class pkstatuses
- the statusesvoid cacheResult(KBComment kbComment)
kbComment
- the kb commentvoid cacheResult(java.util.List<KBComment> kbComments)
kbComments
- the kb commentsKBComment create(long kbCommentId)
kbCommentId
- the primary key for the new kb commentKBComment remove(long kbCommentId) throws NoSuchCommentException
kbCommentId
- the primary key of the kb commentNoSuchCommentException
- if a kb comment with the primary key could not be foundKBComment findByPrimaryKey(long kbCommentId) throws NoSuchCommentException
NoSuchCommentException
if it could not be found.kbCommentId
- the primary key of the kb commentNoSuchCommentException
- if a kb comment with the primary key could not be foundKBComment fetchByPrimaryKey(long kbCommentId)
null
if it could not be found.kbCommentId
- the primary key of the kb commentnull
if a kb comment with the primary key could not be foundjava.util.List<KBComment> findAll()
java.util.List<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)java.util.List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> 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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KBComment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KBCommentModelImpl
.
start
- the lower bound of the range of kb commentsend
- the upper bound of the range of kb comments (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()