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_TRANSPORT_MOTIVES);
TransportMotives bean = (TransportMotives)JAIOBeanFactory.getInstance().getBean(TransportMotives.class);
Response answer = bean.updateTransportMotives(((ArrayList[])inputPar)[0],((ArrayList[])inputPar)[1],((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername(),customizedFields);
return answer;