Package com.filenet.api.core

Examples of com.filenet.api.core.ObjectStore


  @Override
  public IObjectStore getObjectStore(String objectStoreName,
          IConnection conn, String userName, String userPassword)
          throws RepositoryException, RepositoryLoginException {
    ObjectStore os = null;
    try {
      os = getRawObjectStore(userName, userPassword,
          ((FnConnection) conn).getConnection(), objectStoreName);
    } catch (Throwable e) {
      logger.log(Level.WARNING, "Unable to connect to the Object Store with user: "
View Full Code Here


        "FileNetP8");
    UserContext.get().pushSubject(s);
    Domain domain = Factory.Domain.fetchInstance(conn, null, null);
    logger.log(Level.INFO, "Fetch domain: {0}", domain);
    logger.info("Creating the FileNet object store instance.");
    ObjectStore os = Factory.ObjectStore.fetchInstance(domain, objectStoreName,
        null);
    os.refresh();
    logger.config("Connection to FileNet ObjectStore is successful...");
    return os;
  }
View Full Code Here

TOP

Related Classes of com.filenet.api.core.ObjectStore

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.