public interface

WebProjectCreator

com.microstrategy.web.objects.WebProjectCreator

Summary

Public Methods
abstract void createProject()
Create a new project on the IServer with the characteristics specified by this object
abstract String getName()
Returns the name to be used for the new project
abstract WebLocaleObjectInfo getPrimaryLocale()
Returns the primary locale set for new project
abstract String getScriptPath()
Returns the location of NEWPROJECT.PDS used to create the new project
abstract Set<WebLocaleObjectInfo> getSupportedLocales()
Returns an editable Set of locales supported by the new project.
abstract void setCreateFlag(int flag)
Sets the create flags This value should come from the bitwise or (|) of values from EnumDSSXMLCreateFlags.
abstract void setName(String name)
Set the name to be used for the new project.
abstract void setPrimaryLocale(WebLocaleObjectInfo primaryLocale)
Sets the primary locale of the new project.
abstract void setScriptPath(String scriptPath)
Sets the path to the location of the NEWPROJECT.PDS script

Public Methods

public abstract void createProject ()

Create a new project on the IServer with the characteristics specified by this object

public abstract String getName ()

Returns the name to be used for the new project

Returns
  • String name of the new project

public abstract WebLocaleObjectInfo getPrimaryLocale ()

Returns the primary locale set for new project

Returns

public abstract String getScriptPath ()

Returns the location of NEWPROJECT.PDS used to create the new project

Returns
  • String containing the new location of NEWPROJECT.PDS

public abstract Set<WebLocaleObjectInfo> getSupportedLocales ()

Returns an editable Set of locales supported by the new project.

Returns

public abstract void setCreateFlag (int flag)

Sets the create flags This value should come from the bitwise or (|) of values from EnumDSSXMLCreateFlags.

public abstract void setName (String name)

Set the name to be used for the new project. The name must be set prior to calling createProject()

Parameters
name String name of the new project

public abstract 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

public abstract void setScriptPath (String scriptPath)

Sets the path to the location of the NEWPROJECT.PDS script

Parameters
scriptPath String location of the script