org.netxms.client
Class NXCObjectModificationData

java.lang.Object
  extended by org.netxms.client.NXCObjectModificationData

public class NXCObjectModificationData
extends java.lang.Object

Author:
Victor This class is used to hold data for NXCSession.modifyObject()

Field Summary
static long MODIFY_ACL
           
static long MODIFY_AGENT_AUTH
           
static long MODIFY_AGENT_PORT
           
static long MODIFY_AGENT_PROXY
           
static long MODIFY_AUTO_APPLY
           
static long MODIFY_AUTO_BIND
           
static long MODIFY_CUSTOM_ATTRIBUTES
           
static long MODIFY_DESCRIPTION
           
static long MODIFY_GEOLOCATION
           
static long MODIFY_MAP_BACKGROUND
           
static long MODIFY_MAP_CONTENT
           
static long MODIFY_MAP_LAYOUT
           
static long MODIFY_NAME
           
static long MODIFY_POLICY_CONFIG
           
static long MODIFY_PRIMARY_IP
           
static long MODIFY_SNMP_AUTH
           
static long MODIFY_SNMP_PORT
           
static long MODIFY_SNMP_PROXY
           
static long MODIFY_SNMP_VERSION
           
static long MODIFY_TRUSTED_NODES
           
static long MODIFY_VERSION
           
 
Constructor Summary
NXCObjectModificationData(long objectId)
          Constructor for creating modification data for given object
 
Method Summary
 AccessListElement[] getACL()
           
 int getAgentAuthMethod()
           
 int getAgentPort()
           
 long getAgentProxy()
           
 java.lang.String getAgentSecret()
           
 java.lang.String getAutoApplyFilter()
           
 java.lang.String getAutoBindFilter()
           
 java.lang.String getConfigFileContent()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomAttributes()
           
 java.lang.String getDescription()
           
 long getFlags()
           
 GeoLocation getGeolocation()
           
 int getMapBackground()
           
 java.util.Collection<NetworkMapElement> getMapElements()
           
 int getMapLayout()
           
 java.util.Collection<NetworkMapLink> getMapLinks()
           
 java.lang.String getName()
           
 long getObjectId()
           
 java.net.InetAddress getPrimaryIpAddress()
           
 int getSnmpAuthMethod()
           
 java.lang.String getSnmpAuthName()
           
 java.lang.String getSnmpAuthPassword()
           
 int getSnmpPort()
           
 int getSnmpPrivMethod()
           
 java.lang.String getSnmpPrivPassword()
           
 long getSnmpProxy()
           
 int getSnmpVersion()
           
 long[] getTrustedNodes()
           
 int getVersion()
           
 boolean isAutoApplyEnabled()
           
 boolean isAutoBindEnabled()
           
 boolean isInheritAccessRights()
           
 void setACL(AccessListElement[] acl)
           
 void setAgentAuthMethod(int agentAuthMethod)
           
 void setAgentPort(int agentPort)
           
 void setAgentProxy(long agentProxy)
           
 void setAgentSecret(java.lang.String agentSecret)
           
 void setAutoApplyEnabled(boolean autoApplyEnabled)
           
 void setAutoApplyFilter(java.lang.String autoApplyFilter)
           
 void setAutoBindEnabled(boolean autoBindEnabled)
           
 void setAutoBindFilter(java.lang.String autoBindFilter)
           
 void setConfigFileContent(java.lang.String configFileContent)
           
 void setCustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
           
 void setDescription(java.lang.String description)
           
 void setGeolocation(GeoLocation geolocation)
           
 void setInheritAccessRights(boolean inheritAccessRights)
           
 void setMapBackground(int mapBackground)
           
 void setMapContent(java.util.Collection<NetworkMapElement> elements, java.util.Collection<NetworkMapLink> links)
          Set map contents
 void setMapLayout(int mapLayout)
           
 void setName(java.lang.String name)
           
 void setObjectId(long objectId)
           
 void setPrimaryIpAddress(java.net.InetAddress primaryIpAddress)
           
 void setSnmpAuthMethod(int snmpAuthMethod)
           
 void setSnmpAuthName(java.lang.String snmpAuthName)
           
 void setSnmpAuthPassword(java.lang.String snmpAuthPassword)
           
 void setSnmpPort(int snmpPort)
           
 void setSnmpPrivMethod(int snmpPrivMethod)
           
 void setSnmpPrivPassword(java.lang.String snmpPrivPassword)
           
 void setSnmpProxy(long snmpProxy)
           
 void setSnmpVersion(int snmpVersion)
           
 void setTrustedNodes(long[] trustedNodes)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODIFY_NAME

public static final long MODIFY_NAME
See Also:
Constant Field Values

