@ProviderType
public class SystemEventPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
implements com.liferay.portal.kernel.service.persistence.SystemEventPersistence
Caching information and settings can be found in portal.properties
SystemEventPersistence
,
SystemEventUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
---|
SystemEventPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the system event persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.SystemEvent> systemEvents)
Caches the system events in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.model.SystemEvent> systemEvents) |
void |
clearCache(com.liferay.portal.kernel.model.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 |
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 = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
create(long systemEventId)
Creates a new system event with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_S_First(long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByG_S_Last(long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
fetchByPrimaryKey(long systemEventId)
Returns the system event with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.SystemEvent |
fetchByPrimaryKey(Serializable primaryKey)
Returns the system event with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.SystemEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
List<com.liferay.portal.kernel.model.SystemEvent> |
findAll()
Returns all the system events.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findAll(int start,
int end)
Returns a range of all the system events.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns an ordered range of all the system events.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent[] |
findByG_C_C_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_C_C_T_First(long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_C_C_T_Last(long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
com.liferay.portal.kernel.model.SystemEvent[] |
findByG_C_C_T_PrevAndNext(long systemEventId,
long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.model.SystemEvent> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_C_C_T(long groupId,
long classNameId,
long classPK,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ? and type = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the system events where groupId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.portal.kernel.model.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<com.liferay.portal.kernel.model.SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ? and classNameId = ? and classPK = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_S_First(long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ? and systemEventSetKey = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByG_S_Last(long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ? and systemEventSetKey = ?.
|
com.liferay.portal.kernel.model.SystemEvent[] |
findByG_S_PrevAndNext(long systemEventId,
long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ? and systemEventSetKey = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey)
Returns all the system events where groupId = ? and systemEventSetKey = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end)
Returns a range of all the system events where groupId = ? and systemEventSetKey = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByG_S(long groupId,
long systemEventSetKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ? and systemEventSetKey = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the first system event in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the last system event in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.SystemEvent[] |
findByGroupId_PrevAndNext(long systemEventId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns the system events before and after the current system event in the ordered set where groupId = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByGroupId(long groupId)
Returns all the system events where groupId = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the system events where groupId = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
Returns an ordered range of all the system events where groupId = ?.
|
List<com.liferay.portal.kernel.model.SystemEvent> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the system events where groupId = ?.
|
com.liferay.portal.kernel.model.SystemEvent |
findByPrimaryKey(long systemEventId)
Returns the system event with the primary key or throws a
NoSuchSystemEventException if it could not be found. |
com.liferay.portal.kernel.model.SystemEvent |
findByPrimaryKey(Serializable primaryKey)
Returns the system event with the primary key or throws a
NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.SystemEvent |
getByG_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.SystemEvent |
getByG_C_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.SystemEvent systemEvent,
long groupId,
long classNameId,
long classPK,
int type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.SystemEvent |
getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.SystemEvent systemEvent,
long groupId,
long systemEventSetKey,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.SystemEvent |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.SystemEvent systemEvent,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.SystemEvent |
remove(long systemEventId)
Removes the system event with the primary key from the database.
|
com.liferay.portal.kernel.model.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 |
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.
|
protected com.liferay.portal.kernel.model.SystemEvent |
removeImpl(com.liferay.portal.kernel.model.SystemEvent systemEvent) |
com.liferay.portal.kernel.model.SystemEvent |
updateImpl(com.liferay.portal.kernel.model.SystemEvent systemEvent) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
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 com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_C_T
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.portal.kernel.model.SystemEvent> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDstart
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)public List<com.liferay.portal.kernel.model.SystemEvent> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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
)public List<com.liferay.portal.kernel.model.SystemEvent> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 cachepublic com.liferay.portal.kernel.model.SystemEvent findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent[] findByGroupId_PrevAndNext(long systemEventId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEventId
- the primary key of the current system eventgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundprotected com.liferay.portal.kernel.model.SystemEvent getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.SystemEvent systemEvent, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.SystemEvent> findByG_S(long groupId, long systemEventSetKey)
findByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDsystemEventSetKey
- the system event set keypublic List<com.liferay.portal.kernel.model.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.
findByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_S(long groupId, long systemEventSetKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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
)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_S(long groupId, long systemEventSetKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 cachepublic com.liferay.portal.kernel.model.SystemEvent findByG_S_First(long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_S_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_S_First(long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_S_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 foundpublic com.liferay.portal.kernel.model.SystemEvent findByG_S_Last(long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_S_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDsystemEventSetKey
- the system event set keyorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_S_Last(long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_S_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 foundpublic com.liferay.portal.kernel.model.SystemEvent[] findByG_S_PrevAndNext(long systemEventId, long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_S_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundprotected com.liferay.portal.kernel.model.SystemEvent getByG_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.SystemEvent systemEvent, long groupId, long systemEventSetKey, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator, boolean previous)
public void removeByG_S(long groupId, long systemEventSetKey)
removeByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDsystemEventSetKey
- the system event set keypublic int countByG_S(long groupId, long systemEventSetKey)
countByG_S
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDsystemEventSetKey
- the system event set keypublic List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C(long groupId, long classNameId, long classPK)
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.portal.kernel.model.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.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.SystemEvent findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_C_C_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_C_C_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent[] findByG_C_C_PrevAndNext(long systemEventId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundprotected com.liferay.portal.kernel.model.SystemEvent getByG_C_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.SystemEvent systemEvent, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator, boolean previous)
public void removeByG_C_C(long groupId, long classNameId, long classPK)
removeByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic int countByG_C_C(long groupId, long classNameId, long classPK)
countByG_C_C
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C_T(long groupId, long classNameId, long classPK, int type)
findByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic List<com.liferay.portal.kernel.model.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.
findByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C_T(long groupId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)public List<com.liferay.portal.kernel.model.SystemEvent> findByG_C_C_T(long groupId, long classNameId, long classPK, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.SystemEvent findByG_C_C_T_First(long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_T_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_C_C_T_First(long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_C_C_T_First
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent findByG_C_C_T_Last(long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_T_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByG_C_C_T_Last(long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator)
fetchByG_C_C_T_Last
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching system event could not be foundpublic com.liferay.portal.kernel.model.SystemEvent[] findByG_C_C_T_PrevAndNext(long systemEventId, long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
findByG_C_C_T_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 (optionally null
)com.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundprotected com.liferay.portal.kernel.model.SystemEvent getByG_C_C_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.SystemEvent systemEvent, long groupId, long classNameId, long classPK, int type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.SystemEvent> orderByComparator, boolean previous)
public void removeByG_C_C_T(long groupId, long classNameId, long classPK, int type)
removeByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic int countByG_C_C_T(long groupId, long classNameId, long classPK, int type)
countByG_C_C_T
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pktype
- the typepublic void cacheResult(com.liferay.portal.kernel.model.SystemEvent systemEvent)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEvent
- the system eventpublic void cacheResult(List<com.liferay.portal.kernel.model.SystemEvent> systemEvents)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEvents
- the system eventspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public void clearCache(com.liferay.portal.kernel.model.SystemEvent systemEvent)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public void clearCache(List<com.liferay.portal.kernel.model.SystemEvent> systemEvents)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public com.liferay.portal.kernel.model.SystemEvent create(long systemEventId)
create
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEventId
- the primary key for the new system eventpublic com.liferay.portal.kernel.model.SystemEvent remove(long systemEventId) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
remove
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEventId
- the primary key of the system eventcom.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundpublic com.liferay.portal.kernel.model.SystemEvent remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
primaryKey
- the primary key of the system eventcom.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundprotected com.liferay.portal.kernel.model.SystemEvent removeImpl(com.liferay.portal.kernel.model.SystemEvent systemEvent)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public com.liferay.portal.kernel.model.SystemEvent updateImpl(com.liferay.portal.kernel.model.SystemEvent systemEvent)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public com.liferay.portal.kernel.model.SystemEvent findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
primaryKey
- the primary key of the system eventcom.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundpublic com.liferay.portal.kernel.model.SystemEvent findByPrimaryKey(long systemEventId) throws com.liferay.portal.kernel.exception.NoSuchSystemEventException
NoSuchSystemEventException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEventId
- the primary key of the system eventcom.liferay.portal.kernel.exception.NoSuchSystemEventException
- if a system event with the primary key could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
primaryKey
- the primary key of the system eventnull
if a system event with the primary key could not be foundpublic com.liferay.portal.kernel.model.SystemEvent fetchByPrimaryKey(long systemEventId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
systemEventId
- the primary key of the system eventnull
if a system event with the primary key could not be foundpublic Map<Serializable,com.liferay.portal.kernel.model.SystemEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public List<com.liferay.portal.kernel.model.SystemEvent> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
public List<com.liferay.portal.kernel.model.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.
findAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
start
- the lower bound of the range of system eventsend
- the upper bound of the range of system events (not inclusive)public List<com.liferay.portal.kernel.model.SystemEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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
)public List<com.liferay.portal.kernel.model.SystemEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
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 cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.SystemEvent>
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.SystemEventPersistence
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.SystemEvent>
public void afterPropertiesSet()
public void destroy()