public class CommerceNotificationTemplateUtil
extends java.lang.Object
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
CommerceNotificationTemplatePersistence
Constructor and Description |
---|
CommerceNotificationTemplateUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceNotificationTemplate commerceNotificationTemplate)
Caches the commerce notification template in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceNotificationTemplate> commerceNotificationTemplates)
Caches the commerce notification templates in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceNotificationTemplate commerceNotificationTemplate) |
static int |
countAll()
Returns the number of commerce notification templates.
|
static int |
countByG_E(long groupId,
boolean enabled)
Returns the number of commerce notification templates where groupId = ? and enabled = ?.
|
static int |
countByG_T_E(long groupId,
java.lang.String type,
boolean enabled)
Returns the number of commerce notification templates where groupId = ? and type = ? and enabled = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of commerce notification templates where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce notification templates where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce notification templates where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce notification templates where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceNotificationTemplate |
create(long commerceNotificationTemplateId)
Creates a new commerce notification template with the primary key.
|
static CommerceNotificationTemplate |
fetchByG_E_First(long groupId,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ? and enabled = ?.
|
static CommerceNotificationTemplate |
fetchByG_E_Last(long groupId,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where groupId = ? and enabled = ?.
|
static CommerceNotificationTemplate |
fetchByG_T_E_First(long groupId,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
|
static CommerceNotificationTemplate |
fetchByG_T_E_Last(long groupId,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
|
static CommerceNotificationTemplate |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ?.
|
static CommerceNotificationTemplate |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where groupId = ?.
|
static CommerceNotificationTemplate |
fetchByPrimaryKey(long commerceNotificationTemplateId)
Returns the commerce notification template with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceNotificationTemplate> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommerceNotificationTemplate |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where uuid = ? and companyId = ?.
|
static CommerceNotificationTemplate |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where uuid = ? and companyId = ?.
|
static CommerceNotificationTemplate |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where uuid = ?.
|
static CommerceNotificationTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce notification template where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CommerceNotificationTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce notification template where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceNotificationTemplate |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where uuid = ?.
|
static int |
filterCountByG_E(long groupId,
boolean enabled)
Returns the number of commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
|
static int |
filterCountByG_T_E(long groupId,
java.lang.String type,
boolean enabled)
Returns the number of commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of commerce notification templates that the user has permission to view where groupId = ?.
|
static CommerceNotificationTemplate[] |
filterFindByG_E_PrevAndNext(long commerceNotificationTemplateId,
long groupId,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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 java.util.List<CommerceNotificationTemplate> |
filterFindByG_E(long groupId,
boolean enabled)
Returns all the commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByG_E(long groupId,
boolean enabled,
int start,
int end)
Returns a range of all the commerce notification templates that the user has permission to view where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByG_E(long groupId,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates that the user has permissions to view where groupId = ? and enabled = ?.
|
static CommerceNotificationTemplate[] |
filterFindByG_T_E_PrevAndNext(long commerceNotificationTemplateId,
long groupId,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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 java.util.List<CommerceNotificationTemplate> |
filterFindByG_T_E(long groupId,
java.lang.String type,
boolean enabled)
Returns all the commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByG_T_E(long groupId,
java.lang.String type,
boolean enabled,
int start,
int end)
Returns a range of all the commerce notification templates that the user has permission to view where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByG_T_E(long groupId,
java.lang.String type,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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[] |
filterFindByGroupId_PrevAndNext(long commerceNotificationTemplateId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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 java.util.List<CommerceNotificationTemplate> |
filterFindByGroupId(long groupId)
Returns all the commerce notification templates that the user has permission to view where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce notification templates that the user has permission to view where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates that the user has permissions to view where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findAll()
Returns all the commerce notification templates.
|
static java.util.List<CommerceNotificationTemplate> |
findAll(int start,
int end)
Returns a range of all the commerce notification templates.
|
static java.util.List<CommerceNotificationTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates.
|
static java.util.List<CommerceNotificationTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates.
|
static CommerceNotificationTemplate |
findByG_E_First(long groupId,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ? and enabled = ?.
|
static CommerceNotificationTemplate |
findByG_E_Last(long groupId,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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)
Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_E(long groupId,
boolean enabled)
Returns all the commerce notification templates where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_E(long groupId,
boolean enabled,
int start,
int end)
Returns a range of all the commerce notification templates where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_E(long groupId,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates where groupId = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_E(long groupId,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates where groupId = ? and enabled = ?.
|
static CommerceNotificationTemplate |
findByG_T_E_First(long groupId,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
|
static CommerceNotificationTemplate |
findByG_T_E_Last(long groupId,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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,
java.lang.String type,
boolean enabled,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_T_E(long groupId,
java.lang.String type,
boolean enabled)
Returns all the commerce notification templates where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_T_E(long groupId,
java.lang.String type,
boolean enabled,
int start,
int end)
Returns a range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_T_E(long groupId,
java.lang.String type,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByG_T_E(long groupId,
java.lang.String type,
boolean enabled,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates where groupId = ? and type = ? and enabled = ?.
|
static CommerceNotificationTemplate |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where groupId = ?.
|
static CommerceNotificationTemplate |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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)
Returns the commerce notification templates before and after the current commerce notification template in the ordered set where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId)
Returns all the commerce notification templates where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce notification templates where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates where groupId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates where groupId = ?.
|
static CommerceNotificationTemplate |
findByPrimaryKey(long commerceNotificationTemplateId)
Returns the commerce notification template with the primary key or throws a
NoSuchNotificationTemplateException if it could not be found. |
static CommerceNotificationTemplate |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where uuid = ? and companyId = ?.
|
static CommerceNotificationTemplate |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where uuid = ? and companyId = ?.
|
static CommerceNotificationTemplate[] |
findByUuid_C_PrevAndNext(long commerceNotificationTemplateId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce notification templates where uuid = ? and companyId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce notification templates where uuid = ? and companyId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates where uuid = ? and companyId = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates where uuid = ? and companyId = ?.
|
static CommerceNotificationTemplate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the first commerce notification template in the ordered set where uuid = ?.
|
static CommerceNotificationTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce notification template where uuid = ? and groupId = ? or throws a
NoSuchNotificationTemplateException if it could not be found. |
static CommerceNotificationTemplate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the last commerce notification template in the ordered set where uuid = ?.
|
static CommerceNotificationTemplate[] |
findByUuid_PrevAndNext(long commerceNotificationTemplateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns the commerce notification templates before and after the current commerce notification template in the ordered set where uuid = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid)
Returns all the commerce notification templates where uuid = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce notification templates where uuid = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
Returns an ordered range of all the commerce notification templates where uuid = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification templates where uuid = ?.
|
static java.util.List<CommerceNotificationTemplate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceNotificationTemplate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceNotificationTemplate> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) |
static CommerceNotificationTemplatePersistence |
getPersistence() |
static CommerceNotificationTemplate |
remove(long commerceNotificationTemplateId)
Removes the commerce notification template with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce notification templates from the database.
|
static void |
removeByG_E(long groupId,
boolean enabled)
Removes all the commerce notification templates where groupId = ? and enabled = ? from the database.
|
static void |
removeByG_T_E(long groupId,
java.lang.String type,
boolean enabled)
Removes all the commerce notification templates where groupId = ? and type = ? and enabled = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the commerce notification templates where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce notification templates where uuid = ? and companyId = ? from the database.
|
static CommerceNotificationTemplate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce notification template where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce notification templates where uuid = ? from the database.
|
static CommerceNotificationTemplate |
update(CommerceNotificationTemplate commerceNotificationTemplate) |
static CommerceNotificationTemplate |
update(CommerceNotificationTemplate commerceNotificationTemplate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceNotificationTemplate |
updateImpl(CommerceNotificationTemplate commerceNotificationTemplate) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceNotificationTemplate commerceNotificationTemplate)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceNotificationTemplate> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceNotificationTemplate> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceNotificationTemplate update(CommerceNotificationTemplate commerceNotificationTemplate)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceNotificationTemplate update(CommerceNotificationTemplate commerceNotificationTemplate, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceNotificationTemplate> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceNotificationTemplate> findByUuid(java.lang.String uuid, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationTemplate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate[] findByUuid_PrevAndNext(long commerceNotificationTemplateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CommerceNotificationTemplate findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchNotificationTemplateException
NoSuchNotificationTemplateException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchNotificationTemplateException
uuid
- the uuidgroupId
- the group IDNoSuchNotificationTemplateException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CommerceNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationTemplate findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate[] findByUuid_C_PrevAndNext(long commerceNotificationTemplateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceNotificationTemplate> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationTemplate findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate[] findByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static java.util.List<CommerceNotificationTemplate> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceNotificationTemplate> filterFindByGroupId(long groupId, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static CommerceNotificationTemplate[] filterFindByGroupId_PrevAndNext(long commerceNotificationTemplateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledpublic static java.util.List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationTemplate findByG_E_First(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByG_E_First(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate findByG_E_Last(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByG_E_Last(long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate[] findByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static java.util.List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledpublic static java.util.List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static CommerceNotificationTemplate[] filterFindByG_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static void removeByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledpublic static int countByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledpublic static int filterCountByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledpublic static java.util.List<CommerceNotificationTemplate> findByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledpublic static java.util.List<CommerceNotificationTemplate> findByG_T_E(long groupId, java.lang.String type, boolean enabled, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> findByG_T_E(long groupId, java.lang.String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findByG_T_E(long groupId, java.lang.String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationTemplate findByG_T_E_First(long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByG_T_E_First(long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate findByG_T_E_Last(long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
groupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate fetchByG_T_E_Last(long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
groupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template could not be foundpublic static CommerceNotificationTemplate[] findByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static java.util.List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledpublic static java.util.List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, java.lang.String type, boolean enabled, int start, int end)
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
.
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)public static java.util.List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, java.lang.String type, boolean enabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static CommerceNotificationTemplate[] filterFindByG_T_E_PrevAndNext(long commerceNotificationTemplateId, long groupId, java.lang.String type, boolean enabled, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the current commerce notification templategroupId
- the group IDtype
- the typeenabled
- the enabledorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static void removeByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledpublic static int countByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledpublic static int filterCountByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledpublic static void cacheResult(CommerceNotificationTemplate commerceNotificationTemplate)
commerceNotificationTemplate
- the commerce notification templatepublic static void cacheResult(java.util.List<CommerceNotificationTemplate> commerceNotificationTemplates)
commerceNotificationTemplates
- the commerce notification templatespublic static CommerceNotificationTemplate create(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the primary key for the new commerce notification templatepublic static CommerceNotificationTemplate remove(long commerceNotificationTemplateId) throws NoSuchNotificationTemplateException
commerceNotificationTemplateId
- the primary key of the commerce notification templateNoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static CommerceNotificationTemplate updateImpl(CommerceNotificationTemplate commerceNotificationTemplate)
public static CommerceNotificationTemplate findByPrimaryKey(long commerceNotificationTemplateId) throws NoSuchNotificationTemplateException
NoSuchNotificationTemplateException
if it could not be found.commerceNotificationTemplateId
- the primary key of the commerce notification templateNoSuchNotificationTemplateException
- if a commerce notification template with the primary key could not be foundpublic static CommerceNotificationTemplate fetchByPrimaryKey(long commerceNotificationTemplateId)
null
if it could not be found.commerceNotificationTemplateId
- the primary key of the commerce notification templatenull
if a commerce notification template with the primary key could not be foundpublic static java.util.List<CommerceNotificationTemplate> findAll()
public static java.util.List<CommerceNotificationTemplate> findAll(int start, int end)
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
.
start
- the lower bound of the range of commerce notification templatesend
- the upper bound of the range of commerce notification templates (not inclusive)public static java.util.List<CommerceNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator)
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
.
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 (optionally null
)public static java.util.List<CommerceNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplate> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceNotificationTemplatePersistence getPersistence()