Search in sources :

Example 1 with Request

use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.

the class RecordAuthorities method run.

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

Example 2 with Request

use of org.collectionspace.chain.csp.webui.main.Request 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 3 with Request

use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.

the class RecordRelated method run.

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

Example 4 with Request

use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.

the class RecordSearchList method run.

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

Example 5 with Request

use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.

the class RelateDelete method run.

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

Aggregations

Request (org.collectionspace.chain.csp.webui.main.Request)36 UIRequest (org.collectionspace.csp.api.ui.UIRequest)34 JSONObject (org.json.JSONObject)5 CacheTermList (org.collectionspace.chain.csp.webui.nuispec.CacheTermList)2 UIException (org.collectionspace.csp.api.ui.UIException)2 UISession (org.collectionspace.csp.api.ui.UISession)1 StructuredDateFormatException (org.collectionspace.services.structureddate.StructuredDateFormatException)1 StructuredDateInternal (org.collectionspace.services.structureddate.StructuredDateInternal)1 JSONException (org.json.JSONException)1