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 String
CATEGORY_PARAMETER_NAME
static String
END_EVENT_DATE_PARAMETER_NAME
static String
EVENT_ID_PARAMETER_NAME
static String
NAME
static String
PAGE_PROVIDER_NAME
static String
PRINCIPAL_NAME_PARAMETER_NAME
static String
START_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 Calendar
getCalendarParameter(String param)
protected PageProviderDefinition
getPageProviderDefinition()
protected Object[]
getParams()
protected DocumentModel
getSearchDocument()
-
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:
getPageProviderDefinition
in classPaginableAdapter<LogEntry>
-
getParams
protected Object[] getParams()
- Overrides:
getParams
in classPaginableAdapter<LogEntry>
-
getSearchDocument
protected DocumentModel getSearchDocument()
- Overrides:
getSearchDocument
in classPaginableAdapter<LogEntry>
-
-