Interface NotificationTemplatePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationTemplate>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCompanyId(long companyId) Returns the number of notification templates where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of notification templates where externalReferenceCode = ? and companyId = ?.intcountByUuid(String uuid) Returns the number of notification templates where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of notification templates where uuid = ? and companyId = ?.create(long notificationTemplateId) Creates a new notification template with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where companyId = ?.default NotificationTemplatefetchByERC_C(String externalReferenceCode, long companyId) Returns the notification template where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the notification template where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long notificationTemplateId) Returns the notification template with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ?.intfilterCountByCompanyId(long companyId) Returns the number of notification templates that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of notification templates that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of notification templates that the user has permission to view where uuid = ? and companyId = ?.default List<NotificationTemplate> filterFindByCompanyId(long companyId) Returns all the notification templates that the user has permission to view where companyId = ?.default List<NotificationTemplate> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the notification templates that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where companyId = ?.default List<NotificationTemplate> filterFindByUuid(String uuid) Returns all the notification templates that the user has permission to view where uuid = ?.default List<NotificationTemplate> filterFindByUuid(String uuid, int start, int end) Returns a range of all the notification templates that the user has permission to view where uuid = ?.filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where uuid = ?.default List<NotificationTemplate> filterFindByUuid_C(String uuid, long companyId) Returns all the notification templates that the user has permission to view where uuid = ? and companyId = ?.default List<NotificationTemplate> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the notification templates that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where uuid = ? and companyId = ?.default List<NotificationTemplate> findByCompanyId(long companyId) Returns all the notification templates where companyId = ?.default List<NotificationTemplate> findByCompanyId(long companyId, int start, int end) Returns a range of all the notification templates where companyId = ?.default List<NotificationTemplate> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where companyId = ?.findByERC_C(String externalReferenceCode, long companyId) Returns the notification template where externalReferenceCode = ? and companyId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.findByPrimaryKey(long notificationTemplateId) Returns the notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.default List<NotificationTemplate> findByUuid(String uuid) Returns all the notification templates where uuid = ?.default List<NotificationTemplate> findByUuid(String uuid, int start, int end) Returns a range of all the notification templates where uuid = ?.default List<NotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where uuid = ?.default List<NotificationTemplate> findByUuid_C(String uuid, long companyId) Returns all the notification templates where uuid = ? and companyId = ?.default List<NotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the notification templates where uuid = ? and companyId = ?.default List<NotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ?.remove(long notificationTemplateId) Removes the notification template with the primary key from the database.voidremoveByCompanyId(long companyId) Removes all the notification templates where companyId = ? from the database.removeByERC_C(String externalReferenceCode, long companyId) Removes the notification template where externalReferenceCode = ? and companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the notification templates where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the notification templates where uuid = ? and companyId = ? from the database.updateImpl(NotificationTemplate notificationTemplate) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
List<NotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification templates
-
findByUuid_First
NotificationTemplate findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first notification template in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template
- Throws:
NoSuchNotificationTemplateException- if a matching notification template could not be found
-
fetchByUuid_First
NotificationTemplate fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template, or
nullif a matching notification template could not be found
-
filterFindByUuid
List<NotificationTemplate> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates that the user has permission to view
-
removeByUuid
Removes all the notification templates where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching notification templates
-
filterCountByUuid
Returns the number of notification templates that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching notification templates that the user has permission to view
-
findByUuid_C
List<NotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification templates
-
findByUuid_C_First
NotificationTemplate findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first notification template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template
- Throws:
NoSuchNotificationTemplateException- if a matching notification template could not be found
-
fetchByUuid_C_First
NotificationTemplate fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template, or
nullif a matching notification template could not be found
-
filterFindByUuid_C
List<NotificationTemplate> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates that the user has permission to view
-
removeByUuid_C
Removes all the notification templates where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching notification templates
-
filterCountByUuid_C
Returns the number of notification templates that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching notification templates that the user has permission to view
-
findByCompanyId
List<NotificationTemplate> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification templates where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification templates
-
findByCompanyId_First
NotificationTemplate findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException Returns the first notification template in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template
- Throws:
NoSuchNotificationTemplateException- if a matching notification template could not be found
-
fetchByCompanyId_First
NotificationTemplate fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns the first notification template in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification template, or
nullif a matching notification template could not be found
-
filterFindByCompanyId
List<NotificationTemplate> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates that the user has permission to view
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the notification templates where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of notification templates where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching notification templates
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of notification templates that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching notification templates that the user has permission to view
-
findByERC_C
NotificationTemplate findByERC_C(String externalReferenceCode, long companyId) throws NoSuchNotificationTemplateException Returns the notification template where externalReferenceCode = ? and companyId = ? or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching notification template
- Throws:
NoSuchNotificationTemplateException- if a matching notification template could not be found
-
fetchByERC_C
NotificationTemplate fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the notification template where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching notification template, or
nullif a matching notification template could not be found
-
removeByERC_C
NotificationTemplate removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchNotificationTemplateException Removes the notification template where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the notification template that was removed
- Throws:
NoSuchNotificationTemplateException
-
countByERC_C
Returns the number of notification templates where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching notification templates
-
create
Creates a new notification template with the primary key. Does not add the notification template to the database.- Parameters:
notificationTemplateId- the primary key for the new notification template- Returns:
- the new notification template
-
remove
Removes the notification template with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
notificationTemplateId- the primary key of the notification template- Returns:
- the notification template that was removed
- Throws:
NoSuchNotificationTemplateException- if a notification template with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
NotificationTemplate findByPrimaryKey(long notificationTemplateId) throws NoSuchNotificationTemplateException Returns the notification template with the primary key or throws aNoSuchNotificationTemplateExceptionif it could not be found.- Parameters:
notificationTemplateId- the primary key of the notification template- Returns:
- the notification template
- Throws:
NoSuchNotificationTemplateException- if a notification template with the primary key could not be found
-
fetchByPrimaryKey
Returns the notification template with the primary key or returnsnullif it could not be found.- Parameters:
notificationTemplateId- the primary key of the notification template- Returns:
- the notification template, or
nullif a notification template with the primary key could not be found
-
fetchByERC_C
Returns the notification template where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching notification template, or
nullif a matching notification template could not be found
-
findByUuid
Returns all the notification templates where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching notification templates
-
findByUuid
Returns a range of all the notification templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates
-
findByUuid
default List<NotificationTemplate> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates
-
filterFindByUuid
Returns all the notification templates that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching notification templates that the user has permission to view
-
filterFindByUuid
Returns a range of all the notification templates that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates that the user has permission to view
-
findByUuid_C
Returns all the notification templates where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching notification templates
-
findByUuid_C
Returns a range of all the notification templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates
-
findByUuid_C
default List<NotificationTemplate> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates
-
filterFindByUuid_C
Returns all the notification templates that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching notification templates that the user has permission to view
-
filterFindByUuid_C
default List<NotificationTemplate> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the notification templates that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates that the user has permission to view
-
findByCompanyId
Returns all the notification templates where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching notification templates
-
findByCompanyId
Returns a range of all the notification templates where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates
-
findByCompanyId
default List<NotificationTemplate> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationTemplate> orderByComparator) Returns an ordered range of all the notification templates where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification templates
-
filterFindByCompanyId
Returns all the notification templates that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching notification templates that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the notification templates that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.notification.model.impl.NotificationTemplateModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification templatesend- the upper bound of the range of notification templates (not inclusive)- Returns:
- the range of matching notification templates that the user has permission to view
-