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)
     
    static void
    cacheResult(List<ChangesetEntry> changesetEntries)
     
    static void
     
    static void
    clearCache(ChangesetEntry changesetEntry)
     
    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
    countByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
    Returns the number of changeset entries where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ?.
    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_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
    Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returns null if it could not be found.
    fetchByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId, boolean useFinderCache)
    Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first 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 = ?.
    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 = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator)
    Returns the first 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.
     
    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_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
    Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or throws a NoSuchEntryException if it could not be found.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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
    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.
    removeByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
    Removes the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? 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

    • cacheResult

      public static void cacheResult(List<ChangesetEntry> changesetEntries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(ChangesetEntry changesetEntry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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
    • 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_CERC_C

      public static ChangesetEntry findByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) throws NoSuchEntryException
      Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or throws a NoSuchEntryException if it could not be found.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classExternalReferenceCode - the class external reference code
      classNameId - the class name ID
      Returns:
      the matching changeset entry
    • fetchByC_CERC_C

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

      public static ChangesetEntry removeByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) throws NoSuchEntryException
      Removes the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? from the database.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classExternalReferenceCode - the class external reference code
      classNameId - the class name ID
      Returns:
      the changeset entry that was removed
      Throws:
      NoSuchEntryException
    • countByC_CERC_C

      public static int countByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
      Returns the number of changeset entries where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ?.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classExternalReferenceCode - the class external reference code
      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
    • 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
    • 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
    • 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
    • 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
    • fetchByC_CERC_C

      public static ChangesetEntry fetchByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId)
      Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      changesetCollectionId - the changeset collection ID
      classExternalReferenceCode - the class external reference code
      classNameId - the class name ID
      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)
      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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.changeset.model.impl.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
    • getPersistence

      public static ChangesetEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ChangesetEntryPersistence persistence)