|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface SystemEventPersistence
The persistence interface for the system event service.
Caching information and settings can be found in portal.properties
SystemEventPersistenceImpl,
SystemEventUtil| Method Summary | |
|---|---|
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. |
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 |
countByG_S(long groupId,
long systemEventSetKey)
Returns the number of system events where groupId = ? and systemEventSetKey = ?. |
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. |
SystemEvent |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> 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<SystemEvent> 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<SystemEvent> 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<SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. |
SystemEvent |
fetchByG_S_First(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?. |
SystemEvent |
fetchByG_S_Last(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?. |
SystemEvent |
fetchByGroupId_First(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ?. |
SystemEvent |
fetchByGroupId_Last(long groupId,
OrderByComparator<SystemEvent> 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. |
Map<Serializable,SystemEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
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<SystemEvent> orderByComparator)
Returns an ordered range of all the system events. |
List<SystemEvent> |
findAll(int start,
int end,
OrderByComparator<SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events. |
SystemEvent |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> 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<SystemEvent> 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<SystemEvent> 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<SystemEvent> 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<SystemEvent> 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<SystemEvent> 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<SystemEvent> orderByComparator)
Returns an ordered 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<SystemEvent> orderByComparator,
boolean retrieveFromCache)
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<SystemEvent> orderByComparator)
Returns an ordered 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<SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?. |
SystemEvent |
findByG_S_First(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?. |
SystemEvent |
findByG_S_Last(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?. |
SystemEvent[] |
findByG_S_PrevAndNext(long systemEventId,
long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ? and systemEventSetKey = ?. |
List<SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey)
Returns all the system events where groupId = ? and systemEventSetKey = ?. |
List<SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end)
Returns a range of all the system events where groupId = ? and systemEventSetKey = ?. |
List<SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
OrderByComparator<SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?. |
List<SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
OrderByComparator<SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?. |
SystemEvent |
findByGroupId_First(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ?. |
SystemEvent |
findByGroupId_Last(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ?. |
SystemEvent[] |
findByGroupId_PrevAndNext(long systemEventId,
long groupId,
OrderByComparator<SystemEvent> 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<SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ?. |
List<SystemEvent> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SystemEvent> orderByComparator,
boolean retrieveFromCache)
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. |
Set<String> |
getBadColumnNames()
|
SystemEvent |
remove(long systemEventId)
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 |
removeByG_S(long groupId,
long systemEventSetKey)
Removes all the system events where groupId = ? and systemEventSetKey = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the system events where groupId = ? from the database. |
SystemEvent |
updateImpl(SystemEvent systemEvent)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<SystemEvent> findByGroupId(long groupId)
groupId - the group ID
List<SystemEvent> 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 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.
groupId - the group IDstart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
List<SystemEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)
List<SystemEvent> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)retrieveFromCache - whether to retrieve from the finder cache
SystemEvent findByGroupId_First(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemEvent fetchByGroupId_First(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemEvent findByGroupId_Last(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemEvent fetchByGroupId_Last(long groupId,
OrderByComparator<SystemEvent> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemEvent[] findByGroupId_PrevAndNext(long systemEventId,
long groupId,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
systemEventId - 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 foundvoid removeByGroupId(long groupId)
groupId - the group IDint countByGroupId(long groupId)
groupId - the group ID
List<SystemEvent> findByG_S(long groupId,
long systemEventSetKey)
groupId - the group IDsystemEventSetKey - the system event set key
List<SystemEvent> findByG_S(long groupId,
long systemEventSetKey,
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 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.
groupId - the group IDsystemEventSetKey - the system event set keystart - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
List<SystemEvent> findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - the group IDsystemEventSetKey - the system event set keystart - 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)
List<SystemEvent> findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - the group IDsystemEventSetKey - the system event set keystart - 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)retrieveFromCache - whether to retrieve from the finder cache
SystemEvent findByG_S_First(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - the group IDsystemEventSetKey - the system event set keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemEvent fetchByG_S_First(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
groupId - the group IDsystemEventSetKey - the system event set keyorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemEvent findByG_S_Last(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - the group IDsystemEventSetKey - the system event set keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a matching system event could not be found
SystemEvent fetchByG_S_Last(long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
groupId - the group IDsystemEventSetKey - the system event set keyorderByComparator - the comparator to order the set by (optionally null)
null if a matching system event could not be found
SystemEvent[] findByG_S_PrevAndNext(long systemEventId,
long groupId,
long systemEventSetKey,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
systemEventId - the primary key of the current system eventgroupId - the group IDsystemEventSetKey - the system event set keyorderByComparator - the comparator to order the set by (optionally null)
NoSuchSystemEventException - if a system event with the primary key could not be found
void removeByG_S(long groupId,
long systemEventSetKey)
groupId - the group IDsystemEventSetKey - the system event set key
int countByG_S(long groupId,
long systemEventSetKey)
groupId - the group IDsystemEventSetKey - the system event set key
List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK,
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 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.
groupId - 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)
List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)
List<SystemEvent> findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)retrieveFromCache - whether to retrieve from the finder cache
SystemEvent findByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - 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
SystemEvent fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> orderByComparator)
groupId - 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
SystemEvent findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - 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
SystemEvent fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> orderByComparator)
groupId - 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
SystemEvent[] findByG_C_C_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
systemEventId - 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
void removeByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
int countByG_C_C(long groupId,
long classNameId,
long classPK)
groupId - the group IDclassNameId - the class name IDclassPK - the class p k
List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int 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 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.
groupId - 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)
List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)
List<SystemEvent> findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
OrderByComparator<SystemEvent> 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 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.
groupId - 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)retrieveFromCache - whether to retrieve from the finder cache
SystemEvent findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - 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
SystemEvent fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator<SystemEvent> orderByComparator)
groupId - 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
SystemEvent findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
groupId - 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
SystemEvent fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator<SystemEvent> orderByComparator)
groupId - 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
SystemEvent[] findByG_C_C_T_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
int type,
OrderByComparator<SystemEvent> orderByComparator)
throws NoSuchSystemEventException
systemEventId - 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
void removeByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
int countByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type)
groupId - the group IDclassNameId - the class name IDclassPK - the class p ktype - the type
void cacheResult(SystemEvent systemEvent)
systemEvent - the system eventvoid cacheResult(List<SystemEvent> systemEvents)
systemEvents - the system eventsSystemEvent create(long systemEventId)
systemEventId - the primary key for the new system event
SystemEvent remove(long systemEventId)
throws NoSuchSystemEventException
systemEventId - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be foundSystemEvent updateImpl(SystemEvent systemEvent)
SystemEvent findByPrimaryKey(long systemEventId)
throws NoSuchSystemEventException
NoSuchSystemEventException if it could not be found.
systemEventId - the primary key of the system event
NoSuchSystemEventException - if a system event with the primary key could not be foundSystemEvent fetchByPrimaryKey(long systemEventId)
null if it could not be found.
systemEventId - the primary key of the system event
null if a system event with the primary key could not be foundMap<Serializable,SystemEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<SystemEvent>List<SystemEvent> findAll()
List<SystemEvent> 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 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.
start - the lower bound of the range of system eventsend - the upper bound of the range of system events (not inclusive)
List<SystemEvent> findAll(int start,
int end,
OrderByComparator<SystemEvent> 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 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.
start - 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)
List<SystemEvent> findAll(int start,
int end,
OrderByComparator<SystemEvent> 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 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.
start - 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)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<SystemEvent>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||