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:
  • Method Details

    • createData

      void createData(Map params, JspContext jspc) throws 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:
      Exception
    • getCreatorParameterNames

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

      String getCreatorParameterDefault(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

      List getCreatorParameterPossibleValues(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

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

      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