@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class ThingTemplate extends ServiceProviderEntity implements IRunTimeSecurable, IInstanceSecurable, IImplementableEntity, IEventMetadataProvider, IServiceMetadataProvider, IShapeProvider, IAlertProvider, IHierarchicalEntity
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
ThingTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
AddEventDefinition(java.lang.String name,
java.lang.String description,
java.lang.String category,
java.lang.String dataShape,
java.lang.Boolean remote,
java.lang.String remoteEventName)
Service Category: Metadata
Service Description: Add or update an event definition.
|
void |
addInstanceDesignTimePermission(PermissionTypes permissionType,
Permission permission) |
void |
AddInstanceDesignTimePermission(java.lang.String type,
java.lang.String principal,
java.lang.String principalType,
java.lang.Boolean allow)
Service Category: Permissions
Service Description: Add an instance design time permission.
|
void |
addInstanceRunTimePermission(PermissionTypes permissionType,
java.lang.String resourceName,
Permission permission) |
void |
AddInstanceRunTimePermission(java.lang.String type,
java.lang.String resource,
java.lang.String principal,
java.lang.String principalType,
java.lang.Boolean allow)
Service Category: Permissions
Service Description: Add an instance run time permission.
|
void |
addInstanceVisibilityPermission(PermissionTypes permissionType,
Permission permission) |
void |
AddInstanceVisibilityPermission(java.lang.String principal,
java.lang.String principalType)
Service Category: Permissions
Service Description: Add a visibility permission.
|
void |
AddOrUpdateAlert(java.lang.String property,
java.lang.String alertType,
java.lang.String alertName,
java.lang.String description,
java.lang.Boolean enabled,
java.lang.Integer priority,
InfoTable attributes,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Add or update an alert for a property.
|
void |
AddPropertyDefinition(java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String category,
java.lang.String dataShape,
java.lang.Boolean readOnly,
java.lang.Boolean persistent,
java.lang.Boolean logged,
java.lang.String dataChangeType,
java.lang.Double dataChangeThreshold,
java.lang.Boolean remote,
java.lang.String remotePropertyName,
java.lang.Integer timeout,
java.lang.String pushType,
java.lang.Double pushThreshold,
java.lang.String defaultValue)
Deprecated.
As of release 8.0, replaced by AddPropertyDefinition(String, String, String, String, String, Boolean, Boolean, Boolean,
String, Double, Boolean, String, Integer, String, Double, String, JSONObject)
|
void |
AddPropertyDefinition(java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String category,
java.lang.String dataShape,
java.lang.Boolean readOnly,
java.lang.Boolean persistent,
java.lang.Boolean logged,
java.lang.String dataChangeType,
java.lang.Double dataChangeThreshold,
java.lang.Boolean remote,
java.lang.String remotePropertyName,
java.lang.Integer timeout,
java.lang.String pushType,
java.lang.Double pushThreshold,
java.lang.String defaultValue,
org.json.JSONObject remoteBindingAspects)
Service Category: Metadata
Service Description: Add a property definition.
|
InfoTable |
AddPropertyDefinitions(InfoTable values,
java.lang.Boolean ignoreInvalidDefinitions)
Service Category: Metadata
Service Description: Add multiple property definitions at once.
|
void |
AddPropertyTransformDefinition(java.lang.String name,
java.lang.String description,
java.lang.String category,
java.lang.Boolean persistent,
java.lang.Boolean logged,
java.lang.Integer timeout,
InfoTable propertyTransformConfig)
Service Category: Metadata
Service Description: Add a property transform definition.
|
void |
AddServiceDefinition(java.lang.String name,
java.lang.String description,
java.lang.String category,
InfoTable parameters,
InfoTable resultType,
java.lang.Boolean remote,
java.lang.String remoteServiceName,
java.lang.Integer timeout)
Service Category: Metadata
Service Description: Add or update a service definition.
|
void |
DeleteAllSharedConfigurationTableRows(java.lang.String tableName,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Delete all rows from a shared multi-row configuration table.
|
void |
deleteInstanceDesignTimePermission(PermissionTypes permissionType,
Permission permission) |
void |
DeleteInstanceDesignTimePermission(java.lang.String type,
java.lang.String principal,
java.lang.String principalType)
Service Category: Permissions
Service Description: Delete an instance design time permission.
|
void |
deleteInstanceRunTimePermission(PermissionTypes permissionType,
java.lang.String resourceName,
Permission permission) |
void |
DeleteInstanceRunTimePermission(java.lang.String type,
java.lang.String resource,
java.lang.String principal,
java.lang.String principalType)
Service Category: Permissions
Service Description: Delete an instance run time permission.
|
void |
deleteInstanceVisibilityPermission(PermissionTypes permissionType,
Permission permission) |
void |
DeleteInstanceVisibilityPermission(java.lang.String principal,
java.lang.String principalType)
Service Category: Permissions
Service Description: Delete a visibility permission.
|
void |
DeleteSharedConfigurationTable(java.lang.String tableName,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Delete an entire shared configuration table.
|
void |
DeleteSharedConfigurationTableRows(java.lang.String tableName,
InfoTable values,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Delete one or more rows from a shared multi-row configuration table.
|
void |
DisableSubscription(java.lang.String thingName,
java.lang.String eventName,
java.lang.String propertyName)
Service Category: Subscriptions
Service Description: Disable Subscription.
|
void |
EnableSubscription(java.lang.String thingName,
java.lang.String eventName,
java.lang.String propertyName)
Service Category: Subscriptions
Service Description: Enable Subscription.
|
AlertConfigurationCollection |
getAlertConfigurations() |
InfoTable |
GetAlertDefinition(java.lang.String property,
java.lang.String alertName)
Service Category: Alerts
Service Description: Get alert definition for a property.
|
InfoTable |
GetAlertDefinitions(java.lang.String property)
Service Category: Alerts
Service Description: Get effective alert definitions for a property.
|
EntityReferenceCollection |
getAllImplementedThingTemplates() |
ImagePrimitive |
GetAvatar()
Service Category: Avatar
Service Description: Get avatar image.
|
ThingTemplate |
getBaseThingTemplate() |
java.lang.String |
GetBaseThingTemplate()
Service Category: Template
Service Description: Get base thing template name.
|
java.lang.String |
getBaseThingTemplateName() |
java.lang.Boolean |
GetBooleanAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a boolean alert parameter.
|
org.joda.time.DateTime |
GetDateTimeAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a date alert parameter.
|
EntityReferenceTypeMap |
getDependencies() |
ThingTemplate |
getDerivedBaseThingTemplate() |
AlertConfigurationCollection |
getEffectiveAlertConfiguration() |
EventDefinition |
getEffectiveEventDefinition(java.lang.String eventName) |
InfoTable |
GetEffectiveLocalPropertyBinding(java.lang.String propertyName)
Service Category: Bindings
Service Description: Get the effective local property binding for a property.
Get the effective (inherited and local) property binding for a property |
InfoTable |
GetEffectiveLocalPropertyBindings()
Service Category: Bindings
Service Description: Get the effective local property bindings.
Get all effective (inherited and local) property bindings for this thing |
PropertyDefinition |
getEffectivePropertyDefinition(java.lang.String propertyName) |
ServiceDefinition |
getEffectiveServiceDefinition(java.lang.String serviceName) |
java.lang.String |
GetEffectiveThingPackageName()
Service Category: Metadata
Service Description: Get effective thing package.
|
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
java.lang.String |
GetHomeMashup()
Service Category: Mashups
Service Description: Get home mashup.
|
EntityReferenceTypeMap |
getImplementations() |
EntityReferenceCollection |
getImplementedThingShapes() |
InfoTable |
GetImplementingThings()
Service Category: Queries
Service Description: Return a list of all the things that implement this template.
|
InfoTable |
GetImplementingThingsWithData()
Service Category: Queries
Service Description: Return a list of all the things that implement this template along with the thing properties and values.
|
DesignTimePermissionCollection |
getInstanceDesignTimePermissions() |
InfoTable |
GetInstanceDesignTimePermissions()
Service Category: Permissions
Service Description: Get a list of assigned instance design time permissions.
|
org.json.JSONObject |
GetInstanceDesignTimePermissionsAsJSON()
Service Category: Permissions
Service Description: Get a list of instance design time permissions.
|
InfoTable |
GetInstanceEventDefinitions()
Service Category: Metadata
Service Description: Get the current event definitions for this thing.
|
InfoTable |
GetInstancePropertyDefinitions(java.lang.String type)
Service Category: Metadata
Service Description: Get the current property definitions for this thing.
|
RunTimePermissionCollection |
getInstanceRunTimePermissions() |
InfoTable |
GetInstanceRunTimePermissions()
Service Category: Permissions
Service Description: Get a list of assigned instance runtime permissions.
|
org.json.JSONObject |
GetInstanceRunTimePermissionsAsJSON()
Service Category: Permissions
Service Description: Get a list of assigned runtime permissions.
|
InfoTable |
GetInstanceServiceDefinitions()
Service Category: Metadata
Service Description: Get the current service definitions for this thing.
|
ThingShapeInstance |
getInstanceShape() |
VisibilityPermissionCollection |
getInstanceVisibilityPermissions() |
InfoTable |
GetInstanceVisibilityPermissions()
Service Category: Permissions
Service Description: Get a list of assigned visibility permissions.
|
org.json.JSONObject |
GetInstanceVisibilityPermissionsAsJSON()
Service Category: Permissions
Service Description: Get a list of instance visibility permissions.
|
java.lang.Integer |
GetIntegerAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a numeric alert parameter.
|
InfoTable |
GetLocalAlertDefinitions(java.lang.String property)
Service Category: Alerts
Service Description: Get local alert definitions for a property.
|
InfoTable |
GetLocalPropertyBinding(java.lang.String propertyName)
Service Category: Bindings
Service Description: Get the property binding for a property.
|
Location |
GetLocationAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a location alert parameter.
|
InfoTable |
GetLoggedProperties(java.lang.String type)
Service Category: Metadata
Service Description: Get a list of logged properties for this thing.
|
java.lang.Long |
GetLongAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a numeric alert parameter.
|
EntityReferenceCollection |
getMashups() |
InfoTable |
GetMashups()
Service Category: Mashups
Service Description: Get the mashups related to this thing template.
|
java.lang.Double |
GetNumberAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName)
Service Category: Alerts
Service Description: Get a numeric alert parameter.
|
InfoTable |
GetNumericLoggedProperties()
Service Category: Metadata
Service Description: Get a list of logged properties for this thing that are of a numeric data type.
|
java.lang.Boolean |
GetPropertyLogging(java.lang.String propertyName)
Service Category: DataLogging
Service Description: Get property logging status for a specific property.
|
InfoTable |
GetRemoteEventBinding(java.lang.String eventName)
Service Category: Bindings
Service Description: Get the remote event binding for a event.
|
InfoTable |
GetRemotePropertyBinding(java.lang.String propertyName)
Service Category: Bindings
Service Description: Get the remote property binding for a property.
|
InfoTable |
GetRemoteServiceBinding(java.lang.String serviceName)
Service Category: Bindings
Service Description: Get the remote service binding for a service.
|
InfoTable |
GetSharedConfigurationTable(java.lang.String tableName)
Service Category: Configuration
Service Description: Get a specific shared configuration table as an InfoTable.
|
InfoTable |
GetSharedConfigurationTableRow(java.lang.String tableName,
java.lang.String key)
Service Category: Configuration
Service Description: Get a specific shared configuration table row as an InfoTable.
|
java.lang.String |
GetValueStream()
Service Category: DataLogging
Service Description: Get the identifier for a thing.
|
java.lang.Boolean |
HasAlert(java.lang.String property,
java.lang.String alertName)
Service Category: Alerts
Service Description: Check to see if an alert is defined for a property.
|
boolean |
implementsShape(java.lang.String thingShape) |
java.lang.Boolean |
IsDerivedFromTemplate(java.lang.String thingTemplateName)
Service Category: Metadata
Service Description: Check to see if a thing is derived from a particular thing template.
|
java.lang.Boolean |
IsSharedMultiRowTable(java.lang.String tableName)
Service Category: Configuration
Service Description: Check if a shared configuration table is a multi-row table.
|
void |
persistInstanceDesignTimePermissions() |
void |
persistInstanceRunTimePermissions() |
void |
persistInstanceVisibilityPermissions() |
InfoTable |
QueryImplementingThings(java.lang.Double maxItems,
TagCollection tags,
java.lang.String nameMask,
org.json.JSONObject query)
Service Category: Queries
Service Description: Return a list of all the things that implement this template.
|
InfoTable |
QueryImplementingThingsWithData(java.lang.Double maxItems,
TagCollection tags,
java.lang.String nameMask,
org.json.JSONObject query)
Service Category: Queries
Service Description: Return a list of all the things that implement this template along with the thing properties and values.
|
InfoTable |
QueryImplementingThingsWithNamedData(java.lang.Double maxItems,
TagCollection tags,
java.lang.String nameMask,
org.json.JSONObject query,
InfoTable basicPropertyNames,
InfoTable propertyNames)
Service Category: Queries
Service Description: Return a list of all the things that implement this template along with the specified thing properties and values.
|
InfoTable |
QueryImplementingThingsWithNamedPropertyHistory(InfoTable propertyNames,
java.lang.Double maxItems,
TagCollection tags,
java.lang.String nameMask,
org.json.JSONObject query,
java.lang.Double maxDataItems,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean oldestFirst,
org.json.JSONObject dataQuery)
Service Category: Queries
Service Description: Return a list of all the things that implement this template along with the thing property history.
|
InfoTable |
QueryImplementingThingsWithPropertyHistory(java.lang.Double maxItems,
TagCollection tags,
java.lang.String nameMask,
org.json.JSONObject query,
java.lang.Double maxDataItems,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean oldestFirst,
org.json.JSONObject dataQuery)
Service Category: Queries
Service Description: Return a list of all the things that implement this template along with the thing property history.
|
void |
RemoveAlert(java.lang.String property,
java.lang.String alertName,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Remove an alert for a property.
|
void |
RemoveEventDefinition(java.lang.String name)
Service Category: Metadata
Service Description: Remove a event definition.
|
void |
RemoveLocalPropertyBinding(java.lang.String propertyName)
Service Category: Bindings
Service Description: Remove the local property binding for a property.
|
void |
RemovePropertyDefinition(java.lang.String name)
Service Category: Metadata
Service Description: Remove a property definition.
|
void |
RemoveRemoteEventBinding(java.lang.String eventName)
Service Category: Bindings
Service Description: Remove the remote event binding for a event.
|
void |
RemoveRemotePropertyBinding(java.lang.String propertyName)
Service Category: Bindings
Service Description: Remove the remote property binding for a property.
|
void |
RemoveRemoteServiceBinding(java.lang.String serviceName)
Service Category: Bindings
Service Description: Remove the remote service binding for a service.
|
void |
RemoveServiceDefinition(java.lang.String name)
Service Category: Metadata
Service Description: Remove a service definition.
|
void |
setBaseThingTemplateName(java.lang.String value) |
void |
SetBooleanAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
java.lang.Boolean value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a boolean alert parameter.
|
void |
SetDateTimeAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
org.joda.time.DateTime value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a date alert parameter.
|
void |
setImplementedThingShapes(EntityReferenceCollection value) |
void |
setInstanceDesignTimePermissions(DesignTimePermissionCollection value) |
void |
SetInstanceDesignTimePermissionsAsJSON(org.json.JSONObject permissions)
Service Category: Permissions
Service Description: Set a list of instance design time permissions.
|
void |
setInstanceRunTimePermissions(RunTimePermissionCollection value) |
void |
SetInstanceRunTimePermissionsAsJSON(org.json.JSONObject permissions)
Service Category: Permissions
Service Description: Set a list of assigned runtime permissions.
|
void |
setInstanceVisibilityPermissions(VisibilityPermissionCollection value) |
void |
SetInstanceVisibilityPermissionsAsJSON(org.json.JSONObject permissions)
Service Category: Permissions
Service Description: Set a list of instance visibility permissions.
|
void |
SetIntegerAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
java.lang.Integer value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a numeric alert parameter.
|
void |
SetLocalPropertyBinding(java.lang.String propertyName,
java.lang.String sourceThingName,
java.lang.String sourcePropertyName)
Deprecated.
As of release 8.1.0, replaced by
SetLocalPropertyBinding(String, String, String, JSONObject) |
void |
SetLocalPropertyBinding(java.lang.String propertyName,
java.lang.String sourceThingName,
java.lang.String sourcePropertyName,
org.json.JSONObject aspects)
Service Category: Bindings
Service Description: Set the property binding for a property.
|
void |
SetLocationAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
Location value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a location alert parameter.
|
void |
SetNumberAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
java.lang.Double value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a numeric alert parameter.
|
void |
SetPropertyLogging(java.lang.String propertyName,
java.lang.Boolean enabled)
Service Category: DataLogging
Service Description: Set property logging status for a specific property.
|
void |
SetRemoteEventBinding(java.lang.String eventName,
java.lang.String sourceEventName)
Service Category: Bindings
Service Description: Set the remote event binding for a event.
|
void |
SetRemotePropertyBinding(java.lang.String propertyName,
java.lang.String sourcePropertyName,
java.lang.Integer timeout,
java.lang.String pushType,
java.lang.Double pushThreshold)
Deprecated.
As of release 8.0.0, replaced by
SetRemotePropertyBinding(String, String, Integer, String, Double, JSONObject, Integer, String) |
void |
SetRemotePropertyBinding(java.lang.String propertyName,
java.lang.String sourcePropertyName,
java.lang.Integer timeout,
java.lang.String pushType,
java.lang.Double pushThreshold,
org.json.JSONObject aspects,
java.lang.Integer cacheTime,
java.lang.String foldType)
Service Category: Bindings
Service Description: Set the remote property binding for a property.
|
void |
SetRemoteServiceBinding(java.lang.String serviceName,
java.lang.String sourceServiceName,
java.lang.Integer timeout)
Service Category: Bindings
Service Description: Set the remote service binding for a service.
|
void |
SetSharedConfigurationTable(java.lang.String tableName,
InfoTable configurationTable,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Set an entire shared configuration table.
|
void |
SetSharedConfigurationTableRows(java.lang.String tableName,
InfoTable values,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Update/add one or more rows in a shared multi-row configuration table.
|
void |
SetSharedMultiRowConfigurationTable(java.lang.String tableName,
InfoTable configurationTable,
java.lang.Boolean persistent)
Service Category: Configuration
Service Description: Set an entire shared multi-row configuration table.
|
void |
SetStringAlertParameter(java.lang.String property,
java.lang.String alertName,
java.lang.String parameterName,
java.lang.String value,
java.lang.Boolean persistent)
Service Category: Alerts
Service Description: Set a string alert parameter.
|
void |
SetUnitsForNumericPropertyDefinition(java.lang.String propertyName,
java.lang.String units)
Service Category: Metadata
Service Description: Set the additional information for units for a specific Long, Integer, or Number property.
|
void |
SetValueStream(java.lang.String name)
Service Category: DataLogging
Service Description: Set the value stream for a thing.
|
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, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, 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
addRunTimePermission, deleteRunTimePermission, getRunTimePermissions, persistRunTimePermissions, setRunTimePermissions
getID, getName, getOwner, isOwner
getName
getID, hasID
getDescription
@ThingworxExtensionApiMethod(since={6,6}) public AlertConfigurationCollection getAlertConfigurations()
getAlertConfigurations
in interface IAlertProvider
@ThingworxExtensionApiMethod(since={6,6}) public AlertConfigurationCollection getEffectiveAlertConfiguration()
getEffectiveAlertConfiguration
in interface IAlertProvider
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetBaseThingTemplate()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getBaseThingTemplateName()
@ThingworxExtensionApiMethod(since={6,6}) public void setBaseThingTemplateName(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) public DesignTimePermissionCollection getInstanceDesignTimePermissions()
getInstanceDesignTimePermissions
in interface IInstanceDesignTimeSecurable
@ThingworxExtensionApiMethod(since={6,6}) public void setInstanceDesignTimePermissions(DesignTimePermissionCollection value)
setInstanceDesignTimePermissions
in interface IInstanceDesignTimeSecurable
@ThingworxExtensionApiMethod(since={6,6}) public void addInstanceDesignTimePermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
addInstanceDesignTimePermission
in interface IInstanceDesignTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void deleteInstanceDesignTimePermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
deleteInstanceDesignTimePermission
in interface IInstanceDesignTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public VisibilityPermissionCollection getInstanceVisibilityPermissions()
getInstanceVisibilityPermissions
in interface IInstanceVisibilitySecurable
@ThingworxExtensionApiMethod(since={6,6}) public void setInstanceVisibilityPermissions(VisibilityPermissionCollection value)
setInstanceVisibilityPermissions
in interface IInstanceVisibilitySecurable
@ThingworxExtensionApiMethod(since={6,6}) public void addInstanceVisibilityPermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
addInstanceVisibilityPermission
in interface IInstanceVisibilitySecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void deleteInstanceVisibilityPermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
deleteInstanceVisibilityPermission
in interface IInstanceVisibilitySecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RunTimePermissionCollection getInstanceRunTimePermissions()
getInstanceRunTimePermissions
in interface IInstanceRunTimeSecurable
@ThingworxExtensionApiMethod(since={6,6}) public void setInstanceRunTimePermissions(RunTimePermissionCollection value)
setInstanceRunTimePermissions
in interface IInstanceRunTimeSecurable
@ThingworxExtensionApiMethod(since={6,6}) public void addInstanceRunTimePermission(PermissionTypes permissionType, java.lang.String resourceName, Permission permission) throws java.lang.Exception
addInstanceRunTimePermission
in interface IInstanceRunTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void deleteInstanceRunTimePermission(PermissionTypes permissionType, java.lang.String resourceName, Permission permission) throws java.lang.Exception
deleteInstanceRunTimePermission
in interface IInstanceRunTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddInstanceRunTimePermission(java.lang.String type, java.lang.String resource, java.lang.String principal, java.lang.String principalType, java.lang.Boolean allow) throws java.lang.Exception
type
- Permission type (PropertyRead PropertyWrite ServiceInvoke EventInvoke EventSubscribe) - STRINGresource
- Resource name (* = all or enter a specific resource to override) - STRINGprincipal
- Principal name (name of user or group) - STRINGprincipalType
- Principal type (User or Group) - STRINGallow
- Permission (true = allow, false = deny) - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteInstanceRunTimePermission(java.lang.String type, java.lang.String resource, java.lang.String principal, java.lang.String principalType) throws java.lang.Exception
type
- Permission type - STRINGresource
- Resource name - STRINGprincipal
- Principal name (name of user or group) - STRINGprincipalType
- Principal type (User or Group) - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddInstanceDesignTimePermission(java.lang.String type, java.lang.String principal, java.lang.String principalType, java.lang.Boolean allow) throws java.lang.Exception
type
- Permission type (PropertyRead PropertyWrite ServiceInvoke EventInvoke EventSubscribe) - STRINGprincipal
- Principal name (name of user or group) - STRINGprincipalType
- Principal type (User or Group) - STRINGallow
- Permission (true = allow, false = deny) - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteInstanceDesignTimePermission(java.lang.String type, java.lang.String principal, java.lang.String principalType) throws java.lang.Exception
type
- Permission type - STRINGprincipal
- Principal name (name of user or group) - STRINGprincipalType
- Principal type (User or Group) - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddInstanceVisibilityPermission(java.lang.String principal, java.lang.String principalType) throws java.lang.Exception
principal
- Principal name (name of organization or organization unit) - STRINGprincipalType
- Principal type (Organization or Organization Unit) - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteInstanceVisibilityPermission(java.lang.String principal, java.lang.String principalType) throws java.lang.Exception
principal
- Principal name (name of organization or organization unit) - STRINGprincipalType
- Principal type (Organization or Organization Unit) - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstanceVisibilityPermissions() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject GetInstanceVisibilityPermissionsAsJSON() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetInstanceVisibilityPermissionsAsJSON(org.json.JSONObject permissions) throws java.lang.Exception
permissions
- Permissions in JSON format - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstanceRunTimePermissions() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject GetInstanceRunTimePermissionsAsJSON() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetInstanceRunTimePermissionsAsJSON(org.json.JSONObject permissions) throws java.lang.Exception
permissions
- Permissions in JSON format - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstanceDesignTimePermissions() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject GetInstanceDesignTimePermissionsAsJSON() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetInstanceDesignTimePermissionsAsJSON(org.json.JSONObject permissions) throws java.lang.Exception
permissions
- Permissions in JSON format - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void persistInstanceRunTimePermissions() throws java.lang.Exception
persistInstanceRunTimePermissions
in interface IInstanceRunTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void persistInstanceDesignTimePermissions() throws java.lang.Exception
persistInstanceDesignTimePermissions
in interface IInstanceDesignTimeSecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void persistInstanceVisibilityPermissions() throws java.lang.Exception
persistInstanceVisibilityPermissions
in interface IInstanceVisibilitySecurable
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean IsDerivedFromTemplate(java.lang.String thingTemplateName) throws java.lang.Exception
thingTemplateName
- Thing template name - THINGTEMPLATENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean GetPropertyLogging(java.lang.String propertyName) throws java.lang.Exception
propertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetPropertyLogging(java.lang.String propertyName, java.lang.Boolean enabled) throws java.lang.Exception
propertyName
- Property name - STRINGenabled
- Enable/disable logging - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={8,5}) public void SetUnitsForNumericPropertyDefinition(java.lang.String propertyName, java.lang.String units) throws java.lang.Exception
propertyName
- Property name - STRINGunits
- Units (eg. lbs, F, inches, etc.) associated with input. For information only. - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={8,4}) public void AddPropertyTransformDefinition(java.lang.String name, java.lang.String description, java.lang.String category, java.lang.Boolean persistent, java.lang.Boolean logged, java.lang.Integer timeout, InfoTable propertyTransformConfig) throws java.lang.Exception
name
- - The name of your new derived property.description
- - The description of the new property.category
- - Category for the new property.persistent
- - Should the value of this derived property be persisted between tomcat restarts?logged
- - Should the value of this derived property be logged over time?timeout
- - Timeout for creating the property.propertyTransformConfig
- - A configuration infotable consisting of key/value pairs. Refer to the help center for possible keys.java.lang.Exception
- If an error occurs
Creates a derived property on this ThingTemplate. A derived property receives data from a specified source property, and performs some requested calculation on the stream of data as the source property changes. The type of calculation will determine which configuration keys/values need to be set on the derivedPropertyConfig.
Note: In order to use the derived property functionality, you must have a RabbitMQ instance, Flink cluster, and "derived property configuration service" running on your machine, as well as the necessary configuration set inside your platform-settings.json file.
For more information on running derived properties, please refer to the help center docs on derived properties.
@ThingworxExtensionApiMethod(since={6,6}) @Deprecated public void AddPropertyDefinition(java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String category, java.lang.String dataShape, java.lang.Boolean readOnly, java.lang.Boolean persistent, java.lang.Boolean logged, java.lang.String dataChangeType, java.lang.Double dataChangeThreshold, java.lang.Boolean remote, java.lang.String remotePropertyName, java.lang.Integer timeout, java.lang.String pushType, java.lang.Double pushThreshold, java.lang.String defaultValue) throws java.lang.Exception
java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={8,0}) public void AddPropertyDefinition(java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String category, java.lang.String dataShape, java.lang.Boolean readOnly, java.lang.Boolean persistent, java.lang.Boolean logged, java.lang.String dataChangeType, java.lang.Double dataChangeThreshold, java.lang.Boolean remote, java.lang.String remotePropertyName, java.lang.Integer timeout, java.lang.String pushType, java.lang.Double pushThreshold, java.lang.String defaultValue, org.json.JSONObject remoteBindingAspects) throws java.lang.Exception
name
- Property name - STRINGdescription
- Property description - STRINGtype
- Data type - BASETYPENAMEcategory
- Category - STRINGdataShape
- Data shape - DATASHAPENAMEreadOnly
- Read only - BOOLEANpersistent
- Persist property value - BOOLEANlogged
- Log property value - BOOLEANdataChangeType
- Data change type - STRINGdataChangeThreshold
- Data change threshold - NUMBERremote
- Is a remote property - BOOLEANremotePropertyName
- Remote property name - STRINGtimeout
- Request timeout - INTEGERpushType
- Push type - STRINGpushThreshold
- Push threshold - NUMBERdefaultValue
- Default value for property - STRINGremoteBindingAspects
- Aspects for the remote binding - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,3}) public InfoTable AddPropertyDefinitions(InfoTable values, java.lang.Boolean ignoreInvalidDefinitions) throws java.lang.Exception
values
- Infotable where each row defines a property, using the PropertyDefinitionWithDetails data shape - INFOTABLEignoreInvalidDefinitions
- True will skip over any invalid definitions provided, false indicates to fail the whole transaction when atleast one invalid definition is found - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddServiceDefinition(java.lang.String name, java.lang.String description, java.lang.String category, InfoTable parameters, InfoTable resultType, java.lang.Boolean remote, java.lang.String remoteServiceName, java.lang.Integer timeout) throws java.lang.Exception
name
- Property name - STRINGdescription
- Property description - STRINGcategory
- Category - STRINGparameters
- Service parameters - INFOTABLEresultType
- Service result type - INFOTABLEremote
- Is a remote service - BOOLEANremoteServiceName
- Remote service name - STRINGtimeout
- Request timeout - INTEGERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddEventDefinition(java.lang.String name, java.lang.String description, java.lang.String category, java.lang.String dataShape, java.lang.Boolean remote, java.lang.String remoteEventName) throws java.lang.Exception
name
- Property name - STRINGdescription
- Property description - STRINGcategory
- Category - STRINGdataShape
- Data shape - DATASHAPENAMEremote
- Is a remote service - BOOLEANremoteEventName
- Remote event name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DisableSubscription(java.lang.String thingName, java.lang.String eventName, java.lang.String propertyName) throws java.lang.Exception
thingName
- Thing name - THINGNAMEeventName
- Event name - STRINGpropertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void EnableSubscription(java.lang.String thingName, java.lang.String eventName, java.lang.String propertyName) throws java.lang.Exception
thingName
- Thing name - THINGNAMEeventName
- Event name - STRINGpropertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemovePropertyDefinition(java.lang.String name) throws java.lang.Exception
name
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveServiceDefinition(java.lang.String name) throws java.lang.Exception
name
- Service name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveEventDefinition(java.lang.String name) throws java.lang.Exception
name
- Event name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public ThingTemplate getDerivedBaseThingTemplate()
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceCollection getAllImplementedThingTemplates()
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceCollection getImplementedThingShapes()
@ThingworxExtensionApiMethod(since={6,6}) public void setImplementedThingShapes(EntityReferenceCollection value)
@ThingworxExtensionApiMethod(since={6,6}) public ThingShapeInstance getInstanceShape()
getInstanceShape
in interface IShapeProvider
@ThingworxExtensionApiMethod(since={6,6}) public boolean implementsShape(java.lang.String thingShape)
@ThingworxExtensionApiMethod(since={6,6}) public ThingTemplate getBaseThingTemplate()
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceTypeMap getDependencies()
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceTypeMap getImplementations()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetValueStream()
@ThingworxExtensionApiMethod(since={6,6}) public void SetValueStream(java.lang.String name) throws java.lang.Exception
name
- Value stream name - THINGNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryImplementingThings(java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query) throws java.lang.Exception
QueryImplementingThings
in interface IImplementableEntity
maxItems
- Maximum number of items to return - NUMBERtags
- Tags to search on - TAGSnameMask
- Name pattern - STRINGquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryImplementingThingsWithData(java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query) throws java.lang.Exception
QueryImplementingThingsWithData
in interface IImplementableEntity
maxItems
- Maximum number of items to return - NUMBERtags
- Tags to search on - TAGSnameMask
- Name pattern - STRINGquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={8,1}) public InfoTable QueryImplementingThingsWithNamedData(java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query, InfoTable basicPropertyNames, InfoTable propertyNames) throws java.lang.Exception
QueryImplementingThingsWithNamedData
in interface IImplementableEntity
maxItems
- Maximum number of items to return - NUMBERtags
- Tags to search on - TAGSnameMask
- Name pattern - STRINGquery
- Query definition - QUERYbasicPropertyNames
- Basic Property names - INFOTABLEpropertyNames
- Property names - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetLoggedProperties(java.lang.String type) throws java.lang.Exception
type
- Type to filter on - BASETYPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetNumericLoggedProperties() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryImplementingThingsWithPropertyHistory(java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query, java.lang.Double maxDataItems, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean oldestFirst, org.json.JSONObject dataQuery) throws java.lang.Exception
maxItems
- Maximum number of things - NUMBERtags
- Tags to search on - TAGSnameMask
- Name pattern - STRINGquery
- Thing query definition - QUERYmaxDataItems
- Maximum number of data rows per thing - NUMBERstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEoldestFirst
- Search/sort from oldest to newest - BOOLEANdataQuery
- Data query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryImplementingThingsWithNamedPropertyHistory(InfoTable propertyNames, java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query, java.lang.Double maxDataItems, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean oldestFirst, org.json.JSONObject dataQuery) throws java.lang.Exception
propertyNames
- Property names - INFOTABLEmaxItems
- Maximum number of things - NUMBERtags
- Tags to search on - TAGSnameMask
- Name pattern - STRINGquery
- Thing query definition - QUERYmaxDataItems
- Maximum number of data rows per thing - NUMBERstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEoldestFirst
- Search/sort from oldest to newest - BOOLEANdataQuery
- Data query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetImplementingThings() throws java.lang.Exception
GetImplementingThings
in interface IImplementableEntity
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetImplementingThingsWithData() throws java.lang.Exception
GetImplementingThingsWithData
in interface IImplementableEntity
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetMashups() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceCollection getMashups() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetHomeMashup()
GetHomeMashup
in class RootEntity
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetEffectiveThingPackageName()
@ThingworxExtensionApiMethod(since={6,6}) public ImagePrimitive GetAvatar() throws java.lang.Exception
GetAvatar
in interface IAvatar
GetAvatar
in class RootEntity
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstancePropertyDefinitions(java.lang.String type) throws java.lang.Exception
type
- Type to filter on - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstanceEventDefinitions() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetInstanceServiceDefinitions() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetSharedConfigurationTable(java.lang.String tableName) throws java.lang.Exception
tableName
- Configuration table name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetSharedConfigurationTableRow(java.lang.String tableName, java.lang.String key) throws java.lang.Exception
tableName
- Configuration table name - STRINGkey
- Row key value - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean IsSharedMultiRowTable(java.lang.String tableName) throws java.lang.Exception
tableName
- Configuration table name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetSharedConfigurationTable(java.lang.String tableName, InfoTable configurationTable, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGconfigurationTable
- Configuration table content - INFOTABLEpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetSharedMultiRowConfigurationTable(java.lang.String tableName, InfoTable configurationTable, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGconfigurationTable
- Configuration table content - INFOTABLEpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetSharedConfigurationTableRows(java.lang.String tableName, InfoTable values, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGvalues
- Configuration table rows to modify - INFOTABLEpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteSharedConfigurationTable(java.lang.String tableName, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteSharedConfigurationTableRows(java.lang.String tableName, InfoTable values, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGvalues
- Configuration table rows to modify - INFOTABLEpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteAllSharedConfigurationTableRows(java.lang.String tableName, java.lang.Boolean persistent) throws java.lang.Exception
tableName
- Configuration table name - STRINGpersistent
- Persist these changes - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntity
Returns the type of this entity.
getEntityType
in interface IShapeProvider
getEntityType
in class RootEntity
@ThingworxExtensionApiMethod(since={6,6}) public ServiceDefinition getEffectiveServiceDefinition(java.lang.String serviceName)
getEffectiveServiceDefinition
in interface IServiceMetadataProvider
@ThingworxExtensionApiMethod(since={6,6}) public EventDefinition getEffectiveEventDefinition(java.lang.String eventName)
getEffectiveEventDefinition
in interface IEventMetadataProvider
@ThingworxExtensionApiMethod(since={6,6}) public PropertyDefinition getEffectivePropertyDefinition(java.lang.String propertyName)
getEffectivePropertyDefinition
in interface IAlertProvider
@ThingworxExtensionApiMethod(since={6,6}) public void AddOrUpdateAlert(java.lang.String property, java.lang.String alertType, java.lang.String alertName, java.lang.String description, java.lang.Boolean enabled, java.lang.Integer priority, InfoTable attributes, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertType
- Alert type - STRINGalertName
- Alert name - STRINGdescription
- Alert description - STRINGenabled
- Alert enabled - BOOLEANpriority
- Alert priority - INTEGERattributes
- Alert attributes - INFOTABLEpersistent
- Persist this change - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveAlert(java.lang.String property, java.lang.String alertName, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGpersistent
- Persist this change - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetLocalAlertDefinitions(java.lang.String property) throws java.lang.Exception
property
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetAlertDefinitions(java.lang.String property) throws java.lang.Exception
property
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetAlertDefinition(java.lang.String property, java.lang.String alertName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean HasAlert(java.lang.String property, java.lang.String alertName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetNumberAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, java.lang.Double value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - NUMBERpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Double GetNumberAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetIntegerAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, java.lang.Integer value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - INTEGERpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Integer GetIntegerAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Long GetLongAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetBooleanAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, java.lang.Boolean value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - BOOLEANpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean GetBooleanAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetDateTimeAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, org.joda.time.DateTime value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - DATETIMEpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.joda.time.DateTime GetDateTimeAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetLocationAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, Location value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - LOCATIONpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public Location GetLocationAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetStringAlertParameter(java.lang.String property, java.lang.String alertName, java.lang.String parameterName, java.lang.String value, java.lang.Boolean persistent) throws java.lang.Exception
property
- Property name - STRINGalertName
- Alert name - STRINGparameterName
- Parameter name - STRINGvalue
- Parameter value - STRINGpersistent
- Make it persistent - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetLocalPropertyBinding(java.lang.String propertyName) throws java.lang.Exception
propertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,3}) public InfoTable GetEffectiveLocalPropertyBindings() throws java.lang.Exception
java.lang.Exception
- - any exception while execution@ThingworxExtensionApiMethod(since={7,3}) public InfoTable GetEffectiveLocalPropertyBinding(java.lang.String propertyName) throws java.lang.Exception
propertyName
- : name of property to get the local bindingjava.lang.Exception
- - any exception while execution@ThingworxExtensionApiMethod(since={6,6}) public void RemoveLocalPropertyBinding(java.lang.String propertyName) throws java.lang.Exception
propertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) @Deprecated public void SetLocalPropertyBinding(java.lang.String propertyName, java.lang.String sourceThingName, java.lang.String sourcePropertyName) throws java.lang.Exception
SetLocalPropertyBinding(String, String, String, JSONObject)
java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={8,1,0}) public void SetLocalPropertyBinding(java.lang.String propertyName, java.lang.String sourceThingName, java.lang.String sourcePropertyName, org.json.JSONObject aspects) throws java.lang.Exception
propertyName
- Property name - STRINGsourceThingName
- Thing name to bind to - STRINGsourcePropertyName
- Source property name - STRINGaspects
- Aspects for the local binding - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetRemotePropertyBinding(java.lang.String propertyName) throws java.lang.Exception
propertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveRemotePropertyBinding(java.lang.String propertyName) throws java.lang.Exception
propertyName
- Property name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={8,0}) @Deprecated public void SetRemotePropertyBinding(java.lang.String propertyName, java.lang.String sourcePropertyName, java.lang.Integer timeout, java.lang.String pushType, java.lang.Double pushThreshold) throws java.lang.Exception
SetRemotePropertyBinding(String, String, Integer, String, Double, JSONObject, Integer, String)
java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={8,0}) public void SetRemotePropertyBinding(java.lang.String propertyName, java.lang.String sourcePropertyName, java.lang.Integer timeout, java.lang.String pushType, java.lang.Double pushThreshold, org.json.JSONObject aspects, java.lang.Integer cacheTime, java.lang.String foldType) throws java.lang.Exception
propertyName
- Property name - STRINGsourcePropertyName
- Source property name - STRINGtimeout
- Request timeout - INTEGERpushType
- Push type - STRINGpushThreshold
- Push threshold - NUMBERaspects
- Aspects for the remote binding - JSONcacheTime
- Property's cache time value at the server - INTEGERfoldType
- How a remote property's value should be handled by the server when a connection is lost - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetRemoteServiceBinding(java.lang.String serviceName) throws java.lang.Exception
serviceName
- Service name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveRemoteServiceBinding(java.lang.String serviceName) throws java.lang.Exception
serviceName
- Service name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetRemoteServiceBinding(java.lang.String serviceName, java.lang.String sourceServiceName, java.lang.Integer timeout) throws java.lang.Exception
serviceName
- Service name - STRINGsourceServiceName
- Source service name - STRINGtimeout
- Request timeout - INTEGERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetRemoteEventBinding(java.lang.String eventName) throws java.lang.Exception
eventName
- Event name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveRemoteEventBinding(java.lang.String eventName) throws java.lang.Exception
eventName
- Event name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetRemoteEventBinding(java.lang.String eventName, java.lang.String sourceEventName) throws java.lang.Exception
eventName
- Event name - STRINGsourceEventName
- Source event name - STRINGjava.lang.Exception
- If an error occurs