Package org.netxms.client.objects
Class DashboardBase
java.lang.Object
org.netxms.client.objects.AbstractObject
org.netxms.client.objects.GenericObject
org.netxms.client.objects.DashboardBase
- All Implemented Interfaces:
AutoBindObject,PollingTarget
- Direct Known Subclasses:
Dashboard,DashboardTemplate
Base interface for dashboard objects
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class org.netxms.client.objects.AbstractObject
accessList, alias, assetId, ASSETS, backupZoneProxyId, BUSINESSSERVICEROOT, CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, categoryId, children, comments, commentsSource, CONTEXT, creationTime, customAttributes, DASHBOARDROOT, dashboards, drillDownObjectId, fixedPropagatedStatus, flags, geolocation, guid, inheritAccessRights, inMaintenanceMode, isDeleted, maintenanceInitiatorId, mapImage, MARKDOWN_COMMENTS_INDICATOR, moduleData, nameOnMap, NETWORK, NETWORKMAPROOT, OBJECT_ACCESSPOINT, OBJECT_ASSET, OBJECT_ASSETGROUP, OBJECT_ASSETROOT, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEPROTOTYPE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CHASSIS, OBJECT_CIRCUIT, OBJECT_CLUSTER, OBJECT_COLLECTOR, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_CUSTOM, OBJECT_DASHBOARD, OBJECT_DASHBOARDGROUP, OBJECT_DASHBOARDROOT, OBJECT_DASHBOARDTEMPLATE, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_MOBILEDEVICE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_RACK, OBJECT_SENSOR, OBJECT_SERVICEROOT, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_WIRELESSDOMAIN, OBJECT_ZONE, objectClass, objectId, objectName, parents, partialObject, pollStates, postalAddress, primaryZoneProxyId, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, responsibleUsers, SERVICEROOT, session, status, statusCalculationMethod, statusPropagationMethod, statusShift, statusSingleThreshold, statusThresholds, statusTransformation, TEMPLATEROOT, trustedObjects, UNKNOWN, urls, ZONE0Fields inherited from interface org.netxms.client.objects.interfaces.AutoBindObject
OBJECT_BIND_FLAG, OBJECT_UNBIND_FLAG -
Constructor Summary
ConstructorsConstructorDescriptionDashboardBase(NXCPMessage msg, NXCSession session) Create from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentify if this object can have NetXMS agent.booleanIdentify if this object can have network interfaces.booleanIdentify if this object can have poller node property.booleanIdentify if this object can use EtherNet/IP for communications.booleanIdentify if this object can use Modbus for communications.Get agent cache mode.intintgetFlags()Get object flags.intGet ifXTable usage policy.intlongGet poller node ID.Get poll states.booleanbooleanbooleanCheck if "scrollable" flag is set for this dashboard.booleanCheck if "show as object view" flag is set for this dashboard.Methods inherited from class org.netxms.client.objects.AbstractObject
addString, areChildrenSynchronized, getAccessList, getAlias, getAllChildren, getAllChildren, getAllParents, getAllParents, getAssetId, getBackupZoneProxyId, getCategory, getCategoryId, getChildCount, getChildIdList, getChildren, getChildrenAsArray, getComments, getCommentsSource, getConfiguredNameOnMap, getCreationTime, getCustomAttribute, getCustomAttributes, getCustomAttributeValue, getCustomAttributeValueAsBoolean, getDashboardIdentifiers, getDashboards, getDrillDownObjectId, getEffectiveRights, getFixedPropagatedStatus, getGeolocation, getGuid, getIcon, getMaintenanceInitiatorId, getMapImage, getModuleData, getNameOnMap, getNameWithAlias, getNetworkMaps, getObjectClass, getObjectClassName, getObjectId, getObjectName, getObjectNameWithPath, getParentChain, getParentCount, getParentIdList, getParents, getParentsAsArray, getPostalAddress, getPrimaryZoneProxyId, getResponsibleUsers, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getStrings, getTrustedObjects, getUrls, hasAccessibleChildren, hasAccessibleParents, hasAccessibleViewParents, hasChildren, hasCustomAttribute, hasDashboard, hashCode, hasNetworkMap, hasParents, hasUrls, isAlarmsVisible, isAllowedOnMap, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isDirectParentOf, isInheritAccessRights, isInMaintenanceMode, isParentOf, isParentOf, isPartialObject, setSessionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.netxms.client.objects.interfaces.PollingTarget
getObjectId, getObjectName
-
Field Details
-
SHOW_AS_OBJECT_VIEW
public static final int SHOW_AS_OBJECT_VIEW- See Also:
-
SCROLLABLE
public static final int SCROLLABLE- See Also:
-
SHOW_CONTEXT_SELECTOR
public static final int SHOW_CONTEXT_SELECTOR- See Also:
-
-
Constructor Details
-
DashboardBase
Create from NXCP message.- Parameters:
msg- NXCP messagesession- owning client session
-
-
Method Details
-
getNumColumns
public int getNumColumns()- Returns:
- the numColumns
-
isScrollable
public boolean isScrollable()Check if "scrollable" flag is set for this dashboard.- Returns:
- true if "scrollable" flag is set for this dashboard
-
isShowContentSelector
public boolean isShowContentSelector()Check if "show as object view" flag is set for this dashboard.- Returns:
- true if "show as object view" flag is set for this dashboard
-
getElements
- Returns:
- the elements
-
isAutoBindEnabled
public boolean isAutoBindEnabled()- Specified by:
isAutoBindEnabledin interfaceAutoBindObject- Returns:
- true if automatic bind is enabled
- See Also:
-
isAutoUnbindEnabled
public boolean isAutoUnbindEnabled()- Specified by:
isAutoUnbindEnabledin interfaceAutoBindObject- Returns:
- true if automatic unbind is enabled
- See Also:
-
getAutoBindFilter
- Specified by:
getAutoBindFilterin interfaceAutoBindObject- Returns:
- Filter script for automatic bind
- See Also:
-
getAutoBindFlags
public int getAutoBindFlags()- Specified by:
getAutoBindFlagsin interfaceAutoBindObject- Returns:
- auto bind flags
- See Also:
-
getFlags
public int getFlags()Description copied from interface:PollingTargetGet object flags.- Specified by:
getFlagsin interfacePollingTarget- Returns:
- object flags
- See Also:
-
getIfXTablePolicy
public int getIfXTablePolicy()Description copied from interface:PollingTargetGet ifXTable usage policy.- Specified by:
getIfXTablePolicyin interfacePollingTarget- Returns:
- ifXTable usage policy
- See Also:
-
getAgentCacheMode
Description copied from interface:PollingTargetGet agent cache mode.- Specified by:
getAgentCacheModein interfacePollingTarget- Returns:
- agent cache mode
- See Also:
-
getPollerNodeId
public long getPollerNodeId()Description copied from interface:PollingTargetGet poller node ID.- Specified by:
getPollerNodeIdin interfacePollingTarget- Returns:
- poller node ID or 0 if object cannot have poler node
- See Also:
-
canHaveAgent
public boolean canHaveAgent()Description copied from interface:PollingTargetIdentify if this object can have NetXMS agent.- Specified by:
canHaveAgentin interfacePollingTarget- Returns:
- true if this object can have NetXMS agent
- See Also:
-
canHaveInterfaces
public boolean canHaveInterfaces()Description copied from interface:PollingTargetIdentify if this object can have network interfaces.- Specified by:
canHaveInterfacesin interfacePollingTarget- Returns:
- true if this object can have network interfaces
- See Also:
-
canHavePollerNode
public boolean canHavePollerNode()Description copied from interface:PollingTargetIdentify if this object can have poller node property.- Specified by:
canHavePollerNodein interfacePollingTarget- Returns:
- true if this object can have poller node property
- See Also:
-
canUseEtherNetIP
public boolean canUseEtherNetIP()Description copied from interface:PollingTargetIdentify if this object can use EtherNet/IP for communications.- Specified by:
canUseEtherNetIPin interfacePollingTarget- Returns:
- true if this object can use EtherNet/IP for communications
- See Also:
-
canUseModbus
public boolean canUseModbus()Description copied from interface:PollingTargetIdentify if this object can use Modbus for communications.- Specified by:
canUseModbusin interfacePollingTarget- Returns:
- true if this object can use Modbus for communications
- See Also:
-
getPollStates
Description copied from interface:PollingTargetGet poll states.- Specified by:
getPollStatesin interfacePollingTarget- Returns:
- array of poll states or null if object doesn't have any
- See Also:
-