*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface ConnectionInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote
- All Known Subinterfaces:
COMConnectionInterface,ProxyInterface,SASClientConnectionInterface,TCPIPConnectionInterface
- All Known Implementing Classes:
- com.sas.services.information.metadata.OMRConnection,
OMRProxy, com.sas.services.information.metadata.OMRTCPIPConnection
@SASScope("ALL")
@BinaryCompatibilityOnly
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
Modifier and TypeMethodDescriptionvoidaddProvider(ServerInterface provider) Add a provider server which can connect to the listening source server over this connection.StringGet the application protocol String.StringGet the authentication type string for the connection.StringGet the communication protocol.StringGet the authentication domain for this connection.List<MetadataInterface> Get the properties for connection.ListGet the list of servers that can connect to the listener over this connection.Get the server to which a client connects using this connection information.voidremoveProvider(ServerInterface provider) Remove a provider server from the providers list.voidsetApplicationProtocol(String appProtocol) Set the application protocol string.voidsetAuthenticationType(String authType) Set the authentication type string.voidsetCommunicationProtocol(String commProtocol) Set the communication protocol.voidsetDomain(String domain) Set the authentication domain name for this connection.voidsetProperty(ConnectionInterface objCon, String value, String PropName) Set the value to the property of connection.voidsetProviders(List providers) Set the list of provider servers that can connect to the source server over this connection.voidsetSource(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, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, 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, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
getAuthenticationType
Get the authentication type string for the connection.- Returns:
- The authentication type string.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setAuthenticationType
Set the authentication type string.- Parameters:
authType- The authentication type string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getCommunicationProtocol
Get the communication protocol.- Returns:
- The communication protocol.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setCommunicationProtocol
Set the communication protocol.- Parameters:
commProtocol- The communication protocol string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getProperties
Get the properties for connection.- Returns:
- The list of properties.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getApplicationProtocol
Get the application protocol String.- Returns:
- The application protocol string.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setApplicationProtocol
Set the application protocol string.- Parameters:
appProtocol- The application protocol string.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getDomain
Get the authentication domain for this connection.- Returns:
- The authentication domain name for this connection.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setDomain
Set the authentication domain name for this connection.- Parameters:
domain- The new domain name.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getSource
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.RemoteException- In the event of remote object failure.
-
setSource
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.RemoteException- In the event of remote object failure.
-
getProviders
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.RemoteException- In the event of remote object failure.
-
addProvider
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.RemoteException- In the event of remote object failure.
-
removeProvider
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.RemoteException- In the event of remote object failure.
-
setProviders
Set the list of provider servers that can connect to the source server over this connection.- Parameters:
providers- A List ofServerInterfaceobjects that can connect to the source server over this connection.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setProperty
void setProperty(ConnectionInterface objCon, String value, String PropName) throws RemoteException, com.sas.metadata.remote.MdException Set the value to the property of connection.- Parameters:
objCon- Connection object, It can be SASClientConnection or TCPIPConnection.value- to be assigned to property.PropName- Name of property for which value will be changed.- Throws:
RemoteException- In the event of remote object failure.com.sas.metadata.remote.MdException- If a metadata error occurs.
-