Interface DataCreator


  • @Deprecated(since="ages",
                forRemoval=false)
    public interface DataCreator
    Deprecated.
    since ages - the functionality to create a system is now part of the extension managers
    Each object used to create sample data must implement this interface.
    See Also:
    AbstractSystemCreator
    • Method Detail

      • createData

        void createData​(java.util.Map params,
                        JspContext jspc)
                 throws java.lang.Exception
        Deprecated.
        Creates objects. This method will be called by system creator.
        Parameters:
        params - the parameters provided by user for creation
        jspc - the jsp context; you can use it to write progress information to the jsp page during creation
        Throws:
        java.lang.Exception
      • getCreatorParameterNames

        java.util.Collection getCreatorParameterNames()
        Deprecated.
        Provides parameter names for the system creator.
        Returns:
        parameter names for the creator
      • getCreatorParameterDefault

        java.lang.String getCreatorParameterDefault​(java.lang.String param)
        Deprecated.
        Provides default value for the given creator parameter.
        Parameters:
        param - the name of the parameter
        Returns:
        default value for the given creator parameter; use null when the parameter should have no default value
      • getCreatorParameterPossibleValues

        java.util.List getCreatorParameterPossibleValues​(java.lang.String param)
        Deprecated.
        Provides a list of all possible values for the given creator parameter. If not null the list of these values will be shown to the user of system creator and no other values will be possible to set.
        Parameters:
        param - the name of the parameter
        Returns:
        list of all possible values for the given creator parameter; use null when this parameter should have no restriction on possible values
      • getCreatorName

        java.lang.String getCreatorName()
        Deprecated.
        The name of the creator will be shown to the user during data creation.
        Returns:
        name of this creator
      • getCreatorDescription

        java.lang.String getCreatorDescription()
        Deprecated.
        The description of the creator will be shown to the user during data creation.
        Returns:
        description of this creator
      • isCreatorDisabled

        boolean isCreatorDisabled()
        Deprecated.
        If true this creator will be ignored.
        Returns:
        true if this creator shold be not used