public class SavedContentEntryUtil
extends java.lang.Object
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
SavedContentEntryPersistence
Constructor and Description |
---|
SavedContentEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SavedContentEntry> savedContentEntries)
Caches the saved content entries in the entity cache if it is enabled.
|
static void |
cacheResult(SavedContentEntry savedContentEntry)
Caches the saved content entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SavedContentEntry savedContentEntry) |
static int |
countAll()
Returns the number of saved content entries.
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of saved content entries where companyId = ? and classNameId = ? and classPK = ?.
|
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 = ?.
|
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 ?.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of saved content entries where groupId = ? and classNameId = ? and classPK = ?.
|
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 = ?.
|
static int |
countByG_U(long groupId,
long userId)
Returns the number of saved content entries where groupId = ? and userId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of saved content entries where groupId = ?.
|
static int |
countByU_C(long userId,
long classNameId)
Returns the number of saved content entries where userId = ? and classNameId = ?.
|
static int |
countByUserId(long userId)
Returns the number of saved content entries where userId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of saved content entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of saved content entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of saved content entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SavedContentEntry |
create(long savedContentEntryId)
Creates a new saved content entry with the primary key.
|
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 = ?.
|
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 = ?.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static SavedContentEntry |
fetchByPrimaryKey(long savedContentEntryId)
Returns the saved content entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SavedContentEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
static SavedContentEntry |
fetchByUuid_C_First(java.lang.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 SavedContentEntry |
fetchByUuid_C_Last(java.lang.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 |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Returns the first saved content entry in the ordered set where uuid = ?.
|
static SavedContentEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the saved content entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static SavedContentEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the saved content entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SavedContentEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Returns the last saved content entry in the ordered set where uuid = ?.
|
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 = ?.
|
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 = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of saved content entries that the user has permission to view where groupId = ?.
|
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 java.util.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 java.util.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 java.util.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_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 java.util.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 java.util.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 java.util.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[] |
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 java.util.List<SavedContentEntry> |
filterFindByGroupId(long groupId)
Returns all the saved content entries that the user has permission to view where groupId = ?.
|
static java.util.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 java.util.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 java.util.List<SavedContentEntry> |
findAll()
Returns all the saved content entries.
|
static java.util.List<SavedContentEntry> |
findAll(int start,
int end)
Returns a range of all the saved content entries.
|
static java.util.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 java.util.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 SavedContentEntry |
findByC_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 SavedContentEntry |
findByC_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 java.util.List<SavedContentEntry> |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns all the saved content entries where companyId = ? and classNameId = ? and classPK = ?.
|
static java.util.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 java.util.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 java.util.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 SavedContentEntry |
findByC_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 a
NoSuchSavedContentEntryException if it could not be found. |
static java.util.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 java.util.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 java.util.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 java.util.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 SavedContentEntry |
findByG_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 SavedContentEntry |
findByG_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 java.util.List<SavedContentEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the saved content entries where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.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 java.util.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 java.util.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 SavedContentEntry |
findByG_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 a
NoSuchSavedContentEntryException if it could not be found. |
static SavedContentEntry |
findByG_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 SavedContentEntry |
findByG_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 java.util.List<SavedContentEntry> |
findByG_U(long groupId,
long userId)
Returns all the saved content entries where groupId = ? and userId = ?.
|
static java.util.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 java.util.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 java.util.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 SavedContentEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Returns the first saved content entry in the ordered set where groupId = ?.
|
static SavedContentEntry |
findByGroupId_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 java.util.List<SavedContentEntry> |
findByGroupId(long groupId)
Returns all the saved content entries where groupId = ?.
|
static java.util.List<SavedContentEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the saved content entries where groupId = ?.
|
static java.util.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 java.util.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 SavedContentEntry |
findByPrimaryKey(long savedContentEntryId)
Returns the saved content entry with the primary key or throws a
NoSuchSavedContentEntryException if it could not be found. |
static SavedContentEntry |
findByU_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 SavedContentEntry |
findByU_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 java.util.List<SavedContentEntry> |
findByU_C(long userId,
long classNameId)
Returns all the saved content entries where userId = ? and classNameId = ?.
|
static java.util.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 java.util.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 java.util.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 SavedContentEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Returns the first saved content entry in the ordered set where userId = ?.
|
static SavedContentEntry |
findByUserId_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 java.util.List<SavedContentEntry> |
findByUserId(long userId)
Returns all the saved content entries where userId = ?.
|
static java.util.List<SavedContentEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the saved content entries where userId = ?.
|
static java.util.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 java.util.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 SavedContentEntry |
findByUuid_C_First(java.lang.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 SavedContentEntry |
findByUuid_C_Last(java.lang.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,
java.lang.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 java.util.List<SavedContentEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the saved content entries where uuid = ? and companyId = ?.
|
static java.util.List<SavedContentEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the saved content entries where uuid = ? and companyId = ?.
|
static java.util.List<SavedContentEntry> |
findByUuid_C(java.lang.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 java.util.List<SavedContentEntry> |
findByUuid_C(java.lang.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 SavedContentEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Returns the first saved content entry in the ordered set where uuid = ?.
|
static SavedContentEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the saved content entry where uuid = ? and groupId = ? or throws a
NoSuchSavedContentEntryException if it could not be found. |
static SavedContentEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<SavedContentEntry> |
findByUuid(java.lang.String uuid)
Returns all the saved content entries where uuid = ?.
|
static java.util.List<SavedContentEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the saved content entries where uuid = ?.
|
static java.util.List<SavedContentEntry> |
findByUuid(java.lang.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 java.util.List<SavedContentEntry> |
findByUuid(java.lang.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 java.util.List<SavedContentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SavedContentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SavedContentEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) |
static SavedContentEntryPersistence |
getPersistence() |
static SavedContentEntry |
remove(long savedContentEntryId)
Removes the saved content entry with the primary key from the database.
|
static void |
removeAll()
Removes all the saved content entries from the database.
|
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.
|
static SavedContentEntry |
removeByC_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 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.
|
static SavedContentEntry |
removeByG_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 void |
removeByG_U(long groupId,
long userId)
Removes all the saved content entries where groupId = ? and userId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the saved content entries where groupId = ? from the database.
|
static void |
removeByU_C(long userId,
long classNameId)
Removes all the saved content entries where userId = ? and classNameId = ? from the database.
|
static void |
removeByUserId(long userId)
Removes all the saved content entries where userId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the saved content entries where uuid = ? and companyId = ? from the database.
|
static SavedContentEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the saved content entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the saved content entries where uuid = ? from the database.
|
static void |
setPersistence(SavedContentEntryPersistence persistence) |
static SavedContentEntry |
update(SavedContentEntry savedContentEntry) |
static SavedContentEntry |
update(SavedContentEntry savedContentEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SavedContentEntry |
updateImpl(SavedContentEntry savedContentEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SavedContentEntry savedContentEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,SavedContentEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SavedContentEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SavedContentEntry update(SavedContentEntry savedContentEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SavedContentEntry update(SavedContentEntry savedContentEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SavedContentEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SavedContentEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByUuid_PrevAndNext(long savedContentEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static SavedContentEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSavedContentEntryException
NoSuchSavedContentEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching saved content entry could not be foundpublic static SavedContentEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSavedContentEntryException
uuid
- the uuidgroupId
- the group IDNoSuchSavedContentEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<SavedContentEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SavedContentEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByUuid_C_PrevAndNext(long savedContentEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SavedContentEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SavedContentEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static java.util.List<SavedContentEntry> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SavedContentEntry> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static SavedContentEntry[] filterFindByGroupId_PrevAndNext(long savedContentEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<SavedContentEntry> findByUserId(long userId)
userId
- the user IDpublic static java.util.List<SavedContentEntry> findByUserId(long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByUserId_PrevAndNext(long savedContentEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entryuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByUserId(long userId)
userId
- the user IDpublic static int countByUserId(long userId)
userId
- the user IDpublic static java.util.List<SavedContentEntry> findByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static java.util.List<SavedContentEntry> findByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static java.util.List<SavedContentEntry> filterFindByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static java.util.List<SavedContentEntry> filterFindByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static SavedContentEntry[] filterFindByG_U_PrevAndNext(long savedContentEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static int countByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static int filterCountByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDpublic static java.util.List<SavedContentEntry> findByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static java.util.List<SavedContentEntry> findByU_C(long userId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByU_C_PrevAndNext(long savedContentEntryId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the current saved content entryuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static int countByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDpublic static java.util.List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByG_C_C_PrevAndNext(long savedContentEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
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 (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static java.util.List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)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
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 (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static int filterCountByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.List<SavedContentEntry> findByC_C_C(long companyId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByC_C_C_First(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry findByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByC_C_C_Last(long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saved content entry could not be foundpublic static SavedContentEntry[] findByC_C_C_PrevAndNext(long savedContentEntryId, long companyId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator) throws NoSuchSavedContentEntryException
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 (optionally null
)NoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static void removeByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static SavedContentEntry findByG_U_C_C(long groupId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException
NoSuchSavedContentEntryException
if it could not be found.groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByG_U_C_C(long groupId, long userId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching saved content entry could not be foundpublic static SavedContentEntry removeByG_U_C_C(long groupId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchSavedContentEntryException
public static int countByG_U_C_C(long groupId, long userId, long classNameId, long classPK)
groupId
- the group IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- the class pkspublic static java.util.List<SavedContentEntry> findByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SavedContentEntry findByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException
NoSuchSavedContentEntryException
if it could not be found.companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchSavedContentEntryException
- if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching saved content entry could not be foundpublic static SavedContentEntry fetchByC_U_C_C(long companyId, long userId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching saved content entry could not be foundpublic static SavedContentEntry removeByC_U_C_C(long companyId, long userId, long classNameId, long classPK) throws NoSuchSavedContentEntryException
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchSavedContentEntryException
public static int countByC_U_C_C(long companyId, long userId, long classNameId, long classPK)
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByC_U_C_C(long companyId, long userId, long classNameId, long[] classPKs)
companyId
- the company IDuserId
- the user IDclassNameId
- the class name IDclassPKs
- the class pkspublic static void cacheResult(SavedContentEntry savedContentEntry)
savedContentEntry
- the saved content entrypublic static void cacheResult(java.util.List<SavedContentEntry> savedContentEntries)
savedContentEntries
- the saved content entriespublic static SavedContentEntry create(long savedContentEntryId)
savedContentEntryId
- the primary key for the new saved content entrypublic static SavedContentEntry remove(long savedContentEntryId) throws NoSuchSavedContentEntryException
savedContentEntryId
- the primary key of the saved content entryNoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static SavedContentEntry updateImpl(SavedContentEntry savedContentEntry)
public static SavedContentEntry findByPrimaryKey(long savedContentEntryId) throws NoSuchSavedContentEntryException
NoSuchSavedContentEntryException
if it could not be found.savedContentEntryId
- the primary key of the saved content entryNoSuchSavedContentEntryException
- if a saved content entry with the primary key could not be foundpublic static SavedContentEntry fetchByPrimaryKey(long savedContentEntryId)
null
if it could not be found.savedContentEntryId
- the primary key of the saved content entrynull
if a saved content entry with the primary key could not be foundpublic static java.util.List<SavedContentEntry> findAll()
public static java.util.List<SavedContentEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
start
- the lower bound of the range of saved content entriesend
- the upper bound of the range of saved content entries (not inclusive)public static java.util.List<SavedContentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)public static java.util.List<SavedContentEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SavedContentEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SavedContentEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SavedContentEntryPersistence getPersistence()
public static void setPersistence(SavedContentEntryPersistence persistence)