|
Liferay 6.2.0-ce-b3 | |||||||||
| 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<SystemEvent>
com.liferay.portal.service.persistence.SystemEventPersistenceImpl
public class SystemEventPersistenceImpl
The persistence implementation for the system event service.
Caching information and settings can be found in portal.properties
SystemEventPersistence,
SystemEventUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 | |
|---|---|
SystemEventPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the system event persistence. |
void |
cacheResult(List<SystemEvent> systemEvents)
Caches the system events in the entity cache if it is enabled. |
void |
cacheResult(SystemEvent systemEvent)
Caches the system event in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all system events. |
void |
clearCache(List<SystemEvent> systemEvents)
Clears the cache for a List instances of this model. |
void |
clearCache(SystemEvent systemEvent)
Clears the cache for the system event. |
int |
countAll()
Returns the number of system events. |
int |
countByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
Returns the number of system events where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of system events where groupId = ? and classNameId = ? and classPK = ?. |
int |
countByGroupId(long groupId)
Returns the number of system events where groupId = ?. |
SystemEvent |
create(long systemEventId)
Creates a new system event with the primary key. |
void |
destroy()
|
SystemEvent |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
SystemEvent |
fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
SystemEvent |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ?. |
SystemEvent |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ?. |
SystemEvent |
fetchByPrimaryKey(long systemEventId)
Returns the system event with the primary key or returns null if it could not be found. |
SystemEvent |
fetchByPrimaryKey(Serializable primaryKey)
Returns the system event with the primary key or returns null if it could not be found. |
List<SystemEvent> |
findAll()
Returns all the system events. |
List<SystemEvent> |
findAll(int start,
int end)
Returns a range of all the system events. |
List<SystemEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the system events. |
SystemEvent |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent[] |
findByG_C_C_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
SystemEvent |
findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
SystemEvent[] |
findByG_C_C_T_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
List<SystemEvent> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
Returns all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
List<SystemEvent> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end)
Returns a range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
List<SystemEvent> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
List<SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the system events where groupId = ? and classNameId = ? and classPK = ?. |
List<SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the system events where groupId = ? and classNameId = ? and classPK = ?. |
List<SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first system event in the ordered set where groupId = ?. |
SystemEvent |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last system event in the ordered set where groupId = ?. |
SystemEvent[] |
findByGroupId_PrevAndNext(long systemEventId,
long groupId,
OrderByComparator orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ?. |
List<SystemEvent> |
findByGroupId(long groupId)
Returns all the system events where groupId = ?. |
List<SystemEvent> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the system events where groupId = ?. |
List<SystemEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the system events where groupId = ?. |
SystemEvent |
findByPrimaryKey(long systemEventId)
Returns the system event with the primary key or throws a NoSuchSystemEventException if it could not be found. |
SystemEvent |
findByPrimaryKey(Serializable primaryKey)
Returns the system event with the primary key or throws a NoSuchModelException if it could not be found. |
protected Set<String> |
getBadColumnNames()
|
protected SystemEvent |
getByG_C_C_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
|
protected SystemEvent |
getByG_C_C_T_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator,
boolean previous)
|
protected SystemEvent |
getByGroupId_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
SystemEvent |
remove(long systemEventId)
Removes the system event with the primary key from the database. |
SystemEvent |
remove(Serializable primaryKey)
Removes the system event with the primary key from the database. |
void |
removeAll()
Removes all the system events from the database. |
void |
removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
Removes all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database. |
void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the system events where groupId = ? and classNameId = ? and classPK = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the system events where groupId = ? from the database. |
protected SystemEvent |
removeImpl(SystemEvent systemEvent)
Removes the model instance from the database. |
protected SystemEvent |
toUnwrappedModel(SystemEvent systemEvent)
|
SystemEvent |
updateImpl(SystemEvent systemEvent)
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, 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_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_G_C_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C_T
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_C_C_T
| Constructor Detail |
|---|
public SystemEventPersistenceImpl()
| Method Detail |
|---|
public List<SystemEvent> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface SystemEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<SystemEvent> findByGroupId(long groupId,
int start,
int end)
throws SystemException
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 SystemEventModelImpl. 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 SystemEventPersistencegroupId - the group IDstart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
SystemException - if a system exception occurred
public List<SystemEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 SystemEventModelImpl. 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 SystemEventPersistencegroupId - the group IDstart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SystemEvent findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByGroupId_First in interface SystemEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface SystemEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByGroupId_Last in interface SystemEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface SystemEventPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent[] findByGroupId_PrevAndNext(long systemEventId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByGroupId_PrevAndNext in interface SystemEventPersistencesystemEventId - the primary key of the current system eventgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
protected SystemEvent getByGroupId_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface SystemEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface SystemEventPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
findByG_C_C in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
throws SystemException
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 SystemEventModelImpl. 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_C_C in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 SystemEventModelImpl. 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_C_C in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SystemEvent findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_First in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_First in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_Last in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_Last in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent[] findByG_C_C_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_PrevAndNext in interface SystemEventPersistencesystemEventId - the primary key of the current system eventgroupId - the group IDclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
protected SystemEvent getByG_C_C_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
removeByG_C_C in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public int countByG_C_C(long groupId,
long classNameId,
long classPK)
throws SystemException
countByG_C_C in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p k
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
throws SystemException
findByG_C_C_T in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end)
throws SystemException
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 SystemEventModelImpl. 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_C_C_T in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typestart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
SystemException - if a system exception occurred
public List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 SystemEventModelImpl. 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_C_C_T in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typestart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public SystemEvent findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_T_First in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_T_First in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_T_Last in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_C_C_T_Last in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemException - if a system exception occurred
public SystemEvent[] findByG_C_C_T_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator)
throws NoSuchSystemEventException,
SystemException
findByG_C_C_T_PrevAndNext in interface SystemEventPersistencesystemEventId - the primary key of the current system eventgroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
protected SystemEvent getByG_C_C_T_PrevAndNext(Session session,
SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
throws SystemException
removeByG_C_C_T in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurred
public int countByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
throws SystemException
countByG_C_C_T in interface SystemEventPersistencegroupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
SystemException - if a system exception occurredpublic void cacheResult(SystemEvent systemEvent)
cacheResult in interface SystemEventPersistencesystemEvent - the system eventpublic void cacheResult(List<SystemEvent> systemEvents)
cacheResult in interface SystemEventPersistencesystemEvents - the system eventspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SystemEvent>clearCache in class BasePersistenceImpl<SystemEvent>public void clearCache(SystemEvent systemEvent)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<SystemEvent>clearCache in class BasePersistenceImpl<SystemEvent>systemEvent - the instance of this model to clear the cache forpublic void clearCache(List<SystemEvent> systemEvents)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<SystemEvent>clearCache in class BasePersistenceImpl<SystemEvent>systemEvents - the List instances of this model to clear the cache forpublic SystemEvent create(long systemEventId)
create in interface SystemEventPersistencesystemEventId - the primary key for the new system event
public SystemEvent remove(long systemEventId)
throws NoSuchSystemEventException,
SystemException
remove in interface SystemEventPersistencesystemEventId - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
public SystemEvent remove(Serializable primaryKey)
throws NoSuchSystemEventException,
SystemException
remove in interface BasePersistence<SystemEvent>remove in class BasePersistenceImpl<SystemEvent>primaryKey - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
protected SystemEvent removeImpl(SystemEvent systemEvent)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<SystemEvent>systemEvent - the model instance to remove
SystemException - if a system exception occurred
public SystemEvent updateImpl(SystemEvent systemEvent)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface SystemEventPersistenceupdateImpl in class BasePersistenceImpl<SystemEvent>systemEvent - the model instance to update
SystemException - if a system exception occurredprotected SystemEvent toUnwrappedModel(SystemEvent systemEvent)
public SystemEvent findByPrimaryKey(Serializable primaryKey)
throws NoSuchSystemEventException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<SystemEvent>findByPrimaryKey in class BasePersistenceImpl<SystemEvent>primaryKey - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
public SystemEvent findByPrimaryKey(long systemEventId)
throws NoSuchSystemEventException,
SystemException
NoSuchSystemEventException if it could not be found.
findByPrimaryKey in interface SystemEventPersistencesystemEventId - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<SystemEvent>fetchByPrimaryKey in class BasePersistenceImpl<SystemEvent>primaryKey - the primary key of the system event
null if a system event with the primary key could not be found
SystemException - if a system exception occurred
public SystemEvent fetchByPrimaryKey(long systemEventId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface SystemEventPersistencesystemEventId - the primary key of the system event
null if a system event with the primary key could not be found
SystemException - if a system exception occurred
public List<SystemEvent> findAll()
throws SystemException
findAll in interface SystemEventPersistenceSystemException - if a system exception occurred
public List<SystemEvent> findAll(int start,
int end)
throws SystemException
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 SystemEventModelImpl. 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 SystemEventPersistencestart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
SystemException - if a system exception occurred
public List<SystemEvent> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 SystemEventModelImpl. 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 SystemEventPersistencestart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface SystemEventPersistenceSystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface SystemEventPersistenceSystemException - if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<SystemEvent>public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-b3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||