MODIFY_ACL

public static final long MODIFY_ACL
See Also:
Constant Field Values

MODIFY_CUSTOM_ATTRIBUTES

public static final long MODIFY_CUSTOM_ATTRIBUTES
See Also:
Constant Field Values

MODIFY_AUTO_APPLY

public static final long MODIFY_AUTO_APPLY
See Also:
Constant Field Values

MODIFY_AUTO_BIND

public static final long MODIFY_AUTO_BIND
See Also:
Constant Field Values

MODIFY_POLICY_CONFIG

public static final long MODIFY_POLICY_CONFIG
See Also:
Constant Field Values

MODIFY_VERSION

public static final long MODIFY_VERSION
See Also:
Constant Field Values

MODIFY_DESCRIPTION

public static final long MODIFY_DESCRIPTION
See Also:
Constant Field Values

MODIFY_AGENT_PORT

public static final long MODIFY_AGENT_PORT
See Also:
Constant Field Values

MODIFY_AGENT_AUTH

public static final long MODIFY_AGENT_AUTH
See Also:
Constant Field Values

MODIFY_SNMP_VERSION

public static final long MODIFY_SNMP_VERSION
See Also:
Constant Field Values

MODIFY_SNMP_AUTH

public static final long MODIFY_SNMP_AUTH
See Also:
Constant Field Values

MODIFY_AGENT_PROXY

public static final long MODIFY_AGENT_PROXY
See Also:
Constant Field Values

MODIFY_SNMP_PROXY

public static final long MODIFY_SNMP_PROXY
See Also:
Constant Field Values

MODIFY_TRUSTED_NODES

public static final long MODIFY_TRUSTED_NODES
See Also:
Constant Field Values

MODIFY_GEOLOCATION

public static final long MODIFY_GEOLOCATION
See Also:
Constant Field Values

MODIFY_PRIMARY_IP

public static final long MODIFY_PRIMARY_IP
See Also:
Constant Field Values

MODIFY_SNMP_PORT

public static final long MODIFY_SNMP_PORT
See Also:
Constant Field Values

MODIFY_MAP_LAYOUT

public static final long MODIFY_MAP_LAYOUT
See Also:
Constant Field Values

MODIFY_MAP_BACKGROUND

public static final long MODIFY_MAP_BACKGROUND
See Also:
Constant Field Values

MODIFY_MAP_CONTENT

public static final long MODIFY_MAP_CONTENT
See Also:
Constant Field Values
Constructor Detail

NXCObjectModificationData

public NXCObjectModificationData(long objectId)
Constructor for creating modification data for given object

Method Detail

getObjectId

public long getObjectId()
Returns:
the objectId

setObjectId

public void setObjectId(long objectId)
Parameters:
objectId - the objectId to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getFlags

public long getFlags()
Returns:
the flags

getACL

public AccessListElement[] getACL()
Returns:
the acl

setACL

public void setACL(AccessListElement[] acl)
Parameters:
acl - the acl to set

isInheritAccessRights

public boolean isInheritAccessRights()
Returns:
the inheritAccessRights

setInheritAccessRights

public void setInheritAccessRights(boolean inheritAccessRights)
Parameters:
inheritAccessRights - the inheritAccessRights to set

getCustomAttributes

public java.util.Map<java.lang.String,java.lang.String> getCustomAttributes()
Returns:
the customAttributes

setCustomAttributes

public void setCustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
Parameters:
customAttributes - the customAttributes to set

isAutoApplyEnabled

public boolean isAutoApplyEnabled()
Returns:
the autoApplyEnabled

setAutoApplyEnabled

public void setAutoApplyEnabled(boolean autoApplyEnabled)
Parameters:
autoApplyEnabled - the autoApplyEnabled to set

getAutoApplyFilter

public java.lang.String getAutoApplyFilter()
Returns:
the autoApplyFilter

setAutoApplyFilter

public void setAutoApplyFilter(java.lang.String autoApplyFilter)
Parameters:
autoApplyFilter - the autoApplyFilter to set

isAutoBindEnabled

public boolean isAutoBindEnabled()
Returns:
the autoApplyEnabled

setAutoBindEnabled

public void setAutoBindEnabled(boolean autoBindEnabled)
Parameters:
autoApplyEnabled - the autoApplyEnabled to set

getAutoBindFilter

public java.lang.String getAutoBindFilter()
Returns:
the autoApplyFilter

setAutoBindFilter

public void setAutoBindFilter(java.lang.String autoBindFilter)
Parameters:
autoApplyFilter - the autoApplyFilter to set

getConfigFileContent

public java.lang.String getConfigFileContent()
Returns:
the configFileContent

