Class FormGroupSvc


  • public class FormGroupSvc
    extends GroupSvc

    Provides a Form Group Service which supports create, delete, deleteOrPurge.

    Examples

    Please find the Form Group service examples below.

    Create a Form Group

    This example shows how to create a form Group object.

     import com.avoka.tm.svc.*
     import com.avoka.tm.vo.*
     Group group = GroupSvc.getFormGroupSvc()
         .setGroupName("Form1")
         .setDescription("Description")
         .setFormWorkGroupFlag(true)
         .setNewFormFlag(true)
         .setSavedFormFlag(true)
         .setCompletedFormFlag(true)
         .isTaskAssignFlag(true)
         .createGroup();
    Since:
    21.11.0
    • Constructor Detail

      • FormGroupSvc

        public FormGroupSvc()
    • Method Detail

      • setDescription

        public FormGroupSvc setDescription​(String description)
        Set the description value.
        Overrides:
        setDescription in class GroupSvc
        Parameters:
        description - the description of the group
        Returns:
        the Form Group service
      • setGroupName

        public FormGroupSvc setGroupName​(String groupName)
        Set the group name value.
        Overrides:
        setGroupName in class GroupSvc
        Parameters:
        groupName - the name of the group
        Returns:
        the Form Group service
      • setFormWorkGroupFlag

        public FormGroupSvc setFormWorkGroupFlag​(boolean formWorkGroupFlag)
        Set share the form with work group members flag
        Parameters:
        formWorkGroupFlag - share the form with work group members
        Returns:
        the Form Group service
      • setNewFormFlag

        public FormGroupSvc setNewFormFlag​(boolean newFormFlag)
        Set access control allowing users to open new forms
        Parameters:
        newFormFlag - access control allowing users to open new forms
        Returns:
        the Form Group service
      • setSavedFormFlag

        public FormGroupSvc setSavedFormFlag​(boolean savedFormFlag)
        Set access control allowing users to open saved work group forms and group assigned form tasks
        Parameters:
        savedFormFlag - access control allowing users to open saved work group forms and group assigned form tasks
        Returns:
        the Form Group service
      • setCompletedFormFlag

        public FormGroupSvc setCompletedFormFlag​(boolean completedFormFlag)
        Set access control allowing users to view completed form group submissions
        Parameters:
        completedFormFlag - access control allowing users to view completed form group submissions
        Returns:
        the Form Group service
      • isTaskAssignFlag

        public FormGroupSvc isTaskAssignFlag​(boolean isTaskAssignFlag)
        Set acess control allowing users to reassign tasks to other users
        Parameters:
        isTaskAssignFlag - acess control allowing users to reassign tasks to other users
        Returns:
        the Form Group service