Class JournalFolderUtil

java.lang.Object
com.liferay.journal.service.persistence.JournalFolderUtil

public class JournalFolderUtil extends Object
The persistence utility for the journal folder service. This utility wraps com.liferay.journal.service.persistence.impl.JournalFolderPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(JournalFolder journalFolder)
    Caches the journal folder in the entity cache if it is enabled.
    static void
    cacheResult(List<JournalFolder> journalFolders)
    Caches the journal folders in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(JournalFolder journalFolder)
     
    static int
    Returns the number of journal folders.
    static int
    countByC_NotS(long companyId, int status)
    Returns the number of journal folders where companyId = ? and status ≠ ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of journal folders where companyId = ?.
    static int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of journal folders where externalReferenceCode = ? and groupId = ?.
    static int
    countByG_N(long groupId, String name)
    Returns the number of journal folders where groupId = ? and name = ?.
    static int
    countByG_P(long groupId, long parentFolderId)
    Returns the number of journal folders where groupId = ? and parentFolderId = ?.
    static int
    countByG_P_N(long groupId, long parentFolderId, String name)
    Returns the number of journal folders where groupId = ? and parentFolderId = ? and name = ?.
    static int
    countByG_P_NotS(long groupId, long parentFolderId, int status)
    Returns the number of journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
    static int
    countByG_P_S(long groupId, long parentFolderId, int status)
    Returns the number of journal folders where groupId = ? and parentFolderId = ? and status = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of journal folders where groupId = ?.
    static int
    countByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
    Returns the number of journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    static int
    Returns the number of journal folders where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of journal folders where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of journal folders where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long folderId)
    Creates a new journal folder with the primary key.
    fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.
    fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where companyId = ?.
    fetchByERC_G(String externalReferenceCode, long groupId)
    Returns the journal folder where externalReferenceCode = ? and groupId = ? or returns null if it could not be found.
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the journal folder where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_N(long groupId, String name)
    Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found.
    fetchByG_N(long groupId, String name, boolean useFinderCache)
    Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.
    fetchByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.
    fetchByG_P_N(long groupId, long parentFolderId, String name)
    Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found.
    fetchByG_P_N(long groupId, long parentFolderId, String name, boolean useFinderCache)
    Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
    fetchByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
    fetchByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
    fetchByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ?.
    fetchByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    fetchByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    fetchByPrimaryKey(long folderId)
    Returns the journal 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<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the journal folder where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the journal 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<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where uuid = ?.
    static int
    filterCountByG_P(long groupId, long parentFolderId)
    Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
    static int
    filterCountByG_P_NotS(long groupId, long parentFolderId, int status)
    Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
    static int
    filterCountByG_P_S(long groupId, long parentFolderId, int status)
    Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
    static int
    filterCountByGroupId(long groupId)
    Returns the number of journal folders that the user has permission to view where groupId = ?.
    filterFindByG_P(long groupId, long parentFolderId)
    Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
    filterFindByG_P(long groupId, long parentFolderId, int start, int end)
    Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
    filterFindByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ?.
    filterFindByG_P_NotS(long groupId, long parentFolderId, int status)
    Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
    filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end)
    Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
    filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status ≠ ?.
    static JournalFolder[]
    filterFindByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
    static JournalFolder[]
    filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
    filterFindByG_P_S(long groupId, long parentFolderId, int status)
    Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
    filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end)
    Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
    filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?.
    static JournalFolder[]
    filterFindByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
    filterFindByGroupId(long groupId)
    Returns all the journal folders that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the journal folders that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ?.
    static JournalFolder[]
    filterFindByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ?.
    Returns all the journal folders.
    findAll(int start, int end)
    Returns a range of all the journal folders.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders.
    findByC_NotS(long companyId, int status)
    Returns all the journal folders where companyId = ? and status ≠ ?.
    findByC_NotS(long companyId, int status, int start, int end)
    Returns a range of all the journal folders where companyId = ? and status ≠ ?.
    findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?.
    findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?.
    findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.
    findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.
    static JournalFolder[]
    findByC_NotS_PrevAndNext(long folderId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where companyId = ? and status ≠ ?.
    findByCompanyId(long companyId)
    Returns all the journal folders where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the journal folders where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where companyId = ?.
    static JournalFolder[]
    findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where companyId = ?.
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the journal folder where externalReferenceCode = ? and groupId = ? or throws a NoSuchFolderException if it could not be found.
    findByG_N(long groupId, String name)
    Returns the journal folder where groupId = ? and name = ? or throws a NoSuchFolderException if it could not be found.
    findByG_P(long groupId, long parentFolderId)
    Returns all the journal folders where groupId = ? and parentFolderId = ?.
    findByG_P(long groupId, long parentFolderId, int start, int end)
    Returns a range of all the journal folders where groupId = ? and parentFolderId = ?.
    findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.
    findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.
    findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.
    findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.
    findByG_P_N(long groupId, long parentFolderId, String name)
    Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or throws a NoSuchFolderException if it could not be found.
    findByG_P_NotS(long groupId, long parentFolderId, int status)
    Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
    findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end)
    Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
    findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
    findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
    findByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
    findByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
    static JournalFolder[]
    findByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
    static JournalFolder[]
    findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ?.
    findByG_P_S(long groupId, long parentFolderId, int status)
    Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?.
    findByG_P_S(long groupId, long parentFolderId, int status, int start, int end)
    Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.
    findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.
    findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.
    findByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
    findByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
    static JournalFolder[]
    findByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
    findByGroupId(long groupId)
    Returns all the journal folders where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the journal folders where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where groupId = ?.
    static JournalFolder[]
    findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where groupId = ?.
    findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
    Returns all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end)
    Returns a range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
    findByPrimaryKey(long folderId)
    Returns the journal folder with the primary key or throws a NoSuchFolderException if it could not be found.
    Returns all the journal folders where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the journal folders where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the journal folders where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the journal folders where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns an ordered range of all the journal folders where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the journal folders where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where uuid = ? and companyId = ?.
    static JournalFolder[]
    findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the first journal folder in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the journal 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<JournalFolder> orderByComparator)
    Returns the last journal folder in the ordered set where uuid = ?.
    static JournalFolder[]
    findByUuid_PrevAndNext(long folderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
    Returns the journal folders before and after the current journal folder in the ordered set where uuid = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
     
     
    remove(long folderId)
    Removes the journal folder with the primary key from the database.
    static void
    Removes all the journal folders from the database.
    static void
    removeByC_NotS(long companyId, int status)
    Removes all the journal folders where companyId = ? and status ≠ ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the journal folders where companyId = ? from the database.
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the journal folder where externalReferenceCode = ? and groupId = ? from the database.
    removeByG_N(long groupId, String name)
    Removes the journal folder where groupId = ? and name = ? from the database.
    static void
    removeByG_P(long groupId, long parentFolderId)
    Removes all the journal folders where groupId = ? and parentFolderId = ? from the database.
    removeByG_P_N(long groupId, long parentFolderId, String name)
    Removes the journal folder where groupId = ? and parentFolderId = ? and name = ? from the database.
    static void
    removeByG_P_NotS(long groupId, long parentFolderId, int status)
    Removes all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database.
    static void
    removeByG_P_S(long groupId, long parentFolderId, int status)
    Removes all the journal folders where groupId = ? and parentFolderId = ? and status = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the journal folders where groupId = ? from the database.
    static void
    removeByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
    Removes all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database.
    static void
    Removes all the journal folders where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the journal folders where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the journal folder where uuid = ? and groupId = ? from the database.
    static void
     
    update(JournalFolder journalFolder)
     
    update(JournalFolder journalFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(JournalFolder journalFolder)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JournalFolderUtil

      public JournalFolderUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(JournalFolder journalFolder)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,JournalFolder> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<JournalFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<JournalFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<JournalFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static JournalFolder update(JournalFolder journalFolder)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static JournalFolder update(JournalFolder journalFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<JournalFolder> findByUuid(String uuid)
      Returns all the journal folders where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching journal folders
    • findByUuid

      public static List<JournalFolder> findByUuid(String uuid, int start, int end)
      Returns a range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByUuid

      public static List<JournalFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByUuid

      public static List<JournalFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByUuid_First

      public static JournalFolder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByUuid_First

      public static JournalFolder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal 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 journal folder, or null if a matching journal folder could not be found
    • findByUuid_Last

      public static JournalFolder findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByUuid_Last

      public static JournalFolder fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal 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 journal folder, or null if a matching journal folder could not be found
    • findByUuid_PrevAndNext

      public static JournalFolder[] findByUuid_PrevAndNext(long folderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where uuid = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByUuid

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

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

      public static JournalFolder findByUUID_G(String uuid, long groupId) throws NoSuchFolderException
      Returns the journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByUUID_G

      public static JournalFolder fetchByUUID_G(String uuid, long groupId)
      Returns the journal 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 journal folder, or null if a matching journal folder could not be found
    • fetchByUUID_G

      public static JournalFolder fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the journal 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 journal folder, or null if a matching journal folder could not be found
    • removeByUUID_G

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

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

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

      public static List<JournalFolder> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByUuid_C

      public static List<JournalFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByUuid_C

      public static List<JournalFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByUuid_C_First

      public static JournalFolder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByUuid_C_First

      public static JournalFolder fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal 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 journal folder, or null if a matching journal folder could not be found
    • findByUuid_C_Last

      public static JournalFolder findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByUuid_C_Last

      public static JournalFolder fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal 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 journal folder, or null if a matching journal folder could not be found
    • findByUuid_C_PrevAndNext

      public static JournalFolder[] findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByUuid_C

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

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

      public static List<JournalFolder> findByGroupId(long groupId)
      Returns all the journal folders where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching journal folders
    • findByGroupId

      public static List<JournalFolder> findByGroupId(long groupId, int start, int end)
      Returns a range of all the journal folders where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByGroupId

      public static List<JournalFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByGroupId

      public static List<JournalFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByGroupId_First

      public static JournalFolder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByGroupId_First

      public static JournalFolder fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByGroupId_Last

      public static JournalFolder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByGroupId_Last

      public static JournalFolder fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • findByGroupId_PrevAndNext

      public static JournalFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where groupId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • filterFindByGroupId

      public static List<JournalFolder> filterFindByGroupId(long groupId)
      Returns all the journal folders that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching journal folders that the user has permission to view
    • filterFindByGroupId

      public static List<JournalFolder> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the journal folders that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders that the user has permission to view
    • filterFindByGroupId

      public static List<JournalFolder> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      public static JournalFolder[] filterFindByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the journal folders where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of journal folders where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching journal folders
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of journal folders that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching journal folders that the user has permission to view
    • findByCompanyId

      public static List<JournalFolder> findByCompanyId(long companyId)
      Returns all the journal folders where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching journal folders
    • findByCompanyId

      public static List<JournalFolder> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByCompanyId

      public static List<JournalFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByCompanyId

      public static List<JournalFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByCompanyId_First

      public static JournalFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByCompanyId_First

      public static JournalFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal 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 journal folder, or null if a matching journal folder could not be found
    • findByCompanyId_Last

      public static JournalFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByCompanyId_Last

      public static JournalFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal 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 journal folder, or null if a matching journal folder could not be found
    • findByCompanyId_PrevAndNext

      public static JournalFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where companyId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the journal folders where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of journal folders where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching journal folders
    • findByG_P

      public static List<JournalFolder> findByG_P(long groupId, long parentFolderId)
      Returns all the journal folders where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      Returns:
      the matching journal folders
    • findByG_P

      public static List<JournalFolder> findByG_P(long groupId, long parentFolderId, int start, int end)
      Returns a range of all the journal folders where groupId = ? and parentFolderId = ?.

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

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByG_P

      public static List<JournalFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.

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

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByG_P

      public static List<JournalFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.

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

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByG_P_First

      public static JournalFolder findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_First

      public static JournalFolder fetchByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_Last

      public static JournalFolder findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_Last

      public static JournalFolder fetchByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_PrevAndNext

      public static JournalFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • filterFindByG_P

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

      public static List<JournalFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end)
      Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.

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

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders that the user has permission to view
    • filterFindByG_P

      public static List<JournalFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ?.

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

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders that the user has permission to view
    • filterFindByG_P_PrevAndNext

      public static JournalFolder[] filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByG_P

      public static void removeByG_P(long groupId, long parentFolderId)
      Removes all the journal folders where groupId = ? and parentFolderId = ? from the database.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
    • countByG_P

      public static int countByG_P(long groupId, long parentFolderId)
      Returns the number of journal folders where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      Returns:
      the number of matching journal folders
    • filterCountByG_P

      public static int filterCountByG_P(long groupId, long parentFolderId)
      Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      Returns:
      the number of matching journal folders that the user has permission to view
    • findByG_N

      public static JournalFolder findByG_N(long groupId, String name) throws NoSuchFolderException
      Returns the journal folder where groupId = ? and name = ? or throws a NoSuchFolderException if it could not be found.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_N

      public static JournalFolder fetchByG_N(long groupId, String name)
      Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching journal folder, or null if a matching journal folder could not be found
    • fetchByG_N

      public static JournalFolder fetchByG_N(long groupId, String name, boolean useFinderCache)
      Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching journal folder, or null if a matching journal folder could not be found
    • removeByG_N

      public static JournalFolder removeByG_N(long groupId, String name) throws NoSuchFolderException
      Removes the journal folder where groupId = ? and name = ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the journal folder that was removed
      Throws:
      NoSuchFolderException
    • countByG_N

      public static int countByG_N(long groupId, String name)
      Returns the number of journal folders where groupId = ? and name = ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching journal folders
    • findByC_NotS

      public static List<JournalFolder> findByC_NotS(long companyId, int status)
      Returns all the journal folders where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching journal folders
    • findByC_NotS

      public static List<JournalFolder> findByC_NotS(long companyId, int status, int start, int end)
      Returns a range of all the journal folders where companyId = ? 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByC_NotS

      public static List<JournalFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where companyId = ? 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByC_NotS

      public static List<JournalFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where companyId = ? 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 JournalFolderModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByC_NotS_First

      public static JournalFolder findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByC_NotS_First

      public static JournalFolder fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByC_NotS_Last

      public static JournalFolder findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByC_NotS_Last

      public static JournalFolder fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • findByC_NotS_PrevAndNext

      public static JournalFolder[] findByC_NotS_PrevAndNext(long folderId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      folderId - the primary key of the current journal folder
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByC_NotS

      public static void removeByC_NotS(long companyId, int status)
      Removes all the journal folders where companyId = ? and status ≠ ? from the database.
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_NotS

      public static int countByC_NotS(long companyId, int status)
      Returns the number of journal folders where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching journal folders
    • findByG_P_N

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

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

      public static JournalFolder fetchByG_P_N(long groupId, long parentFolderId, String name, boolean useFinderCache)
      Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching journal folder, or null if a matching journal folder could not be found
    • removeByG_P_N

      public static JournalFolder removeByG_P_N(long groupId, long parentFolderId, String name) throws NoSuchFolderException
      Removes the journal folder where groupId = ? and parentFolderId = ? and name = ? from the database.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      name - the name
      Returns:
      the journal folder that was removed
      Throws:
      NoSuchFolderException
    • countByG_P_N

      public static int countByG_P_N(long groupId, long parentFolderId, String name)
      Returns the number of journal folders where groupId = ? and parentFolderId = ? and name = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      name - the name
      Returns:
      the number of matching journal folders
    • findByG_P_S

      public static List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status)
      Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the matching journal folders
    • findByG_P_S

      public static List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end)
      Returns a range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByG_P_S

      public static List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByG_P_S

      public static List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByG_P_S_First

      public static JournalFolder findByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_S_First

      public static JournalFolder fetchByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_S_Last

      public static JournalFolder findByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_S_Last

      public static JournalFolder fetchByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_S_PrevAndNext

      public static JournalFolder[] findByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • filterFindByG_P_S

      public static List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status)
      Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the matching journal folders that the user has permission to view
    • filterFindByG_P_S

      public static List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end)
      Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders that the user has permission to view
    • filterFindByG_P_S

      public static List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders that the user has permission to view
    • filterFindByG_P_S_PrevAndNext

      public static JournalFolder[] filterFindByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByG_P_S

      public static void removeByG_P_S(long groupId, long parentFolderId, int status)
      Removes all the journal folders where groupId = ? and parentFolderId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
    • countByG_P_S

      public static int countByG_P_S(long groupId, long parentFolderId, int status)
      Returns the number of journal folders where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the number of matching journal folders
    • filterCountByG_P_S

      public static int filterCountByG_P_S(long groupId, long parentFolderId, int status)
      Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the number of matching journal folders that the user has permission to view
    • findByG_P_NotS

      public static List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status)
      Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the matching journal folders
    • findByG_P_NotS

      public static List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end)
      Returns a range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByG_P_NotS

      public static List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByG_P_NotS

      public static List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByG_P_NotS_First

      public static JournalFolder findByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_NotS_First

      public static JournalFolder fetchByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_NotS_Last

      public static JournalFolder findByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByG_P_NotS_Last

      public static JournalFolder fetchByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • findByG_P_NotS_PrevAndNext

      public static JournalFolder[] findByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • filterFindByG_P_NotS

      public static List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status)
      Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the matching journal folders that the user has permission to view
    • filterFindByG_P_NotS

      public static List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end)
      Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders that the user has permission to view
    • filterFindByG_P_NotS

      public static List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders that the user has permission to view
    • filterFindByG_P_NotS_PrevAndNext

      public static JournalFolder[] filterFindByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the primary key of the current journal folder
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • removeByG_P_NotS

      public static void removeByG_P_NotS(long groupId, long parentFolderId, int status)
      Removes all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
    • countByG_P_NotS

      public static int countByG_P_NotS(long groupId, long parentFolderId, int status)
      Returns the number of journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the number of matching journal folders
    • filterCountByG_P_NotS

      public static int filterCountByG_P_NotS(long groupId, long parentFolderId, int status)
      Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      groupId - the group ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the number of matching journal folders that the user has permission to view
    • findByGtF_C_P_NotS

      public static List<JournalFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
      Returns all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the matching journal folders
    • findByGtF_C_P_NotS

      public static List<JournalFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end)
      Returns a range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of matching journal folders
    • findByGtF_C_P_NotS

      public static List<JournalFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching journal folders
    • findByGtF_C_P_NotS

      public static List<JournalFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? 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 JournalFolderModelImpl.

      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • findByGtF_C_P_NotS_First

      public static JournalFolder findByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByGtF_C_P_NotS_First

      public static JournalFolder fetchByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching journal folder, or null if a matching journal folder could not be found
    • findByGtF_C_P_NotS_Last

      public static JournalFolder findByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) throws NoSuchFolderException
      Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByGtF_C_P_NotS_Last

      public static JournalFolder fetchByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching journal folder, or null if a matching journal folder could not be found
    • removeByGtF_C_P_NotS

      public static void removeByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
      Removes all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
    • countByGtF_C_P_NotS

      public static int countByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status)
      Returns the number of journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.
      Parameters:
      folderId - the folder ID
      companyId - the company ID
      parentFolderId - the parent folder ID
      status - the status
      Returns:
      the number of matching journal folders
    • findByERC_G

      public static JournalFolder findByERC_G(String externalReferenceCode, long groupId) throws NoSuchFolderException
      Returns the journal 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 journal folder
      Throws:
      NoSuchFolderException - if a matching journal folder could not be found
      NoSuchFolderException
    • fetchByERC_G

      public static JournalFolder fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the journal 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 journal folder, or null if a matching journal folder could not be found
    • fetchByERC_G

      public static JournalFolder fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the journal 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 journal folder, or null if a matching journal folder could not be found
    • removeByERC_G

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

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

      public static void cacheResult(JournalFolder journalFolder)
      Caches the journal folder in the entity cache if it is enabled.
      Parameters:
      journalFolder - the journal folder
    • cacheResult

      public static void cacheResult(List<JournalFolder> journalFolders)
      Caches the journal folders in the entity cache if it is enabled.
      Parameters:
      journalFolders - the journal folders
    • create

      public static JournalFolder create(long folderId)
      Creates a new journal folder with the primary key. Does not add the journal folder to the database.
      Parameters:
      folderId - the primary key for the new journal folder
      Returns:
      the new journal folder
    • remove

      public static JournalFolder remove(long folderId) throws NoSuchFolderException
      Removes the journal folder with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      folderId - the primary key of the journal folder
      Returns:
      the journal folder that was removed
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • updateImpl

      public static JournalFolder updateImpl(JournalFolder journalFolder)
    • findByPrimaryKey

      public static JournalFolder findByPrimaryKey(long folderId) throws NoSuchFolderException
      Returns the journal folder with the primary key or throws a NoSuchFolderException if it could not be found.
      Parameters:
      folderId - the primary key of the journal folder
      Returns:
      the journal folder
      Throws:
      NoSuchFolderException - if a journal folder with the primary key could not be found
      NoSuchFolderException
    • fetchByPrimaryKey

      public static JournalFolder fetchByPrimaryKey(long folderId)
      Returns the journal folder with the primary key or returns null if it could not be found.
      Parameters:
      folderId - the primary key of the journal folder
      Returns:
      the journal folder, or null if a journal folder with the primary key could not be found
    • findAll

      public static List<JournalFolder> findAll()
      Returns all the journal folders.
      Returns:
      the journal folders
    • findAll

      public static List<JournalFolder> findAll(int start, int end)
      Returns a range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of journal folders
    • findAll

      public static List<JournalFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of journal folders
    • findAll

      public static List<JournalFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the journal 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 JournalFolderModelImpl.

      Parameters:
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal 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 journal folders
    • removeAll

      public static void removeAll()
      Removes all the journal folders from the database.
    • countAll

      public static int countAll()
      Returns the number of journal folders.
      Returns:
      the number of journal folders
    • getPersistence

      public static JournalFolderPersistence getPersistence()
    • setPersistence

      public static void setPersistence(JournalFolderPersistence persistence)