/** * @see it.webscience.kpeople.ega.adapter.sharepoint * .actionDataProcessor.actionDataInterface.ActionDataParserInterface * #parser(org.apache.axiom.om.OMElement, it.webscience.kpeople.domain.model.KpeopleAction). * @param action azione che è stata intercettata. * @param response indica il valore di ritorno della chiamata al webservice di sharepoint * contenente le informazioni sulle liste monitorate * @return hashmap da sostituire. * @throws Exception eccezione. */ public KpeopleSimpleEvent parser(final GetItemResponse response, final KpeopleAction action) throws Exception { KpeopleLogger.getInstance() .getService() .logInfo( KpeopleLabel.getSystemId(), this.getClass() + ".parser()" + KpeopleLabel.getLogStart()); manageActionInfo(action); String operation = action.getActionType().split("/")[1]; eventResult.setOperation(operation); manageEventInfo(response, operation); DataHandler stream = response.getStream(); manageDetails(response, stream); manageAttachments(action, stream); KpeopleLogger.getInstance() .getService() .logInfo( KpeopleLabel.getSystemId(), this.getClass() + ".parser()" + KpeopleLabel.getLogStop()); return eventResult; }