public final Response executeCommand(Object inputPar,UserSessionParameters userSessionPars,HttpServletRequest request, HttpServletResponse response,HttpSession userSession,ServletContext context) {
ArrayList oldVOs = ((ArrayList[])inputPar)[0];
ArrayList newVOs = ((ArrayList[])inputPar)[1];
try {
CustomizedWindows cust = ((JAIOUserSessionParameters)userSessionPars).getCustomizedWindows();
ArrayList customizedFields = cust.getCustomizedFields(ApplicationConsts.ID_MACHINERIES);
Machineries bean = (Machineries)JAIOBeanFactory.getInstance().getBean(Machineries.class);
Response answer = bean.updateMachineries(((ArrayList[])inputPar)[0],((ArrayList[])inputPar)[1],((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),customizedFields);
return answer;