Package com.esri.arcgisruntime.portal
Class PortalItemGroups
- java.lang.Object
-
- com.esri.arcgisruntime.portal.PortalItemGroups
-
public final class PortalItemGroups extends Object
Represents the groups a portal item belongs to.- Since:
- 100.0.0
-
-
Constructor Summary
Constructors Constructor Description PortalItemGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PortalGroup>
getAdmins()
Gets a list of the groups the item belongs to for which the current user is an administrator.List<PortalGroup>
getMembers()
Gets a list of the groups the item belongs to for which the current user is a member.List<PortalGroup>
getOthers()
Gets a list of the groups the item belongs to that are public or shared to the current user's organization but that the user is not a member of.
-
-
-
Method Detail
-
getAdmins
public List<PortalGroup> getAdmins()
Gets a list of the groups the item belongs to for which the current user is an administrator.- Returns:
- an unmodifiable list of the groups; this will throw an UnsupportedOperationException if an attempt is made to modify it
- Since:
- 100.0.0
-
getMembers
public List<PortalGroup> getMembers()
Gets a list of the groups the item belongs to for which the current user is a member.- Returns:
- an unmodifiable list of the groups; this will throw an UnsupportedOperationException if an attempt is made to modify it
- Since:
- 100.0.0
-
getOthers
public List<PortalGroup> getOthers()
Gets a list of the groups the item belongs to that are public or shared to the current user's organization but that the user is not a member of.- Returns:
- an unmodifiable list of the groups; this will throw an UnsupportedOperationException if an attempt is made to modify it
- Since:
- 100.0.0
-
-