@ProviderType public interface CommerceNotificationTemplatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationTemplate>
Caching information and settings can be found in portal.properties
CommerceNotificationTemplateUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceNotificationTemplate commerceNotificationTemplate)
Caches the commerce notification template in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceNotificationTemplate> commerceNotificationTemplates)
Caches the commerce notification templates in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce notification templates.
|
int |
countByG_E(long groupId,
boolean enabled)
Returns the number of commerce notification templates where groupId = ? and enabled = ?.
|
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 = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce notification templates where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce notification templates where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce notification templates where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce notification templates where uuid = ?.
|
CommerceNotificationTemplate |
create(long commerceNotificationTemplateId)
Creates a new commerce notification template with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceNotificationTemplate |
fetchByPrimaryKey(long commerceNotificationTemplateId)
Returns the commerce notification template with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of commerce notification templates that the user has permission to view where groupId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
filterFindByGroupId(long groupId)
Returns all the commerce notification templates that the user has permission to view where groupId = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
findAll()
Returns all the commerce notification templates.
|
java.util.List<CommerceNotificationTemplate> |
findAll(int start,
int end)
Returns a range of all the commerce notification templates.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByG_E(long groupId,
boolean enabled)
Returns all the commerce notification templates where groupId = ? and enabled = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId)
Returns all the commerce notification templates where groupId = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce notification templates where groupId = ?.
|
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 = ?.
|
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 = ?.
|
CommerceNotificationTemplate |
findByPrimaryKey(long commerceNotificationTemplateId)
Returns the commerce notification template with the primary key or throws a
NoSuchNotificationTemplateException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce notification templates where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid)
Returns all the commerce notification templates where uuid = ?.
|
java.util.List<CommerceNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce notification templates where uuid = ?.
|
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 = ?.
|
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 = ?.
|
CommerceNotificationTemplate |
remove(long commerceNotificationTemplateId)
Removes the commerce notification template with the primary key from the database.
|
void |
removeAll()
Removes all the commerce notification templates from the database.
|
void |
removeByG_E(long groupId,
boolean enabled)
Removes all the commerce notification templates where groupId = ? and enabled = ? from the database.
|
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.
|
void |
removeByGroupId(long groupId)
Removes all the commerce notification templates where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce notification templates where uuid = ? and companyId = ? from the database.
|
CommerceNotificationTemplate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce notification template where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce notification templates where uuid = ? from the database.
|
CommerceNotificationTemplate |
updateImpl(CommerceNotificationTemplate commerceNotificationTemplate) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceNotificationTemplate> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchNotificationTemplateException
uuid
- the uuidgroupId
- the group IDNoSuchNotificationTemplateException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceNotificationTemplate> findByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 cacheCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate[] 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 foundjava.util.List<CommerceNotificationTemplate> filterFindByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceNotificationTemplate> findByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledjava.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)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
)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 cacheCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate[] 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 foundjava.util.List<CommerceNotificationTemplate> filterFindByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledjava.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)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
)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 foundvoid removeByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledint countByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledint filterCountByG_E(long groupId, boolean enabled)
groupId
- the group IDenabled
- the enabledjava.util.List<CommerceNotificationTemplate> findByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledjava.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)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
)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 cacheCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate 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 foundCommerceNotificationTemplate[] 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 foundjava.util.List<CommerceNotificationTemplate> filterFindByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledjava.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)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
)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 foundvoid removeByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledint countByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledint filterCountByG_T_E(long groupId, java.lang.String type, boolean enabled)
groupId
- the group IDtype
- the typeenabled
- the enabledvoid cacheResult(CommerceNotificationTemplate commerceNotificationTemplate)
commerceNotificationTemplate
- the commerce notification templatevoid cacheResult(java.util.List<CommerceNotificationTemplate> commerceNotificationTemplates)
commerceNotificationTemplates
- the commerce notification templatesCommerceNotificationTemplate create(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the primary key for the new commerce notification templateCommerceNotificationTemplate 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 foundCommerceNotificationTemplate updateImpl(CommerceNotificationTemplate commerceNotificationTemplate)
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 foundCommerceNotificationTemplate 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 foundjava.util.List<CommerceNotificationTemplate> findAll()
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)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
)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 cachevoid removeAll()
int countAll()