|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.portal.PortalGroup
public class 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.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
boolean |
fetchAndUpdateMembership()
Fetches and update the membership details for the group by id. |
byte[] |
fetchThumbnail()
Fetches the thumbnail for this group. |
void |
fetchThumbnail(PortalListener<byte[]> portalListener)
Deprecated. please use fetchThumbnail() instead |
static PortalGroup |
fromJson(org.codehaus.jackson.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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean fetchAndUpdateMembership()
throws Exception
Exception - if unable to complete the request.@Deprecated public void fetchThumbnail(PortalListener<byte[]> portalListener)
fetchThumbnail() instead
portalListener - - fetches the thumbnail associated with the group
public byte[] fetchThumbnail()
throws Exception
Exception - if unable to complete the request.
public static PortalGroup fromJson(org.codehaus.jackson.JsonParser parser,
Portal portal)
throws Exception
parser - the json to parse the PortalGroup.portal - the Portal which contains the group.
Exception - if unable to complete the request.public Portal getPortal()
public String getGroupId()
public String getTitle()
public String getOwner()
public String getDescription()
public String getSnippet()
public List<String> getTags()
public String getThumbnailFileName()
public long getCreated()
public long getModified()
public boolean isInvitationOnly()
public PortalAccess getAccess()
public List<String> getUsers()
fetchAndUpdateMembership() is called (and
fires the onCallback method successfully).
public List<String> getAdmins()
fetchAndUpdateMembership() is called (and fires the
onCallback method successfully).
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||