@ThingworxExtensionApiClass(since={6,6}) public class Vocabulary extends ServiceProviderEntity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_FIELD |
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
Vocabulary() |
Modifier and Type | Method and Description |
---|---|
void |
AddVocabularyTerm(java.lang.String term)
Service Category: Terms
Service Description: Add a new vocabulary term.
|
void |
DeleteVocabularyTerm(java.lang.String term)
Service Category: Terms
Service Description: Delete a specific vocabulary term.
|
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
InfoTable |
GetVocabularyLinks(java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of entities linked to this vocabulary.
|
InfoTable |
GetVocabularyTerm(java.lang.String name)
Service Category: Terms
Service Description: Return a specific vocabulary term.
|
InfoTable |
GetVocabularyTermLinks(java.lang.String term,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of entities linked to this vocabulary term.
|
InfoTable |
GetVocabularyTerms()
Service Category: Queries
Service Description: Return a list of vocabulary terms.
|
InfoTable |
GetVocabularyTermUsage(java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of vocabulary terms and their usage/frequency.
|
RelationshipTypes.ThingworxRelationshipTypes |
getVocabularyType() |
java.lang.Boolean |
IsDynamic()
Service Category: Metadata
Service Description: Whether the vocabulary is dynamic or not.
|
InfoTable |
QueryVocabularyTermLinks(java.lang.String term,
org.json.JSONObject types,
java.lang.String filter,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of entities linked to this vocabulary term.
|
InfoTable |
QueryVocabularyTerms(java.lang.String filter,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of vocabulary terms.
|
InfoTable |
QueryVocabularyTermUsage(java.lang.String filter,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Return a list of vocabulary terms and their usage/frequency.
|
void |
setVocabularyType(RelationshipTypes.ThingworxRelationshipTypes value) |
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
public static final java.lang.String KEY_FIELD
@ThingworxExtensionApiMethod(since={6,6}) public Vocabulary() throws DataAccessException
DataAccessException
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getVocabularyType()
@ThingworxExtensionApiMethod(since={6,6}) public void setVocabularyType(RelationshipTypes.ThingworxRelationshipTypes value)
@ThingworxExtensionApiMethod(since={6,6}) public void AddVocabularyTerm(java.lang.String term) throws java.lang.Exception
term
- Vocabulary Term - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteVocabularyTerm(java.lang.String term) throws java.lang.Exception
term
- Vocabulary Term - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetVocabularyTerms() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetVocabularyTerm(java.lang.String name) throws java.lang.Exception
name
- Vocabulary term - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetVocabularyTermUsage(java.lang.Double maxItems) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetVocabularyTermLinks(java.lang.String term, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to match - STRINGmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean IsDynamic() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetVocabularyLinks(java.lang.Double maxItems) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryVocabularyTerms(java.lang.String filter, java.lang.Double maxItems) throws java.lang.Exception
filter
- Term filter - STRINGmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryVocabularyTermUsage(java.lang.String filter, java.lang.Double maxItems) throws java.lang.Exception
filter
- Term filter - STRINGmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryVocabularyTermLinks(java.lang.String term, org.json.JSONObject types, java.lang.String filter, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to match - STRINGtypes
- Entity types - JSONfilter
- Term filter - STRINGmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntity
Returns the type of this entity.
getEntityType
in class RootEntity