|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.portal.PortalInfo
public class PortalInfo
Class used to hold some information about the Portal such as default basemap, featured groups, etc. If the user is not logged in this call will return some defaults. If the user is logged in, the account information returned will be specific to the user's account.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
void |
fetchOrganizationThumbnail(PortalListener<byte[]> portalListener)
Fetches the organization thumbnail from the portal. |
void |
fetchPortalThumbnail(PortalListener<byte[]> portalListener)
Fetches the portal thumbnail from the portal. |
static PortalInfo |
fromJson(org.codehaus.jackson.JsonParser parser,
Portal portal)
|
PortalAccess |
getAccess()
Returns the access level of the Portal or Organization. |
String |
getBasemapGalleryGroupQuery()
Returns the query used to determine which group should drive the gallery of basemaps displayed in the client application for the specified culture. |
BaseMap |
getDefaultBaseMap()
Returns the default basemap to be used by the client application for the specified culture when creating new maps (if applicable). |
MapGeometry |
getDefaultExtent()
Returns the default extent to be used by the client application for the specified culture when creating new maps (if applicable). |
List<String> |
getFeaturedGroupsQueries()
Returns an array of featured groups to possibly display on the group page or to feature for an organization. |
String |
getFeaturedItemsGroupQuery()
Returns the query used to determine which group should drive the gallery of featured items displayed in the client application for the specified culture. |
String |
getHomepageFeaturedContentGroupQuery()
Returns the pre-defined query string for finding homepage featured items group on the portal. |
String |
getOrganizationDescription()
Returns the description of the organization. |
String |
getOrganizationId()
Returns the id of the organization, if the user belongs to one. |
String |
getOrganizationName()
Returns the name of the organization. |
byte[] |
getOrganizationThumbnail()
Returns the organization's thumbnail. |
String |
getOrganizationThumbnailFileName()
Returns the filename for the organization's thumbnail. |
Portal |
getPortal()
Returns the Portal from which this PortalInfo was generated. |
PortalMode |
getPortalMode()
Returns the tenancy mode of the Portal. |
String |
getPortalName()
Returns the name of the Portal. |
byte[] |
getPortalThumbnail()
Returns the portal's thumbnail. |
String |
getPortalThumbnailFileName()
Returns the filename for the portal's thumbnail. |
int |
hashCode()
|
boolean |
isCanSharePublic()
Returns whether or not users in the organization can share with the public. |
boolean |
isShowHomePageDescription()
Returns whether or not the organization's description should be shown. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void fetchOrganizationThumbnail(PortalListener<byte[]> portalListener)
portalListener
- - fetches the thumbnail associated with an organization as a byte array.public void fetchPortalThumbnail(PortalListener<byte[]> portalListener)
portalListener
- fetches the thumbnail associated with a portal as a byte array.public static PortalInfo fromJson(org.codehaus.jackson.JsonParser parser, Portal portal) throws Exception
Exception
public Portal getPortal()
public byte[] getPortalThumbnail()
public byte[] getOrganizationThumbnail()
public String getBasemapGalleryGroupQuery()
public String getHomepageFeaturedContentGroupQuery()
public BaseMap getDefaultBaseMap()
public MapGeometry getDefaultExtent()
public String getOrganizationDescription()
public List<String> getFeaturedGroupsQueries()
public String getFeaturedItemsGroupQuery()
public String getOrganizationId()
public String getOrganizationName()
public String getPortalName()
public String getPortalThumbnailFileName()
public boolean isShowHomePageDescription()
public String getOrganizationThumbnailFileName()
public boolean isCanSharePublic()
public PortalAccess getAccess()
public PortalMode getPortalMode()
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 |