Package org.activiti.workflow.simple.alfresco.model.config

Examples of org.activiti.workflow.simple.alfresco.model.config.FormSet


          groupId = AlfrescoConversionUtil.getValidIdString(group.getId());
        } else {
          groupId = AlfrescoConversionUtil.getValidIdString(group.getTitle());
        }
       
        FormSet formSet = formConfig.getFormAppearance().addFormSet(groupId, getAppearanceForGroup(group), group.getTitle(), getTemplateForGroup(group));
       
        // Convert all properties
        AlfrescoFormPropertyConverter converter = null;
        for(FormPropertyDefinition property : group.getFormPropertyDefinitions()) {
          converter = propertyConverters.get(property.getClass());
          if(converter == null) {
            throw new AlfrescoSimpleWorkflowException("Unsupported property type: " + property.getClass().getName());
          }
          converter.convertProperty(contentType, formSet.getId(), formConfig, property, conversion);
        }
      }
     
    }
   
View Full Code Here

TOP

Related Classes of org.activiti.workflow.simple.alfresco.model.config.FormSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.