Class DataThing<SP extends ServiceProvider>

    • Field Detail

      • DATA_THING_SETTINGS

        public static final java.lang.String DATA_THING_SETTINGS
        See Also:
        Constant Field Values
      • PERSISTENCE_PROVIDER

        public static final java.lang.String PERSISTENCE_PROVIDER
        See Also:
        Constant Field Values
      • PERSISTENCE_PROVIDER_DESCRIPTION

        public static final java.lang.String PERSISTENCE_PROVIDER_DESCRIPTION
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataThing

        public DataThing()
    • Method Detail

      • GetPersistenceProvider

        @ThingworxExtensionApiMethod(since={6,6})
        public java.lang.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​(java.lang.String name)
                                    throws java.lang.Exception
        Service Category:
        PersistenceProvider
        Service Description:
        Sets the persistence provider.
        Parameters:
        name - Persistence provider name - PERSISTENCEPROVIDERNAME
        Throws:
        java.lang.Exception - If an error occurs