@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class RuntimeLocalizationFunctions extends Resource
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
RuntimeLocalizationFunctions() |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
ExportLocalizationTables(java.lang.String prefix)
Service Category: Localization
Service Description: Export localization tables, optionally with a token name filter.
|
java.lang.String |
GetEffectiveToken(java.lang.String token)
Service Category: Localization
Service Description: Return a token based on language setting for current user.
|
java.lang.String |
GetEffectiveTokenForLanguage(java.lang.String language,
java.lang.String token)
Service Category: Localization
Service Description: Return a token for a specific language.
|
InfoTable |
GetEffectiveTokens()
Service Category: Localization
Service Description: Return a list of effective tokens based on language setting for current user.
|
InfoTable |
GetEffectiveTokensForLanguage(java.lang.String language)
Service Category: Localization
Service Description: Return a table of tokens and values, given an ordered list of language preferences.
|
InfoTable |
GetLanguages()
Service Category: Localization
Service Description: Return a list of languages defined on this system.
Get a list of configured languages along with useful properties of each. |
InfoTable |
SearchDefaultLocalizationTokens(java.lang.String searchExpression)
Service Category: Localization
Service Description: Return a list of Default tokens matching search expression.
|
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 SearchDefaultLocalizationTokens(java.lang.String searchExpression) throws java.lang.Exception
searchExpression
- search pattern - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetEffectiveTokens() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetEffectiveTokensForLanguage(java.lang.String language) throws java.lang.Exception
language
- Language code - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.w3c.dom.Document ExportLocalizationTables(java.lang.String prefix) throws java.lang.Exception
prefix
- Token prefix - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetEffectiveToken(java.lang.String token) throws java.lang.Exception
token
- Token - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetEffectiveTokenForLanguage(java.lang.String language, java.lang.String token) throws java.lang.Exception
language
- Language code - STRINGtoken
- Token - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetLanguages() throws java.lang.Exception
java.lang.Exception