| com.microstrategy.web.objects.WebProject |
The WebProject interface represents a first-class project object in metadata.
This object corresponds to an object of type EnumDSSXMLObjectTypes.DssXmlTypeProject.
Also note that since a project is a first-class object, this interface extends
WebObjectInfo, which gives access to methods applicable to all first-class objects.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
addDBRole(WebDBRole role)
Add a DBRole object to this project
| ||||||||||
| abstract SimpleList | getDBRoles() | ||||||||||
| abstract WebObjectInfo |
getDefaultDrillMap()
Returns a
WebObjectInfo representation of the drill map object associated
with this project | ||||||||||
| abstract WebDBRole |
getPrimaryDBRole()
Returns a
WebDBRole objects that is the primary DB role for this
WebProjectInstance. | ||||||||||
| abstract Integer |
getQuota(WebUser user)
Get project user level quota for current project and specified user,
return null indicate no quota has been set.@return
| ||||||||||
| abstract String |
getQuotaUsageXML(WebUser user, int option)
Get quota usage for project and specified user@return
| ||||||||||
| abstract Map<WebUser, Integer> |
getQuotas()
Get all project user level quotas for current project,
return empty map indicate no user level quota has been set.@return
| ||||||||||
| abstract WebObjectInfo |
getSchema()
Returns a
WebObjectInfo representation of the schema object associated
with this project | ||||||||||
| abstract void |
removeDBRole(WebDBRole role)
Remove a DBRole object from this project
| ||||||||||
| abstract void |
removeQuota(WebUser user)
Remove existed quota link item for current project and specified user.
| ||||||||||
| abstract void |
setAlias(String alias)
Sets an alias.
| ||||||||||
| abstract void |
setDefaultDrillMap(WebObjectInfo drillMap)
Sets the drillMap for this project
| ||||||||||
| abstract void |
setPrimaryDBRole(WebDBRole role)
Set a DBRole object as a primary DB role for this project
| ||||||||||
| abstract void |
setQuota(WebUser user, int quota)
Set quota value for current project and specified user,
it will create new quota link item if current user has no quota set in project.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.microstrategy.utils.KeyedObject
| |||||||||||
From interface
com.microstrategy.web.objects.WebDisplayUnit
| |||||||||||
From interface
com.microstrategy.web.objects.WebFeatures
| |||||||||||
From interface
com.microstrategy.web.objects.WebObjectInfo
| |||||||||||
From interface
com.microstrategy.web.objects.WebPromptSite
| |||||||||||
Add a DBRole object to this project
| role | WebDBRole to be added |
|---|
| WebObjectsException |
|---|
Returns a SimpleList of WebDBRole objects that have been created for this
WebProjectInstance.
SimpleList of WebDBRole objects | WebObjectsException | |
| WebObjectsException |
Returns a WebObjectInfo representation of the drill map object associated
with this project
WebObjectInfo drillMap associated with this project
Returns a WebDBRole objects that is the primary DB role for this
WebProjectInstance.
WebDBRole objectsGet project user level quota for current project and specified user, return null indicate no quota has been set.@return
| user | WebUser object used as the key to get the project quota |
|---|
| WebObjectsException |
|---|
Get quota usage for project and specified user@return
| user | WebUser object used as the key to get the project quota |
|---|---|
| option | EnumDSSXMLGetCubeQuotaAndInfosOption |
| WebObjectsException |
|---|
Get all project user level quotas for current project, return empty map indicate no user level quota has been set.@return
| WebObjectsException |
|---|
Returns a WebObjectInfo representation of the schema object associated
with this project
WebObjectInfo Schema associated with this project
Remove a DBRole object from this project
| role | WebDBRole to be removed |
|---|
| WebObjectsException |
|---|
Remove existed quota link item for current project and specified user.
| user | WebUser object used as the key to remove the quota |
|---|
| WebObjectsException |
|---|
Sets an alias. If a project has an alias, it will be used in lieu of its name.
| WebObjectsException |
|---|
Sets the drillMap for this project
| drillMap | WebObjectInfo representation of a drillMap to be associated with
this project |
|---|
| WebObjectsException |
|---|
Set a DBRole object as a primary DB role for this project
| role | String containing the DBRole ID to be added |
|---|
| WebObjectsException |
|---|
Set quota value for current project and specified user, it will create new quota link item if current user has no quota set in project.
| user | WebUser object used as the key to set the quota |
|---|
| WebObjectsException |
|---|