@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class Searcher extends Resource
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
Searcher() |
Modifier and Type | Method and Description |
---|---|
InfoTable |
FindDataTagTerm(java.lang.String term,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search data tag index for matches based on a term.
|
InfoTable |
FindModelTagTerm(java.lang.String term,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search model tag index for matches based on a term.
|
InfoTable |
SearchAll(java.lang.String searchExpression,
TagCollection dataTags,
TagCollection modelTags,
org.json.JSONObject types,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search everything matches based on a term.
|
InfoTable |
SearchCollaboration(java.lang.String searchExpression,
TagCollection dataTags,
org.json.JSONObject names,
org.json.JSONObject types,
TagCollection modelTags,
TagCollection sourceTags,
org.json.JSONObject sources,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Retrieve a list of all collaboration entries filtered by keyword query and optional date range.
|
InfoTable |
SearchData(java.lang.String searchExpression,
TagCollection dataTags,
org.json.JSONObject dataTypes,
org.json.JSONObject names,
TagCollection modelTags,
org.json.JSONObject sources,
TagCollection sourceTags,
org.json.JSONObject dataShapes,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search everything matches based on a term.
|
InfoTable |
SearchDataTags(TagCollection tags,
org.json.JSONObject types,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search data tag index for matches.
|
InfoTable |
SearchDataTagTerm(java.lang.String term,
org.json.JSONObject types,
org.json.JSONObject names,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search data tag index for matches based on a term.
|
InfoTable |
SearchMashups(java.lang.String searchExpression,
TagCollection modelTags,
org.json.JSONObject thingTemplates,
org.json.JSONObject thingShapes,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search mashup matches based on a term.
|
InfoTable |
SearchModelEntities(java.lang.String searchExpression,
TagCollection tags,
org.json.JSONObject types,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Retrieve a list of all model entities filtered by keyword query.
|
InfoTable |
SearchModelEntitiesWithRestrictions(java.lang.String searchExpression,
TagCollection tags,
org.json.JSONObject types,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Retrieve a list of all model entities that are SQUEAL friendly.
|
InfoTable |
SearchModelTags(TagCollection tags,
org.json.JSONObject types,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search model tag index for matches.
|
InfoTable |
SearchModelTagTerm(java.lang.String term,
org.json.JSONObject types,
org.json.JSONObject names,
java.lang.Double maxItems)
Service Category: Queries
Service Description: Search model tag index for matches based on a term.
|
InfoTable |
SearchPeople(java.lang.String searchExpression,
TagCollection modelTags,
org.json.JSONObject query,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search people matches based on a term.
|
InfoTable |
SearchTags(java.lang.String searchExpression,
org.json.JSONObject types,
org.json.JSONObject names,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search vocabularies matches based on a term.
|
InfoTable |
SearchThings(java.lang.String searchExpression,
TagCollection modelTags,
org.json.JSONObject networks,
org.json.JSONObject types,
org.json.JSONObject thingTemplates,
org.json.JSONObject thingShapes,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
java.lang.String identifierSearchExpression,
org.json.JSONObject query,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search thing matches based on a term.
|
InfoTable |
SearchThingsByShape(java.lang.String thingShape,
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 shape and their data.
|
InfoTable |
SearchThingsByTemplate(java.lang.String thingTemplate,
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 and their data.
|
InfoTable |
SearchThingsByTemplateWithPersistent(java.lang.String thingTemplate,
java.lang.Double maxItems,
java.lang.String nameMask)
Service Category: Queries
Service Description: Return a list of all the things that implement this template, including transient Things.
|
InfoTable |
SearchVocabularyTerms(java.lang.String searchExpression,
java.lang.String type,
org.json.JSONObject names,
java.lang.Double maxItems)
Deprecated.
|
InfoTable |
SearchVocabularyTerms(java.lang.String searchExpression,
java.lang.String type,
org.json.JSONObject names,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Service Category: Queries
Service Description: Search vocabulary terms.
|
InfoTable |
SpotlightSearch(java.lang.String searchExpression,
TagCollection tags,
org.json.JSONObject types,
org.json.JSONObject thingTemplates,
org.json.JSONObject thingShapes,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean searchDescriptions,
java.lang.Boolean withPermissions,
java.lang.String sortBy,
java.lang.Boolean isAscending,
java.lang.Double maxItems,
java.lang.Double maxSearchItems)
Deprecated.
|
InfoTable |
SpotlightSearch(java.lang.String searchExpression,
TagCollection tags,
org.json.JSONObject types,
org.json.JSONObject thingTemplates,
org.json.JSONObject thingShapes,
org.json.JSONObject aspects,
org.json.JSONObject excludedAspects,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean searchDescriptions,
java.lang.Boolean withPermissions,
java.lang.String sortBy,
java.lang.Boolean isAscending,
java.lang.Double maxItems,
java.lang.Double maxSearchItems,
java.lang.String projectName)
Service Category: Queries
Service Description: Spotlight search.
|
getEntityType
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequest
AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfiguration
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, hasID
getDescription, getName
getID, getName
@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchAll(java.lang.String searchExpression, TagCollection dataTags, TagCollection modelTags, org.json.JSONObject types, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGdataTags
- Tags - TAGSmodelTags
- Source Tags - TAGStypes
- Entity types - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) @Deprecated public InfoTable SearchVocabularyTerms(java.lang.String searchExpression, java.lang.String type, org.json.JSONObject names, java.lang.Double maxItems) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={8,5}) public InfoTable SearchVocabularyTerms(java.lang.String searchExpression, java.lang.String type, org.json.JSONObject names, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGtype
- Entity type (DataTags, ModelTags) - STRINGnames
- Vocabulary names - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchTags(java.lang.String searchExpression, org.json.JSONObject types, org.json.JSONObject names, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGtypes
- Entity types (DataTags, ModelTags) - JSONnames
- Vocabulary names - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchData(java.lang.String searchExpression, TagCollection dataTags, org.json.JSONObject dataTypes, org.json.JSONObject names, TagCollection modelTags, org.json.JSONObject sources, TagCollection sourceTags, org.json.JSONObject dataShapes, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGdataTags
- Tags - TAGSdataTypes
- Data types - JSONnames
- Container names - JSONmodelTags
- Model Tags - TAGSsources
- Sources - JSONsourceTags
- Source Tags - TAGSdataShapes
- Data shapes - JSONstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchCollaboration(java.lang.String searchExpression, TagCollection dataTags, org.json.JSONObject names, org.json.JSONObject types, TagCollection modelTags, TagCollection sourceTags, org.json.JSONObject sources, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGdataTags
- Tags - TAGSnames
- Entity names - JSONtypes
- Entity types - JSONmodelTags
- Model Tags - TAGSsourceTags
- Source Tags - TAGSsources
- Sources - JSONstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchThings(java.lang.String searchExpression, TagCollection modelTags, org.json.JSONObject networks, org.json.JSONObject types, org.json.JSONObject thingTemplates, org.json.JSONObject thingShapes, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.String identifierSearchExpression, org.json.JSONObject query, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGmodelTags
- Model Tags - TAGSnetworks
- Networks - JSONtypes
- Entity types - JSONthingTemplates
- Thing templates - JSONthingShapes
- Thing shapes - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONidentifierSearchExpression
- Identifier search expression - STRINGquery
- Value-based query expression - QUERYmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchMashups(java.lang.String searchExpression, TagCollection modelTags, org.json.JSONObject thingTemplates, org.json.JSONObject thingShapes, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGmodelTags
- Tags - TAGSthingTemplates
- Thing templates - JSONthingShapes
- Thing shapes - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchPeople(java.lang.String searchExpression, TagCollection modelTags, org.json.JSONObject query, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGmodelTags
- Tags - TAGSquery
- Query expression - QUERYaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchModelTags(TagCollection tags, org.json.JSONObject types, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.Double maxItems) throws java.lang.Exception
tags
- Tags to search - TAGStypes
- Entity types - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchDataTags(TagCollection tags, org.json.JSONObject types, java.lang.Double maxItems) throws java.lang.Exception
tags
- Tags to search - TAGStypes
- Entity types - JSONmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchModelTagTerm(java.lang.String term, org.json.JSONObject types, org.json.JSONObject names, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to search - STRINGtypes
- Entity types - JSONnames
- Vocabulary names - JSONmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchDataTagTerm(java.lang.String term, org.json.JSONObject types, org.json.JSONObject names, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to search - STRINGtypes
- Entity types - JSONnames
- Vocabulary names - JSONmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable FindModelTagTerm(java.lang.String term, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to search - STRINGmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable FindDataTagTerm(java.lang.String term, java.lang.Double maxItems) throws java.lang.Exception
term
- Term to search - STRINGmaxItems
- Maximum search results - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={7,1}) @Deprecated public InfoTable SpotlightSearch(java.lang.String searchExpression, TagCollection tags, org.json.JSONObject types, org.json.JSONObject thingTemplates, org.json.JSONObject thingShapes, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean searchDescriptions, java.lang.Boolean withPermissions, java.lang.String sortBy, java.lang.Boolean isAscending, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={7,1}) public InfoTable SpotlightSearch(java.lang.String searchExpression, TagCollection tags, org.json.JSONObject types, org.json.JSONObject thingTemplates, org.json.JSONObject thingShapes, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean searchDescriptions, java.lang.Boolean withPermissions, java.lang.String sortBy, java.lang.Boolean isAscending, java.lang.Double maxItems, java.lang.Double maxSearchItems, java.lang.String projectName) throws java.lang.Exception
searchExpression
- Search expression - STRINGtags
- Tags - TAGStypes
- Entity types - JSONthingTemplates
- Thing templates - JSONthingShapes
- Thing shapes - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONstartDate
- Only return entities modified since this date - DATETIMEendDate
- Only return entities modified before this date - DATETIMEsearchDescriptions
- Search descriptions in addition to names - BOOLEANwithPermissions
- Include user permissions - BOOLEANsortBy
- Sort mode - STRINGisAscending
- Ascending search - BOOLEANmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERprojectName
- Project Name - PROJECTNAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchModelEntities(java.lang.String searchExpression, TagCollection tags, org.json.JSONObject types, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGtags
- Tags - TAGStypes
- Entity types - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchThingsByShape(java.lang.String thingShape, java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query) throws java.lang.Exception
thingShape
- Thing shape - THINGSHAPENAMEmaxItems
- 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 SearchThingsByTemplate(java.lang.String thingTemplate, java.lang.Double maxItems, TagCollection tags, java.lang.String nameMask, org.json.JSONObject query) throws java.lang.Exception
thingTemplate
- Thing template - THINGTEMPLATENAMEmaxItems
- 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,0}) public InfoTable SearchThingsByTemplateWithPersistent(java.lang.String thingTemplate, java.lang.Double maxItems, java.lang.String nameMask) throws java.lang.Exception
thingTemplate
- Thing template - THINGTEMPLATENAMEmaxItems
- Maximum number of items to return - NUMBERnameMask
- Name pattern - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SearchModelEntitiesWithRestrictions(java.lang.String searchExpression, TagCollection tags, org.json.JSONObject types, org.json.JSONObject aspects, org.json.JSONObject excludedAspects, java.lang.Double maxItems, java.lang.Double maxSearchItems) throws java.lang.Exception
searchExpression
- Search expression - STRINGtags
- Tags - TAGStypes
- Entity types - JSONaspects
- Aspects to match - JSONexcludedAspects
- Aspects to exclude - JSONmaxItems
- Maximum number of items to return - NUMBERmaxSearchItems
- Maximum number of items to search - NUMBERjava.lang.Exception
- If an error occurs