Examples of OCCatalogCollection


Examples of com.ipc.oce.objects.OCCatalogCollection

   * Используется для доступа к определенным в конфигурации справочникам.
   * @return
   * @throws JIException
   */
  public OCCatalogCollection getCatalogCollection() throws JIException {
    return new OCCatalogCollection(get("Catalogs"));
  }
View Full Code Here

Examples of com.ipc.oce.objects.OCCatalogCollection

   * @param catalogName наименование справочника
   * @return OCCatalogManager
   * @throws JIException
   */
  public OCCatalogManager getCatalogManager(String catalogName) throws JIException {
    OCCatalogCollection collection = getCatalogCollection();
    try {
      OCCatalogManager manager = collection.getCatalog(catalogName);
      return manager;
    } catch (JIException e) {
      getErrorListener().onError(this, e);
      throw e;
    }
View Full Code Here

Examples of com.ipc.oce.objects.OCCatalogCollection

    }
  }
 
  @Test
  public void enumCatalogs() throws JIException {
    OCCatalogCollection collection = app.getCatalogCollection();
    System.out.println("\nOCCatalogCollection ====================");
    for (OCCatalogManager manager : collection) {
      System.out.println(manager.getMetadata().getFullName());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.