setConfigFileContent

public void setConfigFileContent(java.lang.String configFileContent)
Parameters:
configFileContent - the configFileContent to set

getVersion

public int getVersion()
Returns:
the version

setVersion

public void setVersion(int version)
Parameters:
version - the version to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getAgentPort

public int getAgentPort()

setAgentPort

public void setAgentPort(int agentPort)

getAgentAuthMethod

public int getAgentAuthMethod()
Returns:
the agentAuthMethod

setAgentAuthMethod

public void setAgentAuthMethod(int agentAuthMethod)
Parameters:
agentAuthMethod - the agentAuthMethod to set

getAgentSecret

public java.lang.String getAgentSecret()
Returns:
the agentSecret

setAgentSecret

public void setAgentSecret(java.lang.String agentSecret)
Parameters:
agentSecret - the agentSecret to set

getAgentProxy

public long getAgentProxy()
Returns:
the agentProxy

setAgentProxy

public void setAgentProxy(long agentProxy)
Parameters:
agentProxy - the agentProxy to set

getSnmpVersion

public int getSnmpVersion()
Returns:
the snmpVersion

setSnmpVersion

public void setSnmpVersion(int snmpVersion)
Parameters:
snmpVersion - the snmpVersion to set

getSnmpAuthMethod

public int getSnmpAuthMethod()
Returns:
the snmpAuthMethod

setSnmpAuthMethod

public void setSnmpAuthMethod(int snmpAuthMethod)
Parameters:
snmpAuthMethod - the snmpAuthMethod to set

getSnmpPrivMethod

public int getSnmpPrivMethod()
Returns:
the snmpPrivMethod

setSnmpPrivMethod

public void setSnmpPrivMethod(int snmpPrivMethod)
Parameters:
snmpPrivMethod - the snmpPrivMethod to set

getSnmpAuthName

public java.lang.String getSnmpAuthName()
Returns:
the snmpAuthName

setSnmpAuthName

public void setSnmpAuthName(java.lang.String snmpAuthName)
Parameters:
snmpAuthName - the snmpAuthName to set

getSnmpAuthPassword

public java.lang.String getSnmpAuthPassword()
Returns:
the snmpAuthPassword

setSnmpAuthPassword

public void setSnmpAuthPassword(java.lang.String snmpAuthPassword)
Parameters:
snmpAuthPassword - the snmpAuthPassword to set

getSnmpPrivPassword

public java.lang.String getSnmpPrivPassword()
Returns:
the snmpPrivPassword

setSnmpPrivPassword

public void setSnmpPrivPassword(java.lang.String snmpPrivPassword)
Parameters:
snmpPrivPassword - the snmpPrivPassword to set

getSnmpProxy

public long getSnmpProxy()
Returns:
the snmpProxy

setSnmpProxy

public void setSnmpProxy(long snmpProxy)
Parameters:
snmpProxy - the snmpProxy to set

getTrustedNodes

public long[] getTrustedNodes()
Returns:
the trustedNodes

setTrustedNodes

public void setTrustedNodes(long[] trustedNodes)
Parameters:
trustedNodes - the trustedNodes to set

getGeolocation

public GeoLocation getGeolocation()
Returns:
the geolocation

setGeolocation

public void setGeolocation(GeoLocation geolocation)
Parameters:
geolocation - the geolocation to set

getPrimaryIpAddress

public java.net.InetAddress getPrimaryIpAddress()
Returns:
the primaryIpAddress

setPrimaryIpAddress

public void setPrimaryIpAddress(java.net.InetAddress primaryIpAddress)
Parameters:
primaryIpAddress - the primaryIpAddress to set

getSnmpPort

public int getSnmpPort()
Returns:
the snmpPort

setSnmpPort

public void setSnmpPort(int snmpPort)
Parameters:
snmpPort - the snmpPort to set

getMapLayout

public int getMapLayout()
Returns:
the mapLayout

setMapLayout

public void setMapLayout(int mapLayout)
Parameters:
mapLayout - the mapLayout to set

getMapBackground

public int getMapBackground()
Returns:
the mapBackground

setMapBackground

public void setMapBackground(int mapBackground)
Parameters:
mapBackground - the mapBackground to set

getMapElements

public java.util.Collection<NetworkMapElement> getMapElements()
Returns:
the mapElements

getMapLinks

public java.util.Collection<NetworkMapLink> getMapLinks()
Returns:
the mapLinks

setMapContent

public void setMapContent(java.util.Collection<NetworkMapElement> elements,
                          java.util.Collection<NetworkMapLink> links)
Set map contents

Parameters:
elements -
links -


Copyright © 2011. All Rights Reserved.