Class CommerceNotificationTemplateUtil
com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationTemplatePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated.Caches the commerce notification template in the entity cache if it is enabled.static voidcacheResult(List<CommerceNotificationTemplate> commerceNotificationTemplates) Deprecated.Caches the commerce notification templates in the entity cache if it is enabled.static voidDeprecated.static voidclearCache(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated.static intcountAll()Deprecated.Returns the number of commerce notification templates.static intcountByG_E(long groupId, boolean enabled) Deprecated.Returns the number of commerce notification templates where groupId = ? and enabled = ?.static intcountByG_T_E(long groupId, String type, boolean enabled) Deprecated.Returns the number of commerce notification templates where groupId = ? and type = ? and enabled = ?.static intcountByGroupId(long groupId) Deprecated.Returns the number of commerce notification templates where groupId = ?.static intcountByUuid(String uuid) Deprecated.Returns the number of commerce notification templates where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Deprecated.Returns the number of commerce notification templates where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Deprecated.Returns the number of commerce notification templates where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.static CommerceNotificationTemplatecreate(long commerceNotificationTemplateId) Deprecated.Creates a new commerce notification template with the primary key.static CommerceNotificationTemplatefetchByG_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 = ?.static CommerceNotificationTemplatefetchByG_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 = ?.static CommerceNotificationTemplatefetchByG_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 = ?.static CommerceNotificationTemplatefetchByG_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 = ?.static CommerceNotificationTemplatefetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the first commerce notification template in the ordered set where groupId = ?.static CommerceNotificationTemplatefetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the last commerce notification template in the ordered set where groupId = ?.static CommerceNotificationTemplatefetchByPrimaryKey(long commerceNotificationTemplateId) Deprecated.Returns the commerce notification template with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.static CommerceNotificationTemplatefetchByUuid_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 = ?.static CommerceNotificationTemplatefetchByUuid_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 = ?.static CommerceNotificationTemplatefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the first commerce notification template in the ordered set where uuid = ?.static CommerceNotificationTemplatefetchByUUID_G(String uuid, long groupId) Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or returnsnullif it could not be found.static CommerceNotificationTemplatefetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceNotificationTemplatefetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the last commerce notification template in the ordered set where uuid = ?.static intfilterCountByG_E(long groupId, boolean enabled) Deprecated.Returns the number of commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.static intfilterCountByG_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 = ?.static intfilterCountByGroupId(long groupId) Deprecated.Returns the number of commerce notification templates that the user has permission to view where groupId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplate[]filterFindByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplate[]filterFindByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) 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 = ?.static List<CommerceNotificationTemplate>filterFindByGroupId(long groupId) Deprecated.Returns all the commerce notification templates that the user has permission to view where groupId = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplate[]filterFindByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) 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 = ?.static List<CommerceNotificationTemplate>findAll()Deprecated.Returns all the commerce notification templates.static List<CommerceNotificationTemplate>findAll(int start, int end) Deprecated.Returns a range of all the commerce notification templates.static 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.static 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.static List<CommerceNotificationTemplate>findByG_E(long groupId, boolean enabled) Deprecated.Returns all the commerce notification templates where groupId = ? and enabled = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplatefindByG_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 = ?.static CommerceNotificationTemplatefindByG_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 = ?.static CommerceNotificationTemplate[]findByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and enabled = ?.static List<CommerceNotificationTemplate>findByG_T_E(long groupId, String type, boolean enabled) Deprecated.Returns all the commerce notification templates where groupId = ? and type = ? and enabled = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplatefindByG_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 = ?.static CommerceNotificationTemplatefindByG_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 = ?.static CommerceNotificationTemplate[]findByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.static List<CommerceNotificationTemplate>findByGroupId(long groupId) Deprecated.Returns all the commerce notification templates where groupId = ?.static List<CommerceNotificationTemplate>findByGroupId(long groupId, int start, int end) Deprecated.Returns a range of all the commerce notification templates where groupId = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplatefindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the first commerce notification template in the ordered set where groupId = ?.static CommerceNotificationTemplatefindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the last commerce notification template in the ordered set where groupId = ?.static CommerceNotificationTemplate[]findByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ?.static CommerceNotificationTemplatefindByPrimaryKey(long commerceNotificationTemplateId) Deprecated.Returns the commerce notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.static List<CommerceNotificationTemplate>findByUuid(String uuid) Deprecated.Returns all the commerce notification templates where uuid = ?.static List<CommerceNotificationTemplate>findByUuid(String uuid, int start, int end) Deprecated.Returns a range of all the commerce notification templates where uuid = ?.static 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 = ?.static 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 = ?.static List<CommerceNotificationTemplate>findByUuid_C(String uuid, long companyId) Deprecated.Returns all the commerce notification templates where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CommerceNotificationTemplatefindByUuid_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 = ?.static CommerceNotificationTemplatefindByUuid_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 = ?.static CommerceNotificationTemplate[]findByUuid_C_PrevAndNext(long commerceNotificationTemplateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ? and companyId = ?.static CommerceNotificationTemplatefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the first commerce notification template in the ordered set where uuid = ?.static CommerceNotificationTemplatefindByUUID_G(String uuid, long groupId) Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.static CommerceNotificationTemplatefindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the last commerce notification template in the ordered set where uuid = ?.static CommerceNotificationTemplate[]findByUuid_PrevAndNext(long commerceNotificationTemplateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ?.static List<CommerceNotificationTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.static List<CommerceNotificationTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.static List<CommerceNotificationTemplate>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.Deprecated.static CommerceNotificationTemplateremove(long commerceNotificationTemplateId) Deprecated.Removes the commerce notification template with the primary key from the database.static voidDeprecated.Removes all the commerce notification templates from the database.static voidremoveByG_E(long groupId, boolean enabled) Deprecated.Removes all the commerce notification templates where groupId = ? and enabled = ? from the database.static voidremoveByG_T_E(long groupId, String type, boolean enabled) Deprecated.Removes all the commerce notification templates where groupId = ? and type = ? and enabled = ? from the database.static voidremoveByGroupId(long groupId) Deprecated.Removes all the commerce notification templates where groupId = ? from the database.static voidremoveByUuid(String uuid) Deprecated.Removes all the commerce notification templates where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Deprecated.Removes all the commerce notification templates where uuid = ? and companyId = ? from the database.static CommerceNotificationTemplateremoveByUUID_G(String uuid, long groupId) Deprecated.Removes the commerce notification template where uuid = ? and groupId = ? from the database.static voidsetPersistence(CommerceNotificationTemplatePersistence persistence) Deprecated.static CommerceNotificationTemplateupdate(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated.static CommerceNotificationTemplateupdate(CommerceNotificationTemplate commerceNotificationTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.static CommerceNotificationTemplateupdateImpl(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated.
-
Constructor Details
-
CommerceNotificationTemplateUtil
public CommerceNotificationTemplateUtil()Deprecated.
-
-
Method Details
-
clearCache
public static void clearCache()Deprecated.- See Also:
-
BasePersistence.clearCache()
-
clearCache
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,CommerceNotificationTemplate> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceNotificationTemplate> 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<CommerceNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceNotificationTemplate update(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceNotificationTemplate update(CommerceNotificationTemplate commerceNotificationTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Deprecated.Returns all the commerce notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce notification templates
-
findByUuid
Deprecated.Returns a range of all the commerce notification templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of matching commerce notification templates
-
findByUuid
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates
-
findByUuid
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification templates
-
findByUuid_First
public static 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByUuid_First
public static 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByUuid_Last
public static 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByUuid_Last
public static 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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByUuid_PrevAndNext
public static 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 templateuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
removeByUuid
Deprecated.Removes all the commerce notification templates where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Deprecated.Returns the number of commerce notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce notification templates
-
findByUUID_G
public static CommerceNotificationTemplate findByUUID_G(String uuid, long groupId) throws NoSuchNotificationTemplateException Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByUUID_G
Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
fetchByUUID_G
public static CommerceNotificationTemplate fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Deprecated.Returns the commerce notification template where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
removeByUUID_G
public static 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 uuidgroupId- the group ID- Returns:
- the commerce notification template that was removed
- Throws:
NoSuchNotificationTemplateException
-
countByUUID_G
Deprecated.Returns the number of commerce notification templates where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching commerce notification templates
-
findByUuid_C
Deprecated.Returns all the commerce notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce notification templates
-
findByUuid_C
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of matching commerce notification templates
-
findByUuid_C
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates
-
findByUuid_C
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification templates
-
findByUuid_C_First
public static 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByUuid_C_First
public static 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByUuid_C_Last
public static 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByUuid_C_Last
public static 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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByUuid_C_PrevAndNext
public static 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 templateuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
removeByUuid_C
Deprecated.Removes all the commerce notification templates where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Deprecated.Returns the number of commerce notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce notification templates
-
findByGroupId
Deprecated.Returns all the commerce notification templates where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching commerce notification templates
-
findByGroupId
Deprecated.Returns a range of all the commerce notification templates where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of matching commerce notification templates
-
findByGroupId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates
-
findByGroupId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification templates
-
findByGroupId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByGroupId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByGroupId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByGroupId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByGroupId_PrevAndNext
public static 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 templategroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
filterFindByGroupId
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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce notification templatesend- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static 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 templategroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
removeByGroupId
public static void removeByGroupId(long groupId) Deprecated.Removes all the commerce notification templates where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static 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
public static 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
Deprecated.Returns all the commerce notification templates where groupId = ? and enabled = ?.- Parameters:
groupId- the group IDenabled- the enabled- Returns:
- the matching commerce notification templates
-
findByG_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of matching commerce notification templates
-
findByG_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates
-
findByG_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification templates
-
findByG_E_First
public static 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 IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByG_E_First
public static 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 IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByG_E_Last
public static 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 IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByG_E_Last
public static 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 IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByG_E_PrevAndNext
public static 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 templategroupId- the group IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
filterFindByG_E
Deprecated.Returns all the commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.- Parameters:
groupId- the group IDenabled- the enabled- Returns:
- the matching commerce notification templates that the user has permission to view
-
filterFindByG_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates that the user has permission to view
-
filterFindByG_E_PrevAndNext
public static 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 templategroupId- the group IDenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
removeByG_E
public static 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 IDenabled- the enabled
-
countByG_E
public static int countByG_E(long groupId, boolean enabled) Deprecated.Returns the number of commerce notification templates where groupId = ? and enabled = ?.- Parameters:
groupId- the group IDenabled- the enabled- Returns:
- the number of matching commerce notification templates
-
filterCountByG_E
public static 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 IDenabled- the enabled- Returns:
- the number of matching commerce notification templates that the user has permission to view
-
findByG_T_E
public static 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 IDtype- the typeenabled- the enabled- Returns:
- the matching commerce notification templates
-
findByG_T_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDtype- the typeenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of matching commerce notification templates
-
findByG_T_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDtype- the typeenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates
-
findByG_T_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDtype- the typeenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification templates
-
findByG_T_E_First
public static 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 IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByG_T_E_First
public static 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 IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByG_T_E_Last
public static 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 IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a matching commerce notification template could not be foundNoSuchNotificationTemplateException
-
fetchByG_T_E_Last
public static 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 IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching commerce notification template, or
nullif a matching commerce notification template could not be found
-
findByG_T_E_PrevAndNext
public static 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 templategroupId- the group IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
filterFindByG_T_E
public static 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 IDtype- the typeenabled- the enabled- Returns:
- the matching commerce notification templates that the user has permission to view
-
filterFindByG_T_E
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDtype- the typeenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
groupId- the group IDtype- the typeenabled- the enabledstart- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce notification templates that the user has permission to view
-
filterFindByG_T_E_PrevAndNext
public static 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 templategroupId- the group IDtype- the typeenabled- the enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next commerce notification template
- Throws:
NoSuchNotificationTemplateException- if a commerce notification template with the primary key could not be foundNoSuchNotificationTemplateException
-
removeByG_T_E
Deprecated.Removes all the commerce notification templates where groupId = ? and type = ? and enabled = ? from the database.- Parameters:
groupId- the group IDtype- the typeenabled- the enabled
-
countByG_T_E
Deprecated.Returns the number of commerce notification templates where groupId = ? and type = ? and enabled = ?.- Parameters:
groupId- the group IDtype- the typeenabled- the enabled- Returns:
- the number of matching commerce notification templates
-
filterCountByG_T_E
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 IDtype- the typeenabled- the enabled- Returns:
- the number of matching commerce notification templates that the user has permission to view
-
cacheResult
Deprecated.Caches the commerce notification template in the entity cache if it is enabled.- Parameters:
commerceNotificationTemplate- the commerce notification template
-
cacheResult
Deprecated.Caches the commerce notification templates in the entity cache if it is enabled.- Parameters:
commerceNotificationTemplates- the commerce notification templates
-
create
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
public static 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 foundNoSuchNotificationTemplateException
-
updateImpl
public static CommerceNotificationTemplate updateImpl(CommerceNotificationTemplate commerceNotificationTemplate) Deprecated. -
findByPrimaryKey
public static CommerceNotificationTemplate findByPrimaryKey(long commerceNotificationTemplateId) throws NoSuchNotificationTemplateException Deprecated.Returns the commerce notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif 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 foundNoSuchNotificationTemplateException
-
fetchByPrimaryKey
Deprecated.Returns the commerce notification template with the primary key or returnsnullif it could not be found.- Parameters:
commerceNotificationTemplateId- the primary key of the commerce notification template- Returns:
- the commerce notification template, or
nullif 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
Deprecated.Returns a range of all the commerce notification templates.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
start- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)- Returns:
- the range of commerce notification templates
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
start- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of commerce notification templates
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromCommerceNotificationTemplateModelImpl.- Parameters:
start- the lower bound of the range of commerce notification templatesend- the upper bound of the range of commerce notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of commerce notification templates
-
removeAll
public static void removeAll()Deprecated.Removes all the commerce notification templates from the database. -
countAll
public static int countAll()Deprecated.Returns the number of commerce notification templates.- Returns:
- the number of commerce notification templates
-
getPersistence
Deprecated. -
setPersistence
Deprecated.
-