public class HierarchyAPI extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BELOW_PARAM |
static String |
CHILDREN_PARAM |
static String |
COLLECTIONS_PARAM |
static String |
LEVELS_PARAM |
protected DSAPIManager |
man |
static String |
MEMBER_PARAM |
static String |
PARENT_PARAM |
static String |
PATH_PARAM |
protected ResourceValue |
resource |
static String |
ROOTS_PARAM |
static String |
TERMS_PARAM |
static String |
TEXT_PARAM |
| Constructor and Description |
|---|
HierarchyAPI(String id,
DSAPIManager man) |
| Modifier and Type | Method and Description |
|---|---|
protected JSONWritableObject |
describeTerm(com.hp.hpl.jena.rdf.model.Resource term,
Store store) |
JSONWritable |
handleCodelistRequest(javax.ws.rs.core.MultivaluedMap<String,String> params) |
JSONWritable |
handleCodeRequest(javax.ws.rs.core.MultivaluedMap<String,String> params) |
JSONWritable |
handleCollectionRequest(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected ResourceList |
listChildren(String parent) |
protected JSONWritable |
listCollections() |
protected JSONWritable |
listLevels() |
protected JSONWritable |
listRoots() |
protected JSONWritable |
textSearch(String query) |
public static final String ROOTS_PARAM
public static final String COLLECTIONS_PARAM
public static final String LEVELS_PARAM
public static final String TERMS_PARAM
public static final String BELOW_PARAM
public static final String TEXT_PARAM
public static final String CHILDREN_PARAM
public static final String MEMBER_PARAM
public static final String PARENT_PARAM
public static final String PATH_PARAM
protected DSAPIManager man
protected ResourceValue resource
public HierarchyAPI(String id, DSAPIManager man)
public JSONWritable handleCodelistRequest(javax.ws.rs.core.MultivaluedMap<String,String> params)
protected JSONWritable listRoots()
protected JSONWritable listCollections()
protected JSONWritable listLevels()
protected ResourceList listChildren(String parent)
protected JSONWritable textSearch(String query)
public JSONWritable handleCollectionRequest(javax.ws.rs.core.MultivaluedMap<String,String> params)
public JSONWritable handleCodeRequest(javax.ws.rs.core.MultivaluedMap<String,String> params)
protected JSONWritableObject describeTerm(com.hp.hpl.jena.rdf.model.Resource term, Store store)
Copyright © 2014. All rights reserved.