Package com.microstrategy.web.objects
Interface WebObjectSecurity
-
public interface WebObjectSecurity
The WebObjectSecurity interface contains the operations that can be done to aWebObjectInfo
object relating to security, in particular, viewing and modifying the Access Control List(ACL) and taking ownership of an object.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAccessControlList
getACL()
Returns aWebAccessControlList
object containing the current ACL of the object.void
populateACL(WebAccessControlList acl, boolean overwrite)
Populates the Access Control List on this object from the given Access Control List.void
takeOwnership()
This method will cause ownership of this object to be taken by the current user.
-
-
-
Method Detail
-
getACL
WebAccessControlList getACL()
Returns aWebAccessControlList
object containing the current ACL of the object. Note that any changes made to the ACL of the object will not be saved to the Intelligence Server until the object is saved using the save method on theWebObjectSource
object.- Returns:
- A
WebAccessControlList
object containing the ACL of the object.
-
takeOwnership
void takeOwnership() throws WebObjectsException
This method will cause ownership of this object to be taken by the current user. This method will take effect immediately.- Throws:
WebObjectsException
- Thrown if an error occurs.
-
populateACL
void populateACL(WebAccessControlList acl, boolean overwrite)
Populates the Access Control List on this object from the given Access Control List. This can be used to propagate the ACL from another object to this object. As with all ACL changes, theWebObjectInfo
object linked with this object must be saved via the save method on theWebObjectSource
object.- Parameters:
acl
- The ACL to copy into this object.overwrite
- Whether the values in the other ACL should overwrite this ACL or not.
-
-