public class FragmentCompositionUtil
extends java.lang.Object
com.liferay.fragment.service.persistence.impl.FragmentCompositionPersistenceImpl
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
FragmentCompositionPersistence
Constructor and Description |
---|
FragmentCompositionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(FragmentComposition fragmentComposition)
Caches the fragment composition in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<FragmentComposition> fragmentCompositions)
Caches the fragment compositions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(FragmentComposition fragmentComposition) |
static int |
countAll()
Returns the number of fragment compositions.
|
static int |
countByFragmentCollectionId(long fragmentCollectionId)
Returns the number of fragment compositions where fragmentCollectionId = ?.
|
static int |
countByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status)
Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static int |
countByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name)
Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static int |
countByG_FCI_S(long groupId,
long fragmentCollectionId,
int status)
Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static int |
countByG_FCI(long groupId,
long fragmentCollectionId)
Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ?.
|
static int |
countByG_FCK(long groupId,
java.lang.String fragmentCompositionKey)
Returns the number of fragment compositions where groupId = ? and fragmentCompositionKey = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of fragment compositions where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of fragment compositions where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of fragment compositions where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of fragment compositions where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static FragmentComposition |
create(long fragmentCompositionId)
Creates a new fragment composition with the primary key.
|
static FragmentComposition |
fetchByFragmentCollectionId_First(long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where fragmentCollectionId = ?.
|
static FragmentComposition |
fetchByFragmentCollectionId_Last(long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where fragmentCollectionId = ?.
|
static FragmentComposition |
fetchByG_FCI_First(long groupId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
fetchByG_FCI_Last(long groupId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
fetchByG_FCI_LikeN_First(long groupId,
long fragmentCollectionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition |
fetchByG_FCI_LikeN_Last(long groupId,
long fragmentCollectionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition |
fetchByG_FCI_LikeN_S_First(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static FragmentComposition |
fetchByG_FCI_LikeN_S_Last(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static FragmentComposition |
fetchByG_FCI_S_First(long groupId,
long fragmentCollectionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static FragmentComposition |
fetchByG_FCI_S_Last(long groupId,
long fragmentCollectionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static FragmentComposition |
fetchByG_FCK(long groupId,
java.lang.String fragmentCompositionKey)
Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returns
null if it could not be found. |
static FragmentComposition |
fetchByG_FCK(long groupId,
java.lang.String fragmentCompositionKey,
boolean useFinderCache)
Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static FragmentComposition |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ?.
|
static FragmentComposition |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ?.
|
static FragmentComposition |
fetchByPrimaryKey(long fragmentCompositionId)
Returns the fragment composition with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,FragmentComposition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static FragmentComposition |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where uuid = ? and companyId = ?.
|
static FragmentComposition |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where uuid = ? and companyId = ?.
|
static FragmentComposition |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where uuid = ?.
|
static FragmentComposition |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the fragment composition where uuid = ? and groupId = ? or returns
null if it could not be found. |
static FragmentComposition |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the fragment composition where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static FragmentComposition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where uuid = ?.
|
static java.util.List<FragmentComposition> |
findAll()
Returns all the fragment compositions.
|
static java.util.List<FragmentComposition> |
findAll(int start,
int end)
Returns a range of all the fragment compositions.
|
static java.util.List<FragmentComposition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions.
|
static java.util.List<FragmentComposition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions.
|
static FragmentComposition |
findByFragmentCollectionId_First(long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where fragmentCollectionId = ?.
|
static FragmentComposition |
findByFragmentCollectionId_Last(long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where fragmentCollectionId = ?.
|
static FragmentComposition[] |
findByFragmentCollectionId_PrevAndNext(long fragmentCompositionId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByFragmentCollectionId(long fragmentCollectionId)
Returns all the fragment compositions where fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByFragmentCollectionId(long fragmentCollectionId,
int start,
int end)
Returns a range of all the fragment compositions where fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByFragmentCollectionId(long fragmentCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByFragmentCollectionId(long fragmentCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where fragmentCollectionId = ?.
|
static FragmentComposition |
findByG_FCI_First(long groupId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
findByG_FCI_Last(long groupId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
findByG_FCI_LikeN_First(long groupId,
long fragmentCollectionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition |
findByG_FCI_LikeN_Last(long groupId,
long fragmentCollectionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition[] |
findByG_FCI_LikeN_PrevAndNext(long fragmentCompositionId,
long groupId,
long fragmentCollectionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition |
findByG_FCI_LikeN_S_First(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static FragmentComposition |
findByG_FCI_LikeN_S_Last(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static FragmentComposition[] |
findByG_FCI_LikeN_S_PrevAndNext(long fragmentCompositionId,
long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status)
Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
int start,
int end)
Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name)
Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name,
int start,
int end)
Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
|
static FragmentComposition[] |
findByG_FCI_PrevAndNext(long fragmentCompositionId,
long groupId,
long fragmentCollectionId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
findByG_FCI_S_First(long groupId,
long fragmentCollectionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static FragmentComposition |
findByG_FCI_S_Last(long groupId,
long fragmentCollectionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static FragmentComposition[] |
findByG_FCI_S_PrevAndNext(long fragmentCompositionId,
long groupId,
long fragmentCollectionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_S(long groupId,
long fragmentCollectionId,
int status)
Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_S(long groupId,
long fragmentCollectionId,
int status,
int start,
int end)
Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_S(long groupId,
long fragmentCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI_S(long groupId,
long fragmentCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI(long groupId,
long fragmentCollectionId)
Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI(long groupId,
long fragmentCollectionId,
int start,
int end)
Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI(long groupId,
long fragmentCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ?.
|
static java.util.List<FragmentComposition> |
findByG_FCI(long groupId,
long fragmentCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where groupId = ? and fragmentCollectionId = ?.
|
static FragmentComposition |
findByG_FCK(long groupId,
java.lang.String fragmentCompositionKey)
Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or throws a
NoSuchCompositionException if it could not be found. |
static FragmentComposition |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where groupId = ?.
|
static FragmentComposition |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where groupId = ?.
|
static FragmentComposition[] |
findByGroupId_PrevAndNext(long fragmentCompositionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ?.
|
static java.util.List<FragmentComposition> |
findByGroupId(long groupId)
Returns all the fragment compositions where groupId = ?.
|
static java.util.List<FragmentComposition> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the fragment compositions where groupId = ?.
|
static java.util.List<FragmentComposition> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where groupId = ?.
|
static java.util.List<FragmentComposition> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where groupId = ?.
|
static FragmentComposition |
findByPrimaryKey(long fragmentCompositionId)
Returns the fragment composition with the primary key or throws a
NoSuchCompositionException if it could not be found. |
static FragmentComposition |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where uuid = ? and companyId = ?.
|
static FragmentComposition |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where uuid = ? and companyId = ?.
|
static FragmentComposition[] |
findByUuid_C_PrevAndNext(long fragmentCompositionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<FragmentComposition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the fragment compositions where uuid = ? and companyId = ?.
|
static java.util.List<FragmentComposition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the fragment compositions where uuid = ? and companyId = ?.
|
static java.util.List<FragmentComposition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where uuid = ? and companyId = ?.
|
static java.util.List<FragmentComposition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where uuid = ? and companyId = ?.
|
static FragmentComposition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the first fragment composition in the ordered set where uuid = ?.
|
static FragmentComposition |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the fragment composition where uuid = ? and groupId = ? or throws a
NoSuchCompositionException if it could not be found. |
static FragmentComposition |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the last fragment composition in the ordered set where uuid = ?.
|
static FragmentComposition[] |
findByUuid_PrevAndNext(long fragmentCompositionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns the fragment compositions before and after the current fragment composition in the ordered set where uuid = ?.
|
static java.util.List<FragmentComposition> |
findByUuid(java.lang.String uuid)
Returns all the fragment compositions where uuid = ?.
|
static java.util.List<FragmentComposition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the fragment compositions where uuid = ?.
|
static java.util.List<FragmentComposition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
Returns an ordered range of all the fragment compositions where uuid = ?.
|
static java.util.List<FragmentComposition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the fragment compositions where uuid = ?.
|
static java.util.List<FragmentComposition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<FragmentComposition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<FragmentComposition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) |
static FragmentCompositionPersistence |
getPersistence() |
static FragmentComposition |
remove(long fragmentCompositionId)
Removes the fragment composition with the primary key from the database.
|
static void |
removeAll()
Removes all the fragment compositions from the database.
|
static void |
removeByFragmentCollectionId(long fragmentCollectionId)
Removes all the fragment compositions where fragmentCollectionId = ? from the database.
|
static void |
removeByG_FCI_LikeN_S(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status)
Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ? from the database.
|
static void |
removeByG_FCI_LikeN(long groupId,
long fragmentCollectionId,
java.lang.String name)
Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? from the database.
|
static void |
removeByG_FCI_S(long groupId,
long fragmentCollectionId,
int status)
Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ? from the database.
|
static void |
removeByG_FCI(long groupId,
long fragmentCollectionId)
Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? from the database.
|
static FragmentComposition |
removeByG_FCK(long groupId,
java.lang.String fragmentCompositionKey)
Removes the fragment composition where groupId = ? and fragmentCompositionKey = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the fragment compositions where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the fragment compositions where uuid = ? and companyId = ? from the database.
|
static FragmentComposition |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the fragment composition where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the fragment compositions where uuid = ? from the database.
|
static FragmentComposition |
update(FragmentComposition fragmentComposition) |
static FragmentComposition |
update(FragmentComposition fragmentComposition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentComposition |
updateImpl(FragmentComposition fragmentComposition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(FragmentComposition fragmentComposition)
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,FragmentComposition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static FragmentComposition update(FragmentComposition fragmentComposition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static FragmentComposition update(FragmentComposition fragmentComposition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<FragmentComposition> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByUuid_PrevAndNext(long fragmentCompositionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition 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 FragmentComposition findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCompositionException
NoSuchCompositionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition 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 fragment composition could not be foundpublic static FragmentComposition 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 fragment composition could not be foundpublic static FragmentComposition removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCompositionException
uuid
- the uuidgroupId
- the group IDNoSuchCompositionException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<FragmentComposition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByUuid_C_PrevAndNext(long fragmentCompositionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition 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<FragmentComposition> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByGroupId_PrevAndNext(long fragmentCompositionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition 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 java.util.List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId)
fragmentCollectionId
- the fragment collection IDpublic static java.util.List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId, 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 FragmentCompositionModelImpl
.
fragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
fragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
fragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByFragmentCollectionId_First(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByFragmentCollectionId_First(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByFragmentCollectionId_Last(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByFragmentCollectionId_Last(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByFragmentCollectionId_PrevAndNext(long fragmentCompositionId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositionfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static void removeByFragmentCollectionId(long fragmentCollectionId)
fragmentCollectionId
- the fragment collection IDpublic static int countByFragmentCollectionId(long fragmentCollectionId)
fragmentCollectionId
- the fragment collection IDpublic static java.util.List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDpublic static java.util.List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId, 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByG_FCI_First(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_First(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByG_FCI_Last(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_Last(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByG_FCI_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static void removeByG_FCI(long groupId, long fragmentCollectionId)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDpublic static int countByG_FCI(long groupId, long fragmentCollectionId)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDpublic static FragmentComposition findByG_FCK(long groupId, java.lang.String fragmentCompositionKey) throws NoSuchCompositionException
NoSuchCompositionException
if it could not be found.groupId
- the group IDfragmentCompositionKey
- the fragment composition keyNoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCK(long groupId, java.lang.String fragmentCompositionKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDfragmentCompositionKey
- the fragment composition keynull
if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCK(long groupId, java.lang.String fragmentCompositionKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDfragmentCompositionKey
- the fragment composition keyuseFinderCache
- whether to use the finder cachenull
if a matching fragment composition could not be foundpublic static FragmentComposition removeByG_FCK(long groupId, java.lang.String fragmentCompositionKey) throws NoSuchCompositionException
groupId
- the group IDfragmentCompositionKey
- the fragment composition keyNoSuchCompositionException
public static int countByG_FCK(long groupId, java.lang.String fragmentCompositionKey)
groupId
- the group IDfragmentCompositionKey
- the fragment composition keypublic static java.util.List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namepublic static java.util.List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name, 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByG_FCI_LikeN_First(long groupId, long fragmentCollectionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_LikeN_First(long groupId, long fragmentCollectionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByG_FCI_LikeN_Last(long groupId, long fragmentCollectionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_LikeN_Last(long groupId, long fragmentCollectionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByG_FCI_LikeN_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static void removeByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namepublic static int countByG_FCI_LikeN(long groupId, long fragmentCollectionId, java.lang.String name)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namepublic static java.util.List<FragmentComposition> findByG_FCI_S(long groupId, long fragmentCollectionId, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statuspublic static java.util.List<FragmentComposition> findByG_FCI_S(long groupId, long fragmentCollectionId, int status, 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByG_FCI_S(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByG_FCI_S(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByG_FCI_S_First(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_S_First(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByG_FCI_S_Last(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_S_Last(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByG_FCI_S_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static void removeByG_FCI_S(long groupId, long fragmentCollectionId, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statuspublic static int countByG_FCI_S(long groupId, long fragmentCollectionId, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statuspublic static java.util.List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statuspublic static java.util.List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status, 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static FragmentComposition findByG_FCI_LikeN_S_First(long groupId, long fragmentCollectionId, java.lang.String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_LikeN_S_First(long groupId, long fragmentCollectionId, java.lang.String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition findByG_FCI_LikeN_S_Last(long groupId, long fragmentCollectionId, java.lang.String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a matching fragment composition could not be foundpublic static FragmentComposition fetchByG_FCI_LikeN_S_Last(long groupId, long fragmentCollectionId, java.lang.String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching fragment composition could not be foundpublic static FragmentComposition[] findByG_FCI_LikeN_S_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, java.lang.String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static void removeByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statuspublic static int countByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, java.lang.String name, int status)
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statuspublic static void cacheResult(FragmentComposition fragmentComposition)
fragmentComposition
- the fragment compositionpublic static void cacheResult(java.util.List<FragmentComposition> fragmentCompositions)
fragmentCompositions
- the fragment compositionspublic static FragmentComposition create(long fragmentCompositionId)
fragmentCompositionId
- the primary key for the new fragment compositionpublic static FragmentComposition remove(long fragmentCompositionId) throws NoSuchCompositionException
fragmentCompositionId
- the primary key of the fragment compositionNoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static FragmentComposition updateImpl(FragmentComposition fragmentComposition)
public static FragmentComposition findByPrimaryKey(long fragmentCompositionId) throws NoSuchCompositionException
NoSuchCompositionException
if it could not be found.fragmentCompositionId
- the primary key of the fragment compositionNoSuchCompositionException
- if a fragment composition with the primary key could not be foundpublic static FragmentComposition fetchByPrimaryKey(long fragmentCompositionId)
null
if it could not be found.fragmentCompositionId
- the primary key of the fragment compositionnull
if a fragment composition with the primary key could not be foundpublic static java.util.List<FragmentComposition> findAll()
public static java.util.List<FragmentComposition> 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 FragmentCompositionModelImpl
.
start
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)public static java.util.List<FragmentComposition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
start
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FragmentComposition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> 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 FragmentCompositionModelImpl
.
start
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (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 FragmentCompositionPersistence getPersistence()