*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface SASClientConnectionInterface
- All Superinterfaces:
ConnectionInterface,MetadataInterface,PublicObjectInterface,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public interface SASClientConnectionInterface
extends ConnectionInterface
-
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 TypeMethodDescriptionvoidaddLibrary(SASLibraryInterface library) Add a library to the list that are accessible through this connection.voidaddScriptFile(FileInterface file) Add a script file to this connection.ListGet the list of libraries accessible via this connection.intgetPort()Get the port number for the connection.StringGet the remote address of the connection.ListGet the List of script files that execute for this connection.StringGet the short name of the server.StringGet the service string for the connection.voidremoveLibrary(SASLibraryInterface library) Remove a library from the list that are accessible through this connection.voidRemove a script file from this connection.voidsetLibraries(List libraries) Set the list of libraries that are accessible via this connection.voidsetPort(int port) Set the port number for the connection.voidsetRemoteAddress(String remoteAddress) Set the remote address of the connection.voidsetScriptFiles(List files) Set the list of script files on this connection.voidsetServerShortName(String serverName) Set the server's short name.voidsetService(String service) Set the service string for the connection.Methods inherited from interface com.sas.services.information.metadata.ConnectionInterface
addProvider, getApplicationProtocol, getAuthenticationType, getCommunicationProtocol, getDomain, getProperties, getProviders, getSource, removeProvider, setApplicationProtocol, setAuthenticationType, setCommunicationProtocol, setDomain, setProperty, setProviders, setSourceMethods 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
-
getServerShortName
Get the short name of the server.- Returns:
- The server short name.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setServerShortName
Set the server's short name.- Parameters:
serverName- The server's short name.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getRemoteAddress
Get the remote address of the connection.- Returns:
- The connection remote address.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setRemoteAddress
Set the remote address of the connection.- Parameters:
remoteAddress- The connection remote address.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getService
Get the service string for the connection.- Returns:
- The connection service string.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setService
Set the service string for the connection.- Parameters:
service- The connection's serice string.- Throws:
ServiceExceptionRemoteException
-
getPort
Get the port number for the connection.- Returns:
- The connection's port number.
- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setPort
Set the port number for the connection.- Parameters:
port- The connection's port number.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getLibraries
Get the list of libraries accessible via this connection.- Returns:
- A List of
SASLibraryInterfaceobjects accessible via this connection. - Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addLibrary
Add a library to the list that are accessible through this connection.- Parameters:
library- TheSASLibraryInterfaceto add to the libraries list.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removeLibrary
Remove a library from the list that are accessible through this connection.- Parameters:
library- TheSASLibraryInterfaceobject to remove from the libraries list.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setLibraries
Set the list of libraries that are accessible via this connection.- Parameters:
libraries- The List ofSASLibraryInterfaceobjects accessible via this connection.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
getScriptFiles
Get the List of script files that execute for this connection.- Returns:
- A List of
FileInterfaceobject that are scripts for this connection. - Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addScriptFile
Add a script file to this connection.- Parameters:
file- AFileInterfaceobject to add to the list of scripts.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
removeScriptFile
Remove a script file from this connection.- Parameters:
file- AFileInterfaceobject to remove from this script list.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
setScriptFiles
Set the list of script files on this connection.- Parameters:
files- A List ofFileInterfaceobjects acting as scripts for this connection.- Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-