java.lang.Object
com.liferay.commerce.order.rule.service.persistence.COREntryRelUtil

public class COREntryRelUtil extends Object
The persistence utility for the cor entry rel service. This utility wraps com.liferay.commerce.order.rule.service.persistence.impl.COREntryRelPersistenceImpl 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(COREntryRel corEntryRel)
    Caches the cor entry rel in the entity cache if it is enabled.
    static void
    cacheResult(List<COREntryRel> corEntryRels)
    Caches the cor entry rels in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(COREntryRel corEntryRel)
     
    static int
    Returns the number of cor entry rels.
    static int
    countByC_C(long classNameId, long COREntryId)
    Returns the number of cor entry rels where classNameId = ? and COREntryId = ?.
    static int
    countByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the number of cor entry rels where classNameId = ? and classPK = ? and COREntryId = ?.
    static int
    countByCOREntryId(long COREntryId)
    Returns the number of cor entry rels where COREntryId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long COREntryRelId)
    Creates a new cor entry rel with the primary key.
    fetchByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found.
    fetchByC_C_C(long classNameId, long classPK, long COREntryId, boolean useFinderCache)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    fetchByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    fetchByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where COREntryId = ?.
    fetchByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where COREntryId = ?.
    fetchByPrimaryKey(long COREntryRelId)
    Returns the cor entry rel with the primary key or returns null if it could not be found.
     
    Returns all the cor entry rels.
    findAll(int start, int end)
    Returns a range of all the cor entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels.
    findByC_C(long classNameId, long COREntryId)
    Returns all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end)
    Returns a range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.
    findByC_C_C(long classNameId, long classPK, long COREntryId)
    Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or throws a NoSuchCOREntryRelException if it could not be found.
    findByC_C_First(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    findByC_C_Last(long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    static COREntryRel[]
    findByC_C_PrevAndNext(long COREntryRelId, long classNameId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the cor entry rels before and after the current cor entry rel in the ordered set where classNameId = ? and COREntryId = ?.
    findByCOREntryId(long COREntryId)
    Returns all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end)
    Returns a range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns an ordered range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cor entry rels where COREntryId = ?.
    findByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the first cor entry rel in the ordered set where COREntryId = ?.
    findByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the last cor entry rel in the ordered set where COREntryId = ?.
    static COREntryRel[]
    findByCOREntryId_PrevAndNext(long COREntryRelId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
    Returns the cor entry rels before and after the current cor entry rel in the ordered set where COREntryId = ?.
    findByPrimaryKey(long COREntryRelId)
    Returns the cor entry rel with the primary key or throws a NoSuchCOREntryRelException 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<COREntryRel> orderByComparator)
     
     
    remove(long COREntryRelId)
    Removes the cor entry rel with the primary key from the database.
    static void
    Removes all the cor entry rels from the database.
    static void
    removeByC_C(long classNameId, long COREntryId)
    Removes all the cor entry rels where classNameId = ? and COREntryId = ? from the database.
    removeByC_C_C(long classNameId, long classPK, long COREntryId)
    Removes the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? from the database.
    static void
    removeByCOREntryId(long COREntryId)
    Removes all the cor entry rels where COREntryId = ? from the database.
    static void
     
    update(COREntryRel corEntryRel)
     
    update(COREntryRel corEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(COREntryRel corEntryRel)
     

    Methods inherited from class java.lang.Object

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

    • COREntryRelUtil

      public COREntryRelUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

      public static COREntryRel update(COREntryRel corEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCOREntryId

      public static List<COREntryRel> findByCOREntryId(long COREntryId)
      Returns all the cor entry rels where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rels
    • findByCOREntryId

      public static List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end)
      Returns a range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of matching cor entry rels
    • findByCOREntryId

      public static List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns an ordered range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cor entry rels
    • findByCOREntryId

      public static List<COREntryRel> findByCOREntryId(long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cor entry rels where COREntryId = ?.

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

      Parameters:
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (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 cor entry rels
    • findByCOREntryId_First

      public static COREntryRel findByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the first cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
      NoSuchCOREntryRelException
    • fetchByCOREntryId_First

      public static COREntryRel fetchByCOREntryId_First(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the first cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByCOREntryId_Last

      public static COREntryRel findByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the last cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
      NoSuchCOREntryRelException
    • fetchByCOREntryId_Last

      public static COREntryRel fetchByCOREntryId_Last(long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns the last cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cor entry rel, or null if a matching cor entry rel could not be found
    • findByCOREntryId_PrevAndNext

      public static COREntryRel[] findByCOREntryId_PrevAndNext(long COREntryRelId, long COREntryId, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator) throws NoSuchCOREntryRelException
      Returns the cor entry rels before and after the current cor entry rel in the ordered set where COREntryId = ?.
      Parameters:
      COREntryRelId - the primary key of the current cor entry rel
      COREntryId - the cor entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
      NoSuchCOREntryRelException
    • removeByCOREntryId

      public static void removeByCOREntryId(long COREntryId)
      Removes all the cor entry rels where COREntryId = ? from the database.
      Parameters:
      COREntryId - the cor entry ID
    • countByCOREntryId

      public static int countByCOREntryId(long COREntryId)
      Returns the number of cor entry rels where COREntryId = ?.
      Parameters:
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • findByC_C

      public static List<COREntryRel> findByC_C(long classNameId, long COREntryId)
      Returns all the cor entry rels where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rels
    • findByC_C

      public static List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end)
      Returns a range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of matching cor entry rels
    • findByC_C

      public static List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

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

      public static List<COREntryRel> findByC_C(long classNameId, long COREntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cor entry rels where classNameId = ? and COREntryId = ?.

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

      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (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 cor entry rels
    • findByC_C_First

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

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

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

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

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

      public static void removeByC_C(long classNameId, long COREntryId)
      Removes all the cor entry rels where classNameId = ? and COREntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
    • countByC_C

      public static int countByC_C(long classNameId, long COREntryId)
      Returns the number of cor entry rels where classNameId = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • findByC_C_C

      public static COREntryRel findByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
      Returns the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? or throws a NoSuchCOREntryRelException if it could not be found.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the matching cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a matching cor entry rel could not be found
      NoSuchCOREntryRelException
    • fetchByC_C_C

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

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

      public static COREntryRel removeByC_C_C(long classNameId, long classPK, long COREntryId) throws NoSuchCOREntryRelException
      Removes the cor entry rel where classNameId = ? and classPK = ? and COREntryId = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the cor entry rel that was removed
      Throws:
      NoSuchCOREntryRelException
    • countByC_C_C

      public static int countByC_C_C(long classNameId, long classPK, long COREntryId)
      Returns the number of cor entry rels where classNameId = ? and classPK = ? and COREntryId = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      COREntryId - the cor entry ID
      Returns:
      the number of matching cor entry rels
    • cacheResult

      public static void cacheResult(COREntryRel corEntryRel)
      Caches the cor entry rel in the entity cache if it is enabled.
      Parameters:
      corEntryRel - the cor entry rel
    • cacheResult

      public static void cacheResult(List<COREntryRel> corEntryRels)
      Caches the cor entry rels in the entity cache if it is enabled.
      Parameters:
      corEntryRels - the cor entry rels
    • create

      public static COREntryRel create(long COREntryRelId)
      Creates a new cor entry rel with the primary key. Does not add the cor entry rel to the database.
      Parameters:
      COREntryRelId - the primary key for the new cor entry rel
      Returns:
      the new cor entry rel
    • remove

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

      public static COREntryRel updateImpl(COREntryRel corEntryRel)
    • findByPrimaryKey

      public static COREntryRel findByPrimaryKey(long COREntryRelId) throws NoSuchCOREntryRelException
      Returns the cor entry rel with the primary key or throws a NoSuchCOREntryRelException if it could not be found.
      Parameters:
      COREntryRelId - the primary key of the cor entry rel
      Returns:
      the cor entry rel
      Throws:
      NoSuchCOREntryRelException - if a cor entry rel with the primary key could not be found
      NoSuchCOREntryRelException
    • fetchByPrimaryKey

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

      public static List<COREntryRel> findAll()
      Returns all the cor entry rels.
      Returns:
      the cor entry rels
    • findAll

      public static List<COREntryRel> findAll(int start, int end)
      Returns a range of all the cor entry rels.

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

      Parameters:
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      Returns:
      the range of cor entry rels
    • findAll

      public static List<COREntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<COREntryRel> orderByComparator)
      Returns an ordered range of all the cor entry rels.

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

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

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

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

      Parameters:
      start - the lower bound of the range of cor entry rels
      end - the upper bound of the range of cor entry rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of cor entry rels
    • removeAll

      public static void removeAll()
      Removes all the cor entry rels from the database.
    • countAll

      public static int countAll()
      Returns the number of cor entry rels.
      Returns:
      the number of cor entry rels
    • getPersistence

      public static COREntryRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(COREntryRelPersistence persistence)