use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class VocabulariesRead method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
store_get(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class WebAuto method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
q.getUIRequest().sendJSONResponse(new JSONObject());
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class WebReset method run.
/**
* The 'modifyResponse' param tells us whether or not to add our output to the HTTP response. We'll
* only do this if there is a direct request to the /authorities/initialize URL.
*
* @param in
* @param tail
* @param modifyResponse
* @throws UIException
*/
private void run(Object in, String[] tail, boolean modifyResponse) throws UIException {
Request request = (Request) in;
run(request.getStorage(), request.getUIRequest(), tail, modifyResponse);
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class WebTermList method run.
@Override
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
ctl = new CacheTermList(q.getCache());
termlist(q.getCache(), q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class UserDetailsRead method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
store_get(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
Aggregations