Interface FragmentCollectionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentCollection>

@ProviderType public interface FragmentCollectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<FragmentCollection>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<FragmentCollection>
The persistence interface for the fragment collection service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<FragmentCollection> findByUuid(String uuid)
      Returns all the fragment collections where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching fragment collections
    • findByUuid

      List<FragmentCollection> findByUuid(String uuid, int start, int end)
      Returns a range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByUuid

      List<FragmentCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByUuid

      List<FragmentCollection> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • findByUuid_First

      FragmentCollection findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByUuid_First

      FragmentCollection fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the first fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByUuid_Last

      FragmentCollection findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByUuid_Last

      FragmentCollection fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the last fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByUuid_PrevAndNext

      FragmentCollection[] findByUuid_PrevAndNext(long fragmentCollectionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ?.
      Parameters:
      fragmentCollectionId - the primary key of the current fragment collection
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment collection
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of fragment collections where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching fragment collections
    • findByUUID_G

      FragmentCollection findByUUID_G(String uuid, long groupId) throws NoSuchCollectionException
      Returns the fragment collection where uuid = ? and groupId = ? or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching fragment collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByUUID_G

      FragmentCollection fetchByUUID_G(String uuid, long groupId)
      Returns the fragment collection 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 collection, or null if a matching fragment collection could not be found
    • fetchByUUID_G

      FragmentCollection fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the fragment collection 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 collection, or null if a matching fragment collection could not be found
    • removeByUUID_G

      FragmentCollection removeByUUID_G(String uuid, long groupId) throws NoSuchCollectionException
      Removes the fragment collection where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the fragment collection that was removed
      Throws:
      NoSuchCollectionException
    • countByUUID_G

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

      List<FragmentCollection> findByUuid_C(String uuid, long companyId)
      Returns all the fragment collections where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching fragment collections
    • findByUuid_C

      List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByUuid_C

      List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByUuid_C

      List<FragmentCollection> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • findByUuid_C_First

      FragmentCollection findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByUuid_C_First

      FragmentCollection fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the first fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByUuid_C_Last

      FragmentCollection findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByUuid_C_Last

      FragmentCollection fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the last fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByUuid_C_PrevAndNext

      FragmentCollection[] findByUuid_C_PrevAndNext(long fragmentCollectionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the fragment collections before and after the current fragment collection in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      fragmentCollectionId - the primary key of the current fragment collection
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment collection
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • removeByUuid_C

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

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

      List<FragmentCollection> findByGroupId(long groupId)
      Returns all the fragment collections where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long groupId, int start, int end)
      Returns a range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • findByGroupId_First

      FragmentCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByGroupId_First

      FragmentCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the first fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByGroupId_Last

      FragmentCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last fragment collection 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 collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByGroupId_Last

      FragmentCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the last fragment collection 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 collection, or null if a matching fragment collection could not be found
    • findByGroupId_PrevAndNext

      FragmentCollection[] findByGroupId_PrevAndNext(long fragmentCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ?.
      Parameters:
      fragmentCollectionId - the primary key of the current fragment collection
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment collection
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • findByGroupId

      List<FragmentCollection> findByGroupId(long[] groupIds)
      Returns all the fragment collections where groupId = any ?.

      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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      Returns:
      the matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the fragment collections where groupId = any ?.

      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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections where groupId = any ?.

      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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByGroupId

      List<FragmentCollection> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections where groupId = ?, optionally using the finder cache.

      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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the fragment collections where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of fragment collections where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching fragment collections
    • countByGroupId

      int countByGroupId(long[] groupIds)
      Returns the number of fragment collections where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching fragment collections
    • findByG_FCK

      FragmentCollection findByG_FCK(long groupId, String fragmentCollectionKey) throws NoSuchCollectionException
      Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      groupId - the group ID
      fragmentCollectionKey - the fragment collection key
      Returns:
      the matching fragment collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByG_FCK

      FragmentCollection fetchByG_FCK(long groupId, String fragmentCollectionKey)
      Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      fragmentCollectionKey - the fragment collection key
      Returns:
      the matching fragment collection, or null if a matching fragment collection could not be found
    • fetchByG_FCK

      FragmentCollection fetchByG_FCK(long groupId, String fragmentCollectionKey, boolean useFinderCache)
      Returns the fragment collection where groupId = ? and fragmentCollectionKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      fragmentCollectionKey - the fragment collection key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching fragment collection, or null if a matching fragment collection could not be found
    • removeByG_FCK

      FragmentCollection removeByG_FCK(long groupId, String fragmentCollectionKey) throws NoSuchCollectionException
      Removes the fragment collection where groupId = ? and fragmentCollectionKey = ? from the database.
      Parameters:
      groupId - the group ID
      fragmentCollectionKey - the fragment collection key
      Returns:
      the fragment collection that was removed
      Throws:
      NoSuchCollectionException
    • countByG_FCK

      int countByG_FCK(long groupId, String fragmentCollectionKey)
      Returns the number of fragment collections where groupId = ? and fragmentCollectionKey = ?.
      Parameters:
      groupId - the group ID
      fragmentCollectionKey - the fragment collection key
      Returns:
      the number of matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long groupId, String name)
      Returns all the fragment collections where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long groupId, String name, int start, int end)
      Returns a range of all the fragment collections where groupId = ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections where groupId = ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections where groupId = ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupId - the group ID
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • findByG_LikeN_First

      FragmentCollection findByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByG_LikeN_First

      FragmentCollection fetchByG_LikeN_First(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the first fragment collection in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching fragment collection, or null if a matching fragment collection could not be found
    • findByG_LikeN_Last

      FragmentCollection findByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByG_LikeN_Last

      FragmentCollection fetchByG_LikeN_Last(long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns the last fragment collection in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching fragment collection, or null if a matching fragment collection could not be found
    • findByG_LikeN_PrevAndNext

      FragmentCollection[] findByG_LikeN_PrevAndNext(long fragmentCollectionId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator) throws NoSuchCollectionException
      Returns the fragment collections before and after the current fragment collection in the ordered set where groupId = ? and name LIKE ?.
      Parameters:
      fragmentCollectionId - the primary key of the current fragment collection
      groupId - the group ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next fragment collection
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long[] groupIds, String name)
      Returns all the fragment collections where groupId = any ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end)
      Returns a range of all the fragment collections where groupId = any ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections where groupId = any ? 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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching fragment collections
    • findByG_LikeN

      List<FragmentCollection> findByG_LikeN(long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections where groupId = ? and name LIKE ?, optionally using the finder cache.

      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 FragmentCollectionModelImpl.

      Parameters:
      groupIds - the group IDs
      name - the name
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • removeByG_LikeN

      void removeByG_LikeN(long groupId, String name)
      Removes all the fragment collections where groupId = ? and name LIKE ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
    • countByG_LikeN

      int countByG_LikeN(long groupId, String name)
      Returns the number of fragment collections where groupId = ? and name LIKE ?.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the number of matching fragment collections
    • countByG_LikeN

      int countByG_LikeN(long[] groupIds, String name)
      Returns the number of fragment collections where groupId = any ? and name LIKE ?.
      Parameters:
      groupIds - the group IDs
      name - the name
      Returns:
      the number of matching fragment collections
    • findByERC_G

      FragmentCollection findByERC_G(String externalReferenceCode, long groupId) throws NoSuchCollectionException
      Returns the fragment collection where externalReferenceCode = ? and groupId = ? or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching fragment collection
      Throws:
      NoSuchCollectionException - if a matching fragment collection could not be found
    • fetchByERC_G

      FragmentCollection fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the fragment collection 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 collection, or null if a matching fragment collection could not be found
    • fetchByERC_G

      FragmentCollection fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the fragment collection 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 collection, or null if a matching fragment collection could not be found
    • removeByERC_G

      FragmentCollection removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchCollectionException
      Removes the fragment collection where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the fragment collection that was removed
      Throws:
      NoSuchCollectionException
    • countByERC_G

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

      void cacheResult(FragmentCollection fragmentCollection)
      Caches the fragment collection in the entity cache if it is enabled.
      Parameters:
      fragmentCollection - the fragment collection
    • cacheResult

      void cacheResult(List<FragmentCollection> fragmentCollections)
      Caches the fragment collections in the entity cache if it is enabled.
      Parameters:
      fragmentCollections - the fragment collections
    • create

      FragmentCollection create(long fragmentCollectionId)
      Creates a new fragment collection with the primary key. Does not add the fragment collection to the database.
      Parameters:
      fragmentCollectionId - the primary key for the new fragment collection
      Returns:
      the new fragment collection
    • remove

      FragmentCollection remove(long fragmentCollectionId) throws NoSuchCollectionException
      Removes the fragment collection with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      fragmentCollectionId - the primary key of the fragment collection
      Returns:
      the fragment collection that was removed
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • updateImpl

      FragmentCollection updateImpl(FragmentCollection fragmentCollection)
    • findByPrimaryKey

      FragmentCollection findByPrimaryKey(long fragmentCollectionId) throws NoSuchCollectionException
      Returns the fragment collection with the primary key or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      fragmentCollectionId - the primary key of the fragment collection
      Returns:
      the fragment collection
      Throws:
      NoSuchCollectionException - if a fragment collection with the primary key could not be found
    • fetchByPrimaryKey

      FragmentCollection fetchByPrimaryKey(long fragmentCollectionId)
      Returns the fragment collection with the primary key or returns null if it could not be found.
      Parameters:
      fragmentCollectionId - the primary key of the fragment collection
      Returns:
      the fragment collection, or null if a fragment collection with the primary key could not be found
    • findAll

      Returns all the fragment collections.
      Returns:
      the fragment collections
    • findAll

      List<FragmentCollection> findAll(int start, int end)
      Returns a range of all the fragment collections.

      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 FragmentCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      Returns:
      the range of fragment collections
    • findAll

      List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator)
      Returns an ordered range of all the fragment collections.

      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 FragmentCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of fragment collections
    • findAll

      List<FragmentCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the fragment collections.

      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 FragmentCollectionModelImpl.

      Parameters:
      start - the lower bound of the range of fragment collections
      end - the upper bound of the range of fragment collections (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 collections
    • removeAll

      void removeAll()
      Removes all the fragment collections from the database.
    • countAll

      int countAll()
      Returns the number of fragment collections.
      Returns:
      the number of fragment collections