Search in sources :

Example 1 with CacheTermList

use of org.collectionspace.chain.csp.webui.nuispec.CacheTermList in project application by collectionspace.

the class RecordCreateUpdate method run.

@Override
public void run(Object in, String[] tail) throws UIException {
    Request q = (Request) in;
    ctl = new CacheTermList(q.getCache());
    store_set(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
Also used : UIRequest(org.collectionspace.csp.api.ui.UIRequest) Request(org.collectionspace.chain.csp.webui.main.Request) CacheTermList(org.collectionspace.chain.csp.webui.nuispec.CacheTermList)

Example 2 with CacheTermList

use of org.collectionspace.chain.csp.webui.nuispec.CacheTermList 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, "/"));
}
Also used : UIRequest(org.collectionspace.csp.api.ui.UIRequest) Request(org.collectionspace.chain.csp.webui.main.Request) CacheTermList(org.collectionspace.chain.csp.webui.nuispec.CacheTermList)

Aggregations

Request (org.collectionspace.chain.csp.webui.main.Request)2 CacheTermList (org.collectionspace.chain.csp.webui.nuispec.CacheTermList)2 UIRequest (org.collectionspace.csp.api.ui.UIRequest)2