Package com.gentics.lib.datasource

Examples of com.gentics.lib.datasource.CNDatasource


   * This method is only for tests.
   * @param ds WriteableDatasource that can be cast to CNDatasource.
   * @throws Exception in case of ObjectManagementError.
   */
  public static void importObjectTypes(WriteableDatasource ds, InputStream stream) throws Exception {
    CNDatasource cnds = (CNDatasource) ds;
    try {
      ObjectManagementManager.importTypes((CNDatasource) ds, stream);
    } catch (ObjectManagementException e) {
      throw new Exception(e);
    }
View Full Code Here

TOP

Related Classes of com.gentics.lib.datasource.CNDatasource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.