If the accessing user is a member of an organization, the details pertain to that organization. If the accessing user is not a member of an organization then then the details pertain to the Portal instead. Information includes the name and logo for the portal/ organization, query information for the featured groups and content, and other customizable aspects of the Portal for an organization.
The AGSPortalInfo's delegate is informed whenever operations performed by the AGSPortalInfo complete successfully or encounter an error.
Public Member Functions | |
(void) | - decodeWithJSON: |
(NSDictionary *) | - encodeToJSON |
(NSOperation *) | - fetchOrganizationThumbnail |
(NSOperation *) | - fetchPortalThumbnail |
(id) | - initWithJSON: |
Properties | |
AGSPortalAccess | access |
NSString * | basemapGalleryGroupQuery |
BOOL | canSharePublic |
AGSWebMapBaseMap * | defaultBasemap |
AGSEnvelope * | defaultExtent |
id< AGSPortalInfoDelegate > | delegate |
NSArray * | featuredGroupsQueries |
NSString * | featuredItemsGroupQuery |
NSString * | homepageFeaturedContentGroupQuery |
NSString * | organizationDescription |
NSString * | organizationId |
NSString * | organizationName |
UIImage * | organizationThumbnail |
NSString * | organizationThumbnailFileName |
AGSPortal * | portal |
AGSPortalMode | portalMode |
NSString * | portalName |
UIImage * | portalThumbnail |
NSString * | portalThumbnailFileName |
- (void) decodeWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Decode object from JSON representation.
json | The JSON representation of the object to be decoded. |
- (NSDictionary *) encodeToJSON | [optional, inherited] |
Encode and return JSON representation for object.
- (NSOperation*) fetchOrganizationThumbnail |
Kicks off an operation that fetches the organization thumbnail. The corresponding methods on AGSPortalInfoDelegate
are invoked when the operation completes successfully or encounters an error.
- (NSOperation*) fetchPortalThumbnail |
Kicks off an operation that fetches the portal thumbnail. The corresponding methods on AGSPortalInfoDelegate
are invoked when the operation completes successfully or encounters an error.
- (id) initWithJSON: | (NSDictionary *) | json | [optional, inherited] |
Initialize and return object from JSON representation.
json | The JSON representation of the object to be created. |
Reimplemented in AGSWebMapFeatureCollection.
- (AGSPortalAccess) access [read, assign] |
Determines who can view the organization's content. Can be either AGSPortalAccessPublic
or AGSPortalAccessPrivate
.
AGSPortalAccessPublic
implies even anonymous users can access the content. AGSPortalAccessPrivate
restricts access to only members of the organization.
- (NSString*) basemapGalleryGroupQuery [read, retain] |
The pre-defined query string for finding the collection of basemaps.
- (BOOL) canSharePublic [read, assign] |
Indicates whether the members of the organization can share content outside of the organization.
- (AGSWebMapBaseMap*) defaultBasemap [read, retain] |
The default basemap of the portal/organization.
- (AGSEnvelope*) defaultExtent [read, retain] |
The default extent for the basemaps.
- (id<AGSPortalInfoDelegate>) delegate [read, write, assign] |
The delegate for operations on AGSPortalInfo.
- (NSArray*) featuredGroupsQueries [read, retain] |
Array of pre-defined query strings for finding featured groups.
- (NSString*) featuredItemsGroupQuery [read, retain] |
The pre-defined query string for finding featured items group.
- (NSString*) homepageFeaturedContentGroupQuery [read, retain] |
The pre-defined query string for finding homepage featured items group.
- (NSString*) organizationDescription [read, retain] |
The description of the organization.
- (NSString*) organizationId [read, retain] |
The id of the organization.
- (NSString*) organizationName [read, retain] |
The name of the organization.
- (UIImage*) organizationThumbnail [read, retain] |
The thumbnail image of the organization. This needs to be fetched explicitly using fetchOrganizationThumbnail.
- (NSString*) organizationThumbnailFileName [read, retain] |
The name of the Organization's thumbnail file.
- (AGSPortal*) portal [read, assign] |
The portal that is being referred to.
- (AGSPortalMode) portalMode [read, assign] |
- (NSString*) portalName [read, retain] |
The name of the portal.
- (UIImage*) portalThumbnail [read, retain] |
The thumbnail image of the portal. This needs to be fetched explicitly using fetchPortalThumbnail.
- (NSString*) portalThumbnailFileName [read, retain] |
The name of the Portal's thumbnail file.