public class NXCObjectModificationData extends Object
| Constructor and Description |
|---|
NXCObjectModificationData(long objectId)
Constructor for creating modification data for given object
|
public static final long MODIFY_NAME
public static final long MODIFY_ACL
public static final long MODIFY_CUSTOM_ATTRIBUTES
public static final long MODIFY_AUTOBIND_FILTER
public static final long MODIFY_LINK_COLOR
public static final long MODIFY_POLICY_CONFIG
public static final long MODIFY_VERSION
public static final long MODIFY_DESCRIPTION
public static final long MODIFY_AGENT_PORT
public static final long MODIFY_AGENT_AUTH
public static final long MODIFY_SNMP_VERSION
public static final long MODIFY_SNMP_AUTH
public static final long MODIFY_AGENT_PROXY
public static final long MODIFY_SNMP_PROXY
public static final long MODIFY_TRUSTED_NODES
public static final long MODIFY_GEOLOCATION
public static final long MODIFY_PRIMARY_IP
public static final long MODIFY_SNMP_PORT
public static final long MODIFY_MAP_LAYOUT
public static final long MODIFY_MAP_BACKGROUND
public static final long MODIFY_MAP_CONTENT
public static final long MODIFY_IMAGE
public static final long MODIFY_ICMP_PROXY
public static final long MODIFY_COLUMN_COUNT
public static final long MODIFY_DASHBOARD_ELEMENTS
public static final long MODIFY_SCRIPT
public static final long MODIFY_ACTIVATION_EVENT
public static final long MODIFY_DEACTIVATION_EVENT
public static final long MODIFY_SOURCE_OBJECT
public static final long MODIFY_ACTIVE_STATUS
public static final long MODIFY_INACTIVE_STATUS
public static final long MODIFY_DCI_LIST
public static final long MODIFY_SUBMAP_ID
public static final long MODIFY_IP_ADDRESS
public static final long MODIFY_IP_PROTOCOL
public static final long MODIFY_IP_PORT
public static final long MODIFY_SERVICE_TYPE
public static final long MODIFY_POLLER_NODE
public static final long MODIFY_REQUIRED_POLLS
public static final long MODIFY_REQUEST
public static final long MODIFY_RESPONSE
public static final long MODIFY_OBJECT_FLAGS
public static final long MODIFY_IFXTABLE_POLICY
public static final long MODIFY_REPORT_DEFINITION
public static final long MODIFY_CLUSTER_RESOURCES
public static final long MODIFY_PRIMARY_NAME
public static final long MODIFY_STATUS_CALCULATION
public static final long MODIFY_CLUSTER_NETWORKS
public static final long MODIFY_EXPECTED_STATE
public static final long MODIFY_CONNECTION_ROUTING
public static final long MODIFY_DISCOVERY_RADIUS
public static final long MODIFY_HEIGHT
public static final long MODIFY_FILTER
public static final long MODIFY_PEER_GATEWAY
public static final long MODIFY_VPN_NETWORKS
public static final long MODIFY_POSTAL_ADDRESS
public static final long MODIFY_AGENT_CACHE_MODE
public static final long MODIFY_MAPOBJ_DISP_MODE
public static final long MODIFY_RACK_PLACEMENT
public static final long MODIFY_DASHBOARD_LIST
public static final long MODIFY_RACK_NUMB_SCHEME
public NXCObjectModificationData(long objectId)
public long getObjectId()
public void setObjectId(long objectId)
objectId - the objectId to setpublic String getName()
public void setName(String name)
name - the name to setpublic long getFlags()
public AccessListElement[] getACL()
public void setACL(AccessListElement[] acl)
acl - the acl to setpublic boolean isInheritAccessRights()
public void setInheritAccessRights(boolean inheritAccessRights)
inheritAccessRights - the inheritAccessRights to setpublic void setCustomAttributes(Map<String,String> customAttributes)
customAttributes - the customAttributes to setpublic String getAutoBindFilter()
public void setAutoBindFilter(String autoBindFilter)
autoApplyFilter - the autoApplyFilter to setpublic String getConfigFileContent()
public void setConfigFileContent(String configFileContent)
configFileContent - the configFileContent to setpublic int getVersion()
public void setVersion(int version)
version - the version to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic int getAgentPort()
public void setAgentPort(int agentPort)
public int getAgentAuthMethod()
public void setAgentAuthMethod(int agentAuthMethod)
agentAuthMethod - the agentAuthMethod to setpublic String getAgentSecret()
public void setAgentSecret(String agentSecret)
agentSecret - the agentSecret to setpublic long getAgentProxy()
public void setAgentProxy(long agentProxy)
agentProxy - the agentProxy to setpublic int getSnmpVersion()
public void setSnmpVersion(int snmpVersion)
snmpVersion - the snmpVersion to setpublic int getSnmpAuthMethod()
public void setSnmpAuthMethod(int snmpAuthMethod)
snmpAuthMethod - the snmpAuthMethod to setpublic int getSnmpPrivMethod()
public void setSnmpPrivMethod(int snmpPrivMethod)
snmpPrivMethod - the snmpPrivMethod to setpublic String getSnmpAuthName()
public void setSnmpAuthName(String snmpAuthName)
snmpAuthName - the snmpAuthName to setpublic String getSnmpAuthPassword()
public void setSnmpAuthPassword(String snmpAuthPassword)
snmpAuthPassword - the snmpAuthPassword to setpublic String getSnmpPrivPassword()
public void setSnmpPrivPassword(String snmpPrivPassword)
snmpPrivPassword - the snmpPrivPassword to setpublic long getSnmpProxy()
public void setSnmpProxy(long snmpProxy)
snmpProxy - the snmpProxy to setpublic long getIcmpProxy()
public void setIcmpProxy(long icmpProxy)
icmpProxy - the icmpProxy to setpublic long[] getTrustedNodes()
public void setTrustedNodes(long[] trustedNodes)
trustedNodes - the trustedNodes to setpublic org.netxms.base.GeoLocation getGeolocation()
public void setGeolocation(org.netxms.base.GeoLocation geolocation)
geolocation - the geolocation to setpublic InetAddress getPrimaryIpAddress()
public void setPrimaryIpAddress(InetAddress primaryIpAddress)
primaryIpAddress - the primaryIpAddress to setpublic int getSnmpPort()
public void setSnmpPort(int snmpPort)
snmpPort - the snmpPort to setpublic MapLayoutAlgorithm getMapLayout()
public void setMapLayout(MapLayoutAlgorithm mapLayout)
mapLayout - the mapLayout to setpublic UUID getMapBackground()
public void setMapBackground(UUID mapBackground, org.netxms.base.GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor)
mapBackground - the mapBackground to setpublic Collection<NetworkMapElement> getMapElements()
public Collection<NetworkMapLink> getMapLinks()
public void setMapContent(Collection<NetworkMapElement> elements, Collection<NetworkMapLink> links)
elements - links - public UUID getImage()
public void setImage(UUID image)
image - the image to setpublic int getColumnCount()
public void setColumnCount(int columnCount)
columnCount - the columnCount to setpublic Collection<DashboardElement> getDashboardElements()
public void setDashboardElements(Collection<DashboardElement> dashboardElements)
dashboardElements - the dashboardElements to setpublic String getScript()
public void setScript(String script)
script - the script to setpublic int getActivationEvent()
public void setActivationEvent(int activationEvent)
activationEvent - the activationEvent to setpublic int getDeactivationEvent()
public void setDeactivationEvent(int deactivationEvent)
deactivationEvent - the deactivationEvent to setpublic long getSourceObject()
public void setSourceObject(long sourceObject)
sourceObject - the sourceObject to setpublic int getActiveStatus()
public void setActiveStatus(int activeStatus)
activeStatus - the activeStatus to setpublic int getInactiveStatus()
public void setInactiveStatus(int inactiveStatus)
inactiveStatus - the inactiveStatus to setpublic List<ConditionDciInfo> getDciList()
public void setDciList(List<ConditionDciInfo> dciList)
dciList - the dciList to setpublic long getSubmapId()
public void setSubmapId(long submapId)
submapId - the submapId to setpublic org.netxms.base.GeoLocation getMapBackgroundLocation()
public int getMapBackgroundZoom()
public long getPollerNode()
public void setPollerNode(long pollerNode)
pollerNode - the pollerNode to setpublic int getRequiredPolls()
public void setRequiredPolls(int requiredPolls)
requiredPolls - the requiredPolls to setpublic int getServiceType()
public void setServiceType(int serviceType)
serviceType - the serviceType to setpublic int getIpProtocol()
public void setIpProtocol(int ipProtocol)
ipProtocol - the ipProtocol to setpublic int getIpPort()
public void setIpPort(int ipPort)
ipPort - the ipPort to setpublic int getIpAddress()
public void setIpAddress(int ipAddress)
ipAddress - the ipAddress to setpublic String getRequest()
public void setRequest(String request)
request - the request to setpublic String getResponse()
public void setResponse(String response)
response - the response to setpublic int getObjectFlags()
public int getObjectFlagsMask()
public void setObjectFlags(int objectFlags)
nodeFlags - the nodeFlags to setpublic void setObjectFlags(int objectFlags,
int objectFlagsMask)
nodeFlags - the nodeFlags to setpublic int getIfXTablePolicy()
public void setIfXTablePolicy(int ifXTablePolicy)
ifXTablePolicy - the ifXTablePolicy to setpublic String getReportDefinition()
public void setReportDefinition(String reportDefinition)
reportDefinition - the reportDefinition to setpublic void setReportDefinition(File file) throws IOException, FileNotFoundException
file - file containing report definitionIOException - if file I/O error occursFileNotFoundException - if given file does not exist or inaccessiblepublic List<ClusterResource> getResourceList()
public void setResourceList(List<ClusterResource> resourceList)
resourceList - the resourceList to setpublic List<org.netxms.base.InetAddressEx> getNetworkList()
public void setNetworkList(List<org.netxms.base.InetAddressEx> networkList)
networkList - the networkList to setpublic String getPrimaryName()
public void setPrimaryName(String primaryName)
primaryName - the primaryName to setpublic int getStatusCalculationMethod()
public void setStatusCalculationMethod(int statusCalculationMethod)
statusCalculationMethod - the statusCalculationMethod to setpublic int getStatusPropagationMethod()
public void setStatusPropagationMethod(int statusPropagationMethod)
statusPropagationMethod - the statusPropagationMethod to setpublic ObjectStatus getFixedPropagatedStatus()
public void setFixedPropagatedStatus(ObjectStatus fixedPropagatedStatus)
fixedPropagatedStatus - the fixedPropagatedStatus to setpublic int getStatusShift()
public void setStatusShift(int statusShift)
statusShift - the statusShift to setpublic ObjectStatus[] getStatusTransformation()
public void setStatusTransformation(ObjectStatus[] statusTransformation)
statusTransformation - the statusTransformation to setpublic int getStatusSingleThreshold()
public void setStatusSingleThreshold(int statusSingleThreshold)
statusSingleThreshold - the statusSingleThreshold to setpublic int[] getStatusThresholds()
public void setStatusThresholds(int[] statusThresholds)
statusThresholds - the statusThresholds to setpublic int getExpectedState()
public void setExpectedState(int expectedState)
expectedState - the expectedState to setpublic int getLinkColor()
public void setLinkColor(int linkColor)
linkColor - the linkColor to setpublic int getConnectionRouting()
public void setConnectionRouting(int connectionRouting)
connectionRouting - the connectionRouting to setpublic int getMapBackgroundColor()
public final int getDiscoveryRadius()
public final void setDiscoveryRadius(int discoveryRadius)
discoveryRadius - the discoveryRadius to setpublic int getHeight()
public void setHeight(int height)
height - the height to setpublic String getFilter()
public void setFilter(String filter)
filter - the filter to setpublic long getPeerGatewayId()
public void setPeerGatewayId(long peerGatewayId)
peerGatewayId - the peerGatewayId to setpublic List<org.netxms.base.InetAddressEx> getLocalNetworks()
public List<org.netxms.base.InetAddressEx> getRemoteNetworks()
public void setVpnNetworks(List<org.netxms.base.InetAddressEx> localNetworks, List<org.netxms.base.InetAddressEx> remoteNetworks)
remoteNetworks - the remoteNetworks to setpublic org.netxms.base.PostalAddress getPostalAddress()
public void setPostalAddress(org.netxms.base.PostalAddress postalAddress)
postalAddress - the postalAddress to setpublic AgentCacheMode getAgentCacheMode()
public void setAgentCacheMode(AgentCacheMode agentCacheMode)
agentCacheMode - the agentCacheMode to setpublic MapObjectDisplayMode getMapObjectDisplayMode()
public void setMapObjectDisplayMode(MapObjectDisplayMode mapObjectDisplayMode)
mapObjectDisplayMode - the mapObjectDisplayMode to setpublic long getRackId()
public UUID getRackImage()
public short getRackPosition()
public short getRackHeight()
public void setRackPlacement(long rackId,
UUID rackImage,
short rackPosition,
short rackHeight)
rackId - rackImage - rackPosition - rackHeight - public Long[] getDashboards()
public void setDashboards(Long[] dashboards)
dashboards - the dashboards to setpublic boolean isRackNumberingTopBottom()
public void setRackNumberingTopBottom(boolean rackNumberingTopBottom)
rackNumberingTopBottom - the rackNumberingTopBottom to setCopyright © 2016. All rights reserved.