Interface WebProjectCreator


  • public interface WebProjectCreator
    Since:
    MicroStrategy Web 9.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createProject()
      Create a new project on the IServer with the characteristics specified by this object
      java.lang.String getDescription()
      Returns the description to be used for the new project
      java.lang.String getName()
      Returns the name to be used for the new project
      WebLocaleObjectInfo getPrimaryLocale()
      Returns the primary locale set for new project
      java.lang.String getScriptPath()
      Returns the location of NEWPROJECT.PDS used to create the new project
      java.util.Set<WebLocaleObjectInfo> getSupportedLocales()
      Returns an editable Set of locales supported by the new project.
      void setCreateFlag​(int flag)
      Sets the create flags This value should come from the bitwise or (|) of values from EnumDSSXMLCreateFlags.
      void setDescription​(java.lang.String description)
      Set the description to be used for the new project.
      void setName​(java.lang.String name)
      Set the name to be used for the new project.
      void setPrimaryLocale​(WebLocaleObjectInfo primaryLocale)
      Sets the primary locale of the new project.
      void setScriptPath​(java.lang.String scriptPath)
      Sets the path to the location of the NEWPROJECT.PDS script
    • Method Detail

      • setDescription

        void setDescription​(java.lang.String description)
                     throws WebObjectsException
        Set the description to be used for the new project.
        Parameters:
        description - String description of the new project
        Throws:
        WebObjectsException
      • setPrimaryLocale

        void setPrimaryLocale​(WebLocaleObjectInfo primaryLocale)
        Sets the primary locale of the new project. As the primary locale is only supported in MDI enabled metadata, ensure that the IServer is using an MDI enabled metadata before calling this method
        Parameters:
        primaryLocale - WebLocaleObjectInfo to be used as primary locale for new project
      • setScriptPath

        void setScriptPath​(java.lang.String scriptPath)
        Sets the path to the location of the NEWPROJECT.PDS script
        Parameters:
        scriptPath - String location of the script
      • getName

        java.lang.String getName()
        Returns the name to be used for the new project
        Returns:
        String name of the new project
      • getDescription

        java.lang.String getDescription()
        Returns the description to be used for the new project
        Returns:
        String description of the new project
      • getScriptPath

        java.lang.String getScriptPath()
        Returns the location of NEWPROJECT.PDS used to create the new project
        Returns:
        String containing the new location of NEWPROJECT.PDS
      • setCreateFlag

        void setCreateFlag​(int flag)
        Sets the create flags This value should come from the bitwise or (|) of values from EnumDSSXMLCreateFlags.
        Parameters:
        flags - The create flag value.