@ProviderType public interface CalendarPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<Calendar>
Caching information and settings can be found in portal.properties
com.liferay.calendar.service.persistence.impl.CalendarPersistenceImpl
,
CalendarUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(Calendar calendar)
Caches the calendar in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<Calendar> calendars)
Caches the calendars in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of calendars.
|
int |
countByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar)
Returns the number of calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
int |
countByG_C(long groupId,
long calendarResourceId)
Returns the number of calendars where groupId = ? and calendarResourceId = ?.
|
int |
countByResourceBlockId(long resourceBlockId)
Returns the number of calendars where resourceBlockId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of calendars where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of calendars where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of calendars where uuid = ?.
|
Calendar |
create(long calendarId)
Creates a new calendar with the primary key.
|
Calendar |
fetchByG_C_D_First(long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar |
fetchByG_C_D_Last(long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar |
fetchByG_C_First(long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
|
Calendar |
fetchByG_C_Last(long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
|
Calendar |
fetchByPrimaryKey(long calendarId)
Returns the calendar with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,Calendar> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
Calendar |
fetchByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where resourceBlockId = ?.
|
Calendar |
fetchByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where resourceBlockId = ?.
|
Calendar |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where uuid = ? and companyId = ?.
|
Calendar |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where uuid = ? and companyId = ?.
|
Calendar |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where uuid = ?.
|
Calendar |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar where uuid = ? and groupId = ? or returns
null if it could not be found. |
Calendar |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the calendar where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
Calendar |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where uuid = ?.
|
int |
filterCountByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar)
Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
int |
filterCountByG_C(long groupId,
long calendarResourceId)
Returns the number of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
|
Calendar[] |
filterFindByG_C_D_PrevAndNext(long calendarId,
long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
filterFindByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar)
Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
filterFindByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar,
int start,
int end)
Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
filterFindByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar[] |
filterFindByG_C_PrevAndNext(long calendarId,
long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set of calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
filterFindByG_C(long groupId,
long calendarResourceId)
Returns all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
filterFindByG_C(long groupId,
long calendarResourceId,
int start,
int end)
Returns a range of all the calendars that the user has permission to view where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
filterFindByG_C(long groupId,
long calendarResourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars that the user has permissions to view where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
findAll()
Returns all the calendars.
|
java.util.List<Calendar> |
findAll(int start,
int end)
Returns a range of all the calendars.
|
java.util.List<Calendar> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars.
|
java.util.List<Calendar> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars.
|
Calendar |
findByG_C_D_First(long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar |
findByG_C_D_Last(long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar[] |
findByG_C_D_PrevAndNext(long calendarId,
long groupId,
long calendarResourceId,
boolean defaultCalendar,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
findByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar)
Returns all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
findByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar,
int start,
int end)
Returns a range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
findByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
java.util.List<Calendar> |
findByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ?.
|
Calendar |
findByG_C_First(long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where groupId = ? and calendarResourceId = ?.
|
Calendar |
findByG_C_Last(long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where groupId = ? and calendarResourceId = ?.
|
Calendar[] |
findByG_C_PrevAndNext(long calendarId,
long groupId,
long calendarResourceId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
findByG_C(long groupId,
long calendarResourceId)
Returns all the calendars where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
findByG_C(long groupId,
long calendarResourceId,
int start,
int end)
Returns a range of all the calendars where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
findByG_C(long groupId,
long calendarResourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.
|
java.util.List<Calendar> |
findByG_C(long groupId,
long calendarResourceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars where groupId = ? and calendarResourceId = ?.
|
Calendar |
findByPrimaryKey(long calendarId)
Returns the calendar with the primary key or throws a
NoSuchCalendarException if it could not be found. |
Calendar |
findByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where resourceBlockId = ?.
|
Calendar |
findByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where resourceBlockId = ?.
|
Calendar[] |
findByResourceBlockId_PrevAndNext(long calendarId,
long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set where resourceBlockId = ?.
|
java.util.List<Calendar> |
findByResourceBlockId(long resourceBlockId)
Returns all the calendars where resourceBlockId = ?.
|
java.util.List<Calendar> |
findByResourceBlockId(long resourceBlockId,
int start,
int end)
Returns a range of all the calendars where resourceBlockId = ?.
|
java.util.List<Calendar> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars where resourceBlockId = ?.
|
java.util.List<Calendar> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars where resourceBlockId = ?.
|
Calendar |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where uuid = ? and companyId = ?.
|
Calendar |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where uuid = ? and companyId = ?.
|
Calendar[] |
findByUuid_C_PrevAndNext(long calendarId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<Calendar> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the calendars where uuid = ? and companyId = ?.
|
java.util.List<Calendar> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the calendars where uuid = ? and companyId = ?.
|
java.util.List<Calendar> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars where uuid = ? and companyId = ?.
|
java.util.List<Calendar> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars where uuid = ? and companyId = ?.
|
Calendar |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the first calendar in the ordered set where uuid = ?.
|
Calendar |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar where uuid = ? and groupId = ? or throws a
NoSuchCalendarException if it could not be found. |
Calendar |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the last calendar in the ordered set where uuid = ?.
|
Calendar[] |
findByUuid_PrevAndNext(long calendarId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns the calendars before and after the current calendar in the ordered set where uuid = ?.
|
java.util.List<Calendar> |
findByUuid(java.lang.String uuid)
Returns all the calendars where uuid = ?.
|
java.util.List<Calendar> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the calendars where uuid = ?.
|
java.util.List<Calendar> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
Returns an ordered range of all the calendars where uuid = ?.
|
java.util.List<Calendar> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendars where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
Calendar |
remove(long calendarId)
Removes the calendar with the primary key from the database.
|
void |
removeAll()
Removes all the calendars from the database.
|
void |
removeByG_C_D(long groupId,
long calendarResourceId,
boolean defaultCalendar)
Removes all the calendars where groupId = ? and calendarResourceId = ? and defaultCalendar = ? from the database.
|
void |
removeByG_C(long groupId,
long calendarResourceId)
Removes all the calendars where groupId = ? and calendarResourceId = ? from the database.
|
void |
removeByResourceBlockId(long resourceBlockId)
Removes all the calendars where resourceBlockId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the calendars where uuid = ? and companyId = ? from the database.
|
Calendar |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the calendar where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the calendars where uuid = ? from the database.
|
Calendar |
updateImpl(Calendar calendar) |
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<Calendar> findByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDjava.util.List<Calendar> findByResourceBlockId(long resourceBlockId, 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 CalendarModelImpl
. 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.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
resourceBlockId
- the resource block IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendar findByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar findByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar[] findByResourceBlockId_PrevAndNext(long calendarId, long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendarresourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundvoid removeByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDint countByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDjava.util.List<Calendar> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendar findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar[] findByUuid_PrevAndNext(long calendarId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendaruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCalendar findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCalendarException
NoSuchCalendarException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCalendarException
- if a matching calendar could not be foundCalendar 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 could not be foundCalendar 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 could not be foundCalendar removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCalendarException
uuid
- the uuidgroupId
- the group IDNoSuchCalendarException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<Calendar> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendar findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar[] findByUuid_C_PrevAndNext(long calendarId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendaruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar 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<Calendar> findByG_C(long groupId, long calendarResourceId)
groupId
- the group IDcalendarResourceId
- the calendar resource IDjava.util.List<Calendar> findByG_C(long groupId, long calendarResourceId, 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendar findByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
groupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByG_C_First(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
groupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar findByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
groupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByG_C_Last(long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
groupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar[] findByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendargroupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundjava.util.List<Calendar> filterFindByG_C(long groupId, long calendarResourceId)
groupId
- the group IDcalendarResourceId
- the calendar resource IDjava.util.List<Calendar> filterFindByG_C(long groupId, long calendarResourceId, 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> filterFindByG_C(long groupId, long calendarResourceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)Calendar[] filterFindByG_C_PrevAndNext(long calendarId, long groupId, long calendarResourceId, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendargroupId
- the group IDcalendarResourceId
- the calendar resource IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundvoid removeByG_C(long groupId, long calendarResourceId)
groupId
- the group IDcalendarResourceId
- the calendar resource IDint countByG_C(long groupId, long calendarResourceId)
groupId
- the group IDcalendarResourceId
- the calendar resource IDint filterCountByG_C(long groupId, long calendarResourceId)
groupId
- the group IDcalendarResourceId
- the calendar resource IDjava.util.List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarjava.util.List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendar findByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByG_C_D_First(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar findByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a matching calendar could not be foundCalendar fetchByG_C_D_Last(long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar could not be foundCalendar[] findByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendargroupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundjava.util.List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarjava.util.List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> filterFindByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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.
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarstart
- the lower bound of the range of calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)Calendar[] filterFindByG_C_D_PrevAndNext(long calendarId, long groupId, long calendarResourceId, boolean defaultCalendar, com.liferay.portal.kernel.util.OrderByComparator<Calendar> orderByComparator) throws NoSuchCalendarException
calendarId
- the primary key of the current calendargroupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCalendarException
- if a calendar with the primary key could not be foundvoid removeByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarint countByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarint filterCountByG_C_D(long groupId, long calendarResourceId, boolean defaultCalendar)
groupId
- the group IDcalendarResourceId
- the calendar resource IDdefaultCalendar
- the default calendarvoid cacheResult(Calendar calendar)
calendar
- the calendarvoid cacheResult(java.util.List<Calendar> calendars)
calendars
- the calendarsCalendar create(long calendarId)
calendarId
- the primary key for the new calendarCalendar remove(long calendarId) throws NoSuchCalendarException
calendarId
- the primary key of the calendarNoSuchCalendarException
- if a calendar with the primary key could not be foundCalendar findByPrimaryKey(long calendarId) throws NoSuchCalendarException
NoSuchCalendarException
if it could not be found.calendarId
- the primary key of the calendarNoSuchCalendarException
- if a calendar with the primary key could not be foundCalendar fetchByPrimaryKey(long calendarId)
null
if it could not be found.calendarId
- the primary key of the calendarnull
if a calendar with the primary key could not be foundjava.util.Map<java.io.Serializable,Calendar> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<Calendar>
java.util.List<Calendar> findAll()
java.util.List<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)java.util.List<Calendar> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Calendar> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Calendar> 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 CalendarModelImpl
. 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 calendarsend
- the upper bound of the range of calendars (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<Calendar>