use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class UserDetailsSearchList method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
UIRequest uir = q.getUIRequest();
if (search) {
search_or_list(q.getStorage(), uir, uir.getRequestArgument(SEARCH_QUERY_PARAM), uir.getRequestArgument(PAGE_SIZE_PARAM), uir.getRequestArgument(PAGE_NUM_PARAM));
} else {
search_or_list(q.getStorage(), uir, null, uir.getRequestArgument(PAGE_SIZE_PARAM), uir.getRequestArgument(PAGE_NUM_PARAM));
}
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class UserRolesCreate method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
store_set(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class UserRolesDelete method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
store_delete(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class UserRolesSearchList method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
UIRequest uir = q.getUIRequest();
if (search) {
search_or_list(q.getStorage(), uir, uir.getRequestArgument(SEARCH_QUERY_PARAM), uir.getRequestArgument(PAGE_SIZE_PARAM), uir.getRequestArgument(PAGE_NUM_PARAM));
} else {
search_or_list(q.getStorage(), uir, null, uir.getRequestArgument(PAGE_SIZE_PARAM), uir.getRequestArgument(PAGE_NUM_PARAM));
}
}
use of org.collectionspace.chain.csp.webui.main.Request in project application by collectionspace.
the class VocabulariesCreateUpdate method run.
public void run(Object in, String[] tail) throws UIException {
Request q = (Request) in;
store_set(q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/"));
}
Aggregations