public class ConnectRegistrationBroker extends Object
Constructor and Description |
---|
ConnectRegistrationBroker() |
Modifier and Type | Method and Description |
---|---|
List<org.nuxeo.connect.data.ConnectProject> |
getAvailableProjects(String username,
char[] password) |
org.nuxeo.connect.data.ConnectProject |
getProjectByName(String projectName,
List<org.nuxeo.connect.data.ConnectProject> availableProjects)
Find a project by its symbolic name, ignoring case
|
void |
registerLocal(String strCLID,
String description) |
void |
registerRemote(String username,
char[] password,
String projectId,
org.nuxeo.connect.connector.NuxeoClientInstanceType type,
String description) |
protected static org.nuxeo.connect.registration.ConnectRegistrationService |
registration() |
void |
remoteRenewRegistration()
Renews a registration.
|
public ConnectRegistrationBroker()
protected static org.nuxeo.connect.registration.ConnectRegistrationService registration()
public void registerLocal(String strCLID, String description) throws IOException, ConfigurationException
IOException
ConfigurationException
public void registerRemote(String username, char[] password, String projectId, org.nuxeo.connect.connector.NuxeoClientInstanceType type, String description) throws IOException, ConfigurationException
IOException
ConfigurationException
public void remoteRenewRegistration() throws IOException, org.nuxeo.connect.registration.RegistrationException
IOException
org.nuxeo.connect.registration.RegistrationException
public org.nuxeo.connect.data.ConnectProject getProjectByName(String projectName, List<org.nuxeo.connect.data.ConnectProject> availableProjects)
projectName
- project symbolic nameavailableProjects
- projects in which to to look for project
public List<org.nuxeo.connect.data.ConnectProject> getAvailableProjects(String username, char[] password) throws ConfigurationException
ConfigurationException
Copyright © 2018 Nuxeo. All rights reserved.