Class LocalizationTable

    • Field Detail

      • SYSTEM_LANGUAGE_CODE

        public static final java.lang.String SYSTEM_LANGUAGE_CODE
        See Also:
        Constant Field Values
      • DEFAULT_LANGUAGE_CODE

        public static final java.lang.String DEFAULT_LANGUAGE_CODE
        See Also:
        Constant Field Values
      • TOKEN_TABLE_NAME

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

      • LocalizationTable

        public LocalizationTable()
    • Method Detail

      • SetConfigurationTable

        @ThingworxExtensionApiMethod(since={7,3})
        public void SetConfigurationTable​(java.lang.String tableName,
                                          InfoTable configurationTable,
                                          java.lang.Boolean persistent)
                                   throws java.lang.Exception
        Service Category:
        Configuration
        Service Description:
        Set an entire configuration table.
        Overrides:
        SetConfigurationTable in class RootEntity
        Parameters:
        tableName - Configuration table name - STRING
        configurationTable - Configuration table content - INFOTABLE
        persistent - Persist these changes - BOOLEAN
        Throws:
        java.lang.Exception - If an error occurs
      • GetToken

        @ThingworxExtensionApiMethod(since={6,6})
        public java.lang.String GetToken​(java.lang.String name)
                                  throws java.lang.Exception
        Service Category:
        Tokens
        Service Description:
        Return the value for the given token.
        Parameters:
        name - Token name - STRING
        Returns:
        value Localization token - STRING
        Throws:
        java.lang.Exception - If an error occurs