Class SavedContentEntryUtil
com.liferay.saved.content.service.persistence.impl.SavedContentEntryPersistenceImpl 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(SavedContentEntry savedContentEntry) Caches the saved content entry in the entity cache if it is enabled.static voidcacheResult(List<SavedContentEntry> savedContentEntries) Caches the saved content entries in the entity cache if it is enabled.static voidstatic voidclearCache(SavedContentEntry savedContentEntry) static intcountAll()Returns the number of saved content entries.static intcountByC_C_C(long companyId, long classNameId, long classPK) Returns the number of saved content entries where companyId = ? and classNameId = ? and classPK = ?.static intcountByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Returns the number of saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = ?.static intcountByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs) Returns the number of saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.static intcountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of saved content entries where groupId = ? and classNameId = ? and classPK = ?.static intcountByG_CN(long groupId, long classNameId) Returns the number of saved content entries where groupId = ? and classNameId = ?.static intcountByG_U(long groupId, long userId) Returns the number of saved content entries where groupId = ? and userId = ?.static intcountByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Returns the number of saved content entries where groupId = ? and userId = ? and classNameId = ? and classPK = ?.static intcountByGroupId(long groupId) Returns the number of saved content entries where groupId = ?.static intcountByU_C(long userId, long classNameId) Returns the number of saved content entries where userId = ? and classNameId = ?.static intcountByUserId(long userId) Returns the number of saved content entries where userId = ?.static intcountByUuid(String uuid) Returns the number of saved content entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of saved content entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of saved content entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SavedContentEntrycreate(long savedContentEntryId) Creates a new saved content entry with the primary key.static SavedContentEntryfetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.static SavedContentEntryfetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK, boolean useFinderCache) Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.static SavedContentEntryfetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfetchByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ?.static SavedContentEntryfetchByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ?.static SavedContentEntryfetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.static SavedContentEntryfetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK, boolean useFinderCache) Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.static SavedContentEntryfetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and userId = ?.static SavedContentEntryfetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and userId = ?.static SavedContentEntryfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ?.static SavedContentEntryfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ?.static SavedContentEntryfetchByPrimaryKey(long savedContentEntryId) Returns the saved content entry with the primary key or returnsnullif it could not be found.static Map<Serializable,SavedContentEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SavedContentEntryfetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ? and classNameId = ?.static SavedContentEntryfetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ? and classNameId = ?.static SavedContentEntryfetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ?.static SavedContentEntryfetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ?.static SavedContentEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where uuid = ? and companyId = ?.static SavedContentEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where uuid = ? and companyId = ?.static SavedContentEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where uuid = ?.static SavedContentEntryfetchByUUID_G(String uuid, long groupId) Returns the saved content entry where uuid = ? and groupId = ? or returnsnullif it could not be found.static SavedContentEntryfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the saved content entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static SavedContentEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where uuid = ?.static intfilterCountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.static intfilterCountByG_CN(long groupId, long classNameId) Returns the number of saved content entries that the user has permission to view where groupId = ? and classNameId = ?.static intfilterCountByG_U(long groupId, long userId) Returns the number of saved content entries that the user has permission to view where groupId = ? and userId = ?.static intfilterCountByGroupId(long groupId) Returns the number of saved content entries that the user has permission to view where groupId = ?.static List<SavedContentEntry>filterFindByG_C_C(long groupId, long classNameId, long classPK) Returns all the saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntry[]filterFindByG_C_C_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>filterFindByG_CN(long groupId, long classNameId) Returns all the saved content entries that the user has permission to view where groupId = ? and classNameId = ?.static List<SavedContentEntry>filterFindByG_CN(long groupId, long classNameId, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and classNameId = ?.static List<SavedContentEntry>filterFindByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and classNameId = ?.static SavedContentEntry[]filterFindByG_CN_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and classNameId = ?.static List<SavedContentEntry>filterFindByG_U(long groupId, long userId) Returns all the saved content entries that the user has permission to view where groupId = ? and userId = ?.static List<SavedContentEntry>filterFindByG_U(long groupId, long userId, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and userId = ?.static List<SavedContentEntry>filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and userId = ?.static SavedContentEntry[]filterFindByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and userId = ?.static List<SavedContentEntry>filterFindByGroupId(long groupId) Returns all the saved content entries that the user has permission to view where groupId = ?.static List<SavedContentEntry>filterFindByGroupId(long groupId, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ?.static List<SavedContentEntry>filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ?.static SavedContentEntry[]filterFindByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ?.static List<SavedContentEntry>findAll()Returns all the saved content entries.static List<SavedContentEntry>findAll(int start, int end) Returns a range of all the saved content entries.static List<SavedContentEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries.static List<SavedContentEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries.static List<SavedContentEntry>findByC_C_C(long companyId, long classNameId, long classPK) Returns all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByC_C_C(long companyId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfindByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfindByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntry[]findByC_C_C_PrevAndNext(long savedContentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfindByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.static List<SavedContentEntry>findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs) Returns all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.static List<SavedContentEntry>findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end) Returns a range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.static List<SavedContentEntry>findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.static List<SavedContentEntry>findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.static List<SavedContentEntry>findByG_C_C(long groupId, long classNameId, long classPK) Returns all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByG_C_C(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfindByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntryfindByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.static SavedContentEntry[]findByG_C_C_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.static List<SavedContentEntry>findByG_CN(long groupId, long classNameId) Returns all the saved content entries where groupId = ? and classNameId = ?.static List<SavedContentEntry>findByG_CN(long groupId, long classNameId, int start, int end) Returns a range of all the saved content entries where groupId = ? and classNameId = ?.static List<SavedContentEntry>findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ?.static List<SavedContentEntry>findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ?.static SavedContentEntryfindByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ?.static SavedContentEntryfindByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ?.static SavedContentEntry[]findByG_CN_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and classNameId = ?.static List<SavedContentEntry>findByG_U(long groupId, long userId) Returns all the saved content entries where groupId = ? and userId = ?.static List<SavedContentEntry>findByG_U(long groupId, long userId, int start, int end) Returns a range of all the saved content entries where groupId = ? and userId = ?.static List<SavedContentEntry>findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and userId = ?.static List<SavedContentEntry>findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and userId = ?.static SavedContentEntryfindByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.static SavedContentEntryfindByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and userId = ?.static SavedContentEntryfindByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and userId = ?.static SavedContentEntry[]findByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and userId = ?.static List<SavedContentEntry>findByGroupId(long groupId) Returns all the saved content entries where groupId = ?.static List<SavedContentEntry>findByGroupId(long groupId, int start, int end) Returns a range of all the saved content entries where groupId = ?.static List<SavedContentEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ?.static List<SavedContentEntry>findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ?.static SavedContentEntryfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ?.static SavedContentEntryfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ?.static SavedContentEntry[]findByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ?.static SavedContentEntryfindByPrimaryKey(long savedContentEntryId) Returns the saved content entry with the primary key or throws aNoSuchSavedContentEntryExceptionif it could not be found.static List<SavedContentEntry>findByU_C(long userId, long classNameId) Returns all the saved content entries where userId = ? and classNameId = ?.static List<SavedContentEntry>findByU_C(long userId, long classNameId, int start, int end) Returns a range of all the saved content entries where userId = ? and classNameId = ?.static List<SavedContentEntry>findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where userId = ? and classNameId = ?.static List<SavedContentEntry>findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where userId = ? and classNameId = ?.static SavedContentEntryfindByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ? and classNameId = ?.static SavedContentEntryfindByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ? and classNameId = ?.static SavedContentEntry[]findByU_C_PrevAndNext(long savedContentEntryId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where userId = ? and classNameId = ?.static List<SavedContentEntry>findByUserId(long userId) Returns all the saved content entries where userId = ?.static List<SavedContentEntry>findByUserId(long userId, int start, int end) Returns a range of all the saved content entries where userId = ?.static List<SavedContentEntry>findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where userId = ?.static List<SavedContentEntry>findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where userId = ?.static SavedContentEntryfindByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ?.static SavedContentEntryfindByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ?.static SavedContentEntry[]findByUserId_PrevAndNext(long savedContentEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where userId = ?.static List<SavedContentEntry>findByUuid(String uuid) Returns all the saved content entries where uuid = ?.static List<SavedContentEntry>findByUuid(String uuid, int start, int end) Returns a range of all the saved content entries where uuid = ?.static List<SavedContentEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where uuid = ?.static List<SavedContentEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where uuid = ?.static List<SavedContentEntry>findByUuid_C(String uuid, long companyId) Returns all the saved content entries where uuid = ? and companyId = ?.static List<SavedContentEntry>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the saved content entries where uuid = ? and companyId = ?.static List<SavedContentEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where uuid = ? and companyId = ?.static List<SavedContentEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where uuid = ? and companyId = ?.static SavedContentEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where uuid = ? and companyId = ?.static SavedContentEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where uuid = ? and companyId = ?.static SavedContentEntry[]findByUuid_C_PrevAndNext(long savedContentEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where uuid = ? and companyId = ?.static SavedContentEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where uuid = ?.static SavedContentEntryfindByUUID_G(String uuid, long groupId) Returns the saved content entry where uuid = ? and groupId = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.static SavedContentEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where uuid = ?.static SavedContentEntry[]findByUuid_PrevAndNext(long savedContentEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the saved content entries before and after the current saved content entry in the ordered set where uuid = ?.static List<SavedContentEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SavedContentEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SavedContentEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) static SavedContentEntryPersistencestatic SavedContentEntryremove(long savedContentEntryId) Removes the saved content entry with the primary key from the database.static voidRemoves all the saved content entries from the database.static voidremoveByC_C_C(long companyId, long classNameId, long classPK) Removes all the saved content entries where companyId = ? and classNameId = ? and classPK = ? from the database.static SavedContentEntryremoveByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Removes the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByG_C_C(long groupId, long classNameId, long classPK) Removes all the saved content entries where groupId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByG_CN(long groupId, long classNameId) Removes all the saved content entries where groupId = ? and classNameId = ? from the database.static voidremoveByG_U(long groupId, long userId) Removes all the saved content entries where groupId = ? and userId = ? from the database.static SavedContentEntryremoveByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Removes the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByGroupId(long groupId) Removes all the saved content entries where groupId = ? from the database.static voidremoveByU_C(long userId, long classNameId) Removes all the saved content entries where userId = ? and classNameId = ? from the database.static voidremoveByUserId(long userId) Removes all the saved content entries where userId = ? from the database.static voidremoveByUuid(String uuid) Removes all the saved content entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the saved content entries where uuid = ? and companyId = ? from the database.static SavedContentEntryremoveByUUID_G(String uuid, long groupId) Removes the saved content entry where uuid = ? and groupId = ? from the database.static voidsetPersistence(SavedContentEntryPersistence persistence) static SavedContentEntryupdate(SavedContentEntry savedContentEntry) static SavedContentEntryupdate(SavedContentEntry savedContentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SavedContentEntryupdateImpl(SavedContentEntry savedContentEntry)
-
Constructor Details
-
SavedContentEntryUtil
public SavedContentEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static SavedContentEntry update(SavedContentEntry savedContentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the saved content entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching saved content entries
-
findByUuid
Returns a range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByUuid
public static List<SavedContentEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByUuid
public static List<SavedContentEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByUuid_First
public static SavedContentEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUuid_First
public static SavedContentEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByUuid_Last
public static SavedContentEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUuid_Last
public static SavedContentEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByUuid_PrevAndNext
public static SavedContentEntry[] findByUuid_PrevAndNext(long savedContentEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where uuid = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByUuid
Removes all the saved content entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of saved content entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching saved content entries
-
findByUUID_G
public static SavedContentEntry findByUUID_G(String uuid, long groupId) throws NoSuchSavedContentEntryException Returns the saved content entry where uuid = ? and groupId = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUUID_G
Returns the saved content entry 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 saved content entry, or
nullif a matching saved content entry could not be found
-
fetchByUUID_G
Returns the saved content entry 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 saved content entry, or
nullif a matching saved content entry could not be found
-
removeByUUID_G
public static SavedContentEntry removeByUUID_G(String uuid, long groupId) throws NoSuchSavedContentEntryException Removes the saved content entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the saved content entry that was removed
- Throws:
NoSuchSavedContentEntryException
-
countByUUID_G
Returns the number of saved content entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching saved content entries
-
findByUuid_C
Returns all the saved content entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching saved content entries
-
findByUuid_C
Returns a range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByUuid_C
public static List<SavedContentEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByUuid_C
public static List<SavedContentEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByUuid_C_First
public static SavedContentEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry 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 saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUuid_C_First
public static SavedContentEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry 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 saved content entry, or
nullif a matching saved content entry could not be found
-
findByUuid_C_Last
public static SavedContentEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry 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 saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUuid_C_Last
public static SavedContentEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry 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 saved content entry, or
nullif a matching saved content entry could not be found
-
findByUuid_C_PrevAndNext
public static SavedContentEntry[] findByUuid_C_PrevAndNext(long savedContentEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByUuid_C
Removes all the saved content entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of saved content entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching saved content entries
-
findByGroupId
Returns all the saved content entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching saved content entries
-
findByGroupId
Returns a range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByGroupId
public static List<SavedContentEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByGroupId
public static List<SavedContentEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByGroupId_First
public static SavedContentEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByGroupId_First
public static SavedContentEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByGroupId_Last
public static SavedContentEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByGroupId_Last
public static SavedContentEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByGroupId_PrevAndNext
public static SavedContentEntry[] findByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
filterFindByGroupId
Returns all the saved content entries that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching saved content entries that the user has permission to view
-
filterFindByGroupId
Returns a range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries that the user has permission to view
-
filterFindByGroupId
public static List<SavedContentEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries 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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static SavedContentEntry[] filterFindByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the saved content entries where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of saved content entries where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching saved content entries
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of saved content entries that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching saved content entries that the user has permission to view
-
findByUserId
Returns all the saved content entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching saved content entries
-
findByUserId
Returns a range of all the saved content entries where userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByUserId
public static List<SavedContentEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByUserId
public static List<SavedContentEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByUserId_First
public static SavedContentEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUserId_First
public static SavedContentEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByUserId_Last
public static SavedContentEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByUserId_Last
public static SavedContentEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByUserId_PrevAndNext
public static SavedContentEntry[] findByUserId_PrevAndNext(long savedContentEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where userId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entryuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByUserId
public static void removeByUserId(long userId) Removes all the saved content entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of saved content entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching saved content entries
-
findByG_U
Returns all the saved content entries where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the matching saved content entries
-
findByG_U
Returns a range of all the saved content entries where groupId = ? and userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByG_U
public static List<SavedContentEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByG_U
public static List<SavedContentEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByG_U_First
public static SavedContentEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_U_First
public static SavedContentEntry fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_U_Last
public static SavedContentEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_U_Last
public static SavedContentEntry fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_U_PrevAndNext
public static SavedContentEntry[] findByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and userId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
filterFindByG_U
Returns all the saved content entries that the user has permission to view where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the matching saved content entries that the user has permission to view
-
filterFindByG_U
public static List<SavedContentEntry> filterFindByG_U(long groupId, long userId, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries that the user has permission to view
-
filterFindByG_U
public static List<SavedContentEntry> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and userId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDuserId- the user IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries that the user has permission to view
-
filterFindByG_U_PrevAndNext
public static SavedContentEntry[] filterFindByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and userId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByG_U
public static void removeByG_U(long groupId, long userId) Removes all the saved content entries where groupId = ? and userId = ? from the database.- Parameters:
groupId- the group IDuserId- the user ID
-
countByG_U
public static int countByG_U(long groupId, long userId) Returns the number of saved content entries where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the number of matching saved content entries
-
filterCountByG_U
public static int filterCountByG_U(long groupId, long userId) Returns the number of saved content entries that the user has permission to view where groupId = ? and userId = ?.- Parameters:
groupId- the group IDuserId- the user ID- Returns:
- the number of matching saved content entries that the user has permission to view
-
findByG_CN
Returns all the saved content entries where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching saved content entries
-
findByG_CN
public static List<SavedContentEntry> findByG_CN(long groupId, long classNameId, int start, int end) Returns a range of all the saved content entries where groupId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByG_CN
public static List<SavedContentEntry> findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByG_CN
public static List<SavedContentEntry> findByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByG_CN_First
public static SavedContentEntry findByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_CN_First
public static SavedContentEntry fetchByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_CN_Last
public static SavedContentEntry findByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_CN_Last
public static SavedContentEntry fetchByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_CN_PrevAndNext
public static SavedContentEntry[] findByG_CN_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
filterFindByG_CN
Returns all the saved content entries that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching saved content entries that the user has permission to view
-
filterFindByG_CN
public static List<SavedContentEntry> filterFindByG_CN(long groupId, long classNameId, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries that the user has permission to view
-
filterFindByG_CN
public static List<SavedContentEntry> filterFindByG_CN(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries that the user has permission to view
-
filterFindByG_CN_PrevAndNext
public static SavedContentEntry[] filterFindByG_CN_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByG_CN
public static void removeByG_CN(long groupId, long classNameId) Removes all the saved content entries where groupId = ? and classNameId = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name ID
-
countByG_CN
public static int countByG_CN(long groupId, long classNameId) Returns the number of saved content entries where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching saved content entries
-
filterCountByG_CN
public static int filterCountByG_CN(long groupId, long classNameId) Returns the number of saved content entries that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching saved content entries that the user has permission to view
-
findByU_C
Returns all the saved content entries where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name ID- Returns:
- the matching saved content entries
-
findByU_C
Returns a range of all the saved content entries where userId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByU_C
public static List<SavedContentEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where userId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByU_C
public static List<SavedContentEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where userId = ? and classNameId = ?.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 fromSavedContentEntryModelImpl.- Parameters:
userId- the user IDclassNameId- the class name IDstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByU_C_First
public static SavedContentEntry findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByU_C_First
public static SavedContentEntry fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByU_C_Last
public static SavedContentEntry findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByU_C_Last
public static SavedContentEntry fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByU_C_PrevAndNext
public static SavedContentEntry[] findByU_C_PrevAndNext(long savedContentEntryId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where userId = ? and classNameId = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entryuserId- the user IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByU_C
public static void removeByU_C(long userId, long classNameId) Removes all the saved content entries where userId = ? and classNameId = ? from the database.- Parameters:
userId- the user IDclassNameId- the class name ID
-
countByU_C
public static int countByU_C(long userId, long classNameId) Returns the number of saved content entries where userId = ? and classNameId = ?.- Parameters:
userId- the user IDclassNameId- the class name ID- Returns:
- the number of matching saved content entries
-
findByG_C_C
Returns all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entries
-
findByG_C_C
public static List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByG_C_C
public static List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByG_C_C
public static List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByG_C_C_First
public static SavedContentEntry findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_C_C_First
public static SavedContentEntry fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_C_C_Last
public static SavedContentEntry findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_C_C_Last
public static SavedContentEntry fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByG_C_C_PrevAndNext
public static SavedContentEntry[] findByG_C_C_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
filterFindByG_C_C
public static List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK) Returns all the saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entries that the user has permission to view
-
filterFindByG_C_C
public static List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries that the user has permission to view
-
filterFindByG_C_C
public static List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries that the user has permission to view
-
filterFindByG_C_C_PrevAndNext
public static SavedContentEntry[] filterFindByG_C_C_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set of saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrygroupId- the group IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByG_C_C
public static void removeByG_C_C(long groupId, long classNameId, long classPK) Removes all the saved content entries where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk
-
countByG_C_C
public static int countByG_C_C(long groupId, long classNameId, long classPK) Returns the number of saved content entries where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching saved content entries
-
filterCountByG_C_C
public static int filterCountByG_C_C(long groupId, long classNameId, long classPK) Returns the number of saved content entries that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching saved content entries that the user has permission to view
-
findByC_C_C
Returns all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entries
-
findByC_C_C
public static List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end) Returns a range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByC_C_C
public static List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByC_C_C
public static List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByC_C_C_First
public static SavedContentEntry findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the first saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByC_C_C_First
public static SavedContentEntry fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the first saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByC_C_C_Last
public static SavedContentEntry findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the last saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByC_C_C_Last
public static SavedContentEntry fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns the last saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saved content entry, or
nullif a matching saved content entry could not be found
-
findByC_C_C_PrevAndNext
public static SavedContentEntry[] findByC_C_C_PrevAndNext(long savedContentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException Returns the saved content entries before and after the current saved content entry in the ordered set where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
savedContentEntryId- the primary key of the current saved content entrycompanyId- the company IDclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
removeByC_C_C
public static void removeByC_C_C(long companyId, long classNameId, long classPK) Removes all the saved content entries where companyId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk
-
countByC_C_C
public static int countByC_C_C(long companyId, long classNameId, long classPK) Returns the number of saved content entries where companyId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching saved content entries
-
findByG_U_C_C
public static SavedContentEntry findByG_U_C_C(long groupId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByG_U_C_C
public static SavedContentEntry fetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entry, or
nullif a matching saved content entry could not be found
-
fetchByG_U_C_C
public static SavedContentEntry fetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK, boolean useFinderCache) Returns the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching saved content entry, or
nullif a matching saved content entry could not be found
-
removeByG_U_C_C
public static SavedContentEntry removeByG_U_C_C(long groupId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException Removes the saved content entry where groupId = ? and userId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the saved content entry that was removed
- Throws:
NoSuchSavedContentEntryException
-
countByG_U_C_C
public static int countByG_U_C_C(long groupId, long userId, long classNameId, long classPK) Returns the number of saved content entries where groupId = ? and userId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId- the group IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching saved content entries
-
findByC_U_C_C
public static List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs) Returns all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPKs- the class pks- Returns:
- the matching saved content entries
-
findByC_U_C_C
public static List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end) Returns a range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPKs- the class pksstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of matching saved content entries
-
findByC_U_C_C
public static List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPKs- the class pksstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saved content entries
-
findByC_U_C_C
public static List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = ?, optionally using the finder cache.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 fromSavedContentEntryModelImpl.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPKs- the class pksstart- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saved content entries
-
findByC_U_C_C
public static SavedContentEntry findByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or throws aNoSuchSavedContentEntryExceptionif it could not be found.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entry
- Throws:
NoSuchSavedContentEntryException- if a matching saved content entry could not be foundNoSuchSavedContentEntryException
-
fetchByC_U_C_C
public static SavedContentEntry fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching saved content entry, or
nullif a matching saved content entry could not be found
-
fetchByC_U_C_C
public static SavedContentEntry fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK, boolean useFinderCache) Returns the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching saved content entry, or
nullif a matching saved content entry could not be found
-
removeByC_U_C_C
public static SavedContentEntry removeByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException Removes the saved content entry where companyId = ? and userId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the saved content entry that was removed
- Throws:
NoSuchSavedContentEntryException
-
countByC_U_C_C
public static int countByC_U_C_C(long companyId, long userId, long classNameId, long classPK) Returns the number of saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = ?.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching saved content entries
-
countByC_U_C_C
public static int countByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs) Returns the number of saved content entries where companyId = ? and userId = ? and classNameId = ? and classPK = any ?.- Parameters:
companyId- the company IDuserId- the user IDclassNameId- the class name IDclassPKs- the class pks- Returns:
- the number of matching saved content entries
-
cacheResult
Caches the saved content entry in the entity cache if it is enabled.- Parameters:
savedContentEntry- the saved content entry
-
cacheResult
Caches the saved content entries in the entity cache if it is enabled.- Parameters:
savedContentEntries- the saved content entries
-
create
Creates a new saved content entry with the primary key. Does not add the saved content entry to the database.- Parameters:
savedContentEntryId- the primary key for the new saved content entry- Returns:
- the new saved content entry
-
remove
public static SavedContentEntry remove(long savedContentEntryId) throws NoSuchSavedContentEntryException Removes the saved content entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
savedContentEntryId- the primary key of the saved content entry- Returns:
- the saved content entry that was removed
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
updateImpl
-
findByPrimaryKey
public static SavedContentEntry findByPrimaryKey(long savedContentEntryId) throws NoSuchSavedContentEntryException Returns the saved content entry with the primary key or throws aNoSuchSavedContentEntryExceptionif it could not be found.- Parameters:
savedContentEntryId- the primary key of the saved content entry- Returns:
- the saved content entry
- Throws:
NoSuchSavedContentEntryException- if a saved content entry with the primary key could not be foundNoSuchSavedContentEntryException
-
fetchByPrimaryKey
Returns the saved content entry with the primary key or returnsnullif it could not be found.- Parameters:
savedContentEntryId- the primary key of the saved content entry- Returns:
- the saved content entry, or
nullif a saved content entry with the primary key could not be found
-
findAll
Returns all the saved content entries.- Returns:
- the saved content entries
-
findAll
Returns a range of all the saved content entries.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 fromSavedContentEntryModelImpl.- Parameters:
start- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)- Returns:
- the range of saved content entries
-
findAll
public static List<SavedContentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) Returns an ordered range of all the saved content entries.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 fromSavedContentEntryModelImpl.- Parameters:
start- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of saved content entries
-
findAll
public static List<SavedContentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saved content entries.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 fromSavedContentEntryModelImpl.- Parameters:
start- the lower bound of the range of saved content entriesend- the upper bound of the range of saved content entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saved content entries
-
removeAll
public static void removeAll()Removes all the saved content entries from the database. -
countAll
public static int countAll()Returns the number of saved content entries.- Returns:
- the number of saved content entries
-
getPersistence
-
setPersistence
-