Interface JournalFolderPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<JournalFolder>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<JournalFolder>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(JournalFolder journalFolder) Caches the journal folder in the entity cache if it is enabled.void
cacheResult
(List<JournalFolder> journalFolders) Caches the journal folders in the entity cache if it is enabled.int
countAll()
Returns the number of journal folders.int
countByC_NotS
(long companyId, int status) Returns the number of journal folders where companyId = ? and status ≠ ?.int
countByCompanyId
(long companyId) Returns the number of journal folders where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of journal folders where externalReferenceCode = ? and groupId = ?.int
countByG_N
(long groupId, String name) Returns the number of journal folders where groupId = ? and name = ?.int
countByG_P
(long groupId, long parentFolderId) Returns the number of journal folders where groupId = ? and parentFolderId = ?.int
countByG_P_N
(long groupId, long parentFolderId, String name) Returns the number of journal folders where groupId = ? and parentFolderId = ? and name = ?.int
countByG_P_NotS
(long groupId, long parentFolderId, int status) Returns the number of journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.int
countByG_P_S
(long groupId, long parentFolderId, int status) Returns the number of journal folders where groupId = ? and parentFolderId = ? and status = ?.int
countByGroupId
(long groupId) Returns the number of journal folders where groupId = ?.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 ≠ ?.int
countByUuid
(String uuid) Returns the number of journal folders where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of journal folders where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of journal folders where uuid = ? and groupId = ?.create
(long folderId) Creates a new journal folder with the primary key.fetchByC_NotS_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.fetchByC_NotS_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where companyId = ?.fetchByERC_G
(String externalReferenceCode, long groupId) Returns the journal folder where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByG_N
(long groupId, String name) Returns the journal folder where groupId = ? and name = ? or returnsnull
if it could not be found.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.fetchByG_P_First
(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.fetchByG_P_Last
(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.fetchByG_P_N
(long groupId, long parentFolderId, String name) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returnsnull
if it could not be found.fetchByG_P_N
(long groupId, long parentFolderId, String name, boolean useFinderCache) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_P_NotS_First
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.fetchByG_P_NotS_Last
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.fetchByG_P_S_First
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.fetchByG_P_S_Last
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ?.fetchByGtF_C_P_NotS_First
(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.fetchByGtF_C_P_NotS_Last
(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.fetchByPrimaryKey
(long folderId) Returns the journal folder with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the journal folder where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where uuid = ?.int
filterCountByG_P
(long groupId, long parentFolderId) Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.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 ≠ ?.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 = ?.int
filterCountByGroupId
(long groupId) Returns the number of journal folders that the user has permission to view where groupId = ?.filterFindByG_P
(long groupId, long parentFolderId) Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.filterFindByG_P
(long groupId, long parentFolderId, int start, int end) Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.filterFindByG_P
(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ?.filterFindByG_P_NotS
(long groupId, long parentFolderId, int status) Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.filterFindByG_P_NotS
(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.filterFindByG_P_NotS
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status ≠ ?.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 ≠ ?.filterFindByG_P_PrevAndNext
(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?.filterFindByG_P_S
(long groupId, long parentFolderId, int status) Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.filterFindByG_P_S
(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.filterFindByG_P_S
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?.filterFindByG_P_S_PrevAndNext
(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.filterFindByGroupId
(long groupId) Returns all the journal folders that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the journal folders that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ?.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 = ?.findAll()
Returns all the journal folders.findAll
(int start, int end) Returns a range of all the journal folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders.findByC_NotS
(long companyId, int status) Returns all the journal folders where companyId = ? and status ≠ ?.findByC_NotS
(long companyId, int status, int start, int end) Returns a range of all the journal folders where companyId = ? and status ≠ ?.findByC_NotS
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?.findByC_NotS
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?.findByC_NotS_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?.findByC_NotS_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?.findByC_NotS_PrevAndNext
(long folderId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where companyId = ? and status ≠ ?.findByCompanyId
(long companyId) Returns all the journal folders where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the journal folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where companyId = ?.findByERC_G
(String externalReferenceCode, long groupId) Returns the journal folder where externalReferenceCode = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.Returns the journal folder where groupId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.findByG_P
(long groupId, long parentFolderId) Returns all the journal folders where groupId = ? and parentFolderId = ?.findByG_P
(long groupId, long parentFolderId, int start, int end) Returns a range of all the journal folders where groupId = ? and parentFolderId = ?.findByG_P
(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.findByG_P
(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?.findByG_P_First
(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?.findByG_P_Last
(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?.findByG_P_N
(long groupId, long parentFolderId, String name) Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or throws aNoSuchFolderException
if it could not be found.findByG_P_NotS
(long groupId, long parentFolderId, int status) Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.findByG_P_NotS
(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.findByG_P_NotS
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.findByG_P_NotS
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?.findByG_P_NotS_First
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.findByG_P_NotS_Last
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.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 ≠ ?.findByG_P_PrevAndNext
(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ?.findByG_P_S
(long groupId, long parentFolderId, int status) Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S
(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S_First
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S_Last
(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.findByG_P_S_PrevAndNext
(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.findByGroupId
(long groupId) Returns all the journal folders where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the journal folders where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where groupId = ?.findByGtF_C_P_NotS
(long folderId, long companyId, long parentFolderId, int status) Returns all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByGtF_C_P_NotS
(long folderId, long companyId, long parentFolderId, int status, int start, int end) Returns a range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByGtF_C_P_NotS
(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByGtF_C_P_NotS
(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByGtF_C_P_NotS_First
(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByGtF_C_P_NotS_Last
(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.findByPrimaryKey
(long folderId) Returns the journal folder with the primary key or throws aNoSuchFolderException
if it could not be found.findByUuid
(String uuid) Returns all the journal folders where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the journal folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the journal folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the journal folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns an ordered range of all the journal folders where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the journal folders where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long folderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the journal folders before and after the current journal folder in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the first journal folder in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the journal folder where uuid = ? and groupId = ? or throws aNoSuchFolderException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator) Returns the last journal folder in the ordered set where uuid = ?.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 = ?.remove
(long folderId) Removes the journal folder with the primary key from the database.void
Removes all the journal folders from the database.void
removeByC_NotS
(long companyId, int status) Removes all the journal folders where companyId = ? and status ≠ ? from the database.void
removeByCompanyId
(long companyId) Removes all the journal folders where companyId = ? from the database.removeByERC_G
(String externalReferenceCode, long groupId) Removes the journal folder where externalReferenceCode = ? and groupId = ? from the database.removeByG_N
(long groupId, String name) Removes the journal folder where groupId = ? and name = ? from the database.void
removeByG_P
(long groupId, long parentFolderId) Removes all the journal folders where groupId = ? and parentFolderId = ? from the database.removeByG_P_N
(long groupId, long parentFolderId, String name) Removes the journal folder where groupId = ? and parentFolderId = ? and name = ? from the database.void
removeByG_P_NotS
(long groupId, long parentFolderId, int status) Removes all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database.void
removeByG_P_S
(long groupId, long parentFolderId, int status) Removes all the journal folders where groupId = ? and parentFolderId = ? and status = ? from the database.void
removeByGroupId
(long groupId) Removes all the journal folders where groupId = ? from the database.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.void
removeByUuid
(String uuid) Removes all the journal folders where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the journal folders where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the journal folder where uuid = ? and groupId = ? from the database.updateImpl
(JournalFolder journalFolder) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the 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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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 found
-
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
fetchByGroupId_First
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
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 found
-
fetchByGroupId_Last
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
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 found
-
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
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
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 found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the journal folders where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the journal folders where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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 found
-
fetchByG_P_First
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
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 found
-
fetchByG_P_Last
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
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 found
-
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
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
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
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 found
-
removeByG_P
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
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
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 found
-
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
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
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
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 found
-
fetchByC_NotS_First
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
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 found
-
fetchByC_NotS_Last
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
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 found
-
removeByC_NotS
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
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
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 found
-
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
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
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
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
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
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
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 found
-
fetchByG_P_S_First
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
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 found
-
fetchByG_P_S_Last
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
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 found
-
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
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
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
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 found
-
removeByG_P_S
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
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
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
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
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
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
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 found
-
fetchByG_P_NotS_First
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
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 found
-
fetchByG_P_NotS_Last
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
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 found
-
filterFindByG_P_NotS
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
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
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
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 found
-
removeByG_P_NotS
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
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
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
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
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
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
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
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 found
-
fetchByGtF_C_P_NotS_First
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
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 found
-
fetchByGtF_C_P_NotS_Last
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
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
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
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 found
-
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
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
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 found
-
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 found
-
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
List<JournalFolder> 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
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
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
void removeAll()Removes all the journal folders from the database. -
countAll
int countAll()Returns the number of journal folders.- Returns:
- the number of journal folders
-