Class NSReplicationAgent

Replication/Travel administration.

Examples

NSReplicationAgent agent;
agent.callMethod(arg1, arg2);

Constructors

NSReplicationAgent()

Replication/Travel administration.

Declaration

NSReplicationAgent

Examples

NSReplicationAgent agent;
agent.callMethod(arg1, arg2);

Methods

CreateDefaultSatellite()

Sets default values into a new NSSatellite.

Declaration

NSSatellite CreateDefaultSatellite()

Examples

NSReplicationAgent agent;
NSSatellite thing = agent.CreateDefaultSatellite();
thing = agent.SaveSatellite(thing);

Returns

Type Description
NSSatellite

GetArea(Integer)

Gets an NSArea object.

Declaration

NSArea GetArea(Integer areaId)

Examples

NSReplicationAgent agent;
NSArea thing = agent.GetArea(123);

Parameters

Type Name Description
Integer areaId

Returns

Type Description
NSArea

GetAreaList(Integer[])

Gets an array of NSArea objectsGets an array of NSArea objects.

Declaration

NSArea[] GetAreaList(Integer[] areaIds)

Examples

Integer[] ids;
NSReplicationAgent agent;
agent.GetAreaList(ids);

Parameters

Type Name Description
Integer[] areaIds The identifiers of the NSArea objects.

Returns

Type Description

GetCentralLicense()

Declaration

NSLicenseOwner[] GetCentralLicense()

Returns

Type Description
NSLicenseOwner[]

GetSatellite(Integer)

Gets an NSSatellite object.

Declaration

NSSatellite GetSatellite(Integer satelliteId)

Examples

NSReplicationAgent agent;
NSSatellite thing = agent.GetSatellite(123);

Parameters

Type Name Description
Integer satelliteId

Returns

Type Description
NSSatellite

SaveCentralLicense(NSLicenseOwner[])

Declaration

NSLicenseOwner[] SaveCentralLicense(NSLicenseOwner[] license)

Parameters

Type Name Description
NSLicenseOwner[] license

Returns

Type Description
NSLicenseOwner[]

SaveSatellite(NSSatellite)

Updates the existing NSSatellite or creates a new NSSatellite if the ID parameter is 0.

Declaration

NSSatellite SaveSatellite(NSSatellite satellite)

Examples

NSReplication  agent;
NSSatellite thing = agent.CreateDefaultSatellite();
thing = agent.SaveSatellite(thing);

Parameters

Type Name Description
NSSatellite satellite

Returns

Type Description
NSSatellite The new or updated NSSatellite.

SetFreetextSearchEnabledOnArea(Integer,Bool)

Enables free-text search on this area

Declaration

Void SetFreetextSearchEnabledOnArea(Integer areaId, Bool freetextEnabled)

Examples

NSReplicationAgent agent;
Integer areaId;
Bool freetextEnabled;
agent.SetFreetextSearchEnabledOnArea(areaId, freetextEnabled);

Parameters

Type Name Description
Integer areaId
Bool freetextEnabled

Returns

Type Description
Void