@ProviderType
public class AuditEventPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>
implements com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistence
Caching information and settings can be found in portal.properties
AuditEventPersistence,
AuditEventUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.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_COMPANYID |
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_COMPANYID |
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_COMPANYID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, 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 |
|---|
AuditEventPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the audit event persistence.
|
void |
cacheResult(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
Caches the audit event in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> auditEvents)
Caches the audit events in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all audit events.
|
void |
clearCache(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
Clears the cache for the audit event.
|
void |
clearCache(java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> auditEvents) |
int |
countAll()
Returns the number of audit events.
|
int |
countByCompanyId(long companyId)
Returns the number of audit events where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
create(long auditEventId)
Creates a new audit event with the primary key.
|
void |
destroy() |
com.liferay.portal.security.audit.storage.model.AuditEvent |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns the first audit event in the ordered set where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns the last audit event in the ordered set where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
fetchByPrimaryKey(long auditEventId)
Returns the audit event with the primary key or returns
null if it could not be found. |
com.liferay.portal.security.audit.storage.model.AuditEvent |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the audit event with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,com.liferay.portal.security.audit.storage.model.AuditEvent> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findAll()
Returns all the audit events.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findAll(int start,
int end)
Returns a range of all the audit events.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns an ordered range of all the audit events.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the audit events.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns the first audit event in the ordered set where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns the last audit event in the ordered set where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent[] |
findByCompanyId_PrevAndNext(long auditEventId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns the audit events before and after the current audit event in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findByCompanyId(long companyId)
Returns all the audit events where companyId = ?.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the audit events where companyId = ?.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
Returns an ordered range of all the audit events where companyId = ?.
|
java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the audit events where companyId = ?.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
findByPrimaryKey(long auditEventId)
Returns the audit event with the primary key or throws a
NoSuchEventException if it could not be found. |
com.liferay.portal.security.audit.storage.model.AuditEvent |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the audit event with the primary key or throws a
NoSuchModelException if it could not be found. |
protected com.liferay.portal.security.audit.storage.model.AuditEvent |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portal.security.audit.storage.model.AuditEvent |
remove(long auditEventId)
Removes the audit event with the primary key from the database.
|
com.liferay.portal.security.audit.storage.model.AuditEvent |
remove(java.io.Serializable primaryKey)
Removes the audit event with the primary key from the database.
|
void |
removeAll()
Removes all the audit events from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the audit events where companyId = ? from the database.
|
protected com.liferay.portal.security.audit.storage.model.AuditEvent |
removeImpl(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent) |
protected com.liferay.portal.security.audit.storage.model.AuditEvent |
toUnwrappedModel(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent) |
com.liferay.portal.security.audit.storage.model.AuditEvent |
updateImpl(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.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_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
@ServiceReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.EntityCache.class) protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.FinderCache.class) protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AuditEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDstart - the lower bound of the range of audit eventsend - the upper bound of the range of audit events (not inclusive)public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> 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 AuditEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDstart - the lower bound of the range of audit eventsend - the upper bound of the range of audit events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> 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 AuditEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDstart - the lower bound of the range of audit eventsend - the upper bound of the range of audit events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portal.security.audit.storage.model.AuditEvent findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
findByCompanyId_First in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a matching audit event could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching audit event could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
findByCompanyId_Last in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a matching audit event could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching audit event could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent[] findByCompanyId_PrevAndNext(long auditEventId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
findByCompanyId_PrevAndNext in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEventId - the primary key of the current audit eventcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a audit event with the primary key could not be foundprotected com.liferay.portal.security.audit.storage.model.AuditEvent getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencecompanyId - the company IDpublic void cacheResult(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
cacheResult in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEvent - the audit eventpublic void cacheResult(java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> auditEvents)
cacheResult in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEvents - the audit 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.security.audit.storage.model.AuditEvent>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public void clearCache(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public void clearCache(java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> auditEvents)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public com.liferay.portal.security.audit.storage.model.AuditEvent create(long auditEventId)
create in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEventId - the primary key for the new audit eventpublic com.liferay.portal.security.audit.storage.model.AuditEvent remove(long auditEventId)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
remove in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEventId - the primary key of the audit eventcom.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a audit event with the primary key could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent remove(java.io.Serializable primaryKey)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>primaryKey - the primary key of the audit eventcom.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a audit event with the primary key could not be foundprotected com.liferay.portal.security.audit.storage.model.AuditEvent removeImpl(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public com.liferay.portal.security.audit.storage.model.AuditEvent updateImpl(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
updateImpl in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>protected com.liferay.portal.security.audit.storage.model.AuditEvent toUnwrappedModel(com.liferay.portal.security.audit.storage.model.AuditEvent auditEvent)
public com.liferay.portal.security.audit.storage.model.AuditEvent findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>primaryKey - the primary key of the audit eventcom.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a audit event with the primary key could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent findByPrimaryKey(long auditEventId)
throws com.liferay.portal.security.audit.storage.exception.NoSuchEventException
NoSuchEventException if it could not be found.findByPrimaryKey in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEventId - the primary key of the audit eventcom.liferay.portal.security.audit.storage.exception.NoSuchEventException - if a audit event with the primary key could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent fetchByPrimaryKey(java.io.Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>primaryKey - the primary key of the audit eventnull if a audit event with the primary key could not be foundpublic com.liferay.portal.security.audit.storage.model.AuditEvent fetchByPrimaryKey(long auditEventId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceauditEventId - the primary key of the audit eventnull if a audit event with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portal.security.audit.storage.model.AuditEvent> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.security.audit.storage.model.AuditEvent>fetchByPrimaryKeys in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findAll()
findAll in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistencepublic java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> 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 AuditEventModelImpl. 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.security.audit.storage.service.persistence.AuditEventPersistencestart - the lower bound of the range of audit eventsend - the upper bound of the range of audit events (not inclusive)public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> 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 AuditEventModelImpl. 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.security.audit.storage.service.persistence.AuditEventPersistencestart - the lower bound of the range of audit eventsend - the upper bound of the range of audit events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.security.audit.storage.model.AuditEvent> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.security.audit.storage.model.AuditEvent> 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 AuditEventModelImpl. 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.security.audit.storage.service.persistence.AuditEventPersistencestart - the lower bound of the range of audit eventsend - the upper bound of the range of audit 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.security.audit.storage.service.persistence.AuditEventPersistencepublic int countAll()
countAll in interface com.liferay.portal.security.audit.storage.service.persistence.AuditEventPersistenceprotected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.security.audit.storage.model.AuditEvent>public void afterPropertiesSet()
public void destroy()