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 {
SaleDocActivityVO oldVO = (SaleDocActivityVO)oldVOs.get(0);
VariantDescriptionsVO vo = (VariantDescriptionsVO)((JAIOUserSessionParameters)userSessionPars).getVariantDescriptionsVO().get(oldVO.getCompanyCodeSys01DOC13());
SaleDocActivities bean = (SaleDocActivities)JAIOBeanFactory.getInstance().getBean(SaleDocActivities.class);
Response answer = bean.updateSaleDocActivities(vo.getVariant1Descriptions(),vo.getVariant2Descriptions(),vo.getVariant3Descriptions(),vo.getVariant4Descriptions(),vo.getVariant5Descriptions(),((ArrayList[])inputPar)[0],((ArrayList[])inputPar)[1],((JAIOUserSessionParameters)userSessionPars).getServerLanguageId(),userSessionPars.getUsername());
return answer;
}
catch (Throwable ex) {
Logger.error(userSessionPars.getUsername(),this.getClass().getName(),"executeCommand","Error while processing request",ex);