***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Interface ConnectionInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, java.rmi.Remote
All Known Subinterfaces:
COMConnectionInterface, SASClientConnectionInterface, TCPIPConnectionInterface

public interface ConnectionInterface
extends MetadataInterface


Field Summary
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Method Summary
 void addProvider(ServerInterface provider)
          Add a provider server which can connect to the listening source server over this connection.
 java.lang.String getApplicationProtocol()
          Get the application protocol String.
 java.lang.String getAuthenticationType()
          Get the authentication type string for the connection.
 java.lang.String getCommunicationProtocol()
          Get the communication protocol.
 java.lang.String getDomain()
          Get the authentication domain for this connection.
 java.util.List getProviders()
          Get the list of servers that can connect to the listener over this connection.
 ServerInterface getSource()
          Get the server to which a client connects using this connection information.
 void removeProvider(ServerInterface provider)
          Remove a provider server from the providers list.
 void setApplicationProtocol(java.lang.String appProtocol)
          Set the application protocol string.
 void setAuthenticationType(java.lang.String authType)
          Set the authentication type string.
 void setCommunicationProtocol(java.lang.String commProtocol)
          Set the communication protocol.
 void setDomain(java.lang.String domain)
          Set the authentication domain name for this connection.
 void setProviders(java.util.List providers)
          Set the list of provider servers that can connect to the source server over this connection.
 void setSource(ServerInterface server)
          Set the server which is listening on this connection.
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifyDate, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Method Detail

getAuthenticationType

java.lang.String getAuthenticationType()
                                       throws ServiceException,
                                              java.rmi.RemoteException
Get the authentication type string for the connection.

Returns:
The authentication type string.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setAuthenticationType

void setAuthenticationType(java.lang.String authType)
                           throws ServiceException,
                                  java.rmi.RemoteException
Set the authentication type string.

Parameters:
authType - The authentication type string.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getCommunicationProtocol

java.lang.String getCommunicationProtocol()
                                          throws ServiceException,
                                                 java.rmi.RemoteException
Get the communication protocol.

Returns:
The communication protocol.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setCommunicationProtocol

void setCommunicationProtocol(java.lang.String commProtocol)
                              throws ServiceException,
                                     java.rmi.RemoteException
Set the communication protocol.

Parameters:
commProtocol - The communication protocol string.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getApplicationProtocol

java.lang.String getApplicationProtocol()
                                        throws ServiceException,
                                               java.rmi.RemoteException
Get the application protocol String.

Returns:
The application protocol string.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setApplicationProtocol

void setApplicationProtocol(java.lang.String appProtocol)
                            throws ServiceException,
                                   java.rmi.RemoteException
Set the application protocol string.

Parameters:
appProtocol - The application protocol string.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getDomain

java.lang.String getDomain()
                           throws ServiceException,
                                  java.rmi.RemoteException
Get the authentication domain for this connection.

Returns:
The authentication domain name for this connection.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setDomain

void setDomain(java.lang.String domain)
               throws ServiceException,
                      java.rmi.RemoteException
Set the authentication domain name for this connection.

Parameters:
domain - The new domain name.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getSource

ServerInterface getSource()
                          throws ServiceException,
                                 java.rmi.RemoteException
Get the server to which a client connects using this connection information.

Returns:
The server which is listening on this connection.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setSource

void setSource(ServerInterface server)
               throws ServiceException,
                      java.rmi.RemoteException
Set the server which is listening on this connection.

Parameters:
server - The server a client connects to on this connection.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getProviders

java.util.List getProviders()
                            throws ServiceException,
                                   java.rmi.RemoteException
Get the list of servers that can connect to the listener over this connection.

Returns:
The list of provider servers that can connect to the source server over this connection.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

addProvider

void addProvider(ServerInterface provider)
                 throws ServiceException,
                        java.rmi.RemoteException
Add a provider server which can connect to the listening source server over this connection.

Parameters:
provider - A Server which can connect to the source over this connection.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

removeProvider

void removeProvider(ServerInterface provider)
                    throws ServiceException,
                           java.rmi.RemoteException
Remove a provider server from the providers list.

Parameters:
provider - A server to remove from the providers list.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setProviders

void setProviders(java.util.List providers)
                  throws ServiceException,
                         java.rmi.RemoteException
Set the list of provider servers that can connect to the source server over this connection.

Parameters:
providers - A List of ServerInterface objects that can connect to the source server over this connection.
Throws:
ServiceException - If a server error occurs.
java.rmi.RemoteException - In the event of remote object failure.

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.