Class DataThing<SP extends ServiceProvider>

All Implemented Interfaces:
ISupportsAccessModifier, IConfigurableObject, INotScriptFriendly, ISupportsDeprecation, IDiffableObject, IAlertProvider, IAvatar, IEntityLifeCycleEvent, IEventMetadataProvider, IEventProvider, IPersistable, IPropertyProvider, IServiceMetadataProvider, IServiceProvider, IShapeProvider, ITaggableObject, IDependencyScannableObject, IImportDependencyHandler, IHierarchicalEntity, IEntityDefinition, IPersistableObject<String>, IDesignTimeSecurable, IDesignTimeSecurableEntity, IRunTimeSecurable, IRunTimeSecurableEntity, ISecurable, IVisibilitySecurable, IVisibilitySecurableEntity, IEventProcessor, IAspectContainer, INamedObject, Serializable
Direct Known Subclasses:
DataThingWithEvents, StreamThing

@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public abstract class DataThing<SP extends ServiceProvider> extends Thing
See Also:
  • Field Details

  • Constructor Details

    • DataThing

      public DataThing()
  • Method Details

    • GetPersistenceProvider

      @ThingworxExtensionApiMethod(since={6,6}) public String GetPersistenceProvider()
      Service Category:
      PersistenceProvider
      Service Description:
      Get the currently assigned persistence provider.
      Returns:
      result Persistence provider name - PERSISTENCEPROVIDERNAME
    • SetPersistenceProvider

      @ThingworxExtensionApiMethod(since={6,6}) public void SetPersistenceProvider(String name) throws Exception
      Service Category:
      PersistenceProvider
      Service Description:
      Sets the persistence provider.
      Parameters:
      name - Persistence provider name - PERSISTENCEPROVIDERNAME
      Throws:
      Exception - If an error occurs