Class ProjectInviteBean

    • Constructor Detail

      • ProjectInviteBean

        public ProjectInviteBean()
    • Method Detail

      • save

        public void save()
        saves all changed data to invData and updates database
        Overrides:
        save in class AProjectDetailsBean
      • send

        public void send()
        sends mails and/or creates processes
      • createEmptyProcess

        public Vorgang createEmptyProcess​(Projekt project,
                                          IFormRequestContext reqCtx,
                                          IEntityContext ec)
        creates an empty process and saves it in vorgang database
        Parameters:
        project - the project to create the process for
        reqCtx - the request-context
        ec - the entity-context
        Returns:
        empty Process with default values
      • createEmptyFeDatei

        public FormEingangDatei createEmptyFeDatei​(Vorgang process)
        creates an empty FeDatei with default values
        Parameters:
        process - the process zo create an FormEingang for
        Returns:
        empty FeDatei with default values
      • onChangeDatasource

        public void onChangeDatasource()
                                throws IOException
        Updates all variables that are dependent on the selected datasource
        Throws:
        IOException - on errors during parsing the datasource
      • initializeMaxNumberRows

        public int initializeMaxNumberRows()
      • initMaps

        public void initMaps()
        Initialize mapping of form element and values to write into
      • getConfirmText

        public String getConfirmText()
        Confirm Text of how many processes will be build
        Returns:
        Confirm Text
      • getMaxInvMessage

        public String getMaxInvMessage()
        Message of how many invitations are allowed to send
        Returns:
        Max invitation message
      • getNumEntriesMessage

        public String getNumEntriesMessage()
        Message of how many entries are available in the datasource
        Returns:
        Max invitation message
      • closePlaceholders

        public void closePlaceholders()
        remove context Placeholders on close dialog
      • initPlaceholders

        public void initPlaceholders()
        add context Placeholders on open dialog
      • readFormElements

        public List<String> readFormElements()
                                      throws ContextBuilderException,
                                             com.alibaba.fastjson.JSONException,
                                             IOException
        reads all form elements and saves the valuable ones
        Returns:
        form Elements of current form
        Throws:
        ContextBuilderException - on errors during building the request or render-context
        com.alibaba.fastjson.JSONException - on errors during building the x-form
        IOException - on errors during building the x-form
      • generateAllFormElements

        public List<String> generateAllFormElements()
        Liefert Liste mit allen Upload-Element der aktuell aktiven Formularversion
        Returns:
        List of all form elements
      • removeParameter

        public void removeParameter​(int idx)
      • tryToInit

        public void tryToInit​(int idx)
      • getPointofMail

        public int getPointofMail()
      • isInvitationsUnlimited

        public boolean isInvitationsUnlimited()
      • setAllStats

        public void setAllStats​(List<Status> allStats)
      • getMaxInvitations

        public int getMaxInvitations()
      • setMaxInvitations

        public void setMaxInvitations​(int maxInvitations)
      • isDsUnavailable

        public boolean isDsUnavailable()
      • setDsUnavailable

        public void setDsUnavailable​(boolean dsUnavailable)
      • getAllMails

        public int getAllMails()
      • setAllMails

        public void setAllMails​(int allMails)
      • setViewEventBusBean

        public void setViewEventBusBean​(ViewEventBusBean viewEventBusBean)
      • isParamsAreMandatory

        public boolean isParamsAreMandatory()
      • setParamsAreMandatory

        public void setParamsAreMandatory​(boolean paramsAreMandatory)
      • getViewBean

        public ViewBean getViewBean()
      • setViewBean

        public void setViewBean​(ViewBean viewBean)
      • getMaxNumberRows

        public int getMaxNumberRows()
      • setMaxNumberRows

        public void setMaxNumberRows​(int maxNumberRows)
      • isDatasourceSelected

        public boolean isDatasourceSelected()
      • setDatasourceSelected

        public void setDatasourceSelected​(boolean datasourceSelected)
      • update

        @Deprecated
        public void update()
        Deprecated.