Class CommerceNotificationTemplateCommerceAccountGroupRelUtil

java.lang.Object
com.liferay.commerce.notification.service.persistence.CommerceNotificationTemplateCommerceAccountGroupRelUtil

@Deprecated public class CommerceNotificationTemplateCommerceAccountGroupRelUtil extends Object
Deprecated.
The persistence utility for the commerce notification template commerce account group rel service. This utility wraps com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationTemplateCommerceAccountGroupRelPersistenceImpl 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 Details

    • CommerceNotificationTemplateCommerceAccountGroupRelUtil

      public CommerceNotificationTemplateCommerceAccountGroupRelUtil()
      Deprecated.
  • Method Details

    • clearCache

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

      public static void clearCache(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
      Deprecated.
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Deprecated.
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CommerceNotificationTemplateCommerceAccountGroupRel> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Deprecated.
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

      public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
      Deprecated.
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      Deprecated.
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCommerceNotificationTemplateId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
      Deprecated.
      Returns all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      Returns:
      the matching commerce notification template commerce account group rels
    • findByCommerceNotificationTemplateId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.

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

      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce notification template commerce account group rels
    • findByCommerceNotificationTemplateId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.

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

      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification template commerce account group rels
    • findByCommerceNotificationTemplateId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.

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

      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group 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 commerce notification template commerce account group rels
    • findByCommerceNotificationTemplateId_First

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a matching commerce notification template commerce account group rel could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByCommerceNotificationTemplateId_First

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • findByCommerceNotificationTemplateId_Last

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a matching commerce notification template commerce account group rel could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByCommerceNotificationTemplateId_Last

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • findByCommerceNotificationTemplateId_PrevAndNext

      public static CommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key of the current commerce notification template commerce account group rel
      commerceNotificationTemplateId - the commerce notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a commerce notification template commerce account group rel with the primary key could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • removeByCommerceNotificationTemplateId

      public static void removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
      Deprecated.
      Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
    • countByCommerceNotificationTemplateId

      public static int countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
      Deprecated.
      Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      Returns:
      the number of matching commerce notification template commerce account group rels
    • findByCommerceAccountGroupId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
      Deprecated.
      Returns all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce notification template commerce account group rels
    • findByCommerceAccountGroupId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group rels (not inclusive)
      Returns:
      the range of matching commerce notification template commerce account group rels
    • findByCommerceAccountGroupId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification template commerce account group rels
    • findByCommerceAccountGroupId

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.

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

      Parameters:
      commerceAccountGroupId - the commerce account group ID
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group 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 commerce notification template commerce account group rels
    • findByCommerceAccountGroupId_First

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a matching commerce notification template commerce account group rel could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByCommerceAccountGroupId_First

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • findByCommerceAccountGroupId_Last

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a matching commerce notification template commerce account group rel could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByCommerceAccountGroupId_Last

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • findByCommerceAccountGroupId_PrevAndNext

      public static CommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key of the current commerce notification template commerce account group rel
      commerceAccountGroupId - the commerce account group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a commerce notification template commerce account group rel with the primary key could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • removeByCommerceAccountGroupId

      public static void removeByCommerceAccountGroupId(long commerceAccountGroupId)
      Deprecated.
      Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
    • countByCommerceAccountGroupId

      public static int countByCommerceAccountGroupId(long commerceAccountGroupId)
      Deprecated.
      Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.
      Parameters:
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the number of matching commerce notification template commerce account group rels
    • findByC_C

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or throws a NoSuchNotificationTemplateCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a matching commerce notification template commerce account group rel could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByC_C

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId)
      Deprecated.
      Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • fetchByC_C

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId, boolean useFinderCache)
      Deprecated.
      Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      commerceAccountGroupId - the commerce account group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce notification template commerce account group rel, or null if a matching commerce notification template commerce account group rel could not be found
    • removeByC_C

      public static CommerceNotificationTemplateCommerceAccountGroupRel removeByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Removes the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? from the database.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the commerce notification template commerce account group rel that was removed
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • countByC_C

      public static int countByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId)
      Deprecated.
      Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID
      commerceAccountGroupId - the commerce account group ID
      Returns:
      the number of matching commerce notification template commerce account group rels
    • cacheResult

      public static void cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
      Deprecated.
      Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRel - the commerce notification template commerce account group rel
    • cacheResult

      public static void cacheResult(List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels)
      Deprecated.
      Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRels - the commerce notification template commerce account group rels
    • create

      public static CommerceNotificationTemplateCommerceAccountGroupRel create(long commerceNotificationTemplateCommerceAccountGroupRelId)
      Deprecated.
      Creates a new commerce notification template commerce account group rel with the primary key. Does not add the commerce notification template commerce account group rel to the database.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key for the new commerce notification template commerce account group rel
      Returns:
      the new commerce notification template commerce account group rel
    • remove

      public static CommerceNotificationTemplateCommerceAccountGroupRel remove(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Removes the commerce notification template commerce account group rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key of the commerce notification template commerce account group rel
      Returns:
      the commerce notification template commerce account group rel that was removed
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a commerce notification template commerce account group rel with the primary key could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • updateImpl

      public static CommerceNotificationTemplateCommerceAccountGroupRel updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
      Deprecated.
    • findByPrimaryKey

      public static CommerceNotificationTemplateCommerceAccountGroupRel findByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
      Deprecated.
      Returns the commerce notification template commerce account group rel with the primary key or throws a NoSuchNotificationTemplateCommerceAccountGroupRelException if it could not be found.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key of the commerce notification template commerce account group rel
      Returns:
      the commerce notification template commerce account group rel
      Throws:
      NoSuchNotificationTemplateCommerceAccountGroupRelException - if a commerce notification template commerce account group rel with the primary key could not be found
      NoSuchNotificationTemplateCommerceAccountGroupRelException
    • fetchByPrimaryKey

      public static CommerceNotificationTemplateCommerceAccountGroupRel fetchByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId)
      Deprecated.
      Returns the commerce notification template commerce account group rel with the primary key or returns null if it could not be found.
      Parameters:
      commerceNotificationTemplateCommerceAccountGroupRelId - the primary key of the commerce notification template commerce account group rel
      Returns:
      the commerce notification template commerce account group rel, or null if a commerce notification template commerce account group rel with the primary key could not be found
    • findAll

      Deprecated.
      Returns all the commerce notification template commerce account group rels.
      Returns:
      the commerce notification template commerce account group rels
    • findAll

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end)
      Deprecated.
      Returns a range of all the commerce notification template commerce account group 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl.

      Parameters:
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group rels (not inclusive)
      Returns:
      the range of commerce notification template commerce account group rels
    • findAll

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl.

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

      public static List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification template commerce account group 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl.

      Parameters:
      start - the lower bound of the range of commerce notification template commerce account group rels
      end - the upper bound of the range of commerce notification template commerce account group 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 commerce notification template commerce account group rels
    • removeAll

      public static void removeAll()
      Deprecated.
      Removes all the commerce notification template commerce account group rels from the database.
    • countAll

      public static int countAll()
      Deprecated.
      Returns the number of commerce notification template commerce account group rels.
      Returns:
      the number of commerce notification template commerce account group rels
    • getPersistence

      Deprecated.
    • setPersistence

      public static void setPersistence(CommerceNotificationTemplateCommerceAccountGroupRelPersistence persistence)
      Deprecated.