Interface WebUserList
-
public interface WebUserList
The WebUserList interface represents an editable list ofWebUserEntity
objects. This interface can be obtained from theWebUserEntity.getParents()
to represent the collection of parent groups for this account. It also can be obtained fromWebUserGroup.getMembers()
to represent the collection of child members in a group account. If this list is modified, then it will be necessary to save the owner user back to metadata before the changes take effect.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(WebUserEntity user)
void
clear()
boolean
contains(WebUserEntity user)
Returns true if the given user exists in the collection, false otherwise.java.util.Enumeration
elements()
Returns a java.util.Enumeration collection containing the items in the collection.boolean
isUpdatable()
WebUserEntity
next(java.util.Enumeration en)
A helper method that returns properly casted next element of enumerationvoid
remove(WebUserEntity user)
int
size()
Returns the number of items in the collection.
-
-
-
Method Detail
-
size
int size()
Returns the number of items in the collection.- Returns:
- The number of
WebUserEntity
objects in the collection.
-
contains
boolean contains(WebUserEntity user)
Returns true if the given user exists in the collection, false otherwise.- Parameters:
user
- TheWebUserEntity
object to search for in the collection.- Returns:
- True if the item is found, false otherwise.
-
elements
java.util.Enumeration elements()
Returns a java.util.Enumeration collection containing the items in the collection.- Returns:
- A java.util.Enumeration collection containing the items in the collection.
-
next
WebUserEntity next(java.util.Enumeration en)
A helper method that returns properly casted next element of enumeration- Parameters:
en
- Enumeration- Returns:
- WebUserEntity
- Since:
- MicroStrategy Web 8.0.0
-
isUpdatable
boolean isUpdatable()
- Since:
- MicroStrategy Web 8.0.0
-
add
void add(WebUserEntity user)
-
remove
void remove(WebUserEntity user)
-
clear
void clear()
- Since:
- MicroStrategy Web 8.0.0
-
-