@ProviderType public interface CalendarNotificationTemplatePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>
Caching information and settings can be found in portal.properties
com.liferay.calendar.service.persistence.impl.CalendarNotificationTemplatePersistenceImpl
,
CalendarNotificationTemplateUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CalendarNotificationTemplate calendarNotificationTemplate)
Caches the calendar notification template in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CalendarNotificationTemplate> calendarNotificationTemplates)
Caches the calendar notification templates in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of calendar notification templates.
|
int |
countByC_NT_NTT(long calendarId,
java.lang.String notificationType,
java.lang.String notificationTemplateType)
Returns the number of calendar notification templates where calendarId = ? and notificationType = ? and notificationTemplateType = ?.
|
int |
countByCalendarId(long calendarId)
Returns the number of calendar notification templates where calendarId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of calendar notification templates where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of calendar notification templates where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of calendar notification templates where uuid = ?.
|
CalendarNotificationTemplate |
create(long calendarNotificationTemplateId)
Creates a new calendar notification template with the primary key.
|
CalendarNotificationTemplate |
fetchByC_NT_NTT(long calendarId,
java.lang.String notificationType,
java.lang.String notificationTemplateType)
Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returns
null if it could not be found. |
CalendarNotificationTemplate |
fetchByC_NT_NTT(long calendarId,
java.lang.String notificationType,
java.lang.String notificationTemplateType,
boolean retrieveFromCache)
Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or returns
null if it could not be found, optionally using the finder cache. |
CalendarNotificationTemplate |
fetchByCalendarId_First(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where calendarId = ?.
|
CalendarNotificationTemplate |
fetchByCalendarId_Last(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where calendarId = ?.
|
CalendarNotificationTemplate |
fetchByPrimaryKey(long calendarNotificationTemplateId)
Returns the calendar notification template with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CalendarNotificationTemplate> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CalendarNotificationTemplate |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.
|
CalendarNotificationTemplate |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where uuid = ? and companyId = ?.
|
CalendarNotificationTemplate |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where uuid = ?.
|
CalendarNotificationTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar notification template where uuid = ? and groupId = ? or returns
null if it could not be found. |
CalendarNotificationTemplate |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the calendar notification template where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CalendarNotificationTemplate |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where uuid = ?.
|
java.util.List<CalendarNotificationTemplate> |
findAll()
Returns all the calendar notification templates.
|
java.util.List<CalendarNotificationTemplate> |
findAll(int start,
int end)
Returns a range of all the calendar notification templates.
|
java.util.List<CalendarNotificationTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns an ordered range of all the calendar notification templates.
|
java.util.List<CalendarNotificationTemplate> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar notification templates.
|
CalendarNotificationTemplate |
findByC_NT_NTT(long calendarId,
java.lang.String notificationType,
java.lang.String notificationTemplateType)
Returns the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? or throws a
NoSuchNotificationTemplateException if it could not be found. |
CalendarNotificationTemplate |
findByCalendarId_First(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where calendarId = ?.
|
CalendarNotificationTemplate |
findByCalendarId_Last(long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where calendarId = ?.
|
CalendarNotificationTemplate[] |
findByCalendarId_PrevAndNext(long calendarNotificationTemplateId,
long calendarId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the calendar notification templates before and after the current calendar notification template in the ordered set where calendarId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByCalendarId(long calendarId)
Returns all the calendar notification templates where calendarId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByCalendarId(long calendarId,
int start,
int end)
Returns a range of all the calendar notification templates where calendarId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByCalendarId(long calendarId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns an ordered range of all the calendar notification templates where calendarId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByCalendarId(long calendarId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar notification templates where calendarId = ?.
|
CalendarNotificationTemplate |
findByPrimaryKey(long calendarNotificationTemplateId)
Returns the calendar notification template with the primary key or throws a
NoSuchNotificationTemplateException if it could not be found. |
CalendarNotificationTemplate |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where uuid = ? and companyId = ?.
|
CalendarNotificationTemplate |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where uuid = ? and companyId = ?.
|
CalendarNotificationTemplate[] |
findByUuid_C_PrevAndNext(long calendarNotificationTemplateId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the calendar notification templates before and after the current calendar notification template in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the calendar notification templates where uuid = ? and companyId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the calendar notification templates where uuid = ? and companyId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns an ordered range of all the calendar notification templates where uuid = ? and companyId = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar notification templates where uuid = ? and companyId = ?.
|
CalendarNotificationTemplate |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the first calendar notification template in the ordered set where uuid = ?.
|
CalendarNotificationTemplate |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar notification template where uuid = ? and groupId = ? or throws a
NoSuchNotificationTemplateException if it could not be found. |
CalendarNotificationTemplate |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the last calendar notification template in the ordered set where uuid = ?.
|
CalendarNotificationTemplate[] |
findByUuid_PrevAndNext(long calendarNotificationTemplateId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns the calendar notification templates before and after the current calendar notification template in the ordered set where uuid = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid(java.lang.String uuid)
Returns all the calendar notification templates where uuid = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the calendar notification templates where uuid = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
Returns an ordered range of all the calendar notification templates where uuid = ?.
|
java.util.List<CalendarNotificationTemplate> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar notification templates where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CalendarNotificationTemplate |
remove(long calendarNotificationTemplateId)
Removes the calendar notification template with the primary key from the database.
|
void |
removeAll()
Removes all the calendar notification templates from the database.
|
CalendarNotificationTemplate |
removeByC_NT_NTT(long calendarId,
java.lang.String notificationType,
java.lang.String notificationTemplateType)
Removes the calendar notification template where calendarId = ? and notificationType = ? and notificationTemplateType = ? from the database.
|
void |
removeByCalendarId(long calendarId)
Removes all the calendar notification templates where calendarId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the calendar notification templates where uuid = ? and companyId = ? from the database.
|
CalendarNotificationTemplate |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the calendar notification template where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the calendar notification templates where uuid = ? from the database.
|
CalendarNotificationTemplate |
updateImpl(CalendarNotificationTemplate calendarNotificationTemplate) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CalendarNotificationTemplate> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)java.util.List<CalendarNotificationTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarNotificationTemplate> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarNotificationTemplate findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate[] findByUuid_PrevAndNext(long calendarNotificationTemplateId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
calendarNotificationTemplateId
- the primary key of the current calendar notification templateuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a calendar 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 uuidCalendarNotificationTemplate 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 calendar notification template could not be foundCalendarNotificationTemplate 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 calendar notification template could not be foundCalendarNotificationTemplate fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar notification template could not be foundCalendarNotificationTemplate 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<CalendarNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)java.util.List<CalendarNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarNotificationTemplate> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarNotificationTemplate findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate[] findByUuid_C_PrevAndNext(long calendarNotificationTemplateId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
calendarNotificationTemplateId
- the primary key of the current calendar notification templateuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a calendar 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<CalendarNotificationTemplate> findByCalendarId(long calendarId)
calendarId
- the calendar IDjava.util.List<CalendarNotificationTemplate> findByCalendarId(long calendarId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
calendarId
- the calendar IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)java.util.List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
calendarId
- the calendar IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarNotificationTemplate> findByCalendarId(long calendarId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
calendarId
- the calendar IDstart
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarNotificationTemplate findByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByCalendarId_First(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate findByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByCalendarId_Last(long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator)
calendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar notification template could not be foundCalendarNotificationTemplate[] findByCalendarId_PrevAndNext(long calendarNotificationTemplateId, long calendarId, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator) throws NoSuchNotificationTemplateException
calendarNotificationTemplateId
- the primary key of the current calendar notification templatecalendarId
- the calendar IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateException
- if a calendar notification template with the primary key could not be foundvoid removeByCalendarId(long calendarId)
calendarId
- the calendar IDint countByCalendarId(long calendarId)
calendarId
- the calendar IDCalendarNotificationTemplate findByC_NT_NTT(long calendarId, java.lang.String notificationType, java.lang.String notificationTemplateType) throws NoSuchNotificationTemplateException
NoSuchNotificationTemplateException
if it could not be found.calendarId
- the calendar IDnotificationType
- the notification typenotificationTemplateType
- the notification template typeNoSuchNotificationTemplateException
- if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByC_NT_NTT(long calendarId, java.lang.String notificationType, java.lang.String notificationTemplateType)
null
if it could not be found. Uses the finder cache.calendarId
- the calendar IDnotificationType
- the notification typenotificationTemplateType
- the notification template typenull
if a matching calendar notification template could not be foundCalendarNotificationTemplate fetchByC_NT_NTT(long calendarId, java.lang.String notificationType, java.lang.String notificationTemplateType, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.calendarId
- the calendar IDnotificationType
- the notification typenotificationTemplateType
- the notification template typeretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar notification template could not be foundCalendarNotificationTemplate removeByC_NT_NTT(long calendarId, java.lang.String notificationType, java.lang.String notificationTemplateType) throws NoSuchNotificationTemplateException
calendarId
- the calendar IDnotificationType
- the notification typenotificationTemplateType
- the notification template typeNoSuchNotificationTemplateException
int countByC_NT_NTT(long calendarId, java.lang.String notificationType, java.lang.String notificationTemplateType)
calendarId
- the calendar IDnotificationType
- the notification typenotificationTemplateType
- the notification template typevoid cacheResult(CalendarNotificationTemplate calendarNotificationTemplate)
calendarNotificationTemplate
- the calendar notification templatevoid cacheResult(java.util.List<CalendarNotificationTemplate> calendarNotificationTemplates)
calendarNotificationTemplates
- the calendar notification templatesCalendarNotificationTemplate create(long calendarNotificationTemplateId)
calendarNotificationTemplateId
- the primary key for the new calendar notification templateCalendarNotificationTemplate remove(long calendarNotificationTemplateId) throws NoSuchNotificationTemplateException
calendarNotificationTemplateId
- the primary key of the calendar notification templateNoSuchNotificationTemplateException
- if a calendar notification template with the primary key could not be foundCalendarNotificationTemplate updateImpl(CalendarNotificationTemplate calendarNotificationTemplate)
CalendarNotificationTemplate findByPrimaryKey(long calendarNotificationTemplateId) throws NoSuchNotificationTemplateException
NoSuchNotificationTemplateException
if it could not be found.calendarNotificationTemplateId
- the primary key of the calendar notification templateNoSuchNotificationTemplateException
- if a calendar notification template with the primary key could not be foundCalendarNotificationTemplate fetchByPrimaryKey(long calendarNotificationTemplateId)
null
if it could not be found.calendarNotificationTemplateId
- the primary key of the calendar notification templatenull
if a calendar notification template with the primary key could not be foundjava.util.Map<java.io.Serializable,CalendarNotificationTemplate> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>
java.util.List<CalendarNotificationTemplate> findAll()
java.util.List<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)java.util.List<CalendarNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarNotificationTemplate> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarNotificationTemplate> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarNotificationTemplateModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of calendar notification templatesend
- the upper bound of the range of calendar notification templates (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarNotificationTemplate>