org.netxms.client
Class NXCObjectModificationData
java.lang.Object
org.netxms.client.NXCObjectModificationData
public class NXCObjectModificationData
- extends java.lang.Object
This class is used to hold data for NXCSession.modifyObject()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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_AUTOBIND_FILTER
public static final long MODIFY_AUTOBIND_FILTER
- See Also:
- Constant Field Values
MODIFY_LINK_COLOR
public static final long MODIFY_LINK_COLOR
- 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
MODIFY_IMAGE
public static final long MODIFY_IMAGE
- See Also:
- Constant Field Values
MODIFY_ICMP_PROXY
public static final long MODIFY_ICMP_PROXY
- See Also:
- Constant Field Values
MODIFY_COLUMN_COUNT
public static final long MODIFY_COLUMN_COUNT
- See Also:
- Constant Field Values
MODIFY_DASHBOARD_ELEMENTS
public static final long MODIFY_DASHBOARD_ELEMENTS
- See Also:
- Constant Field Values
MODIFY_SCRIPT
public static final long MODIFY_SCRIPT
- See Also:
- Constant Field Values
MODIFY_ACTIVATION_EVENT
public static final long MODIFY_ACTIVATION_EVENT
- See Also:
- Constant Field Values
MODIFY_DEACTIVATION_EVENT
public static final long MODIFY_DEACTIVATION_EVENT
- See Also:
- Constant Field Values
MODIFY_SOURCE_OBJECT
public static final long MODIFY_SOURCE_OBJECT
- See Also:
- Constant Field Values
MODIFY_ACTIVE_STATUS
public static final long MODIFY_ACTIVE_STATUS
- See Also:
- Constant Field Values
MODIFY_INACTIVE_STATUS
public static final long MODIFY_INACTIVE_STATUS
- See Also:
- Constant Field Values
MODIFY_DCI_LIST
public static final long MODIFY_DCI_LIST
- See Also:
- Constant Field Values
MODIFY_SUBMAP_ID
public static final long MODIFY_SUBMAP_ID
- See Also:
- Constant Field Values
MODIFY_IP_ADDRESS
public static final long MODIFY_IP_ADDRESS
- See Also:
- Constant Field Values
MODIFY_IP_PROTOCOL
public static final long MODIFY_IP_PROTOCOL
- See Also:
- Constant Field Values
MODIFY_IP_PORT
public static final long MODIFY_IP_PORT
- See Also:
- Constant Field Values
MODIFY_SERVICE_TYPE
public static final long MODIFY_SERVICE_TYPE
- See Also:
- Constant Field Values
MODIFY_POLLER_NODE
public static final long MODIFY_POLLER_NODE
- See Also:
- Constant Field Values
MODIFY_REQUIRED_POLLS
public static final long MODIFY_REQUIRED_POLLS
- See Also:
- Constant Field Values
MODIFY_REQUEST
public static final long MODIFY_REQUEST
- See Also:
- Constant Field Values
MODIFY_RESPONSE
public static final long MODIFY_RESPONSE
- See Also:
- Constant Field Values
MODIFY_OBJECT_FLAGS
public static final long MODIFY_OBJECT_FLAGS
- See Also:
- Constant Field Values
MODIFY_IFXTABLE_POLICY
public static final long MODIFY_IFXTABLE_POLICY
- See Also:
- Constant Field Values
MODIFY_REPORT_DEFINITION
public static final long MODIFY_REPORT_DEFINITION
- See Also:
- Constant Field Values
MODIFY_CLUSTER_RESOURCES
public static final long MODIFY_CLUSTER_RESOURCES
- See Also:
- Constant Field Values
MODIFY_PRIMARY_NAME
public static final long MODIFY_PRIMARY_NAME
- See Also:
- Constant Field Values
MODIFY_STATUS_CALCULATION
public static final long MODIFY_STATUS_CALCULATION
- See Also:
- Constant Field Values
MODIFY_CLUSTER_NETWORKS
public static final long MODIFY_CLUSTER_NETWORKS
- See Also:
- Constant Field Values
MODIFY_EXPECTED_STATE
public static final long MODIFY_EXPECTED_STATE
- See Also:
- Constant Field Values
MODIFY_CONNECTION_ROUTING
public static final long MODIFY_CONNECTION_ROUTING
- See Also:
- Constant Field Values
MODIFY_DISCOVERY_RADIUS
public static final long MODIFY_DISCOVERY_RADIUS
- See Also:
- Constant Field Values
MODIFY_HEIGHT
public static final long MODIFY_HEIGHT
- See Also:
- Constant Field Values
NXCObjectModificationData
public NXCObjectModificationData(long objectId)
- Constructor for creating modification data for given object
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
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
getIcmpProxy
public long getIcmpProxy()
- Returns:
- the icmpProxy
setIcmpProxy
public void setIcmpProxy(long icmpProxy)
- Parameters:
icmpProxy
- the icmpProxy 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 java.util.UUID getMapBackground()
- Returns:
- the mapBackground
setMapBackground
public void setMapBackground(java.util.UUID mapBackground,
GeoLocation mapBackgroundLocation,
int mapBackgroundZoom,
int mapBackgroundColor)
- 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
-
getImage
public java.util.UUID getImage()
- Returns:
- the image
setImage
public void setImage(java.util.UUID image)
- Parameters:
image
- the image to set
getColumnCount
public int getColumnCount()
- Returns:
- the columnCount
setColumnCount
public void setColumnCount(int columnCount)
- Parameters:
columnCount
- the columnCount to set
getDashboardElements
public java.util.Collection<DashboardElement> getDashboardElements()
- Returns:
- the dashboardElements
setDashboardElements
public void setDashboardElements(java.util.Collection<DashboardElement> dashboardElements)
- Parameters:
dashboardElements
- the dashboardElements to set
getScript
public java.lang.String getScript()
- Returns:
- the script
setScript
public void setScript(java.lang.String script)
- Parameters:
script
- the script to set
getActivationEvent
public int getActivationEvent()
- Returns:
- the activationEvent
setActivationEvent
public void setActivationEvent(int activationEvent)
- Parameters:
activationEvent
- the activationEvent to set
getDeactivationEvent
public int getDeactivationEvent()
- Returns:
- the deactivationEvent
setDeactivationEvent
public void setDeactivationEvent(int deactivationEvent)
- Parameters:
deactivationEvent
- the deactivationEvent to set
getSourceObject
public long getSourceObject()
- Returns:
- the sourceObject
setSourceObject
public void setSourceObject(long sourceObject)
- Parameters:
sourceObject
- the sourceObject to set
getActiveStatus
public int getActiveStatus()
- Returns:
- the activeStatus
setActiveStatus
public void setActiveStatus(int activeStatus)
- Parameters:
activeStatus
- the activeStatus to set
getInactiveStatus
public int getInactiveStatus()
- Returns:
- the inactiveStatus
setInactiveStatus
public void setInactiveStatus(int inactiveStatus)
- Parameters:
inactiveStatus
- the inactiveStatus to set
getDciList
public java.util.List<ConditionDciInfo> getDciList()
- Returns:
- the dciList
setDciList
public void setDciList(java.util.List<ConditionDciInfo> dciList)
- Parameters:
dciList
- the dciList to set
getSubmapId
public long getSubmapId()
- Returns:
- the submapId
setSubmapId
public void setSubmapId(long submapId)
- Parameters:
submapId
- the submapId to set
getMapBackgroundLocation
public GeoLocation getMapBackgroundLocation()
- Returns:
- the mapBackgroundLocation
getMapBackgroundZoom
public int getMapBackgroundZoom()
- Returns:
- the mapBackgroundZoom
getPollerNode
public long getPollerNode()
- Returns:
- the pollerNode
setPollerNode
public void setPollerNode(long pollerNode)
- Parameters:
pollerNode
- the pollerNode to set
getRequiredPolls
public int getRequiredPolls()
- Returns:
- the requiredPolls
setRequiredPolls
public void setRequiredPolls(int requiredPolls)
- Parameters:
requiredPolls
- the requiredPolls to set
getServiceType
public int getServiceType()
- Returns:
- the serviceType
setServiceType
public void setServiceType(int serviceType)
- Parameters:
serviceType
- the serviceType to set
getIpProtocol
public int getIpProtocol()
- Returns:
- the ipProtocol
setIpProtocol
public void setIpProtocol(int ipProtocol)
- Parameters:
ipProtocol
- the ipProtocol to set
getIpPort
public int getIpPort()
- Returns:
- the ipPort
setIpPort
public void setIpPort(int ipPort)
- Parameters:
ipPort
- the ipPort to set
getIpAddress
public int getIpAddress()
- Returns:
- the ipAddress
setIpAddress
public void setIpAddress(int ipAddress)
- Parameters:
ipAddress
- the ipAddress to set
getRequest
public java.lang.String getRequest()
- Returns:
- the request
setRequest
public void setRequest(java.lang.String request)
- Parameters:
request
- the request to set
getResponse
public java.lang.String getResponse()
- Returns:
- the response
setResponse
public void setResponse(java.lang.String response)
- Parameters:
response
- the response to set
getObjectFlags
public int getObjectFlags()
- Returns:
- the nodeFlags
setObjectFlags
public void setObjectFlags(int objectFlags)
- Parameters:
nodeFlags
- the nodeFlags to set
getIfXTablePolicy
public int getIfXTablePolicy()
- Returns:
- the ifXTablePolicy
setIfXTablePolicy
public void setIfXTablePolicy(int ifXTablePolicy)
- Parameters:
ifXTablePolicy
- the ifXTablePolicy to set
getReportDefinition
public java.lang.String getReportDefinition()
- Returns:
- the reportDefinition
setReportDefinition
public void setReportDefinition(java.lang.String reportDefinition)
- Parameters:
reportDefinition
- the reportDefinition to set
setReportDefinition
public void setReportDefinition(java.io.File file)
throws java.io.IOException,
java.io.FileNotFoundException
- Set report definition from file.
- Parameters:
file
- file containing report definition
- Throws:
java.io.IOException
- if file I/O error occurs
java.io.FileNotFoundException
- if given file does not exist or inaccessible
getResourceList
public java.util.List<ClusterResource> getResourceList()
- Returns:
- the resourceList
setResourceList
public void setResourceList(java.util.List<ClusterResource> resourceList)
- Parameters:
resourceList
- the resourceList to set
getNetworkList
public java.util.List<ClusterSyncNetwork> getNetworkList()
- Returns:
- the networkList
setNetworkList
public void setNetworkList(java.util.List<ClusterSyncNetwork> networkList)
- Parameters:
networkList
- the networkList to set
getPrimaryName
public java.lang.String getPrimaryName()
- Returns:
- the primaryName
setPrimaryName
public void setPrimaryName(java.lang.String primaryName)
- Parameters:
primaryName
- the primaryName to set
getStatusCalculationMethod
public int getStatusCalculationMethod()
- Returns:
- the statusCalculationMethod
setStatusCalculationMethod
public void setStatusCalculationMethod(int statusCalculationMethod)
- Parameters:
statusCalculationMethod
- the statusCalculationMethod to set
getStatusPropagationMethod
public int getStatusPropagationMethod()
- Returns:
- the statusPropagationMethod
setStatusPropagationMethod
public void setStatusPropagationMethod(int statusPropagationMethod)
- Parameters:
statusPropagationMethod
- the statusPropagationMethod to set
getFixedPropagatedStatus
public int getFixedPropagatedStatus()
- Returns:
- the fixedPropagatedStatus
setFixedPropagatedStatus
public void setFixedPropagatedStatus(int fixedPropagatedStatus)
- Parameters:
fixedPropagatedStatus
- the fixedPropagatedStatus to set
getStatusShift
public int getStatusShift()
- Returns:
- the statusShift
setStatusShift
public void setStatusShift(int statusShift)
- Parameters:
statusShift
- the statusShift to set
getStatusTransformation
public int[] getStatusTransformation()
- Returns:
- the statusTransformation
setStatusTransformation
public void setStatusTransformation(int[] statusTransformation)
- Parameters:
statusTransformation
- the statusTransformation to set
getStatusSingleThreshold
public int getStatusSingleThreshold()
- Returns:
- the statusSingleThreshold
setStatusSingleThreshold
public void setStatusSingleThreshold(int statusSingleThreshold)
- Parameters:
statusSingleThreshold
- the statusSingleThreshold to set
getStatusThresholds
public int[] getStatusThresholds()
- Returns:
- the statusThresholds
setStatusThresholds
public void setStatusThresholds(int[] statusThresholds)
- Parameters:
statusThresholds
- the statusThresholds to set
getExpectedState
public int getExpectedState()
- Returns:
- the expectedState
setExpectedState
public void setExpectedState(int expectedState)
- Parameters:
expectedState
- the expectedState to set
getLinkColor
public int getLinkColor()
- Returns:
- the linkColor
setLinkColor
public void setLinkColor(int linkColor)
- Parameters:
linkColor
- the linkColor to set
getConnectionRouting
public int getConnectionRouting()
- Returns:
- the connectionRouting
setConnectionRouting
public void setConnectionRouting(int connectionRouting)
- Parameters:
connectionRouting
- the connectionRouting to set
getMapBackgroundColor
public int getMapBackgroundColor()
- Returns:
- the mapBackgroundColor
getDiscoveryRadius
public final int getDiscoveryRadius()
- Returns:
- the discoveryRadius
setDiscoveryRadius
public final void setDiscoveryRadius(int discoveryRadius)
- Parameters:
discoveryRadius
- the discoveryRadius to set
getHeight
public int getHeight()
- Returns:
- the height
setHeight
public void setHeight(int height)
- Parameters:
height
- the height to set
Copyright © 2013. All Rights Reserved.