|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.portal.PortalGroup
public class PortalGroup
This class represents a Group in a Portal.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
void |
fetchThumbnail(PortalListener<byte[]> portalListener)
Fetches the thumbnail for this group. |
void |
fetchUsers(PortalListener<Void> portalListener)
Fetches the membership details for the group. |
static PortalGroup |
fromJson(org.codehaus.jackson.JsonParser parser,
Portal portal)
|
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. |
String |
getGroupId()
Returns the id of this group. |
long |
getModified()
Returns the last date on which this group was modified. |
String |
getOwner()
Returns the owner of this group. |
Portal |
getPortal()
Returns the portal 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. |
byte[] |
getThumbnail()
Returns the thumbnail of this group. |
String |
getThumbnailFileName()
Returns the filename of the thumbnail of this group. |
String |
getTitle()
Returns the title of this group. |
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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void fetchUsers(PortalListener<Void> portalListener)
getUsers()
and
getAdmins()
methods after the onCallback method on the listener is called.
portalListener
- - fetches the users from the portalpublic void fetchThumbnail(PortalListener<byte[]> portalListener)
portalListener
- - fetches the thumbnail associated with the grouppublic static PortalGroup fromJson(org.codehaus.jackson.JsonParser parser, Portal portal) throws Exception
Exception
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 byte[] getThumbnail()
public long getCreated()
public long getModified()
public boolean isInvitationOnly()
public PortalAccess getAccess()
public List<String> getUsers()
fetchUsers(PortalListener)
is called
(and fires the onCallback method successfully).
public List<String> getAdmins()
fetchUsers(PortalListener)
is called (and fires
the onCallback method successfully).
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |