Class FormProcessUtils


  • public class FormProcessUtils
    extends Object
    Helper class for Form processes
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FormProcessUtils

        public FormProcessUtils()
    • Method Detail

      • replaceProcessSubject

        public static final String replaceProcessSubject​(IEntityContext ec,
                                                         IFormRequestContext requestCtx,
                                                         Vorgang process)
        Returns the subject of the given process while placeholders will be replaced by the submitted form data
        Parameters:
        ec - IEntityContext the context this action should be performed in
        requestCtx - IFormRequestContext holding the form data, project and client information
        process - Vorgang for which the subject should be replaced
        Returns:
        String subject with replaced placeholders
      • replaceProcessSubject

        public static final String replaceProcessSubject​(IEntityContext ec,
                                                         IFormDataAdapter formData,
                                                         Vorgang process)
        Returns the subject of the given process while placeholders will be replaced by the given form data
        Parameters:
        ec - IEntityContext the context this action should be performed in
        formData - IFormDataAdapter holding the submitted form data
        process - Vorgang for which the subject should be replaced
        Returns:
        String subject with replaced placeholders