Class FragmentCompositionUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(FragmentComposition fragmentComposition) Caches the fragment composition in the entity cache if it is enabled.static void
cacheResult
(List<FragmentComposition> fragmentCompositions) Caches the fragment compositions in the entity cache if it is enabled.static void
static void
clearCache
(FragmentComposition fragmentComposition) static int
countAll()
Returns the number of fragment compositions.static int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of fragment compositions where externalReferenceCode = ? and groupId = ?.static int
countByFragmentCollectionId
(long fragmentCollectionId) Returns the number of fragment compositions where fragmentCollectionId = ?.static int
countByG_FCI
(long groupId, long fragmentCollectionId) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ?.static int
countByG_FCI_LikeN
(long groupId, long fragmentCollectionId, String name) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.static int
countByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, String name, int status) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.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_FCK
(long groupId, 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
(String uuid) Returns the number of fragment compositions where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of fragment compositions where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of fragment compositions where uuid = ? and groupId = ?.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
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the fragment composition where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static FragmentComposition
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the fragment composition where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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, 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, 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, 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, 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, String fragmentCompositionKey) Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returnsnull
if it could not be found.static FragmentComposition
fetchByG_FCK
(long groupId, String fragmentCompositionKey, boolean useFinderCache) Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
FragmentComposition> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static FragmentComposition
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the fragment composition where uuid = ? and groupId = ? or returnsnull
if it could not be found.static FragmentComposition
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the fragment composition where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static FragmentComposition
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) Returns the last fragment composition in the ordered set where uuid = ?.static List<FragmentComposition>
findAll()
Returns all the fragment compositions.static List<FragmentComposition>
findAll
(int start, int end) Returns a range of all the fragment compositions.static 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 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
findByERC_G
(String externalReferenceCode, long groupId) Returns the fragment composition where externalReferenceCode = ? and groupId = ? or throws aNoSuchCompositionException
if it could not be found.static List<FragmentComposition>
findByFragmentCollectionId
(long fragmentCollectionId) Returns all the fragment compositions where fragmentCollectionId = ?.static List<FragmentComposition>
findByFragmentCollectionId
(long fragmentCollectionId, int start, int end) Returns a range of all the fragment compositions where fragmentCollectionId = ?.static 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 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
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 List<FragmentComposition>
findByG_FCI
(long groupId, long fragmentCollectionId) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ?.static 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 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 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_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 List<FragmentComposition>
findByG_FCI_LikeN
(long groupId, long fragmentCollectionId, String name) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.static List<FragmentComposition>
findByG_FCI_LikeN
(long groupId, long fragmentCollectionId, String name, int start, int end) Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.static List<FragmentComposition>
findByG_FCI_LikeN
(long groupId, long fragmentCollectionId, 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 List<FragmentComposition>
findByG_FCI_LikeN
(long groupId, long fragmentCollectionId, 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_LikeN_First
(long groupId, long fragmentCollectionId, 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, 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, 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 List<FragmentComposition>
findByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, String name, int status) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.static List<FragmentComposition>
findByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, 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 List<FragmentComposition>
findByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, 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 List<FragmentComposition>
findByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, 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 FragmentComposition
findByG_FCI_LikeN_S_First
(long groupId, long fragmentCollectionId, 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, 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, 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 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 List<FragmentComposition>
findByG_FCI_S
(long groupId, long fragmentCollectionId, int status) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.static 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 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 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 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 FragmentComposition
findByG_FCK
(long groupId, String fragmentCompositionKey) Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or throws aNoSuchCompositionException
if it could not be found.static List<FragmentComposition>
findByGroupId
(long groupId) Returns all the fragment compositions where groupId = ?.static List<FragmentComposition>
findByGroupId
(long groupId, int start, int end) Returns a range of all the fragment compositions where groupId = ?.static 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 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
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 FragmentComposition
findByPrimaryKey
(long fragmentCompositionId) Returns the fragment composition with the primary key or throws aNoSuchCompositionException
if it could not be found.static List<FragmentComposition>
findByUuid
(String uuid) Returns all the fragment compositions where uuid = ?.static List<FragmentComposition>
findByUuid
(String uuid, int start, int end) Returns a range of all the fragment compositions where uuid = ?.static List<FragmentComposition>
findByUuid
(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 List<FragmentComposition>
findByUuid
(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 List<FragmentComposition>
findByUuid_C
(String uuid, long companyId) Returns all the fragment compositions where uuid = ? and companyId = ?.static List<FragmentComposition>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the fragment compositions where uuid = ? and companyId = ?.static List<FragmentComposition>
findByUuid_C
(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 List<FragmentComposition>
findByUuid_C
(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_C_First
(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
(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, 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 FragmentComposition
findByUuid_First
(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
(String uuid, long groupId) Returns the fragment composition where uuid = ? and groupId = ? or throws aNoSuchCompositionException
if it could not be found.static FragmentComposition
findByUuid_Last
(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, 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 List<FragmentComposition>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<FragmentComposition>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<FragmentComposition>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) static FragmentComposition
remove
(long fragmentCompositionId) Removes the fragment composition with the primary key from the database.static void
Removes all the fragment compositions from the database.static FragmentComposition
removeByERC_G
(String externalReferenceCode, long groupId) Removes the fragment composition where externalReferenceCode = ? and groupId = ? from the database.static void
removeByFragmentCollectionId
(long fragmentCollectionId) Removes all the fragment compositions where fragmentCollectionId = ? from the database.static void
removeByG_FCI
(long groupId, long fragmentCollectionId) Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? from the database.static void
removeByG_FCI_LikeN
(long groupId, long fragmentCollectionId, String name) Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? from the database.static void
removeByG_FCI_LikeN_S
(long groupId, long fragmentCollectionId, 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_S
(long groupId, long fragmentCollectionId, int status) Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ? from the database.static FragmentComposition
removeByG_FCK
(long groupId, 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
(String uuid) Removes all the fragment compositions where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the fragment compositions where uuid = ? and companyId = ? from the database.static FragmentComposition
removeByUUID_G
(String uuid, long groupId) Removes the fragment composition where uuid = ? and groupId = ? from the database.static void
setPersistence
(FragmentCompositionPersistence persistence) static FragmentComposition
update
(FragmentComposition fragmentComposition) static FragmentComposition
update
(FragmentComposition fragmentComposition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentComposition
updateImpl
(FragmentComposition fragmentComposition)
-
Constructor Details
-
FragmentCompositionUtil
public FragmentCompositionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,FragmentComposition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<FragmentComposition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static FragmentComposition update(FragmentComposition fragmentComposition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the fragment compositions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching fragment compositions
-
findByUuid
Returns a range of all the fragment compositions where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)- Returns:
- the range of matching fragment compositions
-
findByUuid
public static List<FragmentComposition> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByUuid
public static List<FragmentComposition> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByUuid_First
public static FragmentComposition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByUuid_First
public static FragmentComposition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) Returns the first fragment composition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByUuid_Last
public static FragmentComposition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByUuid_Last
public static FragmentComposition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) Returns the last fragment composition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByUuid_PrevAndNext
public static FragmentComposition[] findByUuid_PrevAndNext(long fragmentCompositionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where uuid = ?.- Parameters:
fragmentCompositionId
- the primary key of the current fragment compositionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByUuid
Removes all the fragment compositions where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of fragment compositions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching fragment compositions
-
findByUUID_G
public static FragmentComposition findByUUID_G(String uuid, long groupId) throws NoSuchCompositionException Returns the fragment composition where uuid = ? and groupId = ? or throws aNoSuchCompositionException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByUUID_G
Returns the fragment composition where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
fetchByUUID_G
Returns the fragment composition where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
removeByUUID_G
public static FragmentComposition removeByUUID_G(String uuid, long groupId) throws NoSuchCompositionException Removes the fragment composition where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the fragment composition that was removed
- Throws:
NoSuchCompositionException
-
countByUUID_G
Returns the number of fragment compositions where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching fragment compositions
-
findByUuid_C
Returns all the fragment compositions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching fragment compositions
-
findByUuid_C
public static List<FragmentComposition> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the fragment compositions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByUuid_C
public static List<FragmentComposition> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByUuid_C
public static List<FragmentComposition> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByUuid_C_First
public static FragmentComposition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByUuid_C_First
public static FragmentComposition fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByUuid_C_Last
public static FragmentComposition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByUuid_C_Last
public static FragmentComposition fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByUuid_C_PrevAndNext
public static FragmentComposition[] findByUuid_C_PrevAndNext(long fragmentCompositionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where uuid = ? and companyId = ?.- Parameters:
fragmentCompositionId
- the primary key of the current fragment compositionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByUuid_C
Removes all the fragment compositions where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of fragment compositions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching fragment compositions
-
findByGroupId
Returns all the fragment compositions where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching fragment compositions
-
findByGroupId
Returns a range of all the fragment compositions where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)- Returns:
- the range of matching fragment compositions
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByGroupId_First
public static FragmentComposition findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByGroupId_Last
public static FragmentComposition findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByGroupId_PrevAndNext
public static FragmentComposition[] findByGroupId_PrevAndNext(long fragmentCompositionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ?.- Parameters:
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the fragment compositions where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of fragment compositions where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching fragment compositions
-
findByFragmentCollectionId
Returns all the fragment compositions where fragmentCollectionId = ?.- Parameters:
fragmentCollectionId
- the fragment collection ID- Returns:
- the matching fragment compositions
-
findByFragmentCollectionId
public static List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId, int start, int end) Returns a range of all the fragment compositions where fragmentCollectionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByFragmentCollectionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByFragmentCollectionId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByFragmentCollectionId_First
public static FragmentComposition findByFragmentCollectionId_First(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where fragmentCollectionId = ?.- Parameters:
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByFragmentCollectionId_First
public 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 = ?.- Parameters:
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByFragmentCollectionId_Last
public static FragmentComposition findByFragmentCollectionId_Last(long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where fragmentCollectionId = ?.- Parameters:
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByFragmentCollectionId_Last
public 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 = ?.- Parameters:
fragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByFragmentCollectionId_PrevAndNext
public static FragmentComposition[] findByFragmentCollectionId_PrevAndNext(long fragmentCompositionId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where fragmentCollectionId = ?.- Parameters:
fragmentCompositionId
- the primary key of the current fragment compositionfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByFragmentCollectionId
public static void removeByFragmentCollectionId(long fragmentCollectionId) Removes all the fragment compositions where fragmentCollectionId = ? from the database.- Parameters:
fragmentCollectionId
- the fragment collection ID
-
countByFragmentCollectionId
public static int countByFragmentCollectionId(long fragmentCollectionId) Returns the number of fragment compositions where fragmentCollectionId = ?.- Parameters:
fragmentCollectionId
- the fragment collection ID- Returns:
- the number of matching fragment compositions
-
findByG_FCI
Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection ID- Returns:
- the matching fragment compositions
-
findByG_FCI
public static List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId, int start, int end) Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByG_FCI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_First
public static FragmentComposition findByG_FCI_First(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_First
public 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_Last
public static FragmentComposition findByG_FCI_Last(long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_Last
public 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_PrevAndNext
public static FragmentComposition[] findByG_FCI_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ?.- Parameters:
fragmentCompositionId
- the primary key of the current fragment compositiongroupId
- the group IDfragmentCollectionId
- the fragment collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByG_FCI
public static void removeByG_FCI(long groupId, long fragmentCollectionId) Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? from the database.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection ID
-
countByG_FCI
public static int countByG_FCI(long groupId, long fragmentCollectionId) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection ID- Returns:
- the number of matching fragment compositions
-
findByG_FCK
public static FragmentComposition findByG_FCK(long groupId, String fragmentCompositionKey) throws NoSuchCompositionException Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or throws aNoSuchCompositionException
if it could not be found.- Parameters:
groupId
- the group IDfragmentCompositionKey
- the fragment composition key- Returns:
- the matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCK
Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDfragmentCompositionKey
- the fragment composition key- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
fetchByG_FCK
public static FragmentComposition fetchByG_FCK(long groupId, String fragmentCompositionKey, boolean useFinderCache) Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDfragmentCompositionKey
- the fragment composition keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
removeByG_FCK
public static FragmentComposition removeByG_FCK(long groupId, String fragmentCompositionKey) throws NoSuchCompositionException Removes the fragment composition where groupId = ? and fragmentCompositionKey = ? from the database.- Parameters:
groupId
- the group IDfragmentCompositionKey
- the fragment composition key- Returns:
- the fragment composition that was removed
- Throws:
NoSuchCompositionException
-
countByG_FCK
Returns the number of fragment compositions where groupId = ? and fragmentCompositionKey = ?.- Parameters:
groupId
- the group IDfragmentCompositionKey
- the fragment composition key- Returns:
- the number of matching fragment compositions
-
findByG_FCI_LikeN
public static List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, String name) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the name- Returns:
- the matching fragment compositions
-
findByG_FCI_LikeN
public static List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, String name, int start, int end) Returns a range of all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByG_FCI_LikeN
public static List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_LikeN
public static List<FragmentComposition> findByG_FCI_LikeN(long groupId, long fragmentCollectionId, 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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_LikeN_First
public static FragmentComposition findByG_FCI_LikeN_First(long groupId, long fragmentCollectionId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_LikeN_First
public static FragmentComposition fetchByG_FCI_LikeN_First(long groupId, long fragmentCollectionId, 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 ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_LikeN_Last
public static FragmentComposition findByG_FCI_LikeN_Last(long groupId, long fragmentCollectionId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_LikeN_Last
public static FragmentComposition fetchByG_FCI_LikeN_Last(long groupId, long fragmentCollectionId, 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 ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_LikeN_PrevAndNext
public static FragmentComposition[] findByG_FCI_LikeN_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByG_FCI_LikeN
Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? from the database.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the name
-
countByG_FCI_LikeN
Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the name- Returns:
- the number of matching fragment compositions
-
findByG_FCI_S
public static List<FragmentComposition> findByG_FCI_S(long groupId, long fragmentCollectionId, int status) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the status- Returns:
- the matching fragment compositions
-
findByG_FCI_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByG_FCI_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_S_First
public static FragmentComposition findByG_FCI_S_First(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_S_First
public 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_S_Last
public static FragmentComposition findByG_FCI_S_Last(long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_S_Last
public 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_S_PrevAndNext
public static FragmentComposition[] findByG_FCI_S_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByG_FCI_S
public 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.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the status
-
countByG_FCI_S
public static int countByG_FCI_S(long groupId, long fragmentCollectionId, int status) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDstatus
- the status- Returns:
- the number of matching fragment compositions
-
findByG_FCI_LikeN_S
public static List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, String name, int status) Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the status- Returns:
- the matching fragment compositions
-
findByG_FCI_LikeN_S
public static List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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)- Returns:
- the range of matching fragment compositions
-
findByG_FCI_LikeN_S
public static List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_LikeN_S
public static List<FragmentComposition> findByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching fragment compositions
-
findByG_FCI_LikeN_S_First
public static FragmentComposition findByG_FCI_LikeN_S_First(long groupId, long fragmentCollectionId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the first fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_LikeN_S_First
public static FragmentComposition fetchByG_FCI_LikeN_S_First(long groupId, long fragmentCollectionId, 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_LikeN_S_Last
public static FragmentComposition findByG_FCI_LikeN_S_Last(long groupId, long fragmentCollectionId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the last fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByG_FCI_LikeN_S_Last
public static FragmentComposition fetchByG_FCI_LikeN_S_Last(long groupId, long fragmentCollectionId, 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 = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching fragment composition, or
null
if a matching fragment composition could not be found
-
findByG_FCI_LikeN_S_PrevAndNext
public static FragmentComposition[] findByG_FCI_LikeN_S_PrevAndNext(long fragmentCompositionId, long groupId, long fragmentCollectionId, String name, int status, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) throws NoSuchCompositionException Returns the fragment compositions before and after the current fragment composition in the ordered set where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
removeByG_FCI_LikeN_S
public static void removeByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, String name, int status) Removes all the fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ? from the database.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the status
-
countByG_FCI_LikeN_S
public static int countByG_FCI_LikeN_S(long groupId, long fragmentCollectionId, String name, int status) Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ? and status = ?.- Parameters:
groupId
- the group IDfragmentCollectionId
- the fragment collection IDname
- the namestatus
- the status- Returns:
- the number of matching fragment compositions
-
findByERC_G
public static FragmentComposition findByERC_G(String externalReferenceCode, long groupId) throws NoSuchCompositionException Returns the fragment composition where externalReferenceCode = ? and groupId = ? or throws aNoSuchCompositionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching fragment composition
- Throws:
NoSuchCompositionException
- if a matching fragment composition could not be foundNoSuchCompositionException
-
fetchByERC_G
Returns the fragment composition where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
fetchByERC_G
public static FragmentComposition fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the fragment composition where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching fragment composition, or
null
if a matching fragment composition could not be found
-
removeByERC_G
public static FragmentComposition removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchCompositionException Removes the fragment composition where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the fragment composition that was removed
- Throws:
NoSuchCompositionException
-
countByERC_G
Returns the number of fragment compositions where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching fragment compositions
-
cacheResult
Caches the fragment composition in the entity cache if it is enabled.- Parameters:
fragmentComposition
- the fragment composition
-
cacheResult
Caches the fragment compositions in the entity cache if it is enabled.- Parameters:
fragmentCompositions
- the fragment compositions
-
create
Creates a new fragment composition with the primary key. Does not add the fragment composition to the database.- Parameters:
fragmentCompositionId
- the primary key for the new fragment composition- Returns:
- the new fragment composition
-
remove
public static FragmentComposition remove(long fragmentCompositionId) throws NoSuchCompositionException Removes the fragment composition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fragmentCompositionId
- the primary key of the fragment composition- Returns:
- the fragment composition that was removed
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
updateImpl
-
findByPrimaryKey
public static FragmentComposition findByPrimaryKey(long fragmentCompositionId) throws NoSuchCompositionException Returns the fragment composition with the primary key or throws aNoSuchCompositionException
if it could not be found.- Parameters:
fragmentCompositionId
- the primary key of the fragment composition- Returns:
- the fragment composition
- Throws:
NoSuchCompositionException
- if a fragment composition with the primary key could not be foundNoSuchCompositionException
-
fetchByPrimaryKey
Returns the fragment composition with the primary key or returnsnull
if it could not be found.- Parameters:
fragmentCompositionId
- the primary key of the fragment composition- Returns:
- the fragment composition, or
null
if a fragment composition with the primary key could not be found
-
findAll
Returns all the fragment compositions.- Returns:
- the fragment compositions
-
findAll
Returns a range of all the fragment compositions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
start
- the lower bound of the range of fragment compositionsend
- the upper bound of the range of fragment compositions (not inclusive)- Returns:
- the range of fragment compositions
-
findAll
public static List<FragmentComposition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentComposition> orderByComparator) Returns an ordered range of all the fragment compositions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of fragment compositions
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromFragmentCompositionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of fragment compositions
-
removeAll
public static void removeAll()Removes all the fragment compositions from the database. -
countAll
public static int countAll()Returns the number of fragment compositions.- Returns:
- the number of fragment compositions
-
getPersistence
-
setPersistence
-