Class JournalFolderUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
countAll()
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
countByUuid
(String uuid) 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) static JournalFolder
create
(long folderId) Creates a new journal folder with the primary key.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 ≠ ?.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 ≠ ?.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 = ?.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 = ?.static JournalFolder
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the journal folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static JournalFolder
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the journal folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static JournalFolder
fetchByG_N
(long groupId, String name) Returns the journal folder where groupId = ? and name = ? or returnsnull
if it could not be found.static JournalFolder
fetchByG_N
(long groupId, String name, boolean useFinderCache) Returns the journal folder where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.static JournalFolder
fetchByG_P_N
(long groupId, long parentFolderId, String name) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returnsnull
if it could not be found.static JournalFolder
fetchByG_P_N
(long groupId, long parentFolderId, String name, boolean useFinderCache) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.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 ≠ ?.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 ≠ ?.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 = ?.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 = ?.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 = ?.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 = ?.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 ≠ ?.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 ≠ ?.static JournalFolder
fetchByPrimaryKey
(long folderId) Returns the journal folder with the primary key or returnsnull
if it could not be found.static Map<Serializable,
JournalFolder> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.static JournalFolder
fetchByUUID_G
(String uuid, long groupId) Returns the journal folder where uuid = ? and groupId = ? or returnsnull
if it could not be found.static JournalFolder
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the journal folder where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static List<JournalFolder>
filterFindByGroupId
(long groupId) Returns all the journal folders that the user has permission to view where groupId = ?.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 = ?.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 = ?.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 = ?.static List<JournalFolder>
findAll()
Returns all the journal folders.static List<JournalFolder>
findAll
(int start, int end) Returns a range of all the journal folders.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.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.static List<JournalFolder>
findByC_NotS
(long companyId, int status) Returns all the journal folders where companyId = ? and status ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.static JournalFolder
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 ≠ ?.static JournalFolder
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 ≠ ?.static List<JournalFolder>
findByCompanyId
(long companyId) Returns all the journal folders where companyId = ?.static List<JournalFolder>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the journal folders where companyId = ?.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 = ?.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 = ?.static JournalFolder
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where companyId = ?.static JournalFolder
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 = ?.static JournalFolder
findByERC_G
(String externalReferenceCode, long groupId) Returns the journal folder where externalReferenceCode = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.static JournalFolder
Returns the journal folder where groupId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.static List<JournalFolder>
findByG_P
(long groupId, long parentFolderId) Returns all the journal folders where groupId = ? and parentFolderId = ?.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 = ?.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 = ?.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 = ?.static JournalFolder
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 = ?.static JournalFolder
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 = ?.static JournalFolder
findByG_P_N
(long groupId, long parentFolderId, String name) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.static List<JournalFolder>
findByG_P_NotS
(long groupId, long parentFolderId, int status) Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.static JournalFolder
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 ≠ ?.static JournalFolder
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 = ?.static List<JournalFolder>
findByG_P_S
(long groupId, long parentFolderId, int status) Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?.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 = ?.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 = ?.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 = ?.static JournalFolder
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 = ?.static JournalFolder
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 = ?.static List<JournalFolder>
findByGroupId
(long groupId) Returns all the journal folders where groupId = ?.static List<JournalFolder>
findByGroupId
(long groupId, int start, int end) Returns a range of all the journal folders where groupId = ?.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 = ?.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 = ?.static JournalFolder
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ?.static JournalFolder
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 = ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.static JournalFolder
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 ≠ ?.static JournalFolder
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 ≠ ?.static JournalFolder
findByPrimaryKey
(long folderId) Returns the journal folder with the primary key or throws aNoSuchFolderException
if it could not be found.static List<JournalFolder>
findByUuid
(String uuid) Returns all the journal folders where uuid = ?.static List<JournalFolder>
findByUuid
(String uuid, int start, int end) Returns a range of all the journal folders where uuid = ?.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 = ?.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 = ?.static List<JournalFolder>
findByUuid_C
(String uuid, long companyId) Returns all the journal folders where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static JournalFolder
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 = ?.static JournalFolder
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 = ?.static JournalFolder
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where uuid = ?.static JournalFolder
findByUUID_G
(String uuid, long groupId) Returns the journal folder where uuid = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.static JournalFolder
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 = ?.static List<JournalFolder>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<JournalFolder>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<JournalFolder>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) static JournalFolderPersistence
static JournalFolder
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.static JournalFolder
removeByERC_G
(String externalReferenceCode, long groupId) Removes the journal folder where externalReferenceCode = ? and groupId = ? from the database.static JournalFolder
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.static JournalFolder
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
removeByUuid
(String uuid) 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.static JournalFolder
removeByUUID_G
(String uuid, long groupId) Removes the journal folder where uuid = ? and groupId = ? from the database.static void
setPersistence
(JournalFolderPersistence persistence) static JournalFolder
update
(JournalFolder journalFolder) static JournalFolder
update
(JournalFolder journalFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFolder
updateImpl
(JournalFolder journalFolder)
-
Constructor Details
-
JournalFolderUtil
public JournalFolderUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
Returns all the journal folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching journal folders
-
findByUuid
Returns a range of all the journal folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
removeByUuid
Removes all the journal folders where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of journal folders where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching journal folders
-
findByUUID_G
Returns the journal folder where uuid = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
fetchByUUID_G
Returns the journal folder where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching journal folder, or
null
if a matching journal folder could not be found
-
fetchByUUID_G
Returns the journal folder where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching journal folder, or
null
if a matching journal folder could not be found
-
removeByUUID_G
Removes the journal folder where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the journal folder that was removed
- Throws:
NoSuchFolderException
-
countByUUID_G
Returns the number of journal folders where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching journal folders
-
findByUuid_C
Returns all the journal folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching journal folders
-
findByUuid_C
Returns a range of all the journal folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
removeByUuid_C
Removes all the journal folders where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of journal folders where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching journal folders
-
findByGroupId
Returns all the journal folders where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching journal folders
-
findByGroupId
Returns a range of all the journal folders where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 foldergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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
Returns all the journal folders where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching journal folders
-
findByCompanyId
Returns a range of all the journal folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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
Returns all the journal folders where groupId = ? and parentFolderId = ?.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder ID- Returns:
- the matching journal folders
-
findByG_P
Returns a range of all the journal folders where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
filterFindByG_P
Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.- Parameters:
groupId
- the group IDparentFolderId
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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 IDparentFolderId
- 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 IDparentFolderId
- 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 IDparentFolderId
- the parent folder ID- Returns:
- the number of matching journal folders that the user has permission to view
-
findByG_N
Returns the journal folder where groupId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
fetchByG_N
Returns the journal folder where groupId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching journal folder, or
null
if a matching journal folder could not be found
-
fetchByG_N
Returns the journal folder where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching journal folder, or
null
if a matching journal folder could not be found
-
removeByG_N
Removes the journal folder where groupId = ? and name = ? from the database.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the journal folder that was removed
- Throws:
NoSuchFolderException
-
countByG_N
Returns the number of journal folders where groupId = ? and name = ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching journal folders
-
findByC_NotS
Returns all the journal folders where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching journal folders
-
findByC_NotS
Returns a range of all the journal folders where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldercompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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 IDstatus
- 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 IDstatus
- 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 aNoSuchFolderException
if it could not be found.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name- Returns:
- the matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
fetchByG_P_N
Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDname
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDname
- the nameuseFinderCache
- 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 IDparentFolderId
- the parent folder IDname
- the name- Returns:
- the journal folder that was removed
- Throws:
NoSuchFolderException
-
countByG_P_N
Returns the number of journal folders where groupId = ? and parentFolderId = ? and name = ?.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name- Returns:
- the number of matching journal folders
-
findByG_P_S
Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
filterFindByG_P_S
Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- 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 IDparentFolderId
- the parent folder IDstatus
- 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 IDparentFolderId
- the parent folder IDstatus
- the status- Returns:
- the number of matching journal folders that the user has permission to view
-
findByG_P_NotS
Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next journal folder
- Throws:
NoSuchFolderException
- if a journal folder with the primary key could not be foundNoSuchFolderException
-
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 IDparentFolderId
- the parent folder IDstatus
- 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 IDparentFolderId
- the parent folder IDstatus
- 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 IDparentFolderId
- the parent folder IDstatus
- 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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching 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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- 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 IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- 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 aNoSuchFolderException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching journal folder
- Throws:
NoSuchFolderException
- if a matching journal folder could not be foundNoSuchFolderException
-
fetchByERC_G
Returns the journal folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching 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 codegroupId
- the group ID- Returns:
- the journal folder that was removed
- Throws:
NoSuchFolderException
-
countByERC_G
Returns the number of journal folders where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching journal folders
-
cacheResult
Caches the journal folder in the entity cache if it is enabled.- Parameters:
journalFolder
- the journal folder
-
cacheResult
Caches the journal folders in the entity cache if it is enabled.- Parameters:
journalFolders
- the journal folders
-
create
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
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 foundNoSuchFolderException
-
updateImpl
-
findByPrimaryKey
Returns the journal folder with the primary key or throws aNoSuchFolderException
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 foundNoSuchFolderException
-
fetchByPrimaryKey
Returns the journal folder with the primary key or returnsnull
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
Returns all the journal folders.- Returns:
- the journal folders
-
findAll
Returns a range of all the journal folders.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
start
- the lower bound of the range of journal foldersend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
start
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromJournalFolderModelImpl
.- Parameters:
start
- the lower bound of the range of journal foldersend
- the upper bound of the range of journal folders (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-