@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class DeviceFunctions extends Resource
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
DeviceFunctions() |
Modifier and Type | Method and Description |
---|---|
InfoTable |
GetBoundRemoteThings(java.lang.Double maxItems)
Service Category: Bindings
Service Description: Get bound remote things.
|
InfoTable |
GetBoundThingsForFederatedServer(java.lang.String name,
java.lang.Double maxItems)
Service Category: Federation
Service Description: Get bound federated things.
|
InfoTable |
GetUnboundIdentifiers(java.lang.Double maxItems)
Service Category: Bindings
Service Description: Get unbound identifiers.
|
InfoTable |
GetUnboundRemoteThings(java.lang.Double maxItems)
Service Category: Bindings
Service Description: Get unbound remote things.
|
InfoTable |
GetUnboundThingsForFederatedServer(java.lang.String name,
java.lang.Double maxItems)
Service Category: Federation
Service Description: Get unbound federated things.
|
InfoTable |
SearchDevices(org.json.JSONObject query,
java.lang.String nameMask,
java.lang.String thingShape,
java.lang.String thingTemplate,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Retrieve a list of Devices that match the options specified.
|
getEntityType
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequest
AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfiguration
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, hasID
getDescription, getName
getID, getName
@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchDevices(org.json.JSONObject query, java.lang.String nameMask, java.lang.String thingShape, java.lang.String thingTemplate, java.lang.Double maxItems) throws java.lang.Exception
query
- Query definition - QUERYnameMask
- Name pattern - STRINGthingShape
- Filter only for devices that implement this shape - THINGSHAPENAMEthingTemplate
- Filter only for devices that are derived from this template - THINGTEMPLATENAMEmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetUnboundRemoteThings(java.lang.Double maxItems) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetUnboundIdentifiers(java.lang.Double maxItems) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetBoundRemoteThings(java.lang.Double maxItems) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetUnboundThingsForFederatedServer(java.lang.String name, java.lang.Double maxItems) throws java.lang.Exception
name
- Federated server name - THINGNAMEmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetBoundThingsForFederatedServer(java.lang.String name, java.lang.Double maxItems) throws java.lang.Exception
name
- Federated server name - THINGNAMEmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs