com.microstrategy.web.objects.WebProjectReference |
This interface represents a project reference which is registered with a WebServerDef
object.
WebProjectReference objects can only exist within the context of a WebProjectReferences
collection.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebProjectSettings |
getConfigurationSettings(int type)
Returns a
WebProjectSettings object containing all the configuration settings for the
specified type of configuration from EnumDSSXMLProjectConfigurationSettingType . | ||||||||||
abstract WebProjectSettings |
getConfigurationSettingsFromModule(int type, int module)
Returns a
WebProjectSettings object containing all the configuration settings for the
specified type of configuration from EnumDSSXMLProjectConfigurationSettingType and the
specified module within that type (EnumDSSXMLNotificationModuleID or EnumDSSXMLStatisticModuleID ). | ||||||||||
abstract int |
getID()
Returns the internal ID of the project reference.
| ||||||||||
abstract int |
getLoadFlag()
Returns the load flag setting for the project reference, from
EnumDSSXMLProjectLoadOption . | ||||||||||
abstract int |
getMetadataVersion()
Returns the metadata version of the project.
| ||||||||||
abstract String |
getName()
This method returns the name of the project reference.
| ||||||||||
abstract String |
getProjectDSSID()
Returns the DSS ID of the project.
| ||||||||||
abstract WebObjectInfo |
getProjectInfo()
Returns the
WebObjectInfo object corresponding to the project that
the reference refers to. | ||||||||||
abstract WebProjectSettings |
getProjectSettings()
Returns a collection of settings pertaining to this project.
| ||||||||||
abstract WebDBRole |
getStatisticsDBRole()
Returns a
WebDBRole object which is the statistic database for this project. | ||||||||||
abstract void |
setLoadFlag(int loadFlag)
Sets the load flag setting for the project reference.
| ||||||||||
abstract void |
setStatisticsDBRole(WebDBRole wdr)
Sets the statistic database for this project.
|
Returns a WebProjectSettings
object containing all the configuration settings for the
specified type of configuration from EnumDSSXMLProjectConfigurationSettingType
. This
method assumes there are no modules for the specified settings type. If modules are found the
settings for the first module are returned.
type | int from EnumDSSXMLProjectConfigurationSettingType |
---|
Returns a WebProjectSettings
object containing all the configuration settings for the
specified type of configuration from EnumDSSXMLProjectConfigurationSettingType
and the
specified module within that type (EnumDSSXMLNotificationModuleID
or EnumDSSXMLStatisticModuleID
).
type | int from EnumDSSXMLProjectConfigurationSettingType |
---|---|
module | int specifying the module within the specified setting type |
Returns the internal ID of the project reference.
Returns the load flag setting for the project reference, from EnumDSSXMLProjectLoadOption
.
Returns the metadata version of the project.
This method returns the name of the project reference.
Returns the DSS ID of the project.
Returns the WebObjectInfo
object corresponding to the project that
the reference refers to.
WebObjectInfo
object corresponding to the project reference. This
object will not be populated.WebObjectsException | Thrown if an error occurs when obtaining the object. |
---|
Returns a collection of settings pertaining to this project.
WebProjectSettings
collection, containing all settings for this project.Sets the load flag setting for the project reference. This should be a value from EnumDSSXMLProjectLoadOption
.
loadFlag | The load flag to use for the project reference. |
---|
UnsupportedOperationException |
---|
Sets the statistic database for this project.
wdr | The database to use for statistic purpose. If it is null, the existing statistics DB Role will be removed. |
---|
WebObjectsException |
---|