Package com.microstrategy.web.objects
Interface WebAccessControlList
- 
public interface WebAccessControlListThe WebAccessControlList interface represents an access control list of an object. The access control list(ACL) of an object determines the users and groups which have access to the object. This interface is obtained from theWebObjectSecurityinterface. Any changes made to this collection will not be saved to the Intelligence Server until the ownerWebObjectInfoobject is saved back to metadata.WebAccessControlListfor an object can be edited for all object types, even for object types that are not generally editable.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAccessControlEntryadd(int entryType)Adds a newWebAccessControlEntryto the collection.voidclear()Clears all access control entries from the collection.java.util.Enumerationelements()Returns a java.util.Enumeration containing the objects in the collection.WebAccessControlEntryget(int index)Returns the item at the given index in the collection.booleanisEmpty()Returns true if the collection is empty, or false otherwise.WebAccessControlEntryremove(int index)Removes theWebAccessControlEntryobject from the given index in the collection.booleanremove(WebAccessControlEntry entry)This method removes the givenWebAccessControlEntryobject from the collection.intsize()Returns the number of items in the collection. 
 - 
 
- 
- 
Method Detail
- 
elements
java.util.Enumeration elements()
Returns a java.util.Enumeration containing the objects in the collection. The items in the collection will be objects of typeWebAccessControlEntry.- Returns:
 - A java.util.Enumeration containing the objects in the collection.  The objects
 in the collection will be of type 
WebAccessControlEntry. 
 
- 
get
WebAccessControlEntry get(int index)
Returns the item at the given index in the collection.- Parameters:
 index- The index of the item in the collection to return.- Returns:
 - The 
WebAccessControlEntryobject at the given index in the collection. 
 
- 
size
int size()
Returns the number of items in the collection.- Returns:
 - The size of the collection.
 
 
- 
isEmpty
boolean isEmpty()
Returns true if the collection is empty, or false otherwise.- Returns:
 - Whether the collection is empty.
 
 
- 
clear
void clear()
Clears all access control entries from the collection. 
- 
add
WebAccessControlEntry add(int entryType)
Adds a newWebAccessControlEntryto the collection. The newly created object is returned from this method; it can then be modified appropriately.- Parameters:
 entryType- The type of entry, fromEnumDSSXMLAccessEntryType.- Returns:
 - The newly created 
WebAccessControlEntryobject. 
 
- 
remove
WebAccessControlEntry remove(int index)
Removes theWebAccessControlEntryobject from the given index in the collection.- Parameters:
 index- The index of the object to remove.- Returns:
 - The object which was removed from the collection.
 
 
- 
remove
boolean remove(WebAccessControlEntry entry)
This method removes the givenWebAccessControlEntryobject from the collection.- Parameters:
 entry- The entry to remove from the collection.- Returns:
 - True if the operation succeeded,false otherwise.
 
 
 - 
 
 -