Examples of RepositoryInfo


Examples of org.fcrepo.server.access.RepositoryInfo

    public Response describeRepository(Context context,
                                   boolean xml)
            throws ServerException {

        RepositoryInfo repositoryInfo = null;

        try {
            repositoryInfo = m_access.describeRepository(context);
            if (repositoryInfo != null) {
                // Repository info obtained.
View Full Code Here

Examples of org.fcrepo.server.types.gen.RepositoryInfo

                    }
                }
            } else if (kind == ONE_FROM_REPOS) {
                SourceRepoDialog sdlg = new SourceRepoDialog();
                if (sdlg.getAPIA() != null) {
                    RepositoryInfo repoinfo =
                        sdlg.getAPIA().describeRepository();
                    String sourceExportFormat = Ingest.getExportFormat(repoinfo);
                    String pid = JOptionPane.
                        showInputDialog("Enter the PID of the object to ingest.");
                    if (pid != null && !pid.equals("")) {
                        pid =
                                Ingest.oneFromRepository(sdlg.getAPIA(),
                                                         sdlg.getAPIM(),
                                                         sourceExportFormat,
                                                         pid,
                                                         Administrator.APIA,
                                                         Administrator.APIM,
                                                         null);
                        JOptionPane.showMessageDialog(Administrator
                                .getDesktop(), "Ingest succeeded.  PID=" + pid);
                    }
                }
            } else if (kind == MULTI_FROM_REPOS) {
                wasMultiple = true;
                SourceRepoDialog sdlg = new SourceRepoDialog();
                if (sdlg.getAPIA() != null) {
                    RepositoryInfo repoinfo =
                        sdlg.getAPIA().describeRepository();
                    String sourceExportFormat = Ingest.getExportFormat(repoinfo);
                    // looks ok... do the request
                    long st = System.currentTimeMillis();
                    logRootName = "ingest-from-repos";
View Full Code Here

Examples of org.guvnor.structure.repositories.RepositoryInfo

                    ouName = ou.getName();
                }
            }
        }
        List<VersionRecord> initialRecordList = getRepositoryHistory( alias, 0, HISTORY_PAGE_SIZE);
        return new RepositoryInfo( alias, ouName, repo.getRoot(), repo.getPublicURIs(), initialRecordList);
    }
View Full Code Here

Examples of org.openrdf.repository.manager.RepositoryInfo

        writeln("+----------");
        for (String repID : repIDs) {
          write("|" + repID);

          try {
            RepositoryInfo repInfo = manager.getRepositoryInfo(repID);
            if (repInfo.getDescription() != null) {
              write(" (\"" + repInfo.getDescription() + "\")");
            }
          }
          catch (StoreConfigException e) {
            write(" [ERROR: " + e.getMessage() + "]");
          }
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.