@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class EntityServices extends Resource
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
EntityServices() |
Modifier and Type | Method and Description |
---|---|
void |
AddEntityVisibilities(InfoTable organizationReferences,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Add visibility on a set of entities for multiple Organizations/OrganizationalUnits.
|
void |
AddEntityVisibility(java.lang.String organizationName,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Add visibility to a set of entities.
|
void |
AddResourceEntityPermission(TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents,
InfoTable permissions)
Service Category: Permissions
Service Description: Add run time permissions for a resource to a set of entities.
|
void |
AddShapeToThing(java.lang.String name,
java.lang.String thingShapeName)
Service Category: Things
Service Description: Add a thing shape to an existing thing.
|
void |
AddShapeToThingTemplate(java.lang.String name,
java.lang.String thingShapeName)
Service Category: ThingTemplates
Service Description: Add a thing shape to an existing thing template.
|
void |
AddThingPermission(java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query,
InfoTable permissions)
Service Category: Permissions
Service Description: Add run time permissions to a set of Things.
|
void |
AddThingVisibility(InfoTable organizationReferences,
java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query)
Service Category: Permissions
Service Description: Add visibility on a set of entities.
|
void |
CloneNotificationContent(java.lang.String sourceNotificationContentName,
java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: NotificationContents
Service Description: Clone a notification content.
|
void |
CloneNotificationDefinition(java.lang.String sourceNotificationDefinitionName,
java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: NotificationDefinitions
Service Description: Clone a notification definition.
|
void |
CloneThing(java.lang.String sourceThingName,
java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: Things
Service Description: Clone an existing thing with a new name.
|
void |
CloneThingShape(java.lang.String sourceThingShapeName,
java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: ThingShapes
Service Description: Clone an existing thing shape with a new name.
|
void |
CloneThingTemplate(java.lang.String sourceThingTemplateName,
java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: ThingTemplates
Service Description: Clone an existing thing template with a new name.
|
void |
CloneUser(java.lang.String sourceUserName,
java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String password)
Service Category: Users
Service Description: Clone an existing user.
|
void |
CloneUserWithGroups(java.lang.String sourceUserName,
java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String password)
Service Category: Users
Service Description: Clone an existing user and clone group memberships.
|
void |
CreateApplicationKey(java.lang.String name,
java.lang.String description,
java.lang.String user,
TagCollection tags,
java.lang.String whitelist,
java.lang.String clientName,
org.joda.time.DateTime expirationDate)
Service Category: ApplicationKeys
Service Description: Create a new application key.
|
void |
CreateDataShape(java.lang.String name,
java.lang.String description,
TagCollection tags,
InfoTable fields)
Service Category: DataShapes
Service Description: Create a new data shape.
|
void |
CreateDataTagVocabulary(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.Boolean dynamic)
Service Category: DataTags
Service Description: Create a new data tag vocabulary.
|
void |
CreateGroup(java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: Groups
Service Description: Create a new group.
|
void |
CreateLocalizationTable(java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: LocalizationTables
Service Description: Create a new localization table.
|
void |
CreateMediaEntity(java.lang.String name,
java.lang.String description,
TagCollection tags,
byte[] content)
Service Category: Media
Service Description: Create a new media entity.
|
void |
CreateModelTagVocabulary(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.Boolean dynamic)
Service Category: ModelTags
Service Description: Create a new model tag vocabulary.
|
void |
CreateNetwork(java.lang.String name,
java.lang.String description,
TagCollection tags,
InfoTable connections)
Service Category: Networks
Service Description: Create a new network.
|
void |
CreateNotificationContent(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String handlerID,
java.lang.String handlerEntity)
Service Category: NotificationContents
Service Description: Create a new notification content.
|
void |
CreateNotificationDefinition(java.lang.String name,
java.lang.String description,
TagCollection tags,
InfoTable notificationContents)
Service Category: Notifications
Service Description: Create a new notification definition.
|
void |
CreateOrganization(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String topOUName,
java.lang.String topOUDescription)
Service Category: Organizations
Service Description: Create a new organization.
|
void |
CreateProject(java.lang.String name,
java.lang.String description,
java.lang.String dependsOn,
TagCollection tags)
Service Category: Projects
Service Description: Create a new project.
|
void |
CreateStyleDefinition(java.lang.String name,
java.lang.String description,
TagCollection tags,
org.json.JSONObject content)
Service Category: StyleDefinitions
Service Description: Create a new style definition.
|
void |
CreateThing(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String thingTemplateName)
Service Category: Things
Service Description: Create a new thing.
|
void |
CreateThingShape(java.lang.String name,
java.lang.String description,
TagCollection tags)
Service Category: ThingShape
Service Description: Create a new thing shape.
|
void |
CreateThingTemplate(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String thingTemplateName)
Service Category: ThingTemplates
Service Description: Create a new thing template from a base template.
|
void |
CreateUser(java.lang.String name,
java.lang.String description,
TagCollection tags,
java.lang.String password)
Service Category: Users
Service Description: Create a new user.
|
void |
CreateUserWithOptions(InfoTable userOptions)
Service Category: Users
Service Description: Creates a user.
|
void |
DeleteApplicationKey(java.lang.String name)
Service Category: ApplicationKeys
Service Description: Delete an application key.
|
void |
DeleteDataTagVocabulary(java.lang.String name)
Service Category: DataTags
Service Description: Delete a data tag vocabulary.
|
void |
DeleteEntityPermission(java.lang.String name,
java.lang.String type,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Delete run time permissions on a set of entities.
|
void |
DeleteEntityVisibilities(InfoTable organizationReferences,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Delete visibility on a set of entities for multiple Organizations/OrganizationalUnits.
|
void |
DeleteEntityVisibility(java.lang.String organizationName,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Delete visibility on a set of entities.
|
void |
DeleteGroup(java.lang.String name)
Service Category: Groups
Service Description: Delete a group.
|
void |
DeleteMediaEntity(java.lang.String name)
Service Category: Media
Service Description: Delete a media entity.
|
void |
DeleteModelTagVocabulary(java.lang.String name)
Service Category: ModelTags
Service Description: Delete a model tag vocabulary.
|
void |
DeleteNetwork(java.lang.String name)
Service Category: Networks
Service Description: Delete a network.
|
void |
DeleteNotificationContent(java.lang.String name)
Service Category: NotificationContents
Service Description: Delete a notification content.
|
void |
DeleteNotificationDefinition(java.lang.String name)
Service Category: NotificationDefinitions
Service Description: Delete a notification definition.
|
void |
DeleteOrganization(java.lang.String name)
Service Category: Organizations
Service Description: Delete an organization.
|
void |
DeleteProject(java.lang.String name)
Service Category: Projects
Service Description: Delete a Project.
|
void |
DeleteResourceEntityPermission(TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents,
InfoTable permissions)
Service Category: Permissions
Service Description: Delete run time permissions for a resource on a set of entities.
|
void |
DeleteStyleDefinition(java.lang.String name)
Service Category: StyleDefinitions
Service Description: Delete a style definition.
|
void |
DeleteThing(java.lang.String name)
Service Category: Things
Service Description: Delete a thing.
|
void |
DeleteThingPermission(java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query,
InfoTable permissions)
Service Category: Permissions
Service Description: Delete run time permissions on a set of entities.
|
void |
DeleteThingShape(java.lang.String name)
Service Category: ThingShapes
Service Description: Delete a thing shape.
|
void |
DeleteThingTemplate(java.lang.String name)
Service Category: ThingTemplates
Service Description: Delete a thing template.
|
void |
DeleteThingVisibility(InfoTable organizationReferences,
java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query)
Service Category: Permissions
Service Description: Delete visibility on a set of entities.
|
void |
DeleteUser(java.lang.String name)
Service Category: Users
Service Description: Delete a user.
|
void |
DeleteUserWithOptions(InfoTable userOptions)
Service Category: Users
Service Description: Delete a user.
|
InfoTable |
GetEntityList(java.lang.String type,
java.lang.String nameMask,
TagCollection tags,
java.lang.Double maxItems)
Service Category:
Service Description: Retrieve a list of all model entities.
|
InfoTable |
GetEntityListWithPermissionMask(java.lang.String type,
java.lang.String nameMask,
java.lang.String permissionType,
java.lang.String permissionTarget,
TagCollection tags,
java.lang.Double maxItems)
Service Category:
Service Description: Retrieve a list of all model entities for which the current user has a specific permission.
|
InfoTable |
GetLockedUsers()
Service Category: Security
Service Description: Return list of locked users.
|
java.lang.String |
GetThingNameForIdentifier(java.lang.String identifier)
Service Category:
Service Description: Get the thing name associated with an identifier.
|
java.lang.Boolean |
IsRemoteThingBound(java.lang.String name)
Service Category:
Service Description: Check to see if a remote thing is bound.
|
org.json.JSONObject |
ReadEntityAsJSON(java.lang.String type,
java.lang.String name,
java.lang.String key)
Service Category:
Service Description: Read an entity as JSON.
|
org.json.JSONObject |
ReadEntityDefinitionAsJSON(java.lang.String type,
java.lang.String name)
Service Category:
Service Description: Read the definition for an entity as JSON.
|
void |
RemoveShapeFromThing(java.lang.String name,
java.lang.String thingShapeName)
Service Category: Things
Service Description: Remove a thing shape from an existing thing.
|
void |
RemoveShapeFromThingTemplate(java.lang.String name,
java.lang.String thingShapeName)
Service Category: ThingTemplates
Service Description: Remove a thing shape from an existing thing template.
|
void |
RestartDependenciesForThingShape(java.lang.String name)
Service Category: ThingShapes
Service Description: Restart dependencies for an existing thing template.
|
void |
RestartDependenciesForThingTemplate(java.lang.String name)
Service Category: ThingTemplates
Service Description: Restart dependencies for an existing thing template.
|
void |
SetEntityPermission(java.lang.String name,
java.lang.String type,
java.lang.Boolean allow,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Set run time permissions on a set of entities.
|
void |
SetEntityVisibilities(InfoTable organizationReferences,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Set visibility on a set of entities for multiple Organizations/OrganizationalUnits.
|
void |
SetEntityVisibility(java.lang.String organizationName,
TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents)
Service Category: Permissions
Service Description: Set visibility on a set of entities.
|
void |
SetLocalizationTableNames(java.lang.String locale,
java.lang.String nativeName,
java.lang.String commonName,
java.lang.String description,
TagCollection tags)
Service Category: LocalizationTables
Service Description: Update or create a localization table with native and common name.
|
void |
SetResourceEntityPermission(TagCollection tags,
java.lang.String projectName,
java.lang.Boolean includeDependents,
InfoTable permissions)
Service Category: Permissions
Service Description: Set run time permissions for a resource on a set of entities.
|
void |
SetThingPermission(java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query,
InfoTable permissions)
Service Category: Permissions
Service Description: Set run time permissions on a set of Things.
|
void |
SetThingVisibility(InfoTable organizationReferences,
java.lang.String entityName,
java.lang.String entityType,
org.json.JSONObject query)
Service Category: Permissions
Service Description: Set visibility on a set of entities.
|
void |
UpdateMediaEntity(java.lang.String name,
byte[] content)
Service Category: Media
Service Description: Update a media entity.
|
void |
UpdateStyleDefinition(java.lang.String name,
org.json.JSONObject content)
Service Category: StyleDefinitions
Service Description: Update a style definition entity.
|
void |
UpdateUserWithOptions(InfoTable userOptions)
Service Category: Users
Service Description: Updates a user.
|
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 void DeleteApplicationKey(java.lang.String name) throws java.lang.Exception
name
- ApplicationKey name - APPLICATIONKEYNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateApplicationKey(java.lang.String name, java.lang.String description, java.lang.String user, TagCollection tags, java.lang.String whitelist, java.lang.String clientName, org.joda.time.DateTime expirationDate) throws java.lang.Exception
name
- Application key name - STRINGdescription
- Application key description - STRINGuser
- Associated user name - USERNAMEtags
- Tags - TAGSwhitelist
- IP whitelist - STRINGclientName
- clientName - STRINGexpirationDate
- Expiration date - DATETIMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteUser(java.lang.String name) throws java.lang.Exception
name
- User name - USERNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteNetwork(java.lang.String name) throws java.lang.Exception
name
- Network name - NETWORKNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteMediaEntity(java.lang.String name) throws java.lang.Exception
name
- Media entity name - MEDIAENTITYNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteOrganization(java.lang.String name) throws java.lang.Exception
name
- Organization name - ORGANIZATIONNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteGroup(java.lang.String name) throws java.lang.Exception
name
- Group name - GROUPNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteThing(java.lang.String name) throws java.lang.Exception
name
- Thing name - THINGNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteThingTemplate(java.lang.String name) throws java.lang.Exception
name
- Thing template name - THINGTEMPLATENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteThingShape(java.lang.String name) throws java.lang.Exception
name
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void DeleteProject(java.lang.String name) throws java.lang.Exception
name
- Project name - PROJECTNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateUser(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String password) throws java.lang.Exception
name
- New user name - STRINGdescription
- New user description - STRINGtags
- Tags - TAGSpassword
- New user password - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CloneUser(java.lang.String sourceUserName, java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String password) throws java.lang.Exception
sourceUserName
- Existing user name - USERNAMEname
- New user name - STRINGdescription
- New user description - STRINGtags
- Tags - TAGSpassword
- New user password - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CloneUserWithGroups(java.lang.String sourceUserName, java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String password) throws java.lang.Exception
sourceUserName
- Existing user name - USERNAMEname
- New user name - STRINGdescription
- New user description - STRINGtags
- Tags - TAGSpassword
- New user password - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CreateUserWithOptions(InfoTable userOptions) throws java.lang.Exception
userOptions
- Create a user according to the given user options. The userName in the UserOptions is required. - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void UpdateUserWithOptions(InfoTable userOptions) throws java.lang.Exception
userOptions
- Update the user for the given user options. The userName in the UserOptions is required. - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void DeleteUserWithOptions(InfoTable userOptions) throws java.lang.Exception
userOptions
- Delete the user for the given user options. The userName in the UserOptions is required. - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateGroup(java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
name
- New group name - STRINGdescription
- New group description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateDataShape(java.lang.String name, java.lang.String description, TagCollection tags, InfoTable fields) throws java.lang.Exception
name
- New data shape name - STRINGdescription
- New data shape description - STRINGtags
- Tags - TAGSfields
- Info table with field definitions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateDataTagVocabulary(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.Boolean dynamic) throws java.lang.Exception
name
- New vocabulary name - STRINGdescription
- New vocabulary description - STRINGtags
- Tags - TAGSdynamic
- Make the vocabulary dynamic - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateModelTagVocabulary(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.Boolean dynamic) throws java.lang.Exception
name
- New vocabulary name - STRINGdescription
- New vocabulary description - STRINGtags
- Tags - TAGSdynamic
- Make the vocabulary dynamic - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateNetwork(java.lang.String name, java.lang.String description, TagCollection tags, InfoTable connections) throws java.lang.Exception
name
- New network name - STRINGdescription
- New network description - STRINGtags
- Tags - TAGSconnections
- Connections - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateOrganization(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String topOUName, java.lang.String topOUDescription) throws java.lang.Exception
name
- New organization name - STRINGdescription
- New organization description - STRINGtags
- Tags - TAGStopOUName
- Top level organizational unit in the Organization - STRINGtopOUDescription
- Description for the top level organizational unit - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateLocalizationTable(java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
name
- New localization table name, i.e. language - STRINGdescription
- New localization table description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void SetLocalizationTableNames(java.lang.String locale, java.lang.String nativeName, java.lang.String commonName, java.lang.String description, TagCollection tags) throws java.lang.Exception
locale
- Localization table name or language - STRINGnativeName
- Localization table native name or native language - STRINGcommonName
- Localization table common name or common language - STRINGdescription
- Localization table description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateMediaEntity(java.lang.String name, java.lang.String description, TagCollection tags, byte[] content) throws java.lang.Exception
name
- New media name - STRINGdescription
- New media description - STRINGtags
- Tags - TAGScontent
- Media content - IMAGEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void UpdateMediaEntity(java.lang.String name, byte[] content) throws java.lang.Exception
name
- Existing media name - STRINGcontent
- Media content - IMAGEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateThing(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String thingTemplateName) throws java.lang.Exception
name
- New thing name - STRINGdescription
- New thing description - STRINGtags
- Tags - TAGSthingTemplateName
- Thing template name - THINGTEMPLATENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateThingTemplate(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String thingTemplateName) throws java.lang.Exception
name
- New thing template name - STRINGdescription
- New thing template description - STRINGtags
- Tags - TAGSthingTemplateName
- Base thing template name - THINGTEMPLATENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CreateThingShape(java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
name
- New thing shape name - STRINGdescription
- New thing shape description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void CreateProject(java.lang.String name, java.lang.String description, java.lang.String dependsOn, TagCollection tags) throws java.lang.Exception
name
- New project name - STRINGdescription
- New project description - STRINGdependsOn
- New extension description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CloneThing(java.lang.String sourceThingName, java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
sourceThingName
- Existing thing name - THINGNAMEname
- New thing name - STRINGdescription
- New thing description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={6,6}) public void CloneThingTemplate(java.lang.String sourceThingTemplateName, java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
sourceThingTemplateName
- Existing thing template name - THINGTEMPLATENAMEname
- New thing name - STRINGdescription
- New thing description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void CloneThingShape(java.lang.String sourceThingShapeName, java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
sourceThingShapeName
- Existing thing shape name - THINGSHAPENAMEname
- New thing name - STRINGdescription
- New thing description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={6,6}) public void AddShapeToThing(java.lang.String name, java.lang.String thingShapeName) throws java.lang.Exception
name
- Thing name - THINGNAMEthingShapeName
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddShapeToThingTemplate(java.lang.String name, java.lang.String thingShapeName) throws java.lang.Exception
name
- Thing template name - THINGTEMPLATENAMEthingShapeName
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveShapeFromThing(java.lang.String name, java.lang.String thingShapeName) throws java.lang.Exception
name
- Thing name - THINGNAMEthingShapeName
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RemoveShapeFromThingTemplate(java.lang.String name, java.lang.String thingShapeName) throws java.lang.Exception
name
- Thing template name - THINGTEMPLATENAMEthingShapeName
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RestartDependenciesForThingTemplate(java.lang.String name) throws java.lang.Exception
name
- Thing template name - THINGTEMPLATENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void RestartDependenciesForThingShape(java.lang.String name) throws java.lang.Exception
name
- Thing shape name - THINGSHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject ReadEntityAsJSON(java.lang.String type, java.lang.String name, java.lang.String key) throws java.lang.Exception
type
- Entity Collection Type (Things, Mashups, Users, etc) - STRINGname
- Entity Name - STRINGkey
- Encryption-Decryption key name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject ReadEntityDefinitionAsJSON(java.lang.String type, java.lang.String name) throws java.lang.Exception
type
- Entity Collection Type (Things, Mashups, Users, etc) - STRINGname
- Entity Name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetEntityList(java.lang.String type, java.lang.String nameMask, TagCollection tags, java.lang.Double maxItems) throws java.lang.Exception
type
- Entity Type (Thing, Mashup, User, etc) - STRINGnameMask
- Entity name pattern to match - STRINGtags
- Tags - TAGSmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetEntityListWithPermissionMask(java.lang.String type, java.lang.String nameMask, java.lang.String permissionType, java.lang.String permissionTarget, TagCollection tags, java.lang.Double maxItems) throws java.lang.Exception
type
- Entity Type (Thing, Mashup, User, etc) - STRINGnameMask
- Entity name pattern to match - STRINGpermissionType
- Permission Type (ServiceInvoke, PropertyRead, PropertyWrite, etc.) - STRINGpermissionTarget
- Permission target - STRINGtags
- Tags - TAGSmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean IsRemoteThingBound(java.lang.String name) throws java.lang.Exception
name
- Thing Name or Identifier - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetThingNameForIdentifier(java.lang.String identifier) throws java.lang.Exception
identifier
- Identifier - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void SetEntityVisibility(java.lang.String organizationName, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationName
- Name of the Organization to use for visibility permissions - STRINGtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void AddEntityVisibility(java.lang.String organizationName, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationName
- Name of the Organization to use for visibility permissions - STRINGtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void DeleteEntityVisibility(java.lang.String organizationName, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationName
- Name of the Organization to use for visibility permissions - STRINGtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void SetEntityVisibilities(InfoTable organizationReferences, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void AddEntityVisibilities(InfoTable organizationReferences, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteEntityVisibilities(InfoTable organizationReferences, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void SetThingVisibility(InfoTable organizationReferences, java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEentityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void AddThingVisibility(InfoTable organizationReferences, java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEentityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteThingVisibility(InfoTable organizationReferences, java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query) throws java.lang.Exception
organizationReferences
- List of Organizations/OrganizationalUnits to use for visibility permissions - INFOTABLEentityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void SetEntityPermission(java.lang.String name, java.lang.String type, java.lang.Boolean allow, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
name
- Name of the User or Group for run time permissions - STRINGtype
- User or Group - STRINGallow
- Is the User or Group allowed run time permission - BOOLEANtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void SetResourceEntityPermission(TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents, InfoTable permissions) throws java.lang.Exception
tags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={7,2}) public void AddResourceEntityPermission(TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents, InfoTable permissions) throws java.lang.Exception
tags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,1}) public void DeleteEntityPermission(java.lang.String name, java.lang.String type, TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents) throws java.lang.Exception
name
- Name of the User or Group for run time permissions - STRINGtype
- User or Group - STRINGtags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteResourceEntityPermission(TagCollection tags, java.lang.String projectName, java.lang.Boolean includeDependents, InfoTable permissions) throws java.lang.Exception
tags
- Tags - TAGSprojectName
- Project name - PROJECTNAMEincludeDependents
- Include dependent projects - BOOLEANpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void SetThingPermission(java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query, InfoTable permissions) throws java.lang.Exception
entityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void AddThingPermission(java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query, InfoTable permissions) throws java.lang.Exception
entityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteThingPermission(java.lang.String entityName, java.lang.String entityType, org.json.JSONObject query, InfoTable permissions) throws java.lang.Exception
entityName
- Thing shape or template name - STRINGentityType
- ThingShape or ThingTemplate - STRINGquery
- Query definition - QUERYpermissions
- Resource permissions - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public InfoTable GetLockedUsers() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteModelTagVocabulary(java.lang.String name) throws java.lang.Exception
name
- New vocabulary name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,2}) public void DeleteDataTagVocabulary(java.lang.String name) throws java.lang.Exception
name
- New vocabulary name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CreateNotificationDefinition(java.lang.String name, java.lang.String description, TagCollection tags, InfoTable notificationContents) throws java.lang.Exception
name
- New notification definition name - STRINGdescription
- New notification definition description - STRINGtags
- Tags - TAGSnotificationContents
- List of NotificationContents for the new notification definition - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void DeleteNotificationDefinition(java.lang.String name) throws java.lang.Exception
name
- New notification definition name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CloneNotificationDefinition(java.lang.String sourceNotificationDefinitionName, java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
sourceNotificationDefinitionName
- Existing notification definition name - STRINGname
- New notification definition name - STRINGdescription
- New notification definition description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CreateNotificationContent(java.lang.String name, java.lang.String description, TagCollection tags, java.lang.String handlerID, java.lang.String handlerEntity) throws java.lang.Exception
name
- New notification content name - STRINGdescription
- New notification content description - STRINGtags
- Tags - TAGShandlerID
- New notification content handler ID - STRINGhandlerEntity
- New notification content handler name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void DeleteNotificationContent(java.lang.String name) throws java.lang.Exception
name
- Notification content name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CloneNotificationContent(java.lang.String sourceNotificationContentName, java.lang.String name, java.lang.String description, TagCollection tags) throws java.lang.Exception
sourceNotificationContentName
- Existing notification content name - STRINGname
- New notification content name - STRINGdescription
- New notification content description - STRINGtags
- Tags - TAGSjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void CreateStyleDefinition(java.lang.String name, java.lang.String description, TagCollection tags, org.json.JSONObject content) throws java.lang.Exception
name
- New style definition name - STRINGdescription
- New style definition description - STRINGtags
- Tags - TAGScontent
- Style definition content in JSON format: { "content": {} } - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void DeleteStyleDefinition(java.lang.String name) throws java.lang.Exception
name
- Style definition name - STYLEDEFINITIONNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void UpdateStyleDefinition(java.lang.String name, org.json.JSONObject content) throws java.lang.Exception
name
- Existing style definition name - STYLEDEFINITIONNAMEcontent
- Style definition content in JSON format - JSONjava.lang.Exception
- If an error occurs