@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true, canExtendOrImplement=true) public class StreamThing extends DataThing<ClassicStreamServiceProvider> implements IData, IFeed, IDynamicServiceShape, IStream
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
_logger |
static int |
PURGE_BLOCK_SIZE |
DATA_THING_SETTINGS, PERSISTENCE_PROVIDER, PERSISTENCE_PROVIDER_DESCRIPTION
DATASHAPE_INCOMING_LOCAL_PROPERTY_BINDING, DEFAULT_SETTINGS_TABLE, ENTITYLIST_SHAPE, GENERIC_THING_TEMPLATE, TYPE_THING
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
StreamThing() |
Modifier and Type | Method and Description |
---|---|
void |
AddStreamEntries(InfoTable values)
Service Category: StreamEntries
Service Description: Add multiple stream entries.
|
void |
AddStreamEntry(org.joda.time.DateTime timestamp,
Location location,
java.lang.String source,
java.lang.String sourceType,
TagCollection tags,
InfoTable values)
Service Category: StreamEntries
Service Description: Add a new stream entry.
|
void |
addStreamEntry(org.joda.time.DateTime timestamp,
Location location,
java.lang.String source,
java.lang.String sourceType,
TagCollection tags,
ValueCollection values) |
void |
addStreamEntryImmediately(org.joda.time.DateTime timestamp,
Location location,
java.lang.String source,
java.lang.String sourceType,
TagCollection tags,
ValueCollection values) |
InfoTable |
CreateValues()
Service Category: Values
Service Description: Create an empty info table of the correct datashape for this stream.
|
InfoTable |
CreateValuesWithData(org.json.JSONObject values)
Service Category: Values
Service Description: Create an info table of the correct datashape for this stream and include data values.
|
void |
DeleteStreamEntry(java.lang.String streamEntryId)
Service Category: StreamEntries
Service Description: Delete a specific stream entry given a stream entry ID.
|
void |
dispose()
|
DataShapeDefinition |
getAccumulatedDataShape() |
DataShapeDefinition |
getDataShape() |
java.lang.String |
GetDataShape()
Service Category: DataShape
Service Description: Get the currently assigned data shape.
|
java.lang.String |
getDataShapeName() |
RelationshipTypes.ThingworxRelationshipTypes |
getDataType() |
EntityReferenceTypeMap |
getDependencies()
|
IDataEntryCloseableIterator<StreamEntry> |
getEntryIterator(Timespan timespan)
Returns an iterator over all entries inside this stream thing added over the provided timespan. |
InfoTable |
GetFieldNames()
Service Category: Fields
Service Description: Retrieve a list of field names for the data shape associated with this stream.
|
InfoTable |
GetFieldNamesByType(java.lang.String type)
Service Category: Fields
Service Description: Retrieve a list of field names for the data shape associated with this stream, of a specific type.
|
java.lang.String |
getItemCollectionName() |
java.lang.String |
getItemEntityName() |
RelationshipTypes.ThingworxRelationshipTypes |
getItemEntityType() |
InfoTable |
GetStreamData(java.lang.Double maxItems,
java.lang.Boolean oldestFirst)
Service Category: Queries
Service Description: Get all stream data (no entry detail).
|
InfoTable |
GetStreamEntries(java.lang.Double maxItems,
java.lang.Boolean oldestFirst)
Service Category: Queries
Service Description: Get all stream entries (without data).
|
InfoTable |
GetStreamEntriesWithData(java.lang.Double maxItems,
java.lang.Boolean oldestFirst)
Service Category: Queries
Service Description: Get all stream entries (with data).
|
InfoTable |
GetStreamEntry(java.lang.String streamEntryId)
Service Category: StreamEntries
Service Description: Retrieve a specific stream entry given a stream entry ID.
|
java.lang.Double |
GetStreamEntryCount()
Service Category: StreamEntries
Service Description: Retrieve a count of stream entries.
|
void |
initializeThing()
|
void |
PurgeStreamEntries(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean immediate)
Service Category: Maintenance
Service Description: Purge stream entries for a specified date range.
|
InfoTable |
QueryStreamData(java.lang.Double maxItems,
java.lang.String source,
TagCollection tags,
TagCollection sourceTags,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean oldestFirst,
org.json.JSONObject query)
Service Category: Queries
Service Description: Query stream data (no stream entry details), along with filter and sort criteria.
|
InfoTable |
QueryStreamEntries(java.lang.Double maxItems,
java.lang.String source,
TagCollection tags,
TagCollection sourceTags,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean oldestFirst,
org.json.JSONObject query)
Service Category: Queries
Service Description: Query stream entries (without data), along with filter and sort criteria.
|
InfoTable |
QueryStreamEntriesWithData(java.lang.Double maxItems,
java.lang.String source,
TagCollection tags,
TagCollection sourceTags,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean oldestFirst,
org.json.JSONObject query)
Service Category: Queries
Service Description: Query stream entries (with data), along with filter and sort criteria.
|
void |
SetDataShape(java.lang.String name)
Service Category: DataShape
Service Description: Sets the currently assigned data shape.
|
void |
UpdateStreamEntry(java.lang.String streamEntryId,
Location location,
java.lang.String source,
TagCollection tags,
InfoTable values)
Service Category: StreamEntries
Service Description: Update an existing stream entry.
|
void |
validateConfiguration(ImportedEntityCollection importedEntityCollections)
|
GetPersistenceProvider, SetPersistenceProvider
AcknowledgeAlert, acknowledgeAlertByProperty, acknowledgeAlertByPropertyAndName, acknowledgeAllAlerts, AcknowledgeAllAlerts, AddBooleanValueStreamEntry, AddDateTimeValueStreamEntry, AddDynamicSubscription, AddEventDefinition, AddImageValueStreamEntry, AddInfoTableValueStreamEntry, AddIntegerValueStreamEntry, AddLocationValueStreamEntry, AddLongValueStreamEntry, AddNumberValueStreamEntry, AddOrUpdateAlert, addProperty, AddPropertyDefinition, AddPropertyDefinition, AddPropertyDefinitions, AddPropertyTransformDefinition, AddServiceDefinition, AddStringValueStreamEntry, AddTags, AddThingCodeValueStreamEntry, AddVec2ValueStreamEntry, AddVec3ValueStreamEntry, AddVec4ValueStreamEntry, checkDemandRead, checkPropertyName, checkValueStream, cleanupThing, cleanupThing, DisableAlertsForProperty, DisableAllAlerts, DisableSubscription, DisableThing, dispatchBackgroundEvent, dispatchEvent, EnableAlertsForProperty, EnableAllAlerts, EnableSubscription, EnableThing, fireEvent, getAlertConfigurations, GetAlertDefinition, GetAlertDefinitions, getAlerts, getAlertsForProperty, GetAlertStatus, GetAlertStatuses, GetAlertStatusesForProperty, GetAlertSummary, GetAlertSummaryForProperty, GetAllAnomalyAlertTrainingStatistics, getAllImplementedThingShapes, getAllImplementedThingTemplates, GetAnomalyAlertTrainingStatisticsForAlert, GetAnomalyAlertTrainingStatisticsForProperty, GetAvatar, GetBooleanAlertParameter, GetBooleanPropertyValue, GetDateTimeAlertParameter, GetDateTimePropertyValue, getEffectiveAlertConfiguration, getEffectiveAlertDefinition, getEffectiveEventDefinition, getEffectiveIdentifier, GetEffectiveLocalPropertyBinding, getEffectiveLocalPropertyBindings, GetEffectiveLocalPropertyBindings, getEffectivePropertyDefinition, GetEffectivePropertyLogging, getEffectiveRemoteEventBindings, getEffectiveRemotePropertyBindings, getEffectiveRemoteServiceBindings, getEffectiveServiceDefinition, getEffectiveValueStreamName, getEntityType, GetHomeMashup, getIdentifier, GetIdentifier, GetImagePropertyValue, GetImplementedShapes, getImplementedThingTemplates, GetIncomingLocalPropertyBinding, GetIncomingLocalPropertyBindings, getInstanceEventDefinition, getInstanceEventDefinitions, getInstancePropertyDefinition, getInstancePropertyDefinitions, getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, getInstanceShape, getInstanceSubscriptions, GetIntegerAlertParameter, GetIntegerPropertyValue, GetLocalAlertDefinitions, GetLocallyImplementedShapes, GetLocalPropertyBinding, GetLocationAlertParameter, GetLocationPropertyValue, GetLoggedProperties, GetLongAlertParameter, GetLongPropertyValue, GetMashups, GetNamedProperties, GetNamedPropertyValues, GetNamedPropertyValuesVTQ, GetNamedPropertyValuesVTQA, GetNetworks, GetNumberAlertParameter, GetNumberPropertyValue, GetNumericLoggedProperties, getProperties, getProperty, getPropertyAckStatus, getPropertyAlertStatus, GetPropertyLogging, getPropertyQuality, GetPropertyQuality, getPropertyTime, GetPropertyTime, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValues, GetPropertyValues, getPropertyValuesAsInfoTable, GetPropertyValuesAsMultiRowTable, GetPropertyValuesVTQ, GetPropertyValuesVTQA, GetPublished, GetRemoteEventBinding, GetRemotePropertyBinding, GetRemoteServiceBinding, getState, GetStringAlertParameter, GetStringPropertyValue, GetThingCodePropertyValue, GetThingRelationships, GetThingSummaryInformation, getThingTemplate, GetThingTemplate, getThingTemplateName, GetValueStream, getValueStreamName, GetVec2PropertyValue, GetVec3PropertyValue, GetVec4PropertyValue, HasAlert, hasEventDefinition, hasLocalEventDefinition, hasLocalPropertyDefinition, hasLocalServiceDefinition, hasProperty, hasPropertyDefinition, hasServiceDefinition, HavePropertiesChangedSince, implementsShape, ImplementsShape, implementsTemplate, initializeEntity, initializeProperty, initializeThing, isAlwaysAvailableService, isBuiltInEvent, isBuiltInProperty, IsDerivedFromTemplate, IsDynamicSubscriptionCreated, isEnabled, IsEnabled, isEventRemote, isExternallySubscribed, IsInNetwork, isLocallySubscribed, isLocalProperty, isPropertyEvent, isPropertyRemote, isPublished, isRunning, isServiceRemote, isSubscribed, preprocessSetPropertyVTQ, processAPIServiceRequest, processServiceRequest, processStartNotification, processStartNotification, PurgeAllPropertyHistory, PurgePropertyHistory, PurgeSelectedPropertyHistory, QueryAlertHistory, QueryAlertSummary, QueryBooleanPropertyHistory, QueryDateTimePropertyHistory, QueryImagePropertyHistory, QueryInfoTablePropertyHistory, QueryIntegerPropertyHistory, QueryLocationPropertyHistory, QueryLongPropertyHistory, QueryNamedPropertyHistory, QueryNumberPropertyHistory, QueryPropertyHistory, QueryStringPropertyHistory, QueryThingCodePropertyHistory, QueryVec2PropertyHistory, QueryVec3PropertyHistory, QueryVec4PropertyHistory, RemoveAlert, RemoveDynamicSubscription, RemoveEventDefinition, RemoveLocalPropertyBinding, RemovePropertyDefinition, RemoveRemoteEventBinding, RemoveRemotePropertyBinding, RemoveRemoteServiceBinding, RemoveServiceDefinition, RestartThing, SetBooleanAlertParameter, SetDateTimeAlertParameter, SetDescription, SetIdentifier, SetIntegerAlertParameter, SetLocalPropertyBinding, SetLocalPropertyBinding, SetLocationAlertParameter, SetNumberAlertParameter, SetPropertyLogging, setPropertyValue, SetPropertyValues, setPropertyVTQ, setPropertyVTQ, SetPublished, SetRemoteEventBinding, SetRemotePropertyBinding, SetRemotePropertyBinding, SetRemoteServiceBinding, SetStringAlertParameter, SetTags, setThingTemplateName, SetUnitsForNumericPropertyDefinition, SetValueStream, startThing, startThing, stopThing, UpdatePropertyValues, WritePropertiesToStream
AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, 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, preInitializeEntity, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getID, hasID
getDescription
getID, getName
protected static org.slf4j.Logger _logger
public static final int PURGE_BLOCK_SIZE
@ThingworxExtensionApiMethod(since={6,6}) public StreamThing()
@ThingworxExtensionApiMethod(since={7,0,1}) public IDataEntryCloseableIterator<StreamEntry> getEntryIterator(Timespan timespan) throws java.lang.Exception
timespan
- the timespan of interestjava.lang.Exception
- if an exception occurred creating the iterator@ThingworxExtensionApiMethod(since={6,6}, canOverride=true, requiresSuper=true) public void validateConfiguration(ImportedEntityCollection importedEntityCollections) throws java.lang.Exception
Thing
Validates the configuration of the thing during the import process. This method is called whenever a thing is created or modified via
the REST APIs. During the validation step, there may be other associated entities (including thing shapes and templates) that are
being imported. These can be accessed via the importedEntities
collection if needed.
Note that some resources belonging to the thing or other associated entities may not be available during this step in the lifecycle.
It is required for all subclasses of Thing
to call super.validateConfiguration(importedEntities)
if they override
this method.
validateConfiguration
in class Thing
importedEntityCollections
- - a typed collection of entities currently being importedjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true, requiresSuper=true) public void initializeThing() throws java.lang.Exception
Thing
An initialization hook for subclasses of Thing
. Some resources of Thing
may not be available at this point in the
lifecycle.
initializeThing
in class Thing
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true, requiresSuper=true) public void dispose() throws java.lang.Exception
RootEntity
Removes any remaining references of this entity and disposes any resources that were not cleaned up earlier in the lifecycle. This method is only invoked when the entity is in the process of deletion.
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getDataShapeName()
getDataShapeName
in interface IData
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetDataShape()
@ThingworxExtensionApiMethod(since={6,6}) public void SetDataShape(java.lang.String name) throws java.lang.Exception
name
- Data shape name - DATASHAPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) public DataShapeDefinition getDataShape()
getDataShape
in interface IData
getDataShape
in interface IDynamicServiceShape
getDataShape
in interface IStream
@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) public DataShapeDefinition getAccumulatedDataShape()
@ThingworxExtensionApiMethod(since={6,6}) public void DeleteStreamEntry(java.lang.String streamEntryId) throws java.lang.Exception
streamEntryId
- Stream entry ID - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetStreamEntry(java.lang.String streamEntryId) throws java.lang.Exception
streamEntryId
- Stream entry ID - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Double GetStreamEntryCount() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetFieldNames() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetFieldNamesByType(java.lang.String type) throws java.lang.Exception
type
- Base type name - BASETYPENAMEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddStreamEntries(InfoTable values) throws java.lang.Exception
values
- Stream entry values - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddStreamEntry(org.joda.time.DateTime timestamp, Location location, java.lang.String source, java.lang.String sourceType, TagCollection tags, InfoTable values) throws java.lang.Exception
timestamp
- Event time (optional) - DATETIMElocation
- Location of the entry (optional) - LOCATIONsource
- Source of the event - STRINGsourceType
- Source type (User,Thing) - STRINGtags
- Tags (optional) - TAGSvalues
- Data values - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void addStreamEntry(org.joda.time.DateTime timestamp, Location location, java.lang.String source, java.lang.String sourceType, TagCollection tags, ValueCollection values) throws java.lang.Exception
addStreamEntry
in interface IStream
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void UpdateStreamEntry(java.lang.String streamEntryId, Location location, java.lang.String source, TagCollection tags, InfoTable values) throws java.lang.Exception
streamEntryId
- Stream entry ID - STRINGlocation
- Location of the entry (optional) - LOCATIONsource
- Source of the event - STRINGtags
- Tags (optional) - TAGSvalues
- Data values - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable CreateValues() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable CreateValuesWithData(org.json.JSONObject values) throws java.lang.Exception
values
- Data values (JSON Object) - JSONjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void PurgeStreamEntries(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean immediate) throws java.lang.Exception
startDate
- Start time - DATETIMEendDate
- End time - DATETIMEimmediate
- Delete immediately - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetStreamEntries(java.lang.Double maxItems, java.lang.Boolean oldestFirst) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERoldestFirst
- Search/sort from oldest to newest - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetStreamEntriesWithData(java.lang.Double maxItems, java.lang.Boolean oldestFirst) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERoldestFirst
- Search/sort from oldest to newest - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetStreamData(java.lang.Double maxItems, java.lang.Boolean oldestFirst) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERoldestFirst
- Search/sort from oldest to newest - BOOLEANjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryStreamEntriesWithData(java.lang.Double maxItems, java.lang.String source, TagCollection tags, TagCollection sourceTags, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean oldestFirst, org.json.JSONObject query) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERsource
- Source of this entry (optional) - STRINGtags
- Tags - TAGSsourceTags
- Source Tags - TAGSstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEoldestFirst
- Search/sort from oldest to newest - BOOLEANquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryStreamData(java.lang.Double maxItems, java.lang.String source, TagCollection tags, TagCollection sourceTags, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean oldestFirst, org.json.JSONObject query) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERsource
- Source of this entry (optional) - STRINGtags
- Tags - TAGSsourceTags
- Source Tags - TAGSstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEoldestFirst
- Search/sort from oldest to newest - BOOLEANquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryStreamEntries(java.lang.Double maxItems, java.lang.String source, TagCollection tags, TagCollection sourceTags, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean oldestFirst, org.json.JSONObject query) throws java.lang.Exception
maxItems
- Maximum number of items to return - NUMBERsource
- Source of this entry (optional) - STRINGtags
- Tags - TAGSsourceTags
- Source Tags - TAGSstartDate
- Start time - DATETIMEendDate
- End time - DATETIMEoldestFirst
- Search/sort from oldest to newest - BOOLEANquery
- Query definition - QUERYjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getItemEntityName()
getItemEntityName
in interface IFeed
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getItemCollectionName()
getItemCollectionName
in interface IFeed
@ThingworxExtensionApiMethod(since={6,6}, canOverride=true, requiresSuper=true) public EntityReferenceTypeMap getDependencies()
Thing
Returns a map containing references to all entities that the Thing is dependent on.
getDependencies
in class Thing
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getDataType()
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getItemEntityType()
@ThingworxExtensionApiMethod(since={6,6}) public void addStreamEntryImmediately(org.joda.time.DateTime timestamp, Location location, java.lang.String source, java.lang.String sourceType, TagCollection tags, ValueCollection values) throws java.lang.Exception
java.lang.Exception
- If an error occurs