| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRemoteEclipseConnection

This class is the central communication channel to invoke Remote Eclipse API methods
| Method Summary | |
|---|---|
 void | 
addDisposeListener(IDisposeConnectionListener listener)
Registers a new listener that gets notified when the connection is about to be disposed  | 
 void | 
authenticateConnection(java.lang.String submittedToken)
Method to authenticate the connection.  | 
 void | 
dispose()
Disposes this connection and flushes all internal caches  | 
 java.lang.Object | 
getAdapter(java.lang.String clazzName)
Generic adapter method to get access to API functions  | 
 java.lang.String | 
getAuthenticationTokenHolderUrl(java.lang.String type)
Returns a URL of a piece of data that is used to exchange a secret token between the Remote API plugin and consumers of the API, for example to a Notes document  | 
 java.lang.String | 
getEclipseObjClassname(java.lang.Object o)
Deprecated.  | 
 java.lang.Long | 
getId()
Returns the internal connection ID  | 
 java.util.Set<java.lang.String> | 
getOwners()
Returns a list of persons that are registered as owners for this connection.  | 
 java.lang.String | 
getUser()
Returns the abbreviated Notes name of the user that is currently accessing the remote api  | 
 boolean | 
isDisposed()
Method to check whether this connection is disposed  | 
 void | 
removeDisposeListener(IDisposeConnectionListener listener)
Removes a registered IDisposeConnectionListener | 
| Method Detail | 
|---|
java.lang.Long getId()
                     throws RemoteEclipseAPIException
RemoteEclipseAPIException
void dispose()
             throws RemoteEclipseAPIException
RemoteEclipseAPIException
boolean isDisposed()
                   throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.Object getAdapter(java.lang.String clazzName)
                            throws RemoteEclipseAPIException
clazzName - classname of API function
null if not found
RemoteEclipseAPIException
void authenticateConnection(java.lang.String submittedToken)
                            throws RemoteEclipseAPIException
submittedToken - secure token that was written at the location returned by #getAuthenticationTokenHolderUrl(IRemoteEclipseConnection)
RemoteEclipseAPIException
java.lang.String getAuthenticationTokenHolderUrl(java.lang.String type)
                                                 throws RemoteEclipseAPIException
type - preferred type of token holder
RemoteEclipseAPIException
java.util.Set<java.lang.String> getOwners()
                                          throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.lang.String getUser()
                         throws RemoteEclipseAPIException
RemoteEclipseAPIException
@Deprecated
java.lang.String getEclipseObjClassname(java.lang.Object o)
                                        throws RemoteEclipseAPIException
RemoteEclipseAPIException
void addDisposeListener(IDisposeConnectionListener listener)
                        throws RemoteEclipseAPIException
listener - listener
RemoteEclipseAPIException
void removeDisposeListener(IDisposeConnectionListener listener)
                           throws RemoteEclipseAPIException
IDisposeConnectionListener
listener - listener
RemoteEclipseAPIException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||