public class FilesIntegratorContext extends Object
| Constructor and Description |
|---|
FilesIntegratorContext(FilesAndFoldersClient client,
DataManagerEventClient eventClient,
String userId,
String fileSystemGUID,
String fileSystemName)
Create a new client with no authentication embedded in the HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerListener(DataManagerEventListener listener)
Register a listener object that will be passed each of the events published by
the Data Manager OMAS.
|
public FilesIntegratorContext(FilesAndFoldersClient client, DataManagerEventClient eventClient, String userId, String fileSystemGUID, String fileSystemName)
client - client to map request toeventClient - client to register for eventsuserId - integration daemon's userIdfileSystemGUID - unique identifier of the software server capability for the file systemfileSystemName - unique name of the software server capability for the file systempublic void registerListener(DataManagerEventListener listener) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, PropertyServerException, UserNotAuthorizedException
listener - listener objectInvalidParameterException - one of the parameters is null or invalid.ConnectionCheckedException - there are errors in the configuration of the connection which is preventing
the creation of a connector.ConnectorCheckedException - there are errors in the initialization of the connector.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2020 ODPi. All rights reserved.