java.lang.Object | |
↳ | com.esri.core.portal.PortalGroup |
This class represents a Group in a Portal. The owner of the group can invite/remove other users to have access to the group. Users can request to join a group. A group object can be obtained from a valid instance of the portal.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
equals(Object obj)
| ||||||||||
boolean |
fetchAndUpdateMembership()
Fetches and update the membership details for the group by id.
| ||||||||||
void |
fetchThumbnail(PortalListener<byte[]> portalListener)
This method is deprecated.
please use
fetchThumbnail() instead
| ||||||||||
byte[] |
fetchThumbnail()
Fetches the thumbnail for this group.
| ||||||||||
static PortalGroup |
fromJson(JsonParser parser, Portal portal)
Creates a PortalGroup from the Json parser.
| ||||||||||
PortalAccess |
getAccess()
Returns the access level of this group.
| ||||||||||
List<String> |
getAdmins()
Returns the admins of this group.
| ||||||||||
long |
getCreated()
Returns the date on which this group was created.
| ||||||||||
String |
getDescription()
Returns the description of this group, this is setup by the owner of the group when the group is created.
| ||||||||||
String |
getGroupId()
Returns the id of this group, this is created internally when the owner creates a group.
| ||||||||||
long |
getModified()
Returns the last date on which this group was modified.
| ||||||||||
String |
getOwner()
Returns the owner of this group, the owner has the ability to add/remove/invite other users.
| ||||||||||
Portal |
getPortal()
Returns the portal object that contains this group.
| ||||||||||
String |
getSnippet()
Returns a description snippet for this group.
| ||||||||||
List<String> |
getTags()
Returns a list of tags associated with this group.
| ||||||||||
String |
getThumbnailFileName()
Returns the filename of the thumbnail of this group.
| ||||||||||
String |
getTitle()
Returns the title of this group, this is set up by the owner of the group when the group is created.
| ||||||||||
List<String> |
getUsers()
Returns the users that belong to this group.
| ||||||||||
int |
hashCode()
| ||||||||||
boolean |
isInvitationOnly()
Returns whether or not this group requires an invitation to join.
| ||||||||||
String |
toString()
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Fetches and update the membership details for the group by id. Returns true if the operation is success. This is a networking call, which fetches the users and admins from the server side.
Exception | if unable to complete the request. |
---|
This method is deprecated.
please use fetchThumbnail()
instead
Fetches the thumbnail for this group.
portalListener | - fetches the thumbnail associated with the group |
---|
Fetches the thumbnail for this group.
Exception | if unable to complete the request. |
---|
Creates a PortalGroup from the Json parser.
parser | the json to parse the PortalGroup. |
---|---|
portal | the Portal which contains the group. |
Exception | if unable to complete the request. |
---|
Returns the access level of this group. Determines who can access the content of this group. Can be private, public or organization.
Returns the admins of this group. Will be null until fetchAndUpdateMembership()
is called (and fires the
onCallback method successfully).
Returns the date on which this group was created.
Returns the description of this group, this is setup by the owner of the group when the group is created.
Returns the id of this group, this is created internally when the owner creates a group.
Returns the last date on which this group was modified.
Returns the owner of this group, the owner has the ability to add/remove/invite other users.
Returns the portal object that contains this group.
Returns a description snippet for this group. The character limit is 250.
Returns a list of tags associated with this group. While creating the group the owner has to set up tags, these are useful while searching for a group.
Returns the filename of the thumbnail of this group. This is useful while trying to fetch a thumbnail, if the filename is null the user need not proceed.
Returns the title of this group, this is set up by the owner of the group when the group is created.
Returns the users that belong to this group. Will be null until fetchAndUpdateMembership()
is called (and
fires the onCallback method successfully).
Returns whether or not this group requires an invitation to join.