public class Portal
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Class and Description |
---|---|
static class |
Portal.Access |
static class |
Portal.DefaultBasemap |
static class |
Portal.FeaturedGroup |
Modifier and Type | Method and Description |
---|---|
boolean |
allSSL()
When true, access to the Portal resources must occur over SSL.
|
static boolean |
assertLoaded()
Check that the esri.arcgis.Portal has been loaded
|
boolean |
canSearchPublic()
When true, public items, groups and users are included in search queries.
|
boolean |
canSharePublic()
When true, members of the organization can share resources outside the organization.
|
static Portal |
create(java.lang.String url)
Creates a new Portal object.
|
Portal.Access |
getAccess()
The access level of the organization.
|
java.lang.String |
getBasemapGalleryGroupQuery()
The query that defines the basemaps that are displayed in the Basemap Gallery.
|
com.google.gwt.core.client.JsDate |
getCreated()
Date the organization was created.
|
java.lang.String |
getCulture()
The default locale (language and country) information.
|
Portal.DefaultBasemap |
getDefaultBasemap()
The default basemap the portal displays in the map viewer.
|
Extent |
getDefaultExtent()
The default extent for the map the portal displays in the map viewer.
|
java.lang.String |
getDescription()
A description of the organization / portal.
|
com.google.gwt.core.client.JsArray<Portal.FeaturedGroup> |
getFeaturedGroups()
The featured groups for the portal.
|
java.lang.String |
getFeaturedItemsGroupQuery()
The query that defines the featured group.
|
java.lang.String |
getId()
The id of the organization that owns this portal.
|
java.lang.String |
getLayerTemplatesGroupQuery()
The query that defines the collection of editable layer templates.
|
com.google.gwt.core.client.JsDate |
getModified()
Date the organization was last modified.
|
java.lang.String |
getName()
The Name of the organization / portal.
|
java.lang.String |
getPortalMode()
Denotes multitenant or singletenant.
|
java.lang.String |
getPortalName()
The name of the portal i.e.
|
java.lang.String |
getSymbolSetsGroupQuery()
The query that defines the symbols sets used by the map viewer.
|
java.lang.String |
getTemplatesGroupQuery()
The query that defines the collection of templates that will appear in the template gallery.
|
java.lang.String |
getThumbnailUrl()
The url to the thumbnail of the organization.
|
java.lang.String |
getUrl()
The portal url.
|
boolean |
isOrganization()
Indicates if the portal is an organization.
|
Deferred |
queryGroups(PortalQueryParams queryParams,
PortalQueryGroupsCallback callback)
Execute a query against the Portal to return a deferred that when resolved returns PortalQueryResult that contain a
results array of PortalGroup objects for all the groups that match the input query.
|
Deferred |
queryItem(PortalQueryParams queryParams,
PortalQueryItemsCallback callback)
Execute a query against the Portal to return a deferred that when resolved returns PortalQueryResult that contain a
results array of PortalItem objects that match the input query.
|
public static Portal create(java.lang.String url)
url
- - The url to the ArcGIS.com site or in-house portal.public static boolean assertLoaded()
public final Portal.Access getAccess()
public final boolean allSSL()
public final java.lang.String getBasemapGalleryGroupQuery()
public final boolean canSearchPublic()
public final boolean canSharePublic()
public final com.google.gwt.core.client.JsDate getCreated()
public final java.lang.String getCulture()
public final Portal.DefaultBasemap getDefaultBasemap()
public final Extent getDefaultExtent()
public final java.lang.String getDescription()
public final com.google.gwt.core.client.JsArray<Portal.FeaturedGroup> getFeaturedGroups()
public final java.lang.String getFeaturedItemsGroupQuery()
public final java.lang.String getId()
public final boolean isOrganization()
public final java.lang.String getLayerTemplatesGroupQuery()
public final com.google.gwt.core.client.JsDate getModified()
public final java.lang.String getName()
public final java.lang.String getPortalMode()
public final java.lang.String getPortalName()
public final java.lang.String getSymbolSetsGroupQuery()
public final java.lang.String getTemplatesGroupQuery()
public final java.lang.String getThumbnailUrl()
public final java.lang.String getUrl()
public final Deferred queryGroups(PortalQueryParams queryParams, PortalQueryGroupsCallback callback)
queryParams
- - The input query parameters.callback
- - function to fire when query is completepublic final Deferred queryItem(PortalQueryParams queryParams, PortalQueryItemsCallback callback)
queryParams
- - The input query parameters.callback
- - fundtion to fire when the query is complete