public Result process(Map parameter, Context context) throws Exception {
Map parameters = ((MapValue)parameter.get(PARAMETER)).getMap();
String handlerUrl = ProcessorManager.getInstance().process(ProcessorManager.URL, TableHandler.URL, context).toString();
String id = parameter.get(TableHandler.ID).toString();
String storeName = parameter.get(TableHandler.STORE).toString();
Store store = context.getStore(StoreHelper.getStoreByName(storeName));
Map tableMap;
MapValue idResource = (MapValue)store.get(id);
String sortedBy = null, order = null;
Map size = null;
if ( idResource == null) {
tableMap = new HashMap();
MapValue tableState = new MapValue(tableMap);
store.put(id, tableState);
} else {
tableMap = idResource.getMap();
Value sortedByValue = (Value)idResource.getMap().get(TableHandler.SORTED_BY);
if ( sortedByValue != null && sortedByValue != NullValue.NULL ) sortedBy = sortedByValue.toString();
Value orderValue = (Value)idResource.getMap().get(TableHandler.ORDER);