Interface KBFolderPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>

@ProviderType public interface KBFolderPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KBFolder>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>
The persistence interface for the kb folder service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the kb folder in the entity cache if it is enabled.
    void
    Caches the kb folders in the entity cache if it is enabled.
    int
    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
    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 returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the kb folder where externalReferenceCode = ? and groupId = ? or returns null 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 returns null 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 returns null 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 returns null 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 returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kbFolderId)
    Returns the kb folder with the primary key or returns null 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 returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the kb folder where uuid = ? and groupId = ? or returns null 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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 a NoSuchFolderException 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 a NoSuchFolderException if it could not be found.
    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 = ?.
    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 a NoSuchFolderException if it could not be found.
    findByPrimaryKey(long kbFolderId)
    Returns the kb folder with the primary key or throws a NoSuchFolderException if it could not be found.
    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 = ?.
    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 a NoSuchFolderException 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 = ?.
    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
    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

      List<KBFolder> findByUuid(String uuid)
      Returns all the kb folders where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching kb folders
    • findByUuid

      List<KBFolder> findByUuid(String uuid, int start, int end)
      Returns a range of all the kb folders where uuid = ?.

      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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 folder
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kb folder
      Throws:
      NoSuchFolderException - if a kb folder with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the kb folders where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of kb folders where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching kb folders
    • findByUUID_G

      KBFolder findByUUID_G(String uuid, long groupId) throws NoSuchFolderException
      Returns the kb folder where uuid = ? and groupId = ? or throws a NoSuchFolderException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kb folder
      Throws:
      NoSuchFolderException - if a matching kb folder could not be found
    • fetchByUUID_G

      KBFolder fetchByUUID_G(String uuid, long groupId)
      Returns the kb folder where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kb folder, or null if a matching kb folder could not be found
    • fetchByUUID_G

      KBFolder fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the kb folder where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kb folder, or null if a matching kb folder could not be found
    • removeByUUID_G

      KBFolder removeByUUID_G(String uuid, long groupId) throws NoSuchFolderException
      Removes the kb folder where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the kb folder that was removed
      Throws:
      NoSuchFolderException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of kb folders where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching kb folders
    • findByUuid_C

      List<KBFolder> findByUuid_C(String uuid, long companyId)
      Returns all the kb folders where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching kb folders
    • findByUuid_C

      List<KBFolder> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the kb folders where uuid = ? and companyId = ?.

      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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 folder
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kb folder
      Throws:
      NoSuchFolderException - if a kb folder with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the kb folders where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of kb folders where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching kb folders
    • findByCompanyId

      List<KBFolder> findByCompanyId(long companyId)
      Returns all the kb folders where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kb folders
    • findByCompanyId

      List<KBFolder> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kb folders where companyId = ?.

      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 KBFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 folder
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<KBFolder> findByG_P(long groupId, long parentKBFolderId)
      Returns all the kb folders where groupId = ? and parentKBFolderId = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      Returns:
      the matching kb folders
    • findByG_P

      List<KBFolder> findByG_P(long groupId, long parentKBFolderId, int start, int end)
      Returns a range of all the kb folders where groupId = ? and parentKBFolderId = ?.

      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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 folder
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kb folder
      Throws:
      NoSuchFolderException - if a kb folder with the primary key could not be found
    • filterFindByG_P

      List<KBFolder> filterFindByG_P(long groupId, long parentKBFolderId)
      Returns all the kb folders that the user has permission to view where groupId = ? and parentKBFolderId = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      Returns:
      the matching kb folders that the user has permission to view
    • filterFindByG_P

      List<KBFolder> 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 = ?.

      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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 folder
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - 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 ID
      parentKBFolderId - 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 ID
      parentKBFolderId - the parent kb folder ID
      Returns:
      the number of matching kb folders that the user has permission to view
    • findByG_P_N

      KBFolder findByG_P_N(long groupId, long parentKBFolderId, String name) throws NoSuchFolderException
      Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or throws a NoSuchFolderException if it could not be found.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      name - the name
      Returns:
      the matching kb folder
      Throws:
      NoSuchFolderException - if a matching kb folder could not be found
    • fetchByG_P_N

      KBFolder fetchByG_P_N(long groupId, long parentKBFolderId, String name)
      Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      name - the name
      Returns:
      the matching kb folder, or null if a matching kb folder could not be found
    • fetchByG_P_N

      KBFolder fetchByG_P_N(long groupId, long parentKBFolderId, String name, boolean useFinderCache)
      Returns the kb folder where groupId = ? and parentKBFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      name - the name
      useFinderCache - 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 ID
      parentKBFolderId - the parent kb folder ID
      name - the name
      Returns:
      the kb folder that was removed
      Throws:
      NoSuchFolderException
    • countByG_P_N

      int countByG_P_N(long groupId, long parentKBFolderId, String name)
      Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and name = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      name - 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 a NoSuchFolderException if it could not be found.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      urlTitle - the url title
      Returns:
      the matching kb folder
      Throws:
      NoSuchFolderException - if a matching kb folder could not be found
    • fetchByG_P_UT

      KBFolder fetchByG_P_UT(long groupId, long parentKBFolderId, String urlTitle)
      Returns the kb folder where groupId = ? and parentKBFolderId = ? and urlTitle = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      urlTitle - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      urlTitle - the url title
      useFinderCache - 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 ID
      parentKBFolderId - the parent kb folder ID
      urlTitle - the url title
      Returns:
      the kb folder that was removed
      Throws:
      NoSuchFolderException
    • countByG_P_UT

      int countByG_P_UT(long groupId, long parentKBFolderId, String urlTitle)
      Returns the number of kb folders where groupId = ? and parentKBFolderId = ? and urlTitle = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      urlTitle - the url title
      Returns:
      the number of matching kb folders
    • findByG_P_S

      List<KBFolder> findByG_P_S(long groupId, long parentKBFolderId, int status)
      Returns all the kb folders where groupId = ? and parentKBFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      Returns:
      the matching kb folders
    • findByG_P_S

      List<KBFolder> 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 = ?.

      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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 folder
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<KBFolder> 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 = ?.
      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - 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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 folder
      groupId - the group ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      parentKBFolderId - the parent kb folder ID
      status - 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 ID
      parentKBFolderId - the parent kb folder ID
      status - 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 ID
      parentKBFolderId - the parent kb folder ID
      status - the status
      Returns:
      the number of matching kb folders that the user has permission to view
    • findByERC_G

      KBFolder findByERC_G(String externalReferenceCode, long groupId) throws NoSuchFolderException
      Returns the kb folder where externalReferenceCode = ? and groupId = ? or throws a NoSuchFolderException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching kb folder
      Throws:
      NoSuchFolderException - if a matching kb folder could not be found
    • fetchByERC_G

      KBFolder fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the kb folder where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching kb folder, or null if a matching kb folder could not be found
    • fetchByERC_G

      KBFolder fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the kb folder where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kb folder, or null if a matching kb folder could not be found
    • removeByERC_G

      KBFolder removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchFolderException
      Removes the kb folder where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the kb folder that was removed
      Throws:
      NoSuchFolderException
    • countByERC_G

      int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of kb folders where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching kb folders
    • cacheResult

      void cacheResult(KBFolder kbFolder)
      Caches the kb folder in the entity cache if it is enabled.
      Parameters:
      kbFolder - the kb folder
    • cacheResult

      void cacheResult(List<KBFolder> kbFolders)
      Caches the kb folders in the entity cache if it is enabled.
      Parameters:
      kbFolders - the kb folders
    • create

      KBFolder create(long kbFolderId)
      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

      KBFolder remove(long kbFolderId) throws NoSuchFolderException
      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

      KBFolder updateImpl(KBFolder kbFolder)
    • findByPrimaryKey

      KBFolder findByPrimaryKey(long kbFolderId) throws NoSuchFolderException
      Returns the kb folder with the primary key or throws a NoSuchFolderException 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

      KBFolder fetchByPrimaryKey(long kbFolderId)
      Returns the kb folder with the primary key or returns null 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

      List<KBFolder> findAll()
      Returns all the kb folders.
      Returns:
      the kb folders
    • findAll

      List<KBFolder> findAll(int start, int end)
      Returns a range of all the kb folders.

      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 KBFolderModelImpl.

      Parameters:
      start - the lower bound of the range of kb folders
      end - 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 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 KBFolderModelImpl.

      Parameters:
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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 KBFolderModelImpl.

      Parameters:
      start - the lower bound of the range of kb folders
      end - the upper bound of the range of kb folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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