Interface ChangesetCollectionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ChangesetCollection>

@ProviderType public interface ChangesetCollectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ChangesetCollection>
The persistence interface for the changeset collection service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByGroupId

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

      List<ChangesetCollection> findByGroupId(long groupId, int start, int end)
      Returns a range of all the changeset 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 ChangesetCollectionModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

      List<ChangesetCollection> findByCompanyId(long companyId)
      Returns all the changeset collections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching changeset collections
    • findByCompanyId

      List<ChangesetCollection> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the changeset collections where 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 ChangesetCollectionModelImpl.

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

      List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns an ordered range of all the changeset collections where 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 ChangesetCollectionModelImpl.

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

      List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset collections where 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 ChangesetCollectionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of changeset collections
      end - the upper bound of the range of changeset 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 changeset collections
    • findByCompanyId_First

      ChangesetCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first changeset collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByCompanyId_First

      ChangesetCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the first changeset collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection, or null if a matching changeset collection could not be found
    • findByCompanyId_Last

      ChangesetCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last changeset collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByCompanyId_Last

      ChangesetCollection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the last changeset collection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection, or null if a matching changeset collection could not be found
    • findByCompanyId_PrevAndNext

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

      void removeByCompanyId(long companyId)
      Removes all the changeset collections where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of changeset collections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching changeset collections
    • findByG_U

      List<ChangesetCollection> findByG_U(long groupId, long userId)
      Returns all the changeset collections where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching changeset collections
    • findByG_U

      List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end)
      Returns a range of all the changeset collections where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of changeset collections
      end - the upper bound of the range of changeset collections (not inclusive)
      Returns:
      the range of matching changeset collections
    • findByG_U

      List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.

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

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

      List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of changeset collections
      end - the upper bound of the range of changeset 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 changeset collections
    • findByG_U_First

      ChangesetCollection findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByG_U_First

      ChangesetCollection fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection, or null if a matching changeset collection could not be found
    • findByG_U_Last

      ChangesetCollection findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByG_U_Last

      ChangesetCollection fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection, or null if a matching changeset collection could not be found
    • findByG_U_PrevAndNext

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

      void removeByG_U(long groupId, long userId)
      Removes all the changeset collections where groupId = ? and userId = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
    • countByG_U

      int countByG_U(long groupId, long userId)
      Returns the number of changeset collections where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching changeset collections
    • findByG_N

      ChangesetCollection findByG_N(long groupId, String name) throws NoSuchCollectionException
      Returns the changeset collection where groupId = ? and name = ? or throws a NoSuchCollectionException if it could not be found.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByG_N

      ChangesetCollection fetchByG_N(long groupId, String name)
      Returns the changeset collection where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the matching changeset collection, or null if a matching changeset collection could not be found
    • fetchByG_N

      ChangesetCollection fetchByG_N(long groupId, String name, boolean useFinderCache)
      Returns the changeset collection where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching changeset collection, or null if a matching changeset collection could not be found
    • removeByG_N

      ChangesetCollection removeByG_N(long groupId, String name) throws NoSuchCollectionException
      Removes the changeset collection where groupId = ? and name = ? from the database.
      Parameters:
      groupId - the group ID
      name - the name
      Returns:
      the changeset collection that was removed
      Throws:
      NoSuchCollectionException
    • countByG_N

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

      List<ChangesetCollection> findByC_N(long companyId, String name)
      Returns all the changeset collections where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching changeset collections
    • findByC_N

      List<ChangesetCollection> findByC_N(long companyId, String name, int start, int end)
      Returns a range of all the changeset collections where companyId = ? and name = ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of changeset collections
      end - the upper bound of the range of changeset collections (not inclusive)
      Returns:
      the range of matching changeset collections
    • findByC_N

      List<ChangesetCollection> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns an ordered range of all the changeset collections where companyId = ? and name = ?.

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

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

      List<ChangesetCollection> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset collections where companyId = ? and name = ?.

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

      Parameters:
      companyId - the company ID
      name - the name
      start - the lower bound of the range of changeset collections
      end - the upper bound of the range of changeset 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 changeset collections
    • findByC_N_First

      ChangesetCollection findByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the first changeset collection in the ordered set where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByC_N_First

      ChangesetCollection fetchByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the first changeset collection in the ordered set where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset collection, or null if a matching changeset collection could not be found
    • findByC_N_Last

      ChangesetCollection findByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
      Returns the last changeset collection in the ordered set where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection
      Throws:
      NoSuchCollectionException - if a matching changeset collection could not be found
    • fetchByC_N_Last

      ChangesetCollection fetchByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns the last changeset collection in the ordered set where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset collection, or null if a matching changeset collection could not be found
    • findByC_N_PrevAndNext

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

      void removeByC_N(long companyId, String name)
      Removes all the changeset collections where companyId = ? and name = ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
    • countByC_N

      int countByC_N(long companyId, String name)
      Returns the number of changeset collections where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching changeset collections
    • cacheResult

      void cacheResult(ChangesetCollection changesetCollection)
      Caches the changeset collection in the entity cache if it is enabled.
      Parameters:
      changesetCollection - the changeset collection
    • cacheResult

      void cacheResult(List<ChangesetCollection> changesetCollections)
      Caches the changeset collections in the entity cache if it is enabled.
      Parameters:
      changesetCollections - the changeset collections
    • create

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

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

      ChangesetCollection updateImpl(ChangesetCollection changesetCollection)
    • findByPrimaryKey

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

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

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

      List<ChangesetCollection> findAll(int start, int end)
      Returns a range of all the changeset 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 ChangesetCollectionModelImpl.

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

      List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
      Returns an ordered range of all the changeset 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 ChangesetCollectionModelImpl.

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

      List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset 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 ChangesetCollectionModelImpl.

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

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

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