Class FragmentCompositionUtil

java.lang.Object
com.liferay.fragment.service.persistence.FragmentCompositionUtil

public class FragmentCompositionUtil extends Object
The persistence utility for the fragment composition service. This utility wraps 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 Details

    • FragmentCompositionUtil

      public FragmentCompositionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(FragmentComposition fragmentComposition)
      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

      public static FragmentComposition update(FragmentComposition fragmentComposition)
      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

      public static List<FragmentComposition> findByUuid(String uuid)
      Returns all the fragment compositions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching fragment compositions
    • findByUuid

      public static List<FragmentComposition> findByUuid(String uuid, int start, int end)
      Returns a range of all the fragment compositions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the fragment compositions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchCompositionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • fetchByUUID_G

      public static FragmentComposition fetchByUUID_G(String uuid, long groupId)
      Returns the fragment composition where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching fragment composition, or null if a matching fragment composition could not be found
    • fetchByUUID_G

      public static FragmentComposition fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the fragment composition where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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 uuid
      groupId - the group ID
      Returns:
      the fragment composition that was removed
      Throws:
      NoSuchCompositionException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of fragment compositions where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching fragment compositions
    • findByUuid_C

      public static List<FragmentComposition> findByUuid_C(String uuid, long companyId)
      Returns all the fragment compositions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the fragment compositions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of fragment compositions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching fragment compositions
    • findByGroupId

      public static List<FragmentComposition> findByGroupId(long groupId)
      Returns all the fragment compositions where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching fragment compositions
    • findByGroupId

      public static List<FragmentComposition> findByGroupId(long groupId, int start, int end)
      Returns a range of all the fragment compositions where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • 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

      public static List<FragmentComposition> findByFragmentCollectionId(long fragmentCollectionId)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • 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

      public static List<FragmentComposition> findByG_FCI(long groupId, long fragmentCollectionId)
      Returns all the fragment compositions where groupId = ? and fragmentCollectionId = ?.
      Parameters:
      groupId - the group ID
      fragmentCollectionId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - 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 ID
      fragmentCollectionId - 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 a NoSuchCompositionException if it could not be found.
      Parameters:
      groupId - the group ID
      fragmentCompositionKey - the fragment composition key
      Returns:
      the matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • fetchByG_FCK

      public static FragmentComposition fetchByG_FCK(long groupId, String fragmentCompositionKey)
      Returns the fragment composition where groupId = ? and fragmentCompositionKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      fragmentCompositionKey - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      fragmentCompositionKey - the fragment composition key
      useFinderCache - 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 ID
      fragmentCompositionKey - the fragment composition key
      Returns:
      the fragment composition that was removed
      Throws:
      NoSuchCompositionException
    • countByG_FCK

      public static int countByG_FCK(long groupId, String fragmentCompositionKey)
      Returns the number of fragment compositions where groupId = ? and fragmentCompositionKey = ?.
      Parameters:
      groupId - the group ID
      fragmentCompositionKey - 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 ID
      fragmentCollectionId - the fragment collection ID
      name - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • removeByG_FCI_LikeN

      public 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.
      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
    • countByG_FCI_LikeN

      public static int countByG_FCI_LikeN(long groupId, long fragmentCollectionId, String name)
      Returns the number of fragment compositions where groupId = ? and fragmentCollectionId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - 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 ID
      fragmentCollectionId - the fragment collection ID
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      status - 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 ID
      fragmentCollectionId - the fragment collection ID
      status - 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 composition
      groupId - the group ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment composition
      Throws:
      NoSuchCompositionException - if a fragment composition with the primary key could not be found
      NoSuchCompositionException
    • 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - 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 ID
      fragmentCollectionId - the fragment collection ID
      name - the name
      status - 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 a NoSuchCompositionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching fragment composition
      Throws:
      NoSuchCompositionException - if a matching fragment composition could not be found
      NoSuchCompositionException
    • fetchByERC_G

      public static FragmentComposition fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the fragment composition where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - 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 code
      groupId - the group ID
      Returns:
      the fragment composition that was removed
      Throws:
      NoSuchCompositionException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of fragment compositions where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching fragment compositions
    • cacheResult

      public static void cacheResult(FragmentComposition fragmentComposition)
      Caches the fragment composition in the entity cache if it is enabled.
      Parameters:
      fragmentComposition - the fragment composition
    • cacheResult

      public static void cacheResult(List<FragmentComposition> fragmentCompositions)
      Caches the fragment compositions in the entity cache if it is enabled.
      Parameters:
      fragmentCompositions - the fragment compositions
    • create

      public static FragmentComposition create(long fragmentCompositionId)
      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 found
      NoSuchCompositionException
    • updateImpl

      public static FragmentComposition updateImpl(FragmentComposition fragmentComposition)
    • findByPrimaryKey

      public static FragmentComposition findByPrimaryKey(long fragmentCompositionId) throws NoSuchCompositionException
      Returns the fragment composition with the primary key or throws a NoSuchCompositionException 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 found
      NoSuchCompositionException
    • fetchByPrimaryKey

      public static FragmentComposition fetchByPrimaryKey(long fragmentCompositionId)
      Returns the fragment composition with the primary key or returns null 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

      public static List<FragmentComposition> findAll()
      Returns all the fragment compositions.
      Returns:
      the fragment compositions
    • findAll

      public static List<FragmentComposition> findAll(int start, int end)
      Returns a range of all the fragment compositions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment compositions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from FragmentCompositionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment compositions
      end - the upper bound of the range of fragment compositions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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

      public static FragmentCompositionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(FragmentCompositionPersistence persistence)