Class AuditAdapter
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
-
- org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter<LogEntry>
-
- org.nuxeo.ecm.restapi.server.jaxrs.adapters.AuditAdapter
-
- All Implemented Interfaces:
AdapterResource,Resource,Adaptable
public class AuditAdapter extends PaginableAdapter<LogEntry>
Adapter that returns the log entries of the pointed resource.- Since:
- 5.7.3
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORY_PARAMETER_NAMEstatic StringEND_EVENT_DATE_PARAMETER_NAMEstatic StringEVENT_ID_PARAMETER_NAMEstatic StringNAMEstatic StringPAGE_PROVIDER_NAMEstatic StringPRINCIPAL_NAME_PARAMETER_NAMEstatic StringSTART_EVENT_DATE_PARAMETER_NAME-
Fields inherited from class org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter
currentPageIndex, maxResults, pageSize, sortBy, sortOrder
-
-
Constructor Summary
Constructors Constructor Description AuditAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CalendargetCalendarParameter(String param)protected PageProviderDefinitiongetPageProviderDefinition()protected Object[]getParams()protected DocumentModelgetSearchDocument()-
Methods inherited from class org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter
extractLongParam, getAdapter, getPaginableEntries, getPaginableEntries, initialize
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultAdapter
disptachAdapter, getTarget, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PAGE_PROVIDER_NAME
public static final String PAGE_PROVIDER_NAME
- See Also:
- Constant Field Values
-
EVENT_ID_PARAMETER_NAME
public static final String EVENT_ID_PARAMETER_NAME
- See Also:
- Constant Field Values
-
CATEGORY_PARAMETER_NAME
public static final String CATEGORY_PARAMETER_NAME
- See Also:
- Constant Field Values
-
PRINCIPAL_NAME_PARAMETER_NAME
public static final String PRINCIPAL_NAME_PARAMETER_NAME
- See Also:
- Constant Field Values
-
START_EVENT_DATE_PARAMETER_NAME
public static final String START_EVENT_DATE_PARAMETER_NAME
- See Also:
- Constant Field Values
-
END_EVENT_DATE_PARAMETER_NAME
public static final String END_EVENT_DATE_PARAMETER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPageProviderDefinition
protected PageProviderDefinition getPageProviderDefinition()
- Specified by:
getPageProviderDefinitionin classPaginableAdapter<LogEntry>
-
getParams
protected Object[] getParams()
- Overrides:
getParamsin classPaginableAdapter<LogEntry>
-
getSearchDocument
protected DocumentModel getSearchDocument()
- Overrides:
getSearchDocumentin classPaginableAdapter<LogEntry>
-
-