ISSite Class Reference

Inherits from NSObject
Declared in ISSite.h

Overview

Class used to represent an INSITEO launched site.

  userSite

Related user site.

@property (nonatomic, readonly) ISUserSite *userSite

Declared In

ISSite.h

  lastStartDate

Last start date.

@property (nonatomic, readonly) NSDate *lastStartDate

Declared In

ISSite.h

  mapRoot

The current root map.

@property (nonatomic, readonly) ISMap *mapRoot

Declared In

ISSite.h

  maps

All the maps stored in an NSDictionnary (key <=> map identifier : NSNumber).

@property (nonatomic, readonly) NSDictionary *maps

Declared In

ISSite.h

  zones

All maps zones.

@property (nonatomic, readonly) NSDictionary *zones

Declared In

ISSite.h

  siteId

Application site identifier.

@property (nonatomic, readonly) int siteId

Declared In

ISSite.h

  language

Application language.

@property (nonatomic, readonly) NSString *language

Declared In

ISSite.h

  applicationVersion

Application version.

@property (nonatomic, readonly) int applicationVersion

Declared In

ISSite.h

– siteVersionString

Method called to get an NSString representing the site version.

- (NSString *)siteVersionString

Return Value

Related NSString (ex: @“56/1/fr”).

Declared In

ISSite.h

– getRODataPath

Method used to get the site readonly data path.

- (NSString *)getRODataPath

Declared In

ISSite.h

– getRWDataPath

Method used to get the site readwrite data path.

- (NSString *)getRWDataPath

Declared In

ISSite.h

– getPathWithPackageType:

Method used to get the absolute path of a package.

- (NSString *)getPathWithPackageType:(ISEPackageType)packageType

Parameters

packageType

Package type to test.

Return Value

Absolute package path.

Declared In

ISSite.h

– getCurrentPackageVersionWithPackageType:

Method used to get current version of a package.

- (int)getCurrentPackageVersionWithPackageType:(ISEPackageType)packageType

Parameters

packageType

Package type to test.

Return Value

The current package version.

Declared In

ISSite.h

– getMapWithMapId:

Method called to get a specific map with its identifier.

- (ISMap *)getMapWithMapId:(int)mapId

Parameters

mapId

Wanted map identifier.

Return Value

The related ISMap.

Declared In

ISSite.h

– getZoneWithId:

Method called to get a specific zone with its identifier.

- (ISZone *)getZoneWithId:(int)zoneId

Parameters

zoneId

Wanted zone identifier.

Return Value

The related ISZone.

Declared In

ISSite.h

– getZonesWithMapId:

Method called to get all the zones into a given map.

- (NSArray *)getZonesWithMapId:(int)mapId

Parameters

mapId

Wanted map identifier.

Return Value

An array of ISZone.

Declared In

ISSite.h

– getSortedMaps

Method used to get all site sorted maps.

- (NSArray *)getSortedMaps

Return Value

An array of sorted ISMap.

Declared In

ISSite.h

– hasPackage:

Method used to check if a package of the given type is already installed.

- (Boolean)hasPackage:(ISEPackageType)packageType

Parameters

packageType

Package type to test.

Return Value

YES if it exists, otherwise NO.

Declared In

ISSite.h