Class ConnectRegistrationBroker

java.lang.Object
org.nuxeo.launcher.connect.ConnectRegistrationBroker

public class ConnectRegistrationBroker extends Object
Since:
8.3
Author:
Arnaud Kervern
  • Constructor Details

    • ConnectRegistrationBroker

      public ConnectRegistrationBroker()
  • Method Details

    • registration

      protected static org.nuxeo.connect.registration.ConnectRegistrationService registration()
    • registerLocal

      public void registerLocal(String strCLID, String description) throws IOException, ConfigurationException
      Throws:
      IOException
      ConfigurationException
    • registerRemote

      public void registerRemote(String username, char[] password, String projectId, org.nuxeo.connect.connector.NuxeoClientInstanceType type, String description) throws IOException, ConfigurationException
      Throws:
      IOException
      ConfigurationException
    • remoteRenewRegistration

      public void remoteRenewRegistration() throws IOException, org.nuxeo.connect.registration.RegistrationException
      Renews a registration.
      Throws:
      IOException
      org.nuxeo.connect.registration.RegistrationException
      Since:
      8.10-HF15
    • getProjectByName

      public org.nuxeo.connect.data.ConnectProject getProjectByName(String projectName, List<org.nuxeo.connect.data.ConnectProject> availableProjects)
      Find a project by its symbolic name, ignoring case
      Parameters:
      projectName - project symbolic name
      availableProjects - projects in which to to look for project
      Returns:
      the project or null if not found
    • getAvailableProjects

      public List<org.nuxeo.connect.data.ConnectProject> getAvailableProjects(String username, char[] password) throws ConfigurationException
      Throws:
      ConfigurationException