Interface CommerceNotificationTemplatePersistence

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

@Deprecated @ProviderType public interface CommerceNotificationTemplatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationTemplate>
Deprecated.
The persistence interface for the commerce notification template service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Deprecated.
      Returns all the commerce notification templates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce notification templates
    • findByUuid

      List<CommerceNotificationTemplate> findByUuid(String uuid, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates
    • findByUuid

      List<CommerceNotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates
    • findByUuid

      List<CommerceNotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where uuid = ?.

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

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (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 templates
    • findByUuid_First

      CommerceNotificationTemplate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the first commerce notification template in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByUuid_First

      CommerceNotificationTemplate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the first commerce notification template in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByUuid_Last

      CommerceNotificationTemplate findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the last commerce notification template in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByUuid_Last

      CommerceNotificationTemplate fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the last commerce notification template in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByUuid_PrevAndNext

      CommerceNotificationTemplate[] findByUuid_PrevAndNext(long commerceNotificationTemplateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Deprecated.
      Removes all the commerce notification templates where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Deprecated.
      Returns the number of commerce notification templates where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce notification templates
    • findByUUID_G

      Deprecated.
      Returns the commerce notification template where uuid = ? and groupId = ? or throws a NoSuchNotificationTemplateException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByUUID_G

      CommerceNotificationTemplate fetchByUUID_G(String uuid, long groupId)
      Deprecated.
      Returns the commerce notification template where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce notification template, or null if a matching commerce notification template could not be found
    • fetchByUUID_G

      CommerceNotificationTemplate fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Deprecated.
      Returns the commerce notification template where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce notification template, or null if a matching commerce notification template could not be found
    • removeByUUID_G

      CommerceNotificationTemplate removeByUUID_G(String uuid, long groupId) throws NoSuchNotificationTemplateException
      Deprecated.
      Removes the commerce notification template where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce notification template that was removed
      Throws:
      NoSuchNotificationTemplateException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Deprecated.
      Returns the number of commerce notification templates where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce notification templates
    • findByUuid_C

      List<CommerceNotificationTemplate> findByUuid_C(String uuid, long companyId)
      Deprecated.
      Returns all the commerce notification templates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce notification templates
    • findByUuid_C

      List<CommerceNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates
    • findByUuid_C

      List<CommerceNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates
    • findByUuid_C

      List<CommerceNotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (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 templates
    • findByUuid_C_First

      CommerceNotificationTemplate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the first commerce notification template in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByUuid_C_First

      CommerceNotificationTemplate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the first commerce notification template in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByUuid_C_Last

      CommerceNotificationTemplate findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the last commerce notification template in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByUuid_C_Last

      CommerceNotificationTemplate fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the last commerce notification template in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByUuid_C_PrevAndNext

      CommerceNotificationTemplate[] findByUuid_C_PrevAndNext(long commerceNotificationTemplateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Deprecated.
      Removes all the commerce notification templates where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Deprecated.
      Returns the number of commerce notification templates where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce notification templates
    • findByGroupId

      List<CommerceNotificationTemplate> findByGroupId(long groupId)
      Deprecated.
      Returns all the commerce notification templates where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce notification templates
    • findByGroupId

      List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

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

      List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

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

      List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

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

      CommerceNotificationTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the first commerce notification template 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 commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByGroupId_First

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

      CommerceNotificationTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByGroupId_Last

      CommerceNotificationTemplate fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByGroupId_PrevAndNext

      CommerceNotificationTemplate[] findByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • filterFindByGroupId

      List<CommerceNotificationTemplate> filterFindByGroupId(long groupId)
      Deprecated.
      Returns all the commerce notification templates that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce notification templates that the user has permission to view
    • filterFindByGroupId

      List<CommerceNotificationTemplate> filterFindByGroupId(long groupId, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates that the user has permission to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates that the user has permission to view
    • filterFindByGroupId

      List<CommerceNotificationTemplate> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates that the user has permissions to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceNotificationTemplateModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      CommerceNotificationTemplate[] filterFindByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set of commerce notification templates that the user has permission to view where groupId = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Deprecated.
      Removes all the commerce notification templates where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Deprecated.
      Returns the number of commerce notification templates where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce notification templates
    • filterCountByGroupId

      int filterCountByGroupId(long groupId)
      Deprecated.
      Returns the number of commerce notification templates that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce notification templates that the user has permission to view
    • findByG_E

      List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled)
      Deprecated.
      Returns all the commerce notification templates where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      Returns:
      the matching commerce notification templates
    • findByG_E

      List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates where groupId = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates
    • findByG_E

      List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates
    • findByG_E

      List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (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 templates
    • findByG_E_First

      CommerceNotificationTemplate findByG_E_First(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the first commerce notification template in the ordered set where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByG_E_First

      CommerceNotificationTemplate fetchByG_E_First(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the first commerce notification template in the ordered set where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByG_E_Last

      CommerceNotificationTemplate findByG_E_Last(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByG_E_Last

      CommerceNotificationTemplate fetchByG_E_Last(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByG_E_PrevAndNext

      CommerceNotificationTemplate[] findByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and enabled = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • filterFindByG_E

      List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled)
      Deprecated.
      Returns all the commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      Returns:
      the matching commerce notification templates that the user has permission to view
    • filterFindByG_E

      List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates that the user has permission to view
    • filterFindByG_E

      List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates that the user has permissions to view where groupId = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates that the user has permission to view
    • filterFindByG_E_PrevAndNext

      CommerceNotificationTemplate[] filterFindByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set of commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • removeByG_E

      void removeByG_E(long groupId, boolean enabled)
      Deprecated.
      Removes all the commerce notification templates where groupId = ? and enabled = ? from the database.
      Parameters:
      groupId - the group ID
      enabled - the enabled
    • countByG_E

      int countByG_E(long groupId, boolean enabled)
      Deprecated.
      Returns the number of commerce notification templates where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      Returns:
      the number of matching commerce notification templates
    • filterCountByG_E

      int filterCountByG_E(long groupId, boolean enabled)
      Deprecated.
      Returns the number of commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      enabled - the enabled
      Returns:
      the number of matching commerce notification templates that the user has permission to view
    • findByG_T_E

      List<CommerceNotificationTemplate> findByG_T_E(long groupId, String type, boolean enabled)
      Deprecated.
      Returns all the commerce notification templates where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      Returns:
      the matching commerce notification templates
    • findByG_T_E

      List<CommerceNotificationTemplate> findByG_T_E(long groupId, String type, boolean enabled, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates
    • findByG_T_E

      List<CommerceNotificationTemplate> findByG_T_E(long groupId, String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates
    • findByG_T_E

      List<CommerceNotificationTemplate> findByG_T_E(long groupId, String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (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 templates
    • findByG_T_E_First

      CommerceNotificationTemplate findByG_T_E_First(long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the first commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByG_T_E_First

      CommerceNotificationTemplate fetchByG_T_E_First(long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the first commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByG_T_E_Last

      CommerceNotificationTemplate findByG_T_E_Last(long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a matching commerce notification template could not be found
    • fetchByG_T_E_Last

      CommerceNotificationTemplate fetchByG_T_E_Last(long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns the last commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce notification template, or null if a matching commerce notification template could not be found
    • findByG_T_E_PrevAndNext

      CommerceNotificationTemplate[] findByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • filterFindByG_T_E

      List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, String type, boolean enabled)
      Deprecated.
      Returns all the commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      Returns:
      the matching commerce notification templates that the user has permission to view
    • filterFindByG_T_E

      List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, String type, boolean enabled, int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      Returns:
      the range of matching commerce notification templates that the user has permission to view
    • filterFindByG_T_E

      List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates that the user has permissions to view where groupId = ? and type = ? and enabled = ?.

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

      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      start - the lower bound of the range of commerce notification templates
      end - the upper bound of the range of commerce notification templates (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce notification templates that the user has permission to view
    • filterFindByG_T_E_PrevAndNext

      CommerceNotificationTemplate[] filterFindByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification templates before and after the current commerce notification template in the ordered set of commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
      Parameters:
      commerceNotificationTemplateId - the primary key of the current commerce notification template
      groupId - the group ID
      type - the type
      enabled - the enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • removeByG_T_E

      void removeByG_T_E(long groupId, String type, boolean enabled)
      Deprecated.
      Removes all the commerce notification templates where groupId = ? and type = ? and enabled = ? from the database.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
    • countByG_T_E

      int countByG_T_E(long groupId, String type, boolean enabled)
      Deprecated.
      Returns the number of commerce notification templates where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      Returns:
      the number of matching commerce notification templates
    • filterCountByG_T_E

      int filterCountByG_T_E(long groupId, String type, boolean enabled)
      Deprecated.
      Returns the number of commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
      Parameters:
      groupId - the group ID
      type - the type
      enabled - the enabled
      Returns:
      the number of matching commerce notification templates that the user has permission to view
    • cacheResult

      void cacheResult(CommerceNotificationTemplate commerceNotificationTemplate)
      Deprecated.
      Caches the commerce notification template in the entity cache if it is enabled.
      Parameters:
      commerceNotificationTemplate - the commerce notification template
    • cacheResult

      void cacheResult(List<CommerceNotificationTemplate> commerceNotificationTemplates)
      Deprecated.
      Caches the commerce notification templates in the entity cache if it is enabled.
      Parameters:
      commerceNotificationTemplates - the commerce notification templates
    • create

      CommerceNotificationTemplate create(long commerceNotificationTemplateId)
      Deprecated.
      Creates a new commerce notification template with the primary key. Does not add the commerce notification template to the database.
      Parameters:
      commerceNotificationTemplateId - the primary key for the new commerce notification template
      Returns:
      the new commerce notification template
    • remove

      CommerceNotificationTemplate remove(long commerceNotificationTemplateId) throws NoSuchNotificationTemplateException
      Deprecated.
      Removes the commerce notification template with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceNotificationTemplateId - the primary key of the commerce notification template
      Returns:
      the commerce notification template that was removed
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • updateImpl

      CommerceNotificationTemplate updateImpl(CommerceNotificationTemplate commerceNotificationTemplate)
      Deprecated.
    • findByPrimaryKey

      CommerceNotificationTemplate findByPrimaryKey(long commerceNotificationTemplateId) throws NoSuchNotificationTemplateException
      Deprecated.
      Returns the commerce notification template with the primary key or throws a NoSuchNotificationTemplateException if it could not be found.
      Parameters:
      commerceNotificationTemplateId - the primary key of the commerce notification template
      Returns:
      the commerce notification template
      Throws:
      NoSuchNotificationTemplateException - if a commerce notification template with the primary key could not be found
    • fetchByPrimaryKey

      CommerceNotificationTemplate fetchByPrimaryKey(long commerceNotificationTemplateId)
      Deprecated.
      Returns the commerce notification template with the primary key or returns null if it could not be found.
      Parameters:
      commerceNotificationTemplateId - the primary key of the commerce notification template
      Returns:
      the commerce notification template, or null if a commerce notification template with the primary key could not be found
    • findAll

      Deprecated.
      Returns all the commerce notification templates.
      Returns:
      the commerce notification templates
    • findAll

      List<CommerceNotificationTemplate> findAll(int start, int end)
      Deprecated.
      Returns a range of all the commerce notification templates.

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

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

      List<CommerceNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
      Deprecated.
      Returns an ordered range of all the commerce notification templates.

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

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

      List<CommerceNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
      Deprecated.
      Returns an ordered range of all the commerce notification templates.

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

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

      void removeAll()
      Deprecated.
      Removes all the commerce notification templates from the database.
    • countAll

      int countAll()
      Deprecated.
      Returns the number of commerce notification templates.
      Returns:
      the number of commerce notification templates