Class NSReplicationAgent
Replication/Travel administration.
Syntax
Examples
NSReplicationAgent agent;
agent.callMethod(arg1, arg2);
Constructors
NSReplicationAgent()
Replication/Travel administration.
Declaration
Examples
NSReplicationAgent agent;
agent.callMethod(arg1, arg2);
Methods
CreateDefaultSatellite()
Sets default values into a new NSSatellite.
Declaration
NSSatellite CreateDefaultSatellite()
Returns
Examples
NSReplicationAgent agent;
NSSatellite thing = agent.CreateDefaultSatellite();
thing = agent.SaveSatellite(thing);
GetArea(Integer)
Declaration
NSArea GetArea(Integer areaId)
Parameters
Type |
Name |
Description |
Integer |
areaId |
|
Returns
Examples
NSReplicationAgent agent;
NSArea thing = agent.GetArea(123);
GetAreaList(Integer[])
Gets an array of NSArea objectsGets an array of NSArea objects.
Declaration
NSArea[] GetAreaList(Integer[] areaIds)
Parameters
Type |
Name |
Description |
Integer[] |
areaIds |
The identifiers of the NSArea objects.
|
Returns
Examples
Integer[] ids;
NSReplicationAgent agent;
agent.GetAreaList(ids);
GetCentralLicense()
Replication/Travel administration.
Declaration
NSLicenseOwner[] GetCentralLicense()
Returns
Examples
NSReplicationAgent agent;
agent.callMethod(arg1, arg2);
GetSatellite(Integer)
Gets an NSSatellite object.
Declaration
NSSatellite GetSatellite(Integer satelliteId)
Parameters
Type |
Name |
Description |
Integer |
satelliteId |
|
Returns
Examples
NSReplicationAgent agent;
NSSatellite thing = agent.GetSatellite(123);
SaveCentralLicense(NSLicenseOwner[])
Replication/Travel administration.
Declaration
NSLicenseOwner[] SaveCentralLicense(NSLicenseOwner[] license)
Parameters
Returns
Examples
NSReplicationAgent agent;
agent.callMethod(arg1, arg2);
SaveSatellite(NSSatellite)
Updates the existing NSSatellite or creates a new NSSatellite if the ID parameter is 0.
Declaration
NSSatellite SaveSatellite(NSSatellite satellite)
Parameters
Returns
Type |
Description |
NSSatellite |
The new or updated NSSatellite.
|
Examples
NSReplication agent;
NSSatellite thing = agent.CreateDefaultSatellite();
thing = agent.SaveSatellite(thing);
SetFreetextSearchEnabledOnArea(Integer,Bool)
Enables free-text search on this area
Declaration
Void SetFreetextSearchEnabledOnArea(Integer areaId, Bool freetextEnabled)
Parameters
Type |
Name |
Description |
Integer |
areaId |
|
Bool |
freetextEnabled |
|
Returns
Examples
NSReplicationAgent agent;
Integer areaId;
Bool freetextEnabled;
agent.SetFreetextSearchEnabledOnArea(areaId, freetextEnabled);