com.microstrategy.web.objects.WebFence |
This interface represents a web fence for users, includes user fencing and workload fencing.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getFenceDesc()
Return the description of current web fence.
| ||||||||||
abstract String |
getFenceName()
Return the name of current web fence, actually fence name is unique and can be treated as ID of the fence.
| ||||||||||
abstract List<WebFenceClusterNode> |
getFenceNodes()
Retrieves the list of
WebFenceClusterNode that is associated with the web fence
| ||||||||||
abstract int |
getFencePrecedence()
Return the precedence of current web fence.
| ||||||||||
abstract List<WebProjectInstance> |
getFenceProjects()
Retrieves the list of
WebProjectInstance that is associated with the web fence
| ||||||||||
abstract int |
getFenceType()
Return the type of current web fence, 1 represents this fence is user fence; 2 represents this fence is workload fence.
| ||||||||||
abstract List<WebUserEntity> |
getFenceUsers()
Retrieves the list of
WebUserEntity that is associated with the web fence,
actually should be a list WebUser and/or WebUserGroup
| ||||||||||
abstract WebFenceClusterNode |
newClusterNode()
this method will return a new
WebFenceClusterNode object. | ||||||||||
abstract void |
setFenceDesc(String fenceDesc)
set the description of the specific web fence.
| ||||||||||
abstract void |
setFencePrecedence(int fencePrecedence)
Set the precedence of specific web fence.
| ||||||||||
abstract void |
setFenceType(int fenceType)
set the type of the specific web fence.
| ||||||||||
abstract void |
setPrecedenceModified(boolean isPrecedenceModified)
this method will tell if the precedence value has been changed or not.
|
Return the description of current web fence.
Return the name of current web fence, actually fence name is unique and can be treated as ID of the fence.
Retrieves the list of WebFenceClusterNode
that is associated with the web fence
Return the precedence of current web fence.
Retrieves the list of WebProjectInstance
that is associated with the web fence
Return the type of current web fence, 1 represents this fence is user fence; 2 represents this fence is workload fence.
Retrieves the list of WebUserEntity
that is associated with the web fence,
actually should be a list WebUser and/or WebUserGroup
this method will return a new WebFenceClusterNode
object.
set the description of the specific web fence.
Set the precedence of specific web fence. The position to put the fence in the fence list, 1-based, if no precedence, or if the given preference is <=1 then it will be added to the end of the list.
set the type of the specific web fence.
this method will tell if the precedence value has been changed or not.