protected void updateEntityFields(ActionContext actionContext, IGTEntity entity) throws GTClientException { AS2DocTypeMappingAForm as2DocTypeMappingAForm = (AS2DocTypeMappingAForm) actionContext.getActionForm(); entity.setFieldValue( IGTAS2DocTypeMappingEntity.AS2_DOC_TYPE, as2DocTypeMappingAForm.getAs2DocType()); entity.setFieldValue(IGTAS2DocTypeMappingEntity.DOC_TYPE, as2DocTypeMappingAForm.getDocType()); entity.setFieldValue( IGTAS2DocTypeMappingEntity.PARTNER_ID, as2DocTypeMappingAForm.getPartnerId()); }