java.lang.Object
org.exoplatform.commons.api.settings.data.Tools

public class Tools extends Object
This class is useful to build the object path of SettingValue with Context and Scope.
eXo level API
Experimental
  • Constructor Details

    • Tools

      public Tools()
  • Method Details

    • buildScopePath

      public static String buildScopePath(Context context, Scope scope)
      Builds a path of a specified scope in the database.
      Parameters:
      context - The context with which the path is associated.
      scope - The scope with which the path is associated.
      Returns:
      The scope path.
      eXo level API
      Experimental
    • buildContextPath

      public static String buildContextPath(Context context)
      Builds a path of a specified context in the database.
      Parameters:
      context - The context with which the path is associated.
      Returns:
      The context path.
      eXo level API
      Experimental