Exemplo n.º 1
0
 /**
  * Create and return a SchemaTree with given <i>schemaConfig</i>.
  *
  * @param schemaConfig
  * @return
  */
 public SchemaPlus getRootSchema(SchemaConfig schemaConfig) {
   return schemaTreeProvider.createRootSchema(schemaConfig);
 }
Exemplo n.º 2
0
 /**
  * Return root schema with schema owner as the given user.
  *
  * @param userName User who owns the schema tree.
  * @return Root of the schema tree.
  */
 public SchemaPlus getRootSchema(final String userName) {
   return schemaTreeProvider.createRootSchema(userName, this);
 }