Package org.netxms.client.objects
Class BaseBusinessService
java.lang.Object
org.netxms.client.objects.AbstractObject
org.netxms.client.objects.GenericObject
org.netxms.client.objects.BaseBusinessService
- All Implemented Interfaces:
- AutoBindDCIObject,- AutoBindObject,- PollingTarget
- Direct Known Subclasses:
- BusinessService,- BusinessServicePrototype
public class BaseBusinessService
extends GenericObject
implements AutoBindObject, AutoBindDCIObject, PollingTarget
Base class for business service objects
- 
Field SummaryFields inherited from class org.netxms.client.objects.AbstractObjectaccessList, 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.AutoBindDCIObjectDCI_BIND_FLAG, DCI_UNBIND_FLAGFields inherited from interface org.netxms.client.objects.interfaces.AutoBindObjectOBJECT_BIND_FLAG, OBJECT_UNBIND_FLAG
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.intintintgetFlags()Get object flags.intGet ifXTable usage policy.intlongGet poller node ID.Get poll states.Get all strings in objectbooleanbooleanbooleanbooleanMethods inherited from class org.netxms.client.objects.AbstractObjectaddString, 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, 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.Objectclone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.netxms.client.objects.interfaces.PollingTargetgetObjectId, getObjectName
- 
Constructor Details- 
BaseBusinessServiceConstructor- Parameters:
- msg- NXCPMessage with data
- session- NXCPSession
 
 
- 
- 
Method Details- 
getAutoBindFlagspublic int getAutoBindFlags()- Specified by:
- getAutoBindFlagsin interface- AutoBindObject
- Returns:
- auto bind flags
- See Also:
 
- 
isAutoBindEnabledpublic boolean isAutoBindEnabled()- Specified by:
- isAutoBindEnabledin interface- AutoBindObject
- Returns:
- true if automatic bind is enabled
- See Also:
 
- 
isAutoUnbindEnabledpublic boolean isAutoUnbindEnabled()- Specified by:
- isAutoUnbindEnabledin interface- AutoBindObject
- Returns:
- true if automatic unbind is enabled
- See Also:
 
- 
getAutoBindFilter- Specified by:
- getAutoBindFilterin interface- AutoBindObject
- Returns:
- Filter script for automatic bind
- See Also:
 
- 
isDciAutoBindEnabledpublic boolean isDciAutoBindEnabled()- Specified by:
- isDciAutoBindEnabledin interface- AutoBindDCIObject
- Returns:
- true if automatic bind is enabled
- See Also:
 
- 
isDciAutoUnbindEnabledpublic boolean isDciAutoUnbindEnabled()- Specified by:
- isDciAutoUnbindEnabledin interface- AutoBindDCIObject
- Returns:
- true if automatic unbind is enabled
- See Also:
 
- 
getDciAutoBindFilter- Specified by:
- getDciAutoBindFilterin interface- AutoBindDCIObject
- Returns:
- Filter script for automatic bind
- See Also:
 
- 
getIfXTablePolicypublic int getIfXTablePolicy()Description copied from interface:PollingTargetGet ifXTable usage policy.- Specified by:
- getIfXTablePolicyin interface- PollingTarget
- Returns:
- ifXTable usage policy
- See Also:
 
- 
getAgentCacheModeDescription copied from interface:PollingTargetGet agent cache mode.- Specified by:
- getAgentCacheModein interface- PollingTarget
- Returns:
- agent cache mode
- See Also:
 
- 
getFlagspublic int getFlags()Description copied from interface:PollingTargetGet object flags.- Specified by:
- getFlagsin interface- PollingTarget
- Returns:
- object flags
- See Also:
 
- 
getPollerNodeIdpublic long getPollerNodeId()Description copied from interface:PollingTargetGet poller node ID.- Specified by:
- getPollerNodeIdin interface- PollingTarget
- Returns:
- poller node ID or 0 if object cannot have poler node
- See Also:
 
- 
canHaveAgentpublic boolean canHaveAgent()Description copied from interface:PollingTargetIdentify if this object can have NetXMS agent.- Specified by:
- canHaveAgentin interface- PollingTarget
- Returns:
- true if this object can have NetXMS agent
- See Also:
 
- 
canHaveInterfacespublic boolean canHaveInterfaces()Description copied from interface:PollingTargetIdentify if this object can have network interfaces.- Specified by:
- canHaveInterfacesin interface- PollingTarget
- Returns:
- true if this object can have network interfaces
- See Also:
 
- 
canHavePollerNodepublic boolean canHavePollerNode()Description copied from interface:PollingTargetIdentify if this object can have poller node property.- Specified by:
- canHavePollerNodein interface- PollingTarget
- Returns:
- true if this object can have poller node property
- See Also:
 
- 
canUseEtherNetIPpublic boolean canUseEtherNetIP()Description copied from interface:PollingTargetIdentify if this object can use EtherNet/IP for communications.- Specified by:
- canUseEtherNetIPin interface- PollingTarget
- Returns:
- true if this object can use EtherNet/IP for communications
- See Also:
 
- 
canUseModbuspublic boolean canUseModbus()Description copied from interface:PollingTargetIdentify if this object can use Modbus for communications.- Specified by:
- canUseModbusin interface- PollingTarget
- Returns:
- true if this object can use Modbus for communications
- See Also:
 
- 
getDciStatusThresholdpublic int getDciStatusThreshold()- Returns:
- the dciStatusThreshold
 
- 
getObjectStatusThresholdpublic int getObjectStatusThreshold()- Returns:
- the nodeStatusThreshold
 
- 
getStringsDescription copied from class:AbstractObjectGet all strings in object- Overrides:
- getStringsin class- AbstractObject
- Returns:
- set of all strings in object
- See Also:
 
- 
getPollStatesDescription copied from interface:PollingTargetGet poll states.- Specified by:
- getPollStatesin interface- PollingTarget
- Returns:
- array of poll states or null if object doesn't have any
- See Also:
 
 
-