|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.core.internal.catalog.Group
public class Group
This class represents a Group on arcgis.com. A Groups resource may represent either a shared group (e.g., "San Bernadino Fires") or an organization (e.g., "Redlands Fire Department"). An organization is a type of group. The owner is automatically an administrator and is returned in the list of Admins.
Nested Class Summary | |
---|---|
static class |
Group.SortField
The fields of a Group stored as a back-end database table on the server, that can be used to sort search results |
Constructor Summary | |
---|---|
protected |
Group()
Constructs an empty Group. |
Method Summary | ||
---|---|---|
|
compare(T arg0)
Internal method that all instances of a PageableResultType must implement. |
|
boolean |
fromJson(org.codehaus.jackson.JsonParser parser,
com.esri.core.internal.catalog.Filter filter,
Catalog catalog)
Sets the internal state of the Group with values contained in the Json response. |
|
List<User> |
getAdmins()
Returns the administrators of this Group |
|
Date |
getCreatedDate()
Returns the date on which this Group was created |
|
String |
getDescription()
Returns a description for this Group |
|
String |
getFeaturedItemId()
Returns the featured Item Id associated with this Group. |
|
String |
getId()
Returns the Id of this Group |
|
ResultCursor<Item> |
getItems(Item.ItemType type)
Returns a list of items belonging to this group filtered by the Item type. |
|
List<User> |
getMembers()
Returns the memebers of this Group |
|
Date |
getModifiedDate()
Returns the Date when this Group was last modified |
|
User |
getOwner()
Returns the owner of this Group |
|
String |
getPhone()
Returns a phone number associated with this Group |
|
String |
getSnippet()
Returns a description snippet for the Group |
|
List<String> |
getTags()
Returns a list of tags associated with this Group |
|
byte[] |
getThumbnail()
Returns a thumbnail for this group. |
|
String |
getTitle()
Returns the Title of this Group |
|
boolean |
isInvitationOnly()
Tells if Users can join this Group by invitation only. |
|
boolean |
isOrganization()
Tells if this Group is an organization |
|
boolean |
isPublic()
Tells if this Group is a public Group |
|
protected void |
testAndSetOwner(User user)
Tests if the passed in User is the owner of this Group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Group()
Method Detail |
---|
protected void testAndSetOwner(User user)
user
- public User getOwner()
public List<User> getAdmins()
public List<User> getMembers()
public String getId()
public String getTitle()
public boolean isOrganization()
public boolean isPublic()
public boolean isInvitationOnly()
public String getDescription()
public String getSnippet()
public List<String> getTags()
public String getPhone()
public String getFeaturedItemId()
public byte[] getThumbnail()
public Date getCreatedDate()
public ResultCursor<Item> getItems(Item.ItemType type) throws CatalogException
List
as opposed to a ResultCursor
returns by various
methods on the Catalog
CatalogException
public Date getModifiedDate()
public boolean fromJson(org.codehaus.jackson.JsonParser parser, com.esri.core.internal.catalog.Filter filter, Catalog catalog)
fromJson
in interface PageableResultType
parser
- the Json responsefilter
- a client side filtercatalog
- a reference to the Catalog
public <T extends PageableResultType> int compare(T arg0)
PageableResultType
compare
in interface PageableResultType
arg0
- an instance of a PageableResultType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |