Interface SystemEventPersistence
- All Superinterfaces:
BasePersistence<SystemEvent>
,CTPersistence<SystemEvent>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SystemEvent systemEvent) Caches the system event in the entity cache if it is enabled.void
cacheResult
(List<SystemEvent> systemEvents) Caches the system events in the entity cache if it is enabled.int
countAll()
Returns the number of system events.int
countByG_C_C
(long groupId, long classNameId, long classPK) Returns the number of system events where groupId = ? and classNameId = ? and classPK = ?.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_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 = ?.create
(long systemEventId) Creates a new system event with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.fetchByG_S_First
(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.fetchByG_S_Last
(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.fetchByGroupId_First
(long groupId, OrderByComparator<SystemEvent> orderByComparator) Returns the first system event in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, OrderByComparator<SystemEvent> orderByComparator) Returns the last system event in the ordered set where groupId = ?.fetchByPrimaryKey
(long systemEventId) Returns the system event with the primary key or returnsnull
if it could not be found.findAll()
Returns all the system events.findAll
(int start, int end) Returns a range of all the system events.findAll
(int start, int end, OrderByComparator<SystemEvent> orderByComparator) Returns an ordered range of all the system events.findAll
(int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events.findByG_C_C
(long groupId, long classNameId, long classPK) Returns all the system events where groupId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.findByG_C_C
(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByG_C_C_T
(long groupId, long classNameId, long classPK, int type, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?.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 = ?.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 = ?.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 = ?.findByG_S
(long groupId, long systemEventSetKey) Returns all the system events where groupId = ? and systemEventSetKey = ?.findByG_S
(long groupId, long systemEventSetKey, int start, int end) Returns a range of all the system events where groupId = ? and systemEventSetKey = ?.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 = ?.findByG_S
(long groupId, long systemEventSetKey, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?.findByG_S_First
(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.findByG_S_Last
(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.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 = ?.findByGroupId
(long groupId) Returns all the system events where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the system events where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<SystemEvent> orderByComparator) Returns an ordered range of all the system events where groupId = ?.findByGroupId
(long groupId, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ?.findByGroupId_First
(long groupId, OrderByComparator<SystemEvent> orderByComparator) Returns the first system event in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, OrderByComparator<SystemEvent> orderByComparator) Returns the last system event in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long systemEventId) Returns the system event with the primary key or throws aNoSuchSystemEventException
if it could not be found.remove
(long systemEventId) Removes the system event with the primary key from the database.void
Removes all the system events 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_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_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.updateImpl
(SystemEvent systemEvent) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByGroupId
Returns all the system events where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching system events
-
findByGroupId
Returns a range of all the system events where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)- Returns:
- the range of matching system events
-
findByGroupId
List<SystemEvent> findByGroupId(long groupId, int start, int end, OrderByComparator<SystemEvent> orderByComparator) Returns an ordered range of all the system events where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching system events
-
findByGroupId
List<SystemEvent> findByGroupId(long groupId, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching system events
-
findByGroupId_First
SystemEvent findByGroupId_First(long groupId, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the first system event in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByGroupId_First
Returns the first system event in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event, or
null
if a matching system event could not be found
-
findByGroupId_Last
SystemEvent findByGroupId_Last(long groupId, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the last system event in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByGroupId_Last
Returns the last system event in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event, or
null
if a matching system event could not be found
-
findByGroupId_PrevAndNext
SystemEvent[] findByGroupId_PrevAndNext(long systemEventId, long groupId, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the system events before and after the current system event in the ordered set where groupId = ?.- Parameters:
systemEventId
- the primary key of the current system eventgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next system event
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the system events where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of system events where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching system events
-
findByG_S
Returns all the system events where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set key- Returns:
- the matching system events
-
findByG_S
Returns a range of all the system events where groupId = ? and systemEventSetKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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)- Returns:
- the range of matching system events
-
findByG_S
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching system events
-
findByG_S
List<SystemEvent> findByG_S(long groupId, long systemEventSetKey, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching system events
-
findByG_S_First
SystemEvent findByG_S_First(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_S_First
SystemEvent fetchByG_S_First(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event, or
null
if a matching system event could not be found
-
findByG_S_Last
SystemEvent findByG_S_Last(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_S_Last
SystemEvent fetchByG_S_Last(long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event, or
null
if a matching system event could not be found
-
findByG_S_PrevAndNext
SystemEvent[] findByG_S_PrevAndNext(long systemEventId, long groupId, long systemEventSetKey, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the system events before and after the current system event in the ordered set where groupId = ? and systemEventSetKey = ?.- Parameters:
systemEventId
- the primary key of the current system eventgroupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next system event
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
removeByG_S
void removeByG_S(long groupId, long systemEventSetKey) Removes all the system events where groupId = ? and systemEventSetKey = ? from the database.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set key
-
countByG_S
int countByG_S(long groupId, long systemEventSetKey) Returns the number of system events where groupId = ? and systemEventSetKey = ?.- Parameters:
groupId
- the group IDsystemEventSetKey
- the system event set key- Returns:
- the number of matching system events
-
findByG_C_C
Returns all the system events where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching system events
-
findByG_C_C
Returns a range of all the system events where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)- Returns:
- the range of matching system events
-
findByG_C_C
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching system events
-
findByG_C_C
List<SystemEvent> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching system events
-
findByG_C_C_First
SystemEvent findByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_C_C_First
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event, or
null
if a matching system event could not be found
-
findByG_C_C_Last
SystemEvent findByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_C_C_Last
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event, or
null
if a matching system event could not be found
-
findByG_C_C_PrevAndNext
SystemEvent[] findByG_C_C_PrevAndNext(long systemEventId, long groupId, long classNameId, long classPK, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the system events before and after the current system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
systemEventId
- the primary key of the current system eventgroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next system event
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
removeByG_C_C
void removeByG_C_C(long groupId, long classNameId, long classPK) Removes all the system events where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk
-
countByG_C_C
int countByG_C_C(long groupId, long classNameId, long classPK) Returns the number of system events where groupId = ? and classNameId = ? and classPK = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching system events
-
findByG_C_C_T
Returns all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the matching system events
-
findByG_C_C_T
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typestart
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)- Returns:
- the range of matching system events
-
findByG_C_C_T
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- 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 (optionallynull
)- Returns:
- the ordered range of matching system events
-
findByG_C_C_T
List<SystemEvent> findByG_C_C_T(long groupId, long classNameId, long classPK, int type, int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching system events
-
findByG_C_C_T_First
SystemEvent findByG_C_C_T_First(long groupId, long classNameId, long classPK, int type, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_C_C_T_First
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching system event, or
null
if a matching system event could not be found
-
findByG_C_C_T_Last
SystemEvent findByG_C_C_T_Last(long groupId, long classNameId, long classPK, int type, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event
- Throws:
NoSuchSystemEventException
- if a matching system event could not be found
-
fetchByG_C_C_T_Last
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching system event, or
null
if a matching system event could not be found
-
findByG_C_C_T_PrevAndNext
SystemEvent[] findByG_C_C_T_PrevAndNext(long systemEventId, long groupId, long classNameId, long classPK, int type, OrderByComparator<SystemEvent> orderByComparator) throws NoSuchSystemEventException Returns the system events before and after the current system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.- Parameters:
systemEventId
- the primary key of the current system eventgroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next system event
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
removeByG_C_C_T
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.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type
-
countByG_C_C_T
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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the type- Returns:
- the number of matching system events
-
cacheResult
Caches the system event in the entity cache if it is enabled.- Parameters:
systemEvent
- the system event
-
cacheResult
Caches the system events in the entity cache if it is enabled.- Parameters:
systemEvents
- the system events
-
create
Creates a new system event with the primary key. Does not add the system event to the database.- Parameters:
systemEventId
- the primary key for the new system event- Returns:
- the new system event
-
remove
Removes the system event with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
systemEventId
- the primary key of the system event- Returns:
- the system event that was removed
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the system event with the primary key or throws aNoSuchSystemEventException
if it could not be found.- Parameters:
systemEventId
- the primary key of the system event- Returns:
- the system event
- Throws:
NoSuchSystemEventException
- if a system event with the primary key could not be found
-
fetchByPrimaryKey
Returns the system event with the primary key or returnsnull
if it could not be found.- Parameters:
systemEventId
- the primary key of the system event- Returns:
- the system event, or
null
if a system event with the primary key could not be found
-
findAll
List<SystemEvent> findAll()Returns all the system events.- Returns:
- the system events
-
findAll
Returns a range of all the system events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
start
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)- Returns:
- the range of system events
-
findAll
Returns an ordered range of all the system events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of system events
-
findAll
List<SystemEvent> findAll(int start, int end, OrderByComparator<SystemEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the system events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSystemEventModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of system events
-
removeAll
void removeAll()Removes all the system events from the database. -
countAll
int countAll()Returns the number of system events.- Returns:
- the number of system events
-