public class LastDocuments extends DefaultObject
Constructor and Description |
---|
LastDocuments() |
Modifier and Type | Method and Description |
---|---|
Object |
doGet(int nb_docs,
String path)
Return JSon data that contains a list of document properties (url, title,
date of creation and author).
|
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, 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
public Object doGet(int nb_docs, String path) throws Exception
nb_docs
- number of elements to returnException
Copyright © 2013 Nuxeo SA. All Rights Reserved.