Class BookmarksFolderUtil
com.liferay.bookmarks.service.persistence.impl.BookmarksFolderPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(BookmarksFolder bookmarksFolder) Caches the bookmarks folder in the entity cache if it is enabled.static voidcacheResult(List<BookmarksFolder> bookmarksFolders) Caches the bookmarks folders in the entity cache if it is enabled.static voidstatic voidclearCache(BookmarksFolder bookmarksFolder) static intcountAll()Returns the number of bookmarks folders.static intcountByC_NotS(long companyId, int status) Returns the number of bookmarks folders where companyId = ? and status ≠ ?.static intcountByCompanyId(long companyId) Returns the number of bookmarks folders where companyId = ?.static intcountByG_P(long groupId, long parentFolderId) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ?.static intcountByG_P_NotS(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.static intcountByG_P_S(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.static intcountByGroupId(long groupId) Returns the number of bookmarks folders where groupId = ?.static intcountByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Returns the number of bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static intcountByUuid(String uuid) Returns the number of bookmarks folders where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of bookmarks folders where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of bookmarks folders where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static BookmarksFoldercreate(long folderId) Creates a new bookmarks folder with the primary key.static BookmarksFolderfetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where companyId = ? and status ≠ ?.static BookmarksFolderfetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where companyId = ? and status ≠ ?.static BookmarksFolderfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where companyId = ?.static BookmarksFolderfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where companyId = ?.static BookmarksFolderfetchByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.static BookmarksFolderfetchByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.static BookmarksFolderfetchByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfetchByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfetchByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolderfetchByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolderfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ?.static BookmarksFolderfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ?.static BookmarksFolderfetchByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfetchByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfetchByPrimaryKey(long folderId) Returns the bookmarks folder with the primary key or returnsnullif it could not be found.static Map<Serializable, BookmarksFolder> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static BookmarksFolderfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where uuid = ? and companyId = ?.static BookmarksFolderfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where uuid = ? and companyId = ?.static BookmarksFolderfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where uuid = ?.static BookmarksFolderfetchByUUID_G(String uuid, long groupId) Returns the bookmarks folder where uuid = ? and groupId = ? or returnsnullif it could not be found.static BookmarksFolderfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the bookmarks folder where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static BookmarksFolderfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where uuid = ?.static intfilterCountByG_P(long groupId, long parentFolderId) Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.static intfilterCountByG_P_NotS(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.static intfilterCountByG_P_S(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.static intfilterCountByGroupId(long groupId) Returns the number of bookmarks folders that the user has permission to view where groupId = ?.static List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId) Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status) Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolder[]filterFindByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolder[]filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status) Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolder[]filterFindByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> filterFindByGroupId(long groupId) Returns all the bookmarks folders that the user has permission to view where groupId = ?.static List<BookmarksFolder> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ?.static List<BookmarksFolder> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ?.static BookmarksFolder[]filterFindByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ?.static List<BookmarksFolder> findAll()Returns all the bookmarks folders.static List<BookmarksFolder> findAll(int start, int end) Returns a range of all the bookmarks folders.static List<BookmarksFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders.static List<BookmarksFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders.static List<BookmarksFolder> findByC_NotS(long companyId, int status) Returns all the bookmarks folders where companyId = ? and status ≠ ?.static List<BookmarksFolder> findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the bookmarks folders where companyId = ? and status ≠ ?.static List<BookmarksFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where companyId = ? and status ≠ ?.static List<BookmarksFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where companyId = ? and status ≠ ?.static BookmarksFolderfindByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where companyId = ? and status ≠ ?.static BookmarksFolderfindByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where companyId = ? and status ≠ ?.static BookmarksFolder[]findByC_NotS_PrevAndNext(long folderId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ? and status ≠ ?.static List<BookmarksFolder> findByCompanyId(long companyId) Returns all the bookmarks folders where companyId = ?.static List<BookmarksFolder> findByCompanyId(long companyId, int start, int end) Returns a range of all the bookmarks folders where companyId = ?.static List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where companyId = ?.static List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where companyId = ?.static BookmarksFolderfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where companyId = ?.static BookmarksFolderfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where companyId = ?.static BookmarksFolder[]findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ?.static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId) Returns all the bookmarks folders where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ?.static BookmarksFolderfindByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.static BookmarksFolderfindByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status) Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfindByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfindByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolder[]findByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolder[]findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status) Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolderfindByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolderfindByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.static BookmarksFolder[]findByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.static List<BookmarksFolder> findByGroupId(long groupId) Returns all the bookmarks folders where groupId = ?.static List<BookmarksFolder> findByGroupId(long groupId, int start, int end) Returns a range of all the bookmarks folders where groupId = ?.static List<BookmarksFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ?.static List<BookmarksFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ?.static BookmarksFolderfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ?.static BookmarksFolderfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ?.static BookmarksFolder[]findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ?.static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Returns all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfindByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfindByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.static BookmarksFolderfindByPrimaryKey(long folderId) Returns the bookmarks folder with the primary key or throws aNoSuchFolderExceptionif it could not be found.static List<BookmarksFolder> findByUuid(String uuid) Returns all the bookmarks folders where uuid = ?.static List<BookmarksFolder> findByUuid(String uuid, int start, int end) Returns a range of all the bookmarks folders where uuid = ?.static List<BookmarksFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where uuid = ?.static List<BookmarksFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where uuid = ?.static List<BookmarksFolder> findByUuid_C(String uuid, long companyId) Returns all the bookmarks folders where uuid = ? and companyId = ?.static List<BookmarksFolder> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the bookmarks folders where uuid = ? and companyId = ?.static List<BookmarksFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where uuid = ? and companyId = ?.static List<BookmarksFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where uuid = ? and companyId = ?.static BookmarksFolderfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where uuid = ? and companyId = ?.static BookmarksFolderfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where uuid = ? and companyId = ?.static BookmarksFolder[]findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ? and companyId = ?.static BookmarksFolderfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where uuid = ?.static BookmarksFolderfindByUUID_G(String uuid, long groupId) Returns the bookmarks folder where uuid = ? and groupId = ? or throws aNoSuchFolderExceptionif it could not be found.static BookmarksFolderfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where uuid = ?.static BookmarksFolder[]findByUuid_PrevAndNext(long folderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ?.static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) static BookmarksFolderPersistencestatic BookmarksFolderremove(long folderId) Removes the bookmarks folder with the primary key from the database.static voidRemoves all the bookmarks folders from the database.static voidremoveByC_NotS(long companyId, int status) Removes all the bookmarks folders where companyId = ? and status ≠ ? from the database.static voidremoveByCompanyId(long companyId) Removes all the bookmarks folders where companyId = ? from the database.static voidremoveByG_P(long groupId, long parentFolderId) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? from the database.static voidremoveByG_P_NotS(long groupId, long parentFolderId, int status) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database.static voidremoveByG_P_S(long groupId, long parentFolderId, int status) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ? from the database.static voidremoveByGroupId(long groupId) Removes all the bookmarks folders where groupId = ? from the database.static voidremoveByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Removes all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database.static voidremoveByUuid(String uuid) Removes all the bookmarks folders where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the bookmarks folders where uuid = ? and companyId = ? from the database.static BookmarksFolderremoveByUUID_G(String uuid, long groupId) Removes the bookmarks folder where uuid = ? and groupId = ? from the database.static voidsetPersistence(BookmarksFolderPersistence persistence) static BookmarksFolderupdate(BookmarksFolder bookmarksFolder) static BookmarksFolderupdate(BookmarksFolder bookmarksFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) static BookmarksFolderupdateImpl(BookmarksFolder bookmarksFolder)
-
Constructor Details
-
BookmarksFolderUtil
public BookmarksFolderUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<BookmarksFolder> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static BookmarksFolder update(BookmarksFolder bookmarksFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the bookmarks folders where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching bookmarks folders
-
findByUuid
Returns a range of all the bookmarks folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByUuid
public static List<BookmarksFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByUuid
public static List<BookmarksFolder> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByUuid_First
public static BookmarksFolder findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder
-
fetchByUuid_First
public static BookmarksFolder fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByUuid_Last
public static BookmarksFolder findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder
-
fetchByUuid_Last
public static BookmarksFolder fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByUuid_PrevAndNext
public static BookmarksFolder[] findByUuid_PrevAndNext(long folderId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ?.- Parameters:
folderId- the primary key of the current bookmarks folderuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByUuid
Removes all the bookmarks folders where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of bookmarks folders where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching bookmarks folders
-
findByUUID_G
Returns the bookmarks folder where uuid = ? and groupId = ? or throws aNoSuchFolderExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching bookmarks folder
-
fetchByUUID_G
Returns the bookmarks folder where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
fetchByUUID_G
Returns the bookmarks folder where uuid = ? and groupId = ? or returnsnullif 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
removeByUUID_G
public static BookmarksFolder removeByUUID_G(String uuid, long groupId) throws NoSuchFolderException Removes the bookmarks folder where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the bookmarks folder that was removed
- Throws:
NoSuchFolderException
-
countByUUID_G
Returns the number of bookmarks folders where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching bookmarks folders
-
findByUuid_C
Returns all the bookmarks folders where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching bookmarks folders
-
findByUuid_C
Returns a range of all the bookmarks folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByUuid_C
public static List<BookmarksFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByUuid_C
public static List<BookmarksFolder> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByUuid_C_First
public static BookmarksFolder findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByUuid_C_First
public static BookmarksFolder fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByUuid_C_Last
public static BookmarksFolder findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByUuid_C_Last
public static BookmarksFolder fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByUuid_C_PrevAndNext
public static BookmarksFolder[] findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where uuid = ? and companyId = ?.- Parameters:
folderId- the primary key of the current bookmarks folderuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByUuid_C
Removes all the bookmarks folders where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of bookmarks folders where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching bookmarks folders
-
findByGroupId
Returns all the bookmarks folders where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching bookmarks folders
-
findByGroupId
Returns a range of all the bookmarks folders where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByGroupId
public static List<BookmarksFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByGroupId
public static List<BookmarksFolder> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByGroupId_First
public static BookmarksFolder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks folder in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder
-
fetchByGroupId_First
public static BookmarksFolder fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByGroupId_Last
public static BookmarksFolder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks folder in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder
-
fetchByGroupId_Last
public static BookmarksFolder fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByGroupId_PrevAndNext
public static BookmarksFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
filterFindByGroupId
Returns all the bookmarks folders that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching bookmarks folders that the user has permission to view
-
filterFindByGroupId
Returns a range of all the bookmarks folders that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders that the user has permission to view
-
filterFindByGroupId
public static List<BookmarksFolder> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static BookmarksFolder[] filterFindByGroupId_PrevAndNext(long folderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the bookmarks folders where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of bookmarks folders where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching bookmarks folders
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of bookmarks folders that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching bookmarks folders that the user has permission to view
-
findByCompanyId
Returns all the bookmarks folders where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching bookmarks folders
-
findByCompanyId
Returns a range of all the bookmarks folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByCompanyId
public static List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByCompanyId
public static List<BookmarksFolder> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByCompanyId_First
public static BookmarksFolder findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks folder in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder
-
fetchByCompanyId_First
public static BookmarksFolder fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks folder in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByCompanyId_Last
public static BookmarksFolder findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks folder in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder
-
fetchByCompanyId_Last
public static BookmarksFolder fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks folder in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByCompanyId_PrevAndNext
public static BookmarksFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ?.- Parameters:
folderId- the primary key of the current bookmarks foldercompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the bookmarks folders where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of bookmarks folders where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching bookmarks folders
-
findByG_P
Returns all the bookmarks folders where groupId = ? and parentFolderId = ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder ID- Returns:
- the matching bookmarks folders
-
findByG_P
public static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByG_P
public static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByG_P
public static List<BookmarksFolder> findByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByG_P_First
public static BookmarksFolder findByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByG_P_First
public static BookmarksFolder fetchByG_P_First(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_Last
public static BookmarksFolder findByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByG_P_Last
public static BookmarksFolder fetchByG_P_Last(long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_PrevAndNext
public static BookmarksFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
filterFindByG_P
Returns all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder ID- Returns:
- the matching bookmarks folders that the user has permission to view
-
filterFindByG_P
public static List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P
public static List<BookmarksFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P_PrevAndNext
public static BookmarksFolder[] filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByG_P
public static void removeByG_P(long groupId, long parentFolderId) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? from the database.- Parameters:
groupId- the group IDparentFolderId- the parent folder ID
-
countByG_P
public static int countByG_P(long groupId, long parentFolderId) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder ID- Returns:
- the number of matching bookmarks folders
-
filterCountByG_P
public static int filterCountByG_P(long groupId, long parentFolderId) Returns the number of bookmarks 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 bookmarks folders that the user has permission to view
-
findByC_NotS
Returns all the bookmarks folders where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the matching bookmarks folders
-
findByC_NotS
Returns a range of all the bookmarks folders where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByC_NotS
public static List<BookmarksFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByC_NotS
public static List<BookmarksFolder> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByC_NotS_First
public static BookmarksFolder findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByC_NotS_First
public static BookmarksFolder fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByC_NotS_Last
public static BookmarksFolder findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByC_NotS_Last
public static BookmarksFolder fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByC_NotS_PrevAndNext
public static BookmarksFolder[] findByC_NotS_PrevAndNext(long folderId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where companyId = ? and status ≠ ?.- Parameters:
folderId- the primary key of the current bookmarks foldercompanyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByC_NotS
public static void removeByC_NotS(long companyId, int status) Removes all the bookmarks folders where companyId = ? and status ≠ ? from the database.- Parameters:
companyId- the company IDstatus- the status
-
countByC_NotS
public static int countByC_NotS(long companyId, int status) Returns the number of bookmarks folders where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching bookmarks folders
-
findByG_P_S
Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status- Returns:
- the matching bookmarks folders
-
findByG_P_S
public static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByG_P_S
public static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByG_P_S
public static List<BookmarksFolder> findByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByG_P_S_First
public static BookmarksFolder findByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByG_P_S_First
public static BookmarksFolder fetchByG_P_S_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_S_Last
public static BookmarksFolder findByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByG_P_S_Last
public static BookmarksFolder fetchByG_P_S_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_S_PrevAndNext
public static BookmarksFolder[] findByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
filterFindByG_P_S
public static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status) Returns all the bookmarks 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 bookmarks folders that the user has permission to view
-
filterFindByG_P_S
public static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P_S
public static List<BookmarksFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P_S_PrevAndNext
public static BookmarksFolder[] filterFindByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByG_P_S
public static void removeByG_P_S(long groupId, long parentFolderId, int status) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status = ? from the database.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status
-
countByG_P_S
public static int countByG_P_S(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status = ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status- Returns:
- the number of matching bookmarks folders
-
filterCountByG_P_S
public static int filterCountByG_P_S(long groupId, long parentFolderId, int status) Returns the number of bookmarks 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 bookmarks folders that the user has permission to view
-
findByG_P_NotS
Returns all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status- Returns:
- the matching bookmarks folders
-
findByG_P_NotS
public static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByG_P_NotS
public static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByG_P_NotS
public static List<BookmarksFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByG_P_NotS_First
public static BookmarksFolder findByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByG_P_NotS_First
public static BookmarksFolder fetchByG_P_NotS_First(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_NotS_Last
public static BookmarksFolder findByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByG_P_NotS_Last
public static BookmarksFolder fetchByG_P_NotS_Last(long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByG_P_NotS_PrevAndNext
public static BookmarksFolder[] findByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
filterFindByG_P_NotS
public static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status) Returns all the bookmarks 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 bookmarks folders that the user has permission to view
-
filterFindByG_P_NotS
public static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P_NotS
public static List<BookmarksFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders that the user has permission to view
-
filterFindByG_P_NotS_PrevAndNext
public static BookmarksFolder[] filterFindByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the bookmarks folders before and after the current bookmarks folder in the ordered set of bookmarks folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?.- Parameters:
folderId- the primary key of the current bookmarks foldergroupId- the group IDparentFolderId- the parent folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next bookmarks folder
-
removeByG_P_NotS
public static void removeByG_P_NotS(long groupId, long parentFolderId, int status) Removes all the bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status
-
countByG_P_NotS
public static int countByG_P_NotS(long groupId, long parentFolderId, int status) Returns the number of bookmarks folders where groupId = ? and parentFolderId = ? and status ≠ ?.- Parameters:
groupId- the group IDparentFolderId- the parent folder IDstatus- the status- Returns:
- the number of matching bookmarks folders
-
filterCountByG_P_NotS
public static int filterCountByG_P_NotS(long groupId, long parentFolderId, int status) Returns the number of bookmarks 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 bookmarks folders that the user has permission to view
-
findByGtF_C_P_NotS
public static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Returns all the bookmarks 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 bookmarks folders
-
findByGtF_C_P_NotS
public static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end) Returns a range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
folderId- the folder IDcompanyId- the company IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of matching bookmarks folders
-
findByGtF_C_P_NotS
public static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
folderId- the folder IDcompanyId- the company IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching bookmarks folders
-
findByGtF_C_P_NotS
public static List<BookmarksFolder> findByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
folderId- the folder IDcompanyId- the company IDparentFolderId- the parent folder IDstatus- the statusstart- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks 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 bookmarks folders
-
findByGtF_C_P_NotS_First
public static BookmarksFolder findByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the first bookmarks 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 bookmarks folder
-
fetchByGtF_C_P_NotS_First
public static BookmarksFolder fetchByGtF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the first bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
findByGtF_C_P_NotS_Last
public static BookmarksFolder findByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) throws NoSuchFolderException Returns the last bookmarks 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 bookmarks folder
-
fetchByGtF_C_P_NotS_Last
public static BookmarksFolder fetchByGtF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns the last bookmarks 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 bookmarks folder, or
nullif a matching bookmarks folder could not be found
-
removeByGtF_C_P_NotS
public static void removeByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Removes all the bookmarks folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database.- Parameters:
folderId- the folder IDcompanyId- the company IDparentFolderId- the parent folder IDstatus- the status
-
countByGtF_C_P_NotS
public static int countByGtF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) Returns the number of bookmarks 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 bookmarks folders
-
cacheResult
Caches the bookmarks folder in the entity cache if it is enabled.- Parameters:
bookmarksFolder- the bookmarks folder
-
cacheResult
Caches the bookmarks folders in the entity cache if it is enabled.- Parameters:
bookmarksFolders- the bookmarks folders
-
create
Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database.- Parameters:
folderId- the primary key for the new bookmarks folder- Returns:
- the new bookmarks folder
-
remove
Removes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
folderId- the primary key of the bookmarks folder- Returns:
- the bookmarks folder that was removed
-
updateImpl
-
findByPrimaryKey
Returns the bookmarks folder with the primary key or throws aNoSuchFolderExceptionif it could not be found.- Parameters:
folderId- the primary key of the bookmarks folder- Returns:
- the bookmarks folder
-
fetchByPrimaryKey
Returns the bookmarks folder with the primary key or returnsnullif it could not be found.- Parameters:
folderId- the primary key of the bookmarks folder- Returns:
- the bookmarks folder, or
nullif a bookmarks folder with the primary key could not be found
-
findAll
Returns all the bookmarks folders.- Returns:
- the bookmarks folders
-
findAll
Returns a range of all the bookmarks folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
start- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)- Returns:
- the range of bookmarks folders
-
findAll
public static List<BookmarksFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator) Returns an ordered range of all the bookmarks folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
start- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of bookmarks folders
-
findAll
public static List<BookmarksFolder> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator, boolean useFinderCache) Returns an ordered range of all the bookmarks folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromBookmarksFolderModelImpl.- Parameters:
start- the lower bound of the range of bookmarks foldersend- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of bookmarks folders
-
removeAll
public static void removeAll()Removes all the bookmarks folders from the database. -
countAll
public static int countAll()Returns the number of bookmarks folders.- Returns:
- the number of bookmarks folders
-
getPersistence
-
setPersistence
-