Interface KBFolderPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KBFolder kbFolder) Caches the kb folder in the entity cache if it is enabled.void
cacheResult
(List<KBFolder> kbFolders) Caches the kb folders in the entity cache if it is enabled.int
countAll()
Returns the number of kb folders.int
countByCompanyId
(long companyId) Returns the number of kb folders where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of kb folders where externalReferenceCode = ? and groupId = ?.int
countByG_P
(long groupId, long parentKBFolderId) Returns the number of kb folders where groupId = ? and parentKBFolderId = ?.int
countByG_P_N
(long groupId, long parentKBFolderId, String name) Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and name = ?.int
countByG_P_S
(long groupId, long parentKBFolderId, int status) Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and status = ?.int
countByG_P_UT
(long groupId, long parentKBFolderId, String urlTitle) Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and urlTitle = ?.int
countByUuid
(String uuid) Returns the number of kb folders where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of kb folders where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of kb folders where uuid = ? and groupId = ?.create
(long kbFolderId) Creates a new kb folder with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where companyId = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the kb folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the kb folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_P_First
(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.fetchByG_P_Last
(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.fetchByG_P_N
(long groupId, long parentKBFolderId, String name) Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returnsnull
if it could not be found.fetchByG_P_N
(long groupId, long parentKBFolderId, String name, boolean useFinderCache) Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_P_S_First
(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.fetchByG_P_S_Last
(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.fetchByG_P_UT
(long groupId, long parentKBFolderId, String urlTitle) Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returnsnull
if it could not be found.fetchByG_P_UT
(long groupId, long parentKBFolderId, String urlTitle, boolean useFinderCache) Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long kbFolderId) Returns the kb folder with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the kb folder where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the kb folder where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where uuid = ?.int
filterCountByG_P
(long groupId, long parentKBFolderId) Returns the number of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.int
filterCountByG_P_S
(long groupId, long parentKBFolderId, int status) Returns the number of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.filterFindByG_P
(long groupId, long parentKBFolderId) Returns all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.filterFindByG_P
(long groupId, long parentKBFolderId, int start, int end) Returns a range of all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.filterFindByG_P
(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders that the user has permissions to view where groupId = ? and parentKBFolderId = ?.KBFolder[]
filterFindByG_P_PrevAndNext
(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.filterFindByG_P_S
(long groupId, long parentKBFolderId, int status) Returns all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.filterFindByG_P_S
(long groupId, long parentKBFolderId, int status, int start, int end) Returns a range of all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.filterFindByG_P_S
(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders that the user has permissions to view where groupId = ? and parentKBFolderId = ? and status = ?.KBFolder[]
filterFindByG_P_S_PrevAndNext
(long kbFolderId, long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.findAll()
Returns all the kb folders.findAll
(int start, int end) Returns a range of all the kb folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders.findByCompanyId
(long companyId) Returns all the kb folders where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kb folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where companyId = ?.KBFolder[]
findByCompanyId_PrevAndNext
(long kbFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set where companyId = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the kb folder where externalReferenceCode = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.findByG_P
(long groupId, long parentKBFolderId) Returns all the kb folders where groupId = ? and parentKBFolderId = ?.findByG_P
(long groupId, long parentKBFolderId, int start, int end) Returns a range of all the kb folders where groupId = ? and parentKBFolderId = ?.findByG_P
(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ?.findByG_P
(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ?.findByG_P_First
(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.findByG_P_Last
(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.findByG_P_N
(long groupId, long parentKBFolderId, String name) Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.KBFolder[]
findByG_P_PrevAndNext
(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.findByG_P_S
(long groupId, long parentKBFolderId, int status) Returns all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentKBFolderId, int status, int start, int end) Returns a range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_S_First
(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_S_Last
(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.KBFolder[]
findByG_P_S_PrevAndNext
(long kbFolderId, long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.findByG_P_UT
(long groupId, long parentKBFolderId, String urlTitle) Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or throws aNoSuchFolderException
if it could not be found.findByPrimaryKey
(long kbFolderId) Returns the kb folder with the primary key or throws aNoSuchFolderException
if it could not be found.findByUuid
(String uuid) Returns all the kb folders where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the kb folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the kb folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the kb folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where uuid = ? and companyId = ?.KBFolder[]
findByUuid_C_PrevAndNext
(long kbFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the kb folder where uuid = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where uuid = ?.KBFolder[]
findByUuid_PrevAndNext
(long kbFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the kb folders before and after the current kb folder in the ordered set where uuid = ?.remove
(long kbFolderId) Removes the kb folder with the primary key from the database.void
Removes all the kb folders from the database.void
removeByCompanyId
(long companyId) Removes all the kb folders where companyId = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the kb folder where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_P
(long groupId, long parentKBFolderId) Removes all the kb folders where groupId = ? and parentKBFolderId = ? from the database.removeByG_P_N
(long groupId, long parentKBFolderId, String name) Removes the kb folder where groupId = ? and parentKBFolderId = ? and name = ? from the database.void
removeByG_P_S
(long groupId, long parentKBFolderId, int status) Removes all the kb folders where groupId = ? and parentKBFolderId = ? and status = ? from the database.removeByG_P_UT
(long groupId, long parentKBFolderId, String urlTitle) Removes the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? from the database.void
removeByUuid
(String uuid) Removes all the kb folders where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the kb folders where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the kb folder where uuid = ? and groupId = ? from the database.updateImpl
(KBFolder kbFolder) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the kb folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching kb folders
-
findByUuid
Returns a range of all the kb folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders
-
findByUuid
List<KBFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders
-
findByUuid
List<KBFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb folders
-
findByUuid_First
KBFolder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the first kb folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByUuid_First
KBFolder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder, or
null
if a matching kb folder could not be found
-
findByUuid_Last
KBFolder findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the last kb folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByUuid_Last
KBFolder fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder, or
null
if a matching kb folder could not be found
-
findByUuid_PrevAndNext
KBFolder[] findByUuid_PrevAndNext(long kbFolderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set where uuid = ?.- Parameters:
kbFolderId
- the primary key of the current kb folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
removeByUuid
Removes all the kb folders where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of kb folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching kb folders
-
findByUUID_G
Returns the kb folder where uuid = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByUUID_G
Returns the kb folder where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
fetchByUUID_G
Returns the kb folder where uuid = ? and groupId = ? or returnsnull
if 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 kb folder, or
null
if a matching kb folder could not be found
-
removeByUUID_G
Removes the kb folder where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the kb folder that was removed
- Throws:
NoSuchFolderException
-
countByUUID_G
Returns the number of kb folders where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching kb folders
-
findByUuid_C
Returns all the kb folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching kb folders
-
findByUuid_C
Returns a range of all the kb folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders
-
findByUuid_C
List<KBFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders
-
findByUuid_C
List<KBFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb folders
-
findByUuid_C_First
KBFolder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the first kb folder 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 kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByUuid_C_First
KBFolder fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder 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 kb folder, or
null
if a matching kb folder could not be found
-
findByUuid_C_Last
KBFolder findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the last kb folder 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 last matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByUuid_C_Last
KBFolder fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder 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 last matching kb folder, or
null
if a matching kb folder could not be found
-
findByUuid_C_PrevAndNext
KBFolder[] findByUuid_C_PrevAndNext(long kbFolderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set where uuid = ? and companyId = ?.- Parameters:
kbFolderId
- the primary key of the current kb folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
removeByUuid_C
Removes all the kb folders where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of kb folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching kb folders
-
findByCompanyId
Returns all the kb folders where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kb folders
-
findByCompanyId
Returns a range of all the kb folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders
-
findByCompanyId
List<KBFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders
-
findByCompanyId
List<KBFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb folders
-
findByCompanyId_First
KBFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the first kb folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByCompanyId_First
KBFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder, or
null
if a matching kb folder could not be found
-
findByCompanyId_Last
KBFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the last kb folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByCompanyId_Last
KBFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder, or
null
if a matching kb folder could not be found
-
findByCompanyId_PrevAndNext
KBFolder[] findByCompanyId_PrevAndNext(long kbFolderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set where companyId = ?.- Parameters:
kbFolderId
- the primary key of the current kb foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kb folders where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kb folders where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kb folders
-
findByG_P
Returns all the kb folders where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder ID- Returns:
- the matching kb folders
-
findByG_P
Returns a range of all the kb folders where groupId = ? and parentKBFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders
-
findByG_P
List<KBFolder> findByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders
-
findByG_P
List<KBFolder> findByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb folders
-
findByG_P_First
KBFolder findByG_P_First(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_First
KBFolder fetchByG_P_First(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder, or
null
if a matching kb folder could not be found
-
findByG_P_Last
KBFolder findByG_P_Last(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_Last
KBFolder fetchByG_P_Last(long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder, or
null
if a matching kb folder could not be found
-
findByG_P_PrevAndNext
KBFolder[] findByG_P_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set where groupId = ? and parentKBFolderId = ?.- Parameters:
kbFolderId
- the primary key of the current kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
filterFindByG_P
Returns all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder ID- Returns:
- the matching kb folders that the user has permission to view
-
filterFindByG_P
Returns a range of all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders that the user has permission to view
-
filterFindByG_P
List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders that the user has permissions to view where groupId = ? and parentKBFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders that the user has permission to view
-
filterFindByG_P_PrevAndNext
KBFolder[] filterFindByG_P_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.- Parameters:
kbFolderId
- the primary key of the current kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
removeByG_P
void removeByG_P(long groupId, long parentKBFolderId) Removes all the kb folders where groupId = ? and parentKBFolderId = ? from the database.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder ID
-
countByG_P
int countByG_P(long groupId, long parentKBFolderId) Returns the number of kb folders where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder ID- Returns:
- the number of matching kb folders
-
filterCountByG_P
int filterCountByG_P(long groupId, long parentKBFolderId) Returns the number of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder ID- Returns:
- the number of matching kb folders that the user has permission to view
-
findByG_P_N
Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the name- Returns:
- the matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_N
Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the name- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
fetchByG_P_N
Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
removeByG_P_N
KBFolder removeByG_P_N(long groupId, long parentKBFolderId, String name) throws NoSuchFolderException Removes the kb folder where groupId = ? and parentKBFolderId = ? and name = ? from the database.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the name- Returns:
- the kb folder that was removed
- Throws:
NoSuchFolderException
-
countByG_P_N
Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and name = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDname
- the name- Returns:
- the number of matching kb folders
-
findByG_P_UT
KBFolder findByG_P_UT(long groupId, long parentKBFolderId, String urlTitle) throws NoSuchFolderException Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url title- Returns:
- the matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_UT
Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url title- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
fetchByG_P_UT
KBFolder fetchByG_P_UT(long groupId, long parentKBFolderId, String urlTitle, boolean useFinderCache) Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url titleuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
removeByG_P_UT
KBFolder removeByG_P_UT(long groupId, long parentKBFolderId, String urlTitle) throws NoSuchFolderException Removes the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? from the database.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url title- Returns:
- the kb folder that was removed
- Throws:
NoSuchFolderException
-
countByG_P_UT
Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and urlTitle = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDurlTitle
- the url title- Returns:
- the number of matching kb folders
-
findByG_P_S
Returns all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the status- Returns:
- the matching kb folders
-
findByG_P_S
Returns a range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders
-
findByG_P_S
List<KBFolder> findByG_P_S(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders
-
findByG_P_S
List<KBFolder> findByG_P_S(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kb folders
-
findByG_P_S_First
KBFolder findByG_P_S_First(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_S_First
KBFolder fetchByG_P_S_First(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the first kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kb folder, or
null
if a matching kb folder could not be found
-
findByG_P_S_Last
KBFolder findByG_P_S_Last(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByG_P_S_Last
KBFolder fetchByG_P_S_Last(long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns the last kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kb folder, or
null
if a matching kb folder could not be found
-
findByG_P_S_PrevAndNext
KBFolder[] findByG_P_S_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
kbFolderId
- the primary key of the current kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
filterFindByG_P_S
Returns all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the status- Returns:
- the matching kb folders that the user has permission to view
-
filterFindByG_P_S
List<KBFolder> filterFindByG_P_S(long groupId, long parentKBFolderId, int status, int start, int end) Returns a range of all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of matching kb folders that the user has permission to view
-
filterFindByG_P_S
List<KBFolder> filterFindByG_P_S(long groupId, long parentKBFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders that the user has permissions to view where groupId = ? and parentKBFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusstart
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kb folders that the user has permission to view
-
filterFindByG_P_S_PrevAndNext
KBFolder[] filterFindByG_P_S_PrevAndNext(long kbFolderId, long groupId, long parentKBFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws NoSuchFolderException Returns the kb folders before and after the current kb folder in the ordered set of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
kbFolderId
- the primary key of the current kb foldergroupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
removeByG_P_S
void removeByG_P_S(long groupId, long parentKBFolderId, int status) Removes all the kb folders where groupId = ? and parentKBFolderId = ? and status = ? from the database.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the status
-
countByG_P_S
int countByG_P_S(long groupId, long parentKBFolderId, int status) Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the status- Returns:
- the number of matching kb folders
-
filterCountByG_P_S
int filterCountByG_P_S(long groupId, long parentKBFolderId, int status) Returns the number of kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentKBFolderId
- the parent kb folder IDstatus
- the status- Returns:
- the number of matching kb folders that the user has permission to view
-
findByERC_G
Returns the kb folder where externalReferenceCode = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching kb folder
- Throws:
NoSuchFolderException
- if a matching kb folder could not be found
-
fetchByERC_G
Returns the kb folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
fetchByERC_G
Returns the kb folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kb folder, or
null
if a matching kb folder could not be found
-
removeByERC_G
Removes the kb folder where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the kb folder that was removed
- Throws:
NoSuchFolderException
-
countByERC_G
Returns the number of kb folders where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching kb folders
-
cacheResult
Caches the kb folder in the entity cache if it is enabled.- Parameters:
kbFolder
- the kb folder
-
cacheResult
Caches the kb folders in the entity cache if it is enabled.- Parameters:
kbFolders
- the kb folders
-
create
Creates a new kb folder with the primary key. Does not add the kb folder to the database.- Parameters:
kbFolderId
- the primary key for the new kb folder- Returns:
- the new kb folder
-
remove
Removes the kb folder with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kbFolderId
- the primary key of the kb folder- Returns:
- the kb folder that was removed
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kb folder with the primary key or throws aNoSuchFolderException
if it could not be found.- Parameters:
kbFolderId
- the primary key of the kb folder- Returns:
- the kb folder
- Throws:
NoSuchFolderException
- if a kb folder with the primary key could not be found
-
fetchByPrimaryKey
Returns the kb folder with the primary key or returnsnull
if it could not be found.- Parameters:
kbFolderId
- the primary key of the kb folder- Returns:
- the kb folder, or
null
if a kb folder with the primary key could not be found
-
findAll
Returns all the kb folders.- Returns:
- the kb folders
-
findAll
Returns a range of all the kb folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of kb folders
-
findAll
List<KBFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns an ordered range of all the kb folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kb folders
-
findAll
List<KBFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kb folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKBFolderModelImpl
.- Parameters:
start
- the lower bound of the range of kb foldersend
- the upper bound of the range of kb folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kb folders
-
removeAll
void removeAll()Removes all the kb folders from the database. -
countAll
int countAll()Returns the number of kb folders.- Returns:
- the number of kb folders
-