org.netxms.client.objecttools
Class ObjectToolDetails

java.lang.Object
  extended by org.netxms.client.objecttools.ObjectTool
      extended by org.netxms.client.objecttools.ObjectToolDetails

public class ObjectToolDetails
extends ObjectTool

Detailed information about object tool


Field Summary
 
Fields inherited from class org.netxms.client.objecttools.ObjectTool
ASK_CONFIRMATION, confirmationText, data, description, displayName, flags, GENERATES_OUTPUT, id, name, REQUIRES_AGENT, REQUIRES_OID_MATCH, REQUIRES_SNMP, SNMP_INDEXED_BY_VALUE, snmpOid, type, TYPE_ACTION, TYPE_FILE_DOWNLOAD, TYPE_INTERNAL, TYPE_LOCAL_COMMAND, TYPE_SERVER_COMMAND, TYPE_TABLE_AGENT, TYPE_TABLE_SNMP, TYPE_URL
 
Constructor Summary
ObjectToolDetails(long toolId, int type, java.lang.String name)
          Create new tool object
ObjectToolDetails(NXCPMessage msg)
          Create object tool from NXCP message containing detailed tool information.
 
Method Summary
 void fillMessage(NXCPMessage msg)
          Fill NXCP message with tool's data.
 java.util.List<java.lang.Long> getAccessList()
           
 java.util.List<ObjectToolTableColumn> getColumns()
           
 boolean isModified()
           
 void setAccessList(java.util.List<java.lang.Long> accessList)
           
 void setColumns(java.util.List<ObjectToolTableColumn> columns)
           
 void setConfirmationText(java.lang.String confirmationText)
           
 void setData(java.lang.String data)
           
 void setDescription(java.lang.String description)
           
 void setFlags(int flags)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setSnmpOid(java.lang.String snmpOid)
           
 void setType(int type)
           
 
Methods inherited from class org.netxms.client.objecttools.ObjectTool
createDisplayName, getConfirmationText, getData, getDescription, getDisplayName, getFlags, getId, getName, getSnmpOid, getType, isApplicableForNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectToolDetails

public ObjectToolDetails(long toolId,
                         int type,
                         java.lang.String name)
Create new tool object

Parameters:
toolId - tool id
type - tool type
name - tool name

ObjectToolDetails

public ObjectToolDetails(NXCPMessage msg)
Create object tool from NXCP message containing detailed tool information. Intended to be called only by NXCSession methods.

Parameters:
msg - NXCP message
Method Detail

fillMessage

public void fillMessage(NXCPMessage msg)
Fill NXCP message with tool's data.

Parameters:
msg - NXCP message

getAccessList

public java.util.List<java.lang.Long> getAccessList()
Returns:
the accessList

getColumns

public java.util.List<ObjectToolTableColumn> getColumns()
Returns:
the columns

setId

public void setId(long id)
Parameters:
id - the id to set

setName

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

setType

public void setType(int type)
Parameters:
type - the type to set

setFlags

public void setFlags(int flags)
Parameters:
flags - the flags to set

setDescription

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

setSnmpOid

public void setSnmpOid(java.lang.String snmpOid)
Parameters:
snmpOid - the snmpOid to set

setData

public void setData(java.lang.String data)
Parameters:
data - the data to set

setConfirmationText

public void setConfirmationText(java.lang.String confirmationText)
Parameters:
confirmationText - the confirmationText to set

isModified

public boolean isModified()
Returns:
the modified

setAccessList

public void setAccessList(java.util.List<java.lang.Long> accessList)
Parameters:
accessList - the accessList to set

setColumns

public void setColumns(java.util.List<ObjectToolTableColumn> columns)
Parameters:
columns - the columns to set


Copyright © 2012. All Rights Reserved.