String actionId = RequestUtil.getString(getQuery().getValues("actionId"));
if(StringUtils.isNotEmpty(actionId) && actionId.equalsIgnoreCase("getNextSku")){
String nextSku = coreManager.getNextSku();
HashMap<String, String> resultMap = new HashMap<String, String>();
resultMap.put("value", nextSku);
SgwtRestFetchResponseBase ret = new SgwtRestFetchResponseBase(resultMap);
return ret;
}
return null;
}