java.lang.Object | |
↳ | com.microstrategy.web.objects.admin.serverconfig.RepositorySource |
This class is intended to support Repository Initialization.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RepositorySource() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized static RepositorySource |
getInstance()
Returns the singleton RepositorySource that should be used to initialize the Repository.
| ||||||||||
RepositorySettings |
getRepositorySettings()
Returns the
RepositorySettings object that should be filled up before attempting to initialize a repository. | ||||||||||
void |
initRepository(String serverName, Locale locale, boolean useRepository)
Ensures that a repository exists at the data source referred by the RepositorySettings.
| ||||||||||
void |
initRepository(String serverName, int portNumber, Locale locale, boolean useRepository)
Ensures that a repository exists at the data source referred by the RepositorySettings.
| ||||||||||
void |
initRepository(String serverName, boolean useRepository)
Ensures that a repository exists at the data source referred by the RepositorySettings.
| ||||||||||
void |
initRepository(String serverName, int portNumber, boolean useRepository)
Ensures that a repository exists at the data source referred by the RepositorySettings.
| ||||||||||
boolean |
isRepositoryInitialized(String serverName, int portNumber)
Checks if repository exists at the data source referred by the RepositorySettings.
| ||||||||||
boolean |
isRepositoryInitialized(String serverName, Locale locale)
Checks if repository exists at the data source referred by the RepositorySettings.
| ||||||||||
boolean |
isRepositoryInitialized(String serverName)
Checks if repository exists at the data source referred by the RepositorySettings.
| ||||||||||
boolean |
isRepositoryInitialized(String serverName, int portNumber, Locale locale)
Checks if repository exists at the data source referred by the RepositorySettings.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the singleton RepositorySource that should be used to initialize the Repository.
Returns the RepositorySettings
object that should be filled up before attempting to initialize a repository.
Ensures that a repository exists at the data source referred by the RepositorySettings. Also, if the useRepository flag is set to True, ensures that IServer starts using the repository.
serverName | The IServer name. The Default Port Number will be used to communicate with the IServer. |
---|---|
locale | The locale for error messages |
useRepository | If set to True, IServer would start using the repository. A value of False for this means that we would not attempt to ensure that IServer uses this repository. Thus, setting the value to False would not affect, at all, the current repository used by IServer (if any). |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Ensures that a repository exists at the data source referred by the RepositorySettings. Also, if the useRepository flag is set to True, ensures that IServer starts using the repository.
serverName | The IServer name |
---|---|
portNumber | The port number to communicate with IServer |
locale | The locale for error messages |
useRepository | If set to True, IServer would start using the repository. A value of False for this means that we would not attempt to ensure that IServer uses this repository. Thus, setting the value to False would not affect the current repository used by IServer (if any). |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Ensures that a repository exists at the data source referred by the RepositorySettings. Also, if the useRepository flag is set to True, ensures that IServer starts using the repository.
serverName | The IServer name. The Default Port Number will be used to communicate with the IServer. |
---|---|
useRepository | If set to True, IServer would start using the repository. A value of False for this means that we would not attempt to ensure that IServer uses this repository. Thus, setting the value to False would not affect the current repository used by IServer (if any). |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Ensures that a repository exists at the data source referred by the RepositorySettings. Also, if the useRepository flag is set to True, ensures that IServer starts using the repository.
serverName | The IServer name |
---|---|
portNumber | The port number to communicate with IServer |
useRepository | If set to True, IServer would start using the repository. A value of False for this means that we would not attempt to ensure that IServer uses this repository. Thus, setting the value to False would not affect the current repository used by IServer (if any). |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Checks if repository exists at the data source referred by the RepositorySettings.
serverName | The IServer name |
---|---|
portNumber | The port number to communicate with IServer |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Checks if repository exists at the data source referred by the RepositorySettings.
serverName | The IServer name. Default Port Number is used. |
---|---|
locale | The locale for error messages |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Checks if repository exists at the data source referred by the RepositorySettings.
serverName | The IServer name. Default Port Number is used. |
---|
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|
Checks if repository exists at the data source referred by the RepositorySettings.
serverName | The IServer name |
---|---|
portNumber | The port number to communicate with IServer |
locale | The locale for error messages |
ServerConfigException | If the Repository Settings are not properly filled up or if there was an error encountered by IServer. |
---|---|
IllegalArgumentException |