@ProviderType public interface CalendarResourcePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarResource>
Caching information and settings can be found in portal.properties
com.liferay.calendar.service.persistence.impl.CalendarResourcePersistenceImpl
,
CalendarResourceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CalendarResource calendarResource)
Caches the calendar resource in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CalendarResource> calendarResources)
Caches the calendar resources in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of calendar resources.
|
int |
countByActive(boolean active)
Returns the number of calendar resources where active = ?.
|
int |
countByC_C_A(long companyId,
java.lang.String code,
boolean active)
Returns the number of calendar resources where companyId = ? and code LIKE ? and active = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of calendar resources where classNameId = ? and classPK = ?.
|
int |
countByG_A(long groupId,
boolean active)
Returns the number of calendar resources where groupId = ? and active = ?.
|
int |
countByG_C(long[] groupIds,
java.lang.String code)
Returns the number of calendar resources where groupId = any ? and code = ?.
|
int |
countByG_C(long groupId,
java.lang.String code)
Returns the number of calendar resources where groupId = ? and code = ?.
|
int |
countByGroupId(long groupId)
Returns the number of calendar resources where groupId = ?.
|
int |
countByResourceBlockId(long resourceBlockId)
Returns the number of calendar resources where resourceBlockId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of calendar resources where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of calendar resources where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of calendar resources where uuid = ?.
|
CalendarResource |
create(long calendarResourceId)
Creates a new calendar resource with the primary key.
|
CalendarResource |
fetchByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where active = ?.
|
CalendarResource |
fetchByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where active = ?.
|
CalendarResource |
fetchByC_C_A_First(long companyId,
java.lang.String code,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
|
CalendarResource |
fetchByC_C_A_Last(long companyId,
java.lang.String code,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
|
CalendarResource |
fetchByC_C(long classNameId,
long classPK)
Returns the calendar resource where classNameId = ? and classPK = ? or returns
null if it could not be found. |
CalendarResource |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the calendar resource where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
CalendarResource |
fetchByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ? and active = ?.
|
CalendarResource |
fetchByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ? and active = ?.
|
CalendarResource |
fetchByG_C_First(long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ? and code = ?.
|
CalendarResource |
fetchByG_C_Last(long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ? and code = ?.
|
CalendarResource |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ?.
|
CalendarResource |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ?.
|
CalendarResource |
fetchByPrimaryKey(long calendarResourceId)
Returns the calendar resource with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,CalendarResource> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
CalendarResource |
fetchByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where resourceBlockId = ?.
|
CalendarResource |
fetchByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where resourceBlockId = ?.
|
CalendarResource |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where uuid = ? and companyId = ?.
|
CalendarResource |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where uuid = ? and companyId = ?.
|
CalendarResource |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where uuid = ?.
|
CalendarResource |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar resource where uuid = ? and groupId = ? or returns
null if it could not be found. |
CalendarResource |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the calendar resource where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CalendarResource |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where uuid = ?.
|
int |
filterCountByG_A(long groupId,
boolean active)
Returns the number of calendar resources that the user has permission to view where groupId = ? and active = ?.
|
int |
filterCountByG_C(long[] groupIds,
java.lang.String code)
Returns the number of calendar resources that the user has permission to view where groupId = any ? and code = ?.
|
int |
filterCountByG_C(long groupId,
java.lang.String code)
Returns the number of calendar resources that the user has permission to view where groupId = ? and code = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of calendar resources that the user has permission to view where groupId = ?.
|
CalendarResource[] |
filterFindByG_A_PrevAndNext(long calendarResourceId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
filterFindByG_A(long groupId,
boolean active)
Returns all the calendar resources that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the calendar resources that the user has permission to view where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
filterFindByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ? and active = ?.
|
CalendarResource[] |
filterFindByG_C_PrevAndNext(long calendarResourceId,
long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long[] groupIds,
java.lang.String code)
Returns all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long[] groupIds,
java.lang.String code,
int start,
int end)
Returns a range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long[] groupIds,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources that the user has permission to view where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long groupId,
java.lang.String code)
Returns all the calendar resources that the user has permission to view where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long groupId,
java.lang.String code,
int start,
int end)
Returns a range of all the calendar resources that the user has permission to view where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
filterFindByG_C(long groupId,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ? and code = ?.
|
CalendarResource[] |
filterFindByGroupId_PrevAndNext(long calendarResourceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set of calendar resources that the user has permission to view where groupId = ?.
|
java.util.List<CalendarResource> |
filterFindByGroupId(long groupId)
Returns all the calendar resources that the user has permission to view where groupId = ?.
|
java.util.List<CalendarResource> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the calendar resources that the user has permission to view where groupId = ?.
|
java.util.List<CalendarResource> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources that the user has permissions to view where groupId = ?.
|
java.util.List<CalendarResource> |
findAll()
Returns all the calendar resources.
|
java.util.List<CalendarResource> |
findAll(int start,
int end)
Returns a range of all the calendar resources.
|
java.util.List<CalendarResource> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources.
|
java.util.List<CalendarResource> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources.
|
CalendarResource |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where active = ?.
|
CalendarResource |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where active = ?.
|
CalendarResource[] |
findByActive_PrevAndNext(long calendarResourceId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where active = ?.
|
java.util.List<CalendarResource> |
findByActive(boolean active)
Returns all the calendar resources where active = ?.
|
java.util.List<CalendarResource> |
findByActive(boolean active,
int start,
int end)
Returns a range of all the calendar resources where active = ?.
|
java.util.List<CalendarResource> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where active = ?.
|
java.util.List<CalendarResource> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where active = ?.
|
CalendarResource |
findByC_C_A_First(long companyId,
java.lang.String code,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
|
CalendarResource |
findByC_C_A_Last(long companyId,
java.lang.String code,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
|
CalendarResource[] |
findByC_C_A_PrevAndNext(long calendarResourceId,
long companyId,
java.lang.String code,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where companyId = ? and code LIKE ? and active = ?.
|
java.util.List<CalendarResource> |
findByC_C_A(long companyId,
java.lang.String code,
boolean active)
Returns all the calendar resources where companyId = ? and code LIKE ? and active = ?.
|
java.util.List<CalendarResource> |
findByC_C_A(long companyId,
java.lang.String code,
boolean active,
int start,
int end)
Returns a range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
|
java.util.List<CalendarResource> |
findByC_C_A(long companyId,
java.lang.String code,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
|
java.util.List<CalendarResource> |
findByC_C_A(long companyId,
java.lang.String code,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where companyId = ? and code LIKE ? and active = ?.
|
CalendarResource |
findByC_C(long classNameId,
long classPK)
Returns the calendar resource where classNameId = ? and classPK = ? or throws a
NoSuchResourceException if it could not be found. |
CalendarResource |
findByG_A_First(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ? and active = ?.
|
CalendarResource |
findByG_A_Last(long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ? and active = ?.
|
CalendarResource[] |
findByG_A_PrevAndNext(long calendarResourceId,
long groupId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
findByG_A(long groupId,
boolean active)
Returns all the calendar resources where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
findByG_A(long groupId,
boolean active,
int start,
int end)
Returns a range of all the calendar resources where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where groupId = ? and active = ?.
|
java.util.List<CalendarResource> |
findByG_A(long groupId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where groupId = ? and active = ?.
|
CalendarResource |
findByG_C_First(long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ? and code = ?.
|
CalendarResource |
findByG_C_Last(long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ? and code = ?.
|
CalendarResource[] |
findByG_C_PrevAndNext(long calendarResourceId,
long groupId,
java.lang.String code,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long[] groupIds,
java.lang.String code)
Returns all the calendar resources where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long[] groupIds,
java.lang.String code,
int start,
int end)
Returns a range of all the calendar resources where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long[] groupIds,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where groupId = any ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long[] groupIds,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where groupId = ? and code = ?, optionally using the finder cache.
|
java.util.List<CalendarResource> |
findByG_C(long groupId,
java.lang.String code)
Returns all the calendar resources where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long groupId,
java.lang.String code,
int start,
int end)
Returns a range of all the calendar resources where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long groupId,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where groupId = ? and code = ?.
|
java.util.List<CalendarResource> |
findByG_C(long groupId,
java.lang.String code,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where groupId = ? and code = ?.
|
CalendarResource |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where groupId = ?.
|
CalendarResource |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where groupId = ?.
|
CalendarResource[] |
findByGroupId_PrevAndNext(long calendarResourceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where groupId = ?.
|
java.util.List<CalendarResource> |
findByGroupId(long groupId)
Returns all the calendar resources where groupId = ?.
|
java.util.List<CalendarResource> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the calendar resources where groupId = ?.
|
java.util.List<CalendarResource> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where groupId = ?.
|
java.util.List<CalendarResource> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where groupId = ?.
|
CalendarResource |
findByPrimaryKey(long calendarResourceId)
Returns the calendar resource with the primary key or throws a
NoSuchResourceException if it could not be found. |
CalendarResource |
findByResourceBlockId_First(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where resourceBlockId = ?.
|
CalendarResource |
findByResourceBlockId_Last(long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where resourceBlockId = ?.
|
CalendarResource[] |
findByResourceBlockId_PrevAndNext(long calendarResourceId,
long resourceBlockId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where resourceBlockId = ?.
|
java.util.List<CalendarResource> |
findByResourceBlockId(long resourceBlockId)
Returns all the calendar resources where resourceBlockId = ?.
|
java.util.List<CalendarResource> |
findByResourceBlockId(long resourceBlockId,
int start,
int end)
Returns a range of all the calendar resources where resourceBlockId = ?.
|
java.util.List<CalendarResource> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where resourceBlockId = ?.
|
java.util.List<CalendarResource> |
findByResourceBlockId(long resourceBlockId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where resourceBlockId = ?.
|
CalendarResource |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where uuid = ? and companyId = ?.
|
CalendarResource |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where uuid = ? and companyId = ?.
|
CalendarResource[] |
findByUuid_C_PrevAndNext(long calendarResourceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CalendarResource> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the calendar resources where uuid = ? and companyId = ?.
|
java.util.List<CalendarResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the calendar resources where uuid = ? and companyId = ?.
|
java.util.List<CalendarResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where uuid = ? and companyId = ?.
|
java.util.List<CalendarResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where uuid = ? and companyId = ?.
|
CalendarResource |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the first calendar resource in the ordered set where uuid = ?.
|
CalendarResource |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the calendar resource where uuid = ? and groupId = ? or throws a
NoSuchResourceException if it could not be found. |
CalendarResource |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the last calendar resource in the ordered set where uuid = ?.
|
CalendarResource[] |
findByUuid_PrevAndNext(long calendarResourceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns the calendar resources before and after the current calendar resource in the ordered set where uuid = ?.
|
java.util.List<CalendarResource> |
findByUuid(java.lang.String uuid)
Returns all the calendar resources where uuid = ?.
|
java.util.List<CalendarResource> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the calendar resources where uuid = ?.
|
java.util.List<CalendarResource> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
Returns an ordered range of all the calendar resources where uuid = ?.
|
java.util.List<CalendarResource> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the calendar resources where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
CalendarResource |
remove(long calendarResourceId)
Removes the calendar resource with the primary key from the database.
|
void |
removeAll()
Removes all the calendar resources from the database.
|
void |
removeByActive(boolean active)
Removes all the calendar resources where active = ? from the database.
|
void |
removeByC_C_A(long companyId,
java.lang.String code,
boolean active)
Removes all the calendar resources where companyId = ? and code LIKE ? and active = ? from the database.
|
CalendarResource |
removeByC_C(long classNameId,
long classPK)
Removes the calendar resource where classNameId = ? and classPK = ? from the database.
|
void |
removeByG_A(long groupId,
boolean active)
Removes all the calendar resources where groupId = ? and active = ? from the database.
|
void |
removeByG_C(long groupId,
java.lang.String code)
Removes all the calendar resources where groupId = ? and code = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the calendar resources where groupId = ? from the database.
|
void |
removeByResourceBlockId(long resourceBlockId)
Removes all the calendar resources where resourceBlockId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the calendar resources where uuid = ? and companyId = ? from the database.
|
CalendarResource |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the calendar resource where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the calendar resources where uuid = ? from the database.
|
CalendarResource |
updateImpl(CalendarResource calendarResource) |
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<CalendarResource> findByResourceBlockId(long resourceBlockId)
resourceBlockId
- the resource block IDjava.util.List<CalendarResource> 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 CalendarResourceModelImpl
. 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 calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByResourceBlockId(long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByResourceBlockId_First(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByResourceBlockId_Last(long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
resourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByResourceBlockId_PrevAndNext(long calendarResourceId, long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourceresourceBlockId
- the resource block IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource 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<CalendarResource> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByUuid_PrevAndNext(long calendarResourceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCalendarResource findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchResourceException
NoSuchResourceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource 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 resource could not be foundCalendarResource 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 resource could not be foundCalendarResource removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchResourceException
uuid
- the uuidgroupId
- the group IDNoSuchResourceException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CalendarResource> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByUuid_C_PrevAndNext(long calendarResourceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource 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<CalendarResource> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CalendarResource> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarResourceModelImpl
. 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 IDstart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDstart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDstart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByGroupId_PrevAndNext(long calendarResourceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundjava.util.List<CalendarResource> filterFindByGroupId(long groupId)
groupId
- the group IDjava.util.List<CalendarResource> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from CalendarResourceModelImpl
. 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 IDstart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDstart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CalendarResource[] filterFindByGroupId_PrevAndNext(long calendarResourceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint filterCountByGroupId(long groupId)
groupId
- the group IDjava.util.List<CalendarResource> findByActive(boolean active)
active
- the activejava.util.List<CalendarResource> findByActive(boolean active, 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 CalendarResourceModelImpl
. 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.
active
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
active
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
active
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
active
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByActive_PrevAndNext(long calendarResourceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourceactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundvoid removeByActive(boolean active)
active
- the activeint countByActive(boolean active)
active
- the activejava.util.List<CalendarResource> findByG_C(long groupId, java.lang.String code)
groupId
- the group IDcode
- the codejava.util.List<CalendarResource> findByG_C(long groupId, java.lang.String code, 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByG_C(long groupId, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByG_C(long groupId, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByG_C_First(long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByG_C_First(long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByG_C_Last(long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByG_C_Last(long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByG_C_PrevAndNext(long calendarResourceId, long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundjava.util.List<CalendarResource> filterFindByG_C(long groupId, java.lang.String code)
groupId
- the group IDcode
- the codejava.util.List<CalendarResource> filterFindByG_C(long groupId, java.lang.String code, 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> filterFindByG_C(long groupId, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CalendarResource[] filterFindByG_C_PrevAndNext(long calendarResourceId, long groupId, java.lang.String code, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDcode
- the codeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundjava.util.List<CalendarResource> filterFindByG_C(long[] groupIds, java.lang.String code)
groupIds
- the group IDscode
- the codejava.util.List<CalendarResource> filterFindByG_C(long[] groupIds, java.lang.String code, 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 CalendarResourceModelImpl
. 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.
groupIds
- the group IDscode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> filterFindByG_C(long[] groupIds, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
groupIds
- the group IDscode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByG_C(long[] groupIds, java.lang.String code)
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 CalendarResourceModelImpl
. 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.
groupIds
- the group IDscode
- the codejava.util.List<CalendarResource> findByG_C(long[] groupIds, java.lang.String code, 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 CalendarResourceModelImpl
. 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.
groupIds
- the group IDscode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByG_C(long[] groupIds, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
groupIds
- the group IDscode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByG_C(long[] groupIds, java.lang.String code, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDcode
- the codestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeByG_C(long groupId, java.lang.String code)
groupId
- the group IDcode
- the codeint countByG_C(long groupId, java.lang.String code)
groupId
- the group IDcode
- the codeint countByG_C(long[] groupIds, java.lang.String code)
groupIds
- the group IDscode
- the codeint filterCountByG_C(long groupId, java.lang.String code)
groupId
- the group IDcode
- the codeint filterCountByG_C(long[] groupIds, java.lang.String code)
groupIds
- the group IDscode
- the codejava.util.List<CalendarResource> findByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activejava.util.List<CalendarResource> findByG_A(long groupId, boolean active, 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 CalendarResourceModelImpl
. 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 IDactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
groupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByG_A_PrevAndNext(long calendarResourceId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundjava.util.List<CalendarResource> filterFindByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activejava.util.List<CalendarResource> filterFindByG_A(long groupId, boolean active, 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 CalendarResourceModelImpl
. 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 IDactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> filterFindByG_A(long groupId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 IDactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CalendarResource[] filterFindByG_A_PrevAndNext(long calendarResourceId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcegroupId
- the group IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundvoid removeByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activeint countByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activeint filterCountByG_A(long groupId, boolean active)
groupId
- the group IDactive
- the activeCalendarResource findByC_C(long classNameId, long classPK) throws NoSuchResourceException
NoSuchResourceException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkNoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pknull
if a matching calendar resource could not be foundCalendarResource fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching calendar resource could not be foundCalendarResource removeByC_C(long classNameId, long classPK) throws NoSuchResourceException
classNameId
- the class name IDclassPK
- the class pkNoSuchResourceException
int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<CalendarResource> findByC_C_A(long companyId, java.lang.String code, boolean active)
companyId
- the company IDcode
- the codeactive
- the activejava.util.List<CalendarResource> findByC_C_A(long companyId, java.lang.String code, boolean active, 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 CalendarResourceModelImpl
. 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.
companyId
- the company IDcode
- the codeactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findByC_C_A(long companyId, java.lang.String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
companyId
- the company IDcode
- the codeactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findByC_C_A(long companyId, java.lang.String code, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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.
companyId
- the company IDcode
- the codeactive
- the activestart
- the lower bound of the range of calendar resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheCalendarResource findByC_C_A_First(long companyId, java.lang.String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
companyId
- the company IDcode
- the codeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByC_C_A_First(long companyId, java.lang.String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
companyId
- the company IDcode
- the codeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource findByC_C_A_Last(long companyId, java.lang.String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
companyId
- the company IDcode
- the codeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a matching calendar resource could not be foundCalendarResource fetchByC_C_A_Last(long companyId, java.lang.String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator)
companyId
- the company IDcode
- the codeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching calendar resource could not be foundCalendarResource[] findByC_C_A_PrevAndNext(long calendarResourceId, long companyId, java.lang.String code, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> orderByComparator) throws NoSuchResourceException
calendarResourceId
- the primary key of the current calendar resourcecompanyId
- the company IDcode
- the codeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchResourceException
- if a calendar resource with the primary key could not be foundvoid removeByC_C_A(long companyId, java.lang.String code, boolean active)
companyId
- the company IDcode
- the codeactive
- the activeint countByC_C_A(long companyId, java.lang.String code, boolean active)
companyId
- the company IDcode
- the codeactive
- the activevoid cacheResult(CalendarResource calendarResource)
calendarResource
- the calendar resourcevoid cacheResult(java.util.List<CalendarResource> calendarResources)
calendarResources
- the calendar resourcesCalendarResource create(long calendarResourceId)
calendarResourceId
- the primary key for the new calendar resourceCalendarResource remove(long calendarResourceId) throws NoSuchResourceException
calendarResourceId
- the primary key of the calendar resourceNoSuchResourceException
- if a calendar resource with the primary key could not be foundCalendarResource updateImpl(CalendarResource calendarResource)
CalendarResource findByPrimaryKey(long calendarResourceId) throws NoSuchResourceException
NoSuchResourceException
if it could not be found.calendarResourceId
- the primary key of the calendar resourceNoSuchResourceException
- if a calendar resource with the primary key could not be foundCalendarResource fetchByPrimaryKey(long calendarResourceId)
null
if it could not be found.calendarResourceId
- the primary key of the calendar resourcenull
if a calendar resource with the primary key could not be foundjava.util.Map<java.io.Serializable,CalendarResource> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CalendarResource>
java.util.List<CalendarResource> findAll()
java.util.List<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)java.util.List<CalendarResource> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CalendarResource> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CalendarResource> 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 CalendarResourceModelImpl
. 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 resourcesend
- the upper bound of the range of calendar resources (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<CalendarResource>