java.lang.Object | |
↳ | com.microstrategy.web.app.ProjectInformation |
This class contains the basic information regarding a project that can exist on a server
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProjectInformation()
This constructor is deprecated.
see
ProjectInformation(WebProjectInstance, String, String, int, int, String, Locale)
Class Constructor
| |||||||||||
ProjectInformation(WebProjectInstance projectDetails, String serverName, int portNumber)
This constructor is deprecated.
see
ProjectInformation(WebProjectInstance, String, String, int, int, String, Locale) | |||||||||||
ProjectInformation(WebProjectInstance projectDetails, String serverName, String serverAlias, int portNumber, int errorCode, String user, Locale locale)
Class constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getErrorCode()
Get the error code generated while trying to connect to the server
| ||||||||||
Locale | getLocale() | ||||||||||
int |
getPortNumber()
Get the port that needs to be accessed on the server to get the project
| ||||||||||
WebProjectInstance |
getProjectDetails()
Get the project information on the instance
| ||||||||||
String |
getProjectName()
Utility method for retrieving the name of the project
represented by this instance.
| ||||||||||
int |
getProjectStatus()
Utility method for retrieving the status of the project
represented by this instance.
| ||||||||||
String |
getServerAlias()
Get the alias of the server where the project is located
| ||||||||||
String |
getServerName()
Get the name of the server where the project is located
| ||||||||||
String |
getUser()
Get the name of user that generated the error code
| ||||||||||
void |
setErrorCode(int errorCode)
Set the error code generated while trying to connect to the server
| ||||||||||
void |
setPortNumber(int portNumber)
Set the port that needs to be accessed on the server to get the project
| ||||||||||
void |
setProjectDetails(WebProjectInstance projectDetails)
Set the project information on the instance
| ||||||||||
void |
setServerAlias(String serverAlias)
Set the alias of the server where the project is located
| ||||||||||
void |
setServerName(String serverName)
Set the name of the server where the project is located
| ||||||||||
void |
setUser(String user)
Set the name of the user that generated the error code
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This constructor is deprecated.
see ProjectInformation(WebProjectInstance, String, String, int, int, String, Locale)
Class Constructor
This constructor is deprecated.
see ProjectInformation(WebProjectInstance, String, String, int, int, String, Locale)
Class constructor
projectDetails | a WebProjectInstance instance holding the project information |
---|---|
serverName | where the server is registered |
portNumber | the prot that should be accessed to get the server |
Class constructor
projectDetails | a WebProjectInstance instance holding the project information |
---|---|
serverName | where the server is registered |
serverAlias | the alias of the server |
portNumber | the port that should be accessed to get the server |
errorCode | error code that happened while trying to connect to this server |
user | user that generated the error code |
Get the error code generated while trying to connect to the server
Get the port that needs to be accessed on the server to get the project
Get the project information on the instance
WebProjectInstance
instance holding the project information
Utility method for retrieving the name of the project
represented by this instance. The complete project information can be retrieved
from the WebProjectInstance
instance available with the
getProjectDetails
method.
null
if
it cannot be retrieved.Utility method for retrieving the status of the project
represented by this instance. The complete project information can be retrieved
from the WebProjectInstance
instance available with the
getProjectDetails
method.
DssXmlProjectStatusOffline
if
it cannot be retrieved.Get the alias of the server where the project is located
Get the name of the server where the project is located
Get the name of user that generated the error code
Set the error code generated while trying to connect to the server
errorCode | id of the error if any found |
---|
Set the port that needs to be accessed on the server to get the project
portNumber | valid port number |
---|
Set the project information on the instance
projectDetails | a WebProjectInstance instance holding the project information
|
---|
Set the alias of the server where the project is located
serverAlias | a String with a valid server alias |
---|
Set the name of the server where the project is located
serverName | a String with a valid server name |
---|
Set the name of the user that generated the error code
user | user that generated the error code |
---|