|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<CalEvent>
com.liferay.portlet.calendar.service.persistence.impl.CalEventPersistenceImpl
@Deprecated @ProviderType public class CalEventPersistenceImpl
The persistence implementation for the cal event service.
Caching information and settings can be found in portal.properties
CalEventPersistence,
CalEventUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
CalEventPersistenceImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. Initializes the cal event persistence. |
void |
cacheResult(CalEvent calEvent)
Deprecated. Caches the cal event in the entity cache if it is enabled. |
void |
cacheResult(List<CalEvent> calEvents)
Deprecated. Caches the cal events in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(CalEventModelImpl calEventModelImpl,
boolean isNew)
Deprecated. |
void |
clearCache()
Deprecated. Clears the cache for all cal events. |
void |
clearCache(CalEvent calEvent)
Deprecated. Clears the cache for the cal event. |
void |
clearCache(List<CalEvent> calEvents)
Deprecated. Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(CalEventModelImpl calEventModelImpl)
Deprecated. |
int |
countAll()
Deprecated. Returns the number of cal events. |
int |
countByCompanyId(long companyId)
Deprecated. Returns the number of cal events where companyId = ?. |
int |
countByG_R(long groupId,
boolean repeating)
Deprecated. Returns the number of cal events where groupId = ? and repeating = ?. |
int |
countByG_T_R(long groupId,
String[] types,
boolean repeating)
Deprecated. Returns the number of cal events where groupId = ? and type = any ? and repeating = ?. |
int |
countByG_T_R(long groupId,
String type,
boolean repeating)
Deprecated. Returns the number of cal events where groupId = ? and type = ? and repeating = ?. |
int |
countByG_T(long groupId,
String type)
Deprecated. Returns the number of cal events where groupId = ? and type = ?. |
int |
countByG_T(long groupId,
String[] types)
Deprecated. Returns the number of cal events where groupId = ? and type = any ?. |
int |
countByGroupId(long groupId)
Deprecated. Returns the number of cal events where groupId = ?. |
int |
countByNotRemindBy(int remindBy)
Deprecated. Returns the number of cal events where remindBy ≠ ?. |
int |
countByUuid_C(String uuid,
long companyId)
Deprecated. Returns the number of cal events where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Deprecated. Returns the number of cal events where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Deprecated. Returns the number of cal events where uuid = ?. |
CalEvent |
create(long eventId)
Deprecated. Creates a new cal event with the primary key. |
void |
destroy()
Deprecated. |
CalEvent |
fetchByCompanyId_First(long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where companyId = ?. |
CalEvent |
fetchByCompanyId_Last(long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where companyId = ?. |
CalEvent |
fetchByG_R_First(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
fetchByG_R_Last(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
fetchByG_T_First(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
fetchByG_T_Last(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
fetchByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
fetchByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
fetchByGroupId_First(long groupId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ?. |
CalEvent |
fetchByGroupId_Last(long groupId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ?. |
CalEvent |
fetchByNotRemindBy_First(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
fetchByNotRemindBy_Last(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
fetchByPrimaryKey(long eventId)
Deprecated. Returns the cal event with the primary key or returns null if it could not be found. |
CalEvent |
fetchByPrimaryKey(Serializable primaryKey)
Deprecated. Returns the cal event with the primary key or returns null if it could not be found. |
Map<Serializable,CalEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Deprecated. |
CalEvent |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
fetchByUuid_First(String uuid,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where uuid = ?. |
CalEvent |
fetchByUUID_G(String uuid,
long groupId)
Deprecated. Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found. |
CalEvent |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Deprecated. Returns the cal event where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
CalEvent |
fetchByUuid_Last(String uuid,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where uuid = ?. |
List<CalEvent> |
findAll()
Deprecated. Returns all the cal events. |
List<CalEvent> |
findAll(int start,
int end)
Deprecated. Returns a range of all the cal events. |
List<CalEvent> |
findAll(int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events. |
List<CalEvent> |
findAll(int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events. |
CalEvent |
findByCompanyId_First(long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where companyId = ?. |
CalEvent |
findByCompanyId_Last(long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where companyId = ?. |
CalEvent[] |
findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId)
Deprecated. Returns all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end)
Deprecated. Returns a range of all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where companyId = ?. |
List<CalEvent> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where companyId = ?. |
CalEvent |
findByG_R_First(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent |
findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and repeating = ?. |
CalEvent[] |
findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating)
Deprecated. Returns all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and repeating = ?. |
List<CalEvent> |
findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and repeating = ?. |
CalEvent |
findByG_T_First(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
findByG_T_Last(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ?. |
CalEvent[] |
findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ?. |
CalEvent |
findByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent |
findByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
CalEvent[] |
findByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating)
Deprecated. Returns all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = any ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?, optionally using the finder cache. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating)
Deprecated. Returns all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ? and repeating = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type)
Deprecated. Returns all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types)
Deprecated. Returns all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = any ?. |
List<CalEvent> |
findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?, optionally using the finder cache. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?. |
List<CalEvent> |
findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ? and type = ?. |
CalEvent |
findByGroupId_First(long groupId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where groupId = ?. |
CalEvent |
findByGroupId_Last(long groupId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where groupId = ?. |
CalEvent[] |
findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId)
Deprecated. Returns all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end)
Deprecated. Returns a range of all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where groupId = ?. |
List<CalEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where groupId = ?. |
CalEvent |
findByNotRemindBy_First(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where remindBy ≠ ?. |
CalEvent |
findByNotRemindBy_Last(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where remindBy ≠ ?. |
CalEvent[] |
findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy)
Deprecated. Returns all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end)
Deprecated. Returns a range of all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where remindBy ≠ ?. |
List<CalEvent> |
findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where remindBy ≠ ?. |
CalEvent |
findByPrimaryKey(long eventId)
Deprecated. Returns the cal event with the primary key or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByPrimaryKey(Serializable primaryKey)
Deprecated. Returns the cal event with the primary key or throws a NoSuchModelException if it could not be found. |
CalEvent |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where uuid = ? and companyId = ?. |
CalEvent[] |
findByUuid_C_PrevAndNext(long eventId,
String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId)
Deprecated. Returns all the cal events where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Deprecated. Returns a range of all the cal events where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where uuid = ? and companyId = ?. |
List<CalEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where uuid = ? and companyId = ?. |
CalEvent |
findByUuid_First(String uuid,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the first cal event in the ordered set where uuid = ?. |
CalEvent |
findByUUID_G(String uuid,
long groupId)
Deprecated. Returns the cal event where uuid = ? and groupId = ? or throws a NoSuchEventException if it could not be found. |
CalEvent |
findByUuid_Last(String uuid,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the last cal event in the ordered set where uuid = ?. |
CalEvent[] |
findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns the cal events before and after the current cal event in the ordered set where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid)
Deprecated. Returns all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end)
Deprecated. Returns a range of all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator)
Deprecated. Returns an ordered range of all the cal events where uuid = ?. |
List<CalEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<CalEvent> orderByComparator,
boolean retrieveFromCache)
Deprecated. Returns an ordered range of all the cal events where uuid = ?. |
Set<String> |
getBadColumnNames()
Deprecated. |
protected CalEvent |
getByCompanyId_PrevAndNext(Session session,
CalEvent calEvent,
long companyId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByNotRemindBy_PrevAndNext(Session session,
CalEvent calEvent,
int remindBy,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByUuid_C_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected CalEvent |
getByUuid_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
Deprecated. |
protected Map<String,Integer> |
getTableColumnsMap()
Deprecated. |
CalEvent |
remove(long eventId)
Deprecated. Removes the cal event with the primary key from the database. |
CalEvent |
remove(Serializable primaryKey)
Deprecated. Removes the cal event with the primary key from the database. |
void |
removeAll()
Deprecated. Removes all the cal events from the database. |
void |
removeByCompanyId(long companyId)
Deprecated. Removes all the cal events where companyId = ? from the database. |
void |
removeByG_R(long groupId,
boolean repeating)
Deprecated. Removes all the cal events where groupId = ? and repeating = ? from the database. |
void |
removeByG_T_R(long groupId,
String type,
boolean repeating)
Deprecated. Removes all the cal events where groupId = ? and type = ? and repeating = ? from the database. |
void |
removeByG_T(long groupId,
String type)
Deprecated. Removes all the cal events where groupId = ? and type = ? from the database. |
void |
removeByGroupId(long groupId)
Deprecated. Removes all the cal events where groupId = ? from the database. |
void |
removeByNotRemindBy(int remindBy)
Deprecated. Removes all the cal events where remindBy ≠ ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Deprecated. Removes all the cal events where uuid = ? and companyId = ? from the database. |
CalEvent |
removeByUUID_G(String uuid,
long groupId)
Deprecated. Removes the cal event where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Deprecated. Removes all the cal events where uuid = ? from the database. |
protected CalEvent |
removeImpl(CalEvent calEvent)
Deprecated. Removes the model instance from the database. |
protected CalEvent |
toUnwrappedModel(CalEvent calEvent)
Deprecated. |
CalEvent |
updateImpl(CalEvent calEvent)
Deprecated. Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_NOTREMINDBY
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_NOTREMINDBY
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_R
public static final FinderPath FINDER_PATH_COUNT_BY_G_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T_R
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T_R
public static final FinderPath FINDER_PATH_COUNT_BY_G_T_R
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_T_R
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public CalEventPersistenceImpl()
| Method Detail |
|---|
public List<CalEvent> findByUuid(String uuid)
findByUuid in interface CalEventPersistenceuuid - the uuid
public List<CalEvent> findByUuid(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 CalEventModelImpl. 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.
findByUuid in interface CalEventPersistenceuuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByUuid in interface CalEventPersistenceuuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByUuid in interface CalEventPersistenceuuid - the uuidstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByUuid_First(String uuid,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_First in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByUuid_First(String uuid,
OrderByComparator<CalEvent> orderByComparator)
fetchByUuid_First in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByUuid_Last(String uuid,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_Last in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByUuid_Last(String uuid,
OrderByComparator<CalEvent> orderByComparator)
fetchByUuid_Last in interface CalEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByUuid_PrevAndNext(long eventId,
String uuid,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByUuid_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface CalEventPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface CalEventPersistenceuuid - the uuid
public CalEvent findByUUID_G(String uuid,
long groupId)
throws NoSuchEventException
NoSuchEventException if it could not be found.
findByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
null if a matching cal event could not be found
public CalEvent fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching cal event could not be found
public CalEvent removeByUUID_G(String uuid,
long groupId)
throws NoSuchEventException
removeByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
NoSuchEventException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface CalEventPersistenceuuid - the uuidgroupId - the group ID
public List<CalEvent> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
public List<CalEvent> findByUuid_C(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 CalEventModelImpl. 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.
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_C_First in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
fetchByUuid_C_First in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_C_Last in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
fetchByUuid_C_Last in interface CalEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByUuid_C_PrevAndNext(long eventId,
String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByUuid_C_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByUuid_C_PrevAndNext(Session session,
CalEvent calEvent,
String uuid,
long companyId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface CalEventPersistenceuuid - the uuidcompanyId - the company ID
public List<CalEvent> findByGroupId(long groupId)
findByGroupId in interface CalEventPersistencegroupId - the group ID
public List<CalEvent> 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 CalEventModelImpl. 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.
findByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByGroupId in interface CalEventPersistencegroupId - the group IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByGroupId_First(long groupId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByGroupId_First in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByGroupId_First(long groupId,
OrderByComparator<CalEvent> orderByComparator)
fetchByGroupId_First in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByGroupId_Last(long groupId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByGroupId_Last in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByGroupId_Last(long groupId,
OrderByComparator<CalEvent> orderByComparator)
fetchByGroupId_Last in interface CalEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByGroupId_PrevAndNext(long eventId,
long groupId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByGroupId_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByGroupId_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface CalEventPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface CalEventPersistencegroupId - the group ID
public List<CalEvent> findByCompanyId(long companyId)
findByCompanyId in interface CalEventPersistencecompanyId - the company ID
public List<CalEvent> findByCompanyId(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 CalEventModelImpl. 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.
findByCompanyId in interface CalEventPersistencecompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByCompanyId in interface CalEventPersistencecompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByCompanyId in interface CalEventPersistencecompanyId - the company IDstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByCompanyId_First(long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByCompanyId_First in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByCompanyId_First(long companyId,
OrderByComparator<CalEvent> orderByComparator)
fetchByCompanyId_First in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByCompanyId_Last(long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByCompanyId_Last in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByCompanyId_Last(long companyId,
OrderByComparator<CalEvent> orderByComparator)
fetchByCompanyId_Last in interface CalEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByCompanyId_PrevAndNext(long eventId,
long companyId,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByCompanyId_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByCompanyId_PrevAndNext(Session session,
CalEvent calEvent,
long companyId,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface CalEventPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface CalEventPersistencecompanyId - the company ID
public List<CalEvent> findByNotRemindBy(int remindBy)
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind by
public List<CalEvent> findByNotRemindBy(int remindBy,
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 CalEventModelImpl. 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.
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByNotRemindBy(int remindBy,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByNotRemindBy in interface CalEventPersistenceremindBy - the remind bystart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByNotRemindBy_First(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByNotRemindBy_First in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByNotRemindBy_First(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
fetchByNotRemindBy_First in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByNotRemindBy_Last(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByNotRemindBy_Last in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByNotRemindBy_Last(int remindBy,
OrderByComparator<CalEvent> orderByComparator)
fetchByNotRemindBy_Last in interface CalEventPersistenceremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByNotRemindBy_PrevAndNext(long eventId,
int remindBy,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByNotRemindBy_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventremindBy - the remind byorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByNotRemindBy_PrevAndNext(Session session,
CalEvent calEvent,
int remindBy,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByNotRemindBy(int remindBy)
removeByNotRemindBy in interface CalEventPersistenceremindBy - the remind bypublic int countByNotRemindBy(int remindBy)
countByNotRemindBy in interface CalEventPersistenceremindBy - the remind by
public List<CalEvent> findByG_T(long groupId,
String type)
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
public List<CalEvent> findByG_T(long groupId,
String type,
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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByG_T(long groupId,
String type,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByG_T_First(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_First in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_T_First(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_T_First in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByG_T_Last(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_Last in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_T_Last(long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_T_Last in interface CalEventPersistencegroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByG_T_PrevAndNext(long eventId,
long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByG_T_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public List<CalEvent> findByG_T(long groupId,
String[] types)
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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
public List<CalEvent> findByG_T(long groupId,
String[] types,
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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtypes - the typesstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByG_T(long groupId,
String[] types,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T in interface CalEventPersistencegroupId - the group IDtype - the typestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_T(long groupId,
String type)
removeByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
public int countByG_T(long groupId,
String type)
countByG_T in interface CalEventPersistencegroupId - the group IDtype - the type
public int countByG_T(long groupId,
String[] types)
countByG_T in interface CalEventPersistencegroupId - the group IDtypes - the types
public List<CalEvent> findByG_R(long groupId,
boolean repeating)
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
public List<CalEvent> findByG_R(long groupId,
boolean repeating,
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 CalEventModelImpl. 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.
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByG_R(long groupId,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByG_R_First(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_R_First in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_R_First(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_R_First in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByG_R_Last(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_R_Last in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_R_Last(long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_R_Last in interface CalEventPersistencegroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByG_R_PrevAndNext(long eventId,
long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDrepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByG_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public void removeByG_R(long groupId,
boolean repeating)
removeByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
public int countByG_R(long groupId,
boolean repeating)
countByG_R in interface CalEventPersistencegroupId - the group IDrepeating - the repeating
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating)
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating,
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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByG_T_R(long groupId,
String type,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public CalEvent findByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_R_First in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_T_R_First(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_T_R_First in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent findByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_R_Last in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a matching cal event could not be found
public CalEvent fetchByG_T_R_Last(long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
fetchByG_T_R_Last in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
null if a matching cal event could not be found
public CalEvent[] findByG_T_R_PrevAndNext(long eventId,
long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator)
throws NoSuchEventException
findByG_T_R_PrevAndNext in interface CalEventPersistenceeventId - the primary key of the current cal eventgroupId - the group IDtype - the typerepeating - the repeatingorderByComparator - the comparator to order the set by (optionally null)
NoSuchEventException - if a cal event with the primary key could not be found
protected CalEvent getByG_T_R_PrevAndNext(Session session,
CalEvent calEvent,
long groupId,
String type,
boolean repeating,
OrderByComparator<CalEvent> orderByComparator,
boolean previous)
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating)
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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating,
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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findByG_T_R(long groupId,
String[] types,
boolean repeating,
int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeatingstart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeByG_T_R(long groupId,
String type,
boolean repeating)
removeByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
public int countByG_T_R(long groupId,
String type,
boolean repeating)
countByG_T_R in interface CalEventPersistencegroupId - the group IDtype - the typerepeating - the repeating
public int countByG_T_R(long groupId,
String[] types,
boolean repeating)
countByG_T_R in interface CalEventPersistencegroupId - the group IDtypes - the typesrepeating - the repeating
public void cacheResult(CalEvent calEvent)
cacheResult in interface CalEventPersistencecalEvent - the cal eventpublic void cacheResult(List<CalEvent> calEvents)
cacheResult in interface CalEventPersistencecalEvents - the cal eventspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>public void clearCache(CalEvent calEvent)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>calEvent - the instance of this model to clear the cache forpublic void clearCache(List<CalEvent> calEvents)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<CalEvent>clearCache in class BasePersistenceImpl<CalEvent>calEvents - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(CalEventModelImpl calEventModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(CalEventModelImpl calEventModelImpl)
public CalEvent create(long eventId)
create in interface CalEventPersistenceeventId - the primary key for the new cal event
public CalEvent remove(long eventId)
throws NoSuchEventException
remove in interface CalEventPersistenceeventId - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
public CalEvent remove(Serializable primaryKey)
throws NoSuchEventException
remove in interface BasePersistence<CalEvent>remove in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be foundprotected CalEvent removeImpl(CalEvent calEvent)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<CalEvent>calEvent - the model instance to remove
public CalEvent updateImpl(CalEvent calEvent)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface CalEventPersistenceupdateImpl in class BasePersistenceImpl<CalEvent>calEvent - the model instance to update
protected CalEvent toUnwrappedModel(CalEvent calEvent)
public CalEvent findByPrimaryKey(Serializable primaryKey)
throws NoSuchEventException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<CalEvent>findByPrimaryKey in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be found
public CalEvent findByPrimaryKey(long eventId)
throws NoSuchEventException
NoSuchEventException if it could not be found.
findByPrimaryKey in interface CalEventPersistenceeventId - the primary key of the cal event
NoSuchEventException - if a cal event with the primary key could not be foundpublic CalEvent fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<CalEvent>fetchByPrimaryKey in class BasePersistenceImpl<CalEvent>primaryKey - the primary key of the cal event
null if a cal event with the primary key could not be foundpublic CalEvent fetchByPrimaryKey(long eventId)
null if it could not be found.
fetchByPrimaryKey in interface CalEventPersistenceeventId - the primary key of the cal event
null if a cal event with the primary key could not be foundpublic Map<Serializable,CalEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<CalEvent>fetchByPrimaryKeys in interface CalEventPersistencefetchByPrimaryKeys in class BasePersistenceImpl<CalEvent>public List<CalEvent> findAll()
findAll in interface CalEventPersistence
public List<CalEvent> 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 CalEventModelImpl. 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.
findAll in interface CalEventPersistencestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)
public List<CalEvent> findAll(int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findAll in interface CalEventPersistencestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<CalEvent> findAll(int start,
int end,
OrderByComparator<CalEvent> 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 CalEventModelImpl. 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.
findAll in interface CalEventPersistencestart - the lower bound of the range of cal eventsend - the upper bound of the range of cal events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface CalEventPersistencepublic int countAll()
countAll in interface CalEventPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<CalEvent>getBadColumnNames in interface CalEventPersistencegetBadColumnNames in class BasePersistenceImpl<CalEvent>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<CalEvent>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||