Class ChangesetEntryUtil

java.lang.Object
com.liferay.changeset.service.persistence.ChangesetEntryUtil

public class ChangesetEntryUtil extends Object
The persistence utility for the changeset entry service. This utility wraps com.liferay.changeset.service.persistence.impl.ChangesetEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(ChangesetEntry changesetEntry)
    Caches the changeset entry in the entity cache if it is enabled.
    static void
    cacheResult(List<ChangesetEntry> changesetEntries)
    Caches the changeset entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(ChangesetEntry changesetEntry)
     
    static int
    Returns the number of changeset entries.
    static int
    countByC_C(long changesetCollectionId, long classNameId)
    Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.
    static int
    countByC_C_C(long changesetCollectionId, long classNameId, long classPK)
    Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.
    static int
    countByChangesetCollectionId(long changesetCollectionId)
    Returns the number of changeset entries where changesetCollectionId = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of changeset entries where companyId = ?.
    static int
    countByG_C(long groupId, long classNameId)
    Returns the number of changeset entries where groupId = ? and classNameId = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of changeset entries where groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long changesetEntryId)
    Creates a new changeset entry with the primary key.
    fetchByC_C_C(long changesetCollectionId, long classNameId, long classPK)
    Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByC_C_C(long changesetCollectionId, long classNameId, long classPK, boolean useFinderCache)
    Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
    fetchByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
    fetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where changesetCollectionId = ?.
    fetchByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where changesetCollectionId = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where companyId = ?.
    fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.
    fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where groupId = ?.
    fetchByPrimaryKey(long changesetEntryId)
    Returns the changeset entry with the primary key or returns null if it could not be found.
     
    Returns all the changeset entries.
    findAll(int start, int end)
    Returns a range of all the changeset entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries.
    findByC_C(long changesetCollectionId, long classNameId)
    Returns all the changeset entries where changesetCollectionId = ? and classNameId = ?.
    findByC_C(long changesetCollectionId, long classNameId, int start, int end)
    Returns a range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.
    findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.
    findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.
    findByC_C_C(long changesetCollectionId, long classNameId, long classPK)
    Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.
    findByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
    findByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
    findByC_C_PrevAndNext(long changesetEntryId, long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
    findByChangesetCollectionId(long changesetCollectionId)
    Returns all the changeset entries where changesetCollectionId = ?.
    findByChangesetCollectionId(long changesetCollectionId, int start, int end)
    Returns a range of all the changeset entries where changesetCollectionId = ?.
    findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries where changesetCollectionId = ?.
    findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries where changesetCollectionId = ?.
    findByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where changesetCollectionId = ?.
    findByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where changesetCollectionId = ?.
    findByChangesetCollectionId_PrevAndNext(long changesetEntryId, long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ?.
    findByCompanyId(long companyId)
    Returns all the changeset entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the changeset entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long changesetEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the changeset entries before and after the current changeset entry in the ordered set where companyId = ?.
    findByG_C(long groupId, long classNameId)
    Returns all the changeset entries where groupId = ? and classNameId = ?.
    findByG_C(long groupId, long classNameId, int start, int end)
    Returns a range of all the changeset entries where groupId = ? and classNameId = ?.
    findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.
    findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.
    findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.
    findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.
    findByG_C_PrevAndNext(long changesetEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ? and classNameId = ?.
    findByGroupId(long groupId)
    Returns all the changeset entries where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the changeset entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns an ordered range of all the changeset entries where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the changeset entries where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first changeset entry in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the last changeset entry in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long changesetEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ?.
    findByPrimaryKey(long changesetEntryId)
    Returns the changeset entry with the primary key or throws a NoSuchEntryException if it could not be found.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
     
     
    remove(long changesetEntryId)
    Removes the changeset entry with the primary key from the database.
    static void
    Removes all the changeset entries from the database.
    static void
    removeByC_C(long changesetCollectionId, long classNameId)
    Removes all the changeset entries where changesetCollectionId = ? and classNameId = ? from the database.
    removeByC_C_C(long changesetCollectionId, long classNameId, long classPK)
    Removes the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? from the database.
    static void
    removeByChangesetCollectionId(long changesetCollectionId)
    Removes all the changeset entries where changesetCollectionId = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the changeset entries where companyId = ? from the database.
    static void
    removeByG_C(long groupId, long classNameId)
    Removes all the changeset entries where groupId = ? and classNameId = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the changeset entries where groupId = ? from the database.
    static void
     
    update(ChangesetEntry changesetEntry)
     
    update(ChangesetEntry changesetEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ChangesetEntry changesetEntry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChangesetEntryUtil

      public ChangesetEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(ChangesetEntry changesetEntry)
      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,ChangesetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static ChangesetEntry update(ChangesetEntry changesetEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static ChangesetEntry update(ChangesetEntry changesetEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByGroupId

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

      public static List<ChangesetEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the changeset entries 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 ChangesetEntryModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

      public static List<ChangesetEntry> findByCompanyId(long companyId)
      Returns all the changeset entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching changeset entries
    • findByCompanyId

      public static List<ChangesetEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the changeset entries 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 ChangesetEntryModelImpl.

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

      public static List<ChangesetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns an ordered range of all the changeset entries 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 ChangesetEntryModelImpl.

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

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

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

      public static ChangesetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the first changeset entry 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 entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByCompanyId_First

      public static ChangesetEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the first changeset entry 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 entry, or null if a matching changeset entry could not be found
    • findByCompanyId_Last

      public static ChangesetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the last changeset entry 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 entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByCompanyId_Last

      public static ChangesetEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the last changeset entry 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 entry, or null if a matching changeset entry could not be found
    • findByCompanyId_PrevAndNext

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

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

      public static int countByCompanyId(long companyId)
      Returns the number of changeset entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching changeset entries
    • findByChangesetCollectionId

      public static List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId)
      Returns all the changeset entries where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      Returns:
      the matching changeset entries
    • findByChangesetCollectionId

      public static List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end)
      Returns a range of all the changeset entries where changesetCollectionId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (not inclusive)
      Returns:
      the range of matching changeset entries
    • findByChangesetCollectionId

      public static List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns an ordered range of all the changeset entries where changesetCollectionId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching changeset entries
    • findByChangesetCollectionId

      public static List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset entries where changesetCollectionId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (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 entries
    • findByChangesetCollectionId_First

      public static ChangesetEntry findByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the first changeset entry in the ordered set where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByChangesetCollectionId_First

      public static ChangesetEntry fetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the first changeset entry in the ordered set where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry, or null if a matching changeset entry could not be found
    • findByChangesetCollectionId_Last

      public static ChangesetEntry findByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the last changeset entry in the ordered set where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByChangesetCollectionId_Last

      public static ChangesetEntry fetchByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the last changeset entry in the ordered set where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry, or null if a matching changeset entry could not be found
    • findByChangesetCollectionId_PrevAndNext

      public static ChangesetEntry[] findByChangesetCollectionId_PrevAndNext(long changesetEntryId, long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ?.
      Parameters:
      changesetEntryId - the primary key of the current changeset entry
      changesetCollectionId - the changeset collection ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next changeset entry
      Throws:
      NoSuchEntryException - if a changeset entry with the primary key could not be found
      NoSuchEntryException
    • removeByChangesetCollectionId

      public static void removeByChangesetCollectionId(long changesetCollectionId)
      Removes all the changeset entries where changesetCollectionId = ? from the database.
      Parameters:
      changesetCollectionId - the changeset collection ID
    • countByChangesetCollectionId

      public static int countByChangesetCollectionId(long changesetCollectionId)
      Returns the number of changeset entries where changesetCollectionId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      Returns:
      the number of matching changeset entries
    • findByG_C

      public static List<ChangesetEntry> findByG_C(long groupId, long classNameId)
      Returns all the changeset entries where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the matching changeset entries
    • findByG_C

      public static List<ChangesetEntry> findByG_C(long groupId, long classNameId, int start, int end)
      Returns a range of all the changeset entries where groupId = ? and classNameId = ?.

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

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (not inclusive)
      Returns:
      the range of matching changeset entries
    • findByG_C

      public static List<ChangesetEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.

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

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

      public static List<ChangesetEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.

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

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (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 entries
    • findByG_C_First

      public static ChangesetEntry findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByG_C_First

      public static ChangesetEntry fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry, or null if a matching changeset entry could not be found
    • findByG_C_Last

      public static ChangesetEntry findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByG_C_Last

      public static ChangesetEntry fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry, or null if a matching changeset entry could not be found
    • findByG_C_PrevAndNext

      public static ChangesetEntry[] findByG_C_PrevAndNext(long changesetEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      changesetEntryId - the primary key of the current changeset entry
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next changeset entry
      Throws:
      NoSuchEntryException - if a changeset entry with the primary key could not be found
      NoSuchEntryException
    • removeByG_C

      public static void removeByG_C(long groupId, long classNameId)
      Removes all the changeset entries where groupId = ? and classNameId = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
    • countByG_C

      public static int countByG_C(long groupId, long classNameId)
      Returns the number of changeset entries where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the number of matching changeset entries
    • findByC_C

      public static List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId)
      Returns all the changeset entries where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      Returns:
      the matching changeset entries
    • findByC_C

      public static List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end)
      Returns a range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (not inclusive)
      Returns:
      the range of matching changeset entries
    • findByC_C

      public static List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching changeset entries
    • findByC_C

      public static List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.

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

      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      start - the lower bound of the range of changeset entries
      end - the upper bound of the range of changeset entries (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 entries
    • findByC_C_First

      public static ChangesetEntry findByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByC_C_First

      public static ChangesetEntry fetchByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching changeset entry, or null if a matching changeset entry could not be found
    • findByC_C_Last

      public static ChangesetEntry findByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByC_C_Last

      public static ChangesetEntry fetchByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching changeset entry, or null if a matching changeset entry could not be found
    • findByC_C_PrevAndNext

      public static ChangesetEntry[] findByC_C_PrevAndNext(long changesetEntryId, long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException
      Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetEntryId - the primary key of the current changeset entry
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next changeset entry
      Throws:
      NoSuchEntryException - if a changeset entry with the primary key could not be found
      NoSuchEntryException
    • removeByC_C

      public static void removeByC_C(long changesetCollectionId, long classNameId)
      Removes all the changeset entries where changesetCollectionId = ? and classNameId = ? from the database.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
    • countByC_C

      public static int countByC_C(long changesetCollectionId, long classNameId)
      Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      Returns:
      the number of matching changeset entries
    • findByC_C_C

      public static ChangesetEntry findByC_C_C(long changesetCollectionId, long classNameId, long classPK) throws NoSuchEntryException
      Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching changeset entry
      Throws:
      NoSuchEntryException - if a matching changeset entry could not be found
      NoSuchEntryException
    • fetchByC_C_C

      public static ChangesetEntry fetchByC_C_C(long changesetCollectionId, long classNameId, long classPK)
      Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching changeset entry, or null if a matching changeset entry could not be found
    • fetchByC_C_C

      public static ChangesetEntry fetchByC_C_C(long changesetCollectionId, long classNameId, long classPK, boolean useFinderCache)
      Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching changeset entry, or null if a matching changeset entry could not be found
    • removeByC_C_C

      public static ChangesetEntry removeByC_C_C(long changesetCollectionId, long classNameId, long classPK) throws NoSuchEntryException
      Removes the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the changeset entry that was removed
      Throws:
      NoSuchEntryException
    • countByC_C_C

      public static int countByC_C_C(long changesetCollectionId, long classNameId, long classPK)
      Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching changeset entries
    • cacheResult

      public static void cacheResult(ChangesetEntry changesetEntry)
      Caches the changeset entry in the entity cache if it is enabled.
      Parameters:
      changesetEntry - the changeset entry
    • cacheResult

      public static void cacheResult(List<ChangesetEntry> changesetEntries)
      Caches the changeset entries in the entity cache if it is enabled.
      Parameters:
      changesetEntries - the changeset entries
    • create

      public static ChangesetEntry create(long changesetEntryId)
      Creates a new changeset entry with the primary key. Does not add the changeset entry to the database.
      Parameters:
      changesetEntryId - the primary key for the new changeset entry
      Returns:
      the new changeset entry
    • remove

      public static ChangesetEntry remove(long changesetEntryId) throws NoSuchEntryException
      Removes the changeset entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      changesetEntryId - the primary key of the changeset entry
      Returns:
      the changeset entry that was removed
      Throws:
      NoSuchEntryException - if a changeset entry with the primary key could not be found
      NoSuchEntryException
    • updateImpl

      public static ChangesetEntry updateImpl(ChangesetEntry changesetEntry)
    • findByPrimaryKey

      public static ChangesetEntry findByPrimaryKey(long changesetEntryId) throws NoSuchEntryException
      Returns the changeset entry with the primary key or throws a NoSuchEntryException if it could not be found.
      Parameters:
      changesetEntryId - the primary key of the changeset entry
      Returns:
      the changeset entry
      Throws:
      NoSuchEntryException - if a changeset entry with the primary key could not be found
      NoSuchEntryException
    • fetchByPrimaryKey

      public static ChangesetEntry fetchByPrimaryKey(long changesetEntryId)
      Returns the changeset entry with the primary key or returns null if it could not be found.
      Parameters:
      changesetEntryId - the primary key of the changeset entry
      Returns:
      the changeset entry, or null if a changeset entry with the primary key could not be found
    • findAll

      public static List<ChangesetEntry> findAll()
      Returns all the changeset entries.
      Returns:
      the changeset entries
    • findAll

      public static List<ChangesetEntry> findAll(int start, int end)
      Returns a range of all the changeset entries.

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

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

      public static List<ChangesetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
      Returns an ordered range of all the changeset entries.

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

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

      public static List<ChangesetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the changeset entries.

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

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

      public static void removeAll()
      Removes all the changeset entries from the database.
    • countAll

      public static int countAll()
      Returns the number of changeset entries.
      Returns:
      the number of changeset entries
    • getPersistence

      public static ChangesetEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ChangesetEntryPersistence persistence)