See: Description
Package | Description |
---|---|
com.sas.lsaf.security.acl |
Service and class definitions to create and manipulate ACLs.
|
com.sas.lsaf.security.audit |
Service and class definitions for getting global audit entries.
|
com.sas.lsaf.security.authentication |
Exceptions that can be thrown when authenticating a user.
|
com.sas.lsaf.security.group |
Service and classes for creating and manipulating groups in the system.
|
com.sas.lsaf.security.membership |
Service and class definitions for manipulating the membership of a context.
|
com.sas.lsaf.security.principal |
Class definitions for manipulating and identifying principals in the system.
|
com.sas.lsaf.security.privilege |
Service and classes for identifying and using privileges in the system.
|
com.sas.lsaf.security.role |
Service and class definitions for manipulating and creating roles, their availability in contexts, and their
membership lists.
|
com.sas.lsaf.security.user |
Service and classes to create and manipulate users in the system.
|
Package | Description |
---|---|
com.sas.lsaf.content.common |
Contains common content classes.
|
com.sas.lsaf.content.repository |
Classes and interfaces to manage content in the repository.
|
com.sas.lsaf.content.repository.recyclebin |
The service to retrieve and delete items from the recycle bin.
|
com.sas.lsaf.content.repository.signature |
Service and class definitions for signing files and getting signatures.
|
com.sas.lsaf.content.utilization |
Service and class definitions for retrieving resource utilization information.
|
com.sas.lsaf.content.workspace |
Classes and interfaces to manage content in the current user's workspace.
|
Package | Description |
---|---|
com.sas.lsaf.execution.job |
Provides the classes needed to create, update, and get jobs as well as execute them and get their status.
|
com.sas.lsaf.execution.session |
The classes and interfaces to query and manage execution sessions.
|
com.sas.lsaf.schedule |
Service and class definitions to manage schedules.
|
Package | Description |
---|---|
com.sas.lsaf.workflow |
Contains classes for supporting workflow-related functionality.
|
com.sas.lsaf.workflow.autoflow |
The service and class definitions to manage automatic creation of process flows.
|
com.sas.lsaf.workflow.element |
Class definitions representing base elements in a process flow.
|
com.sas.lsaf.workflow.processdefinition |
The service and class definitions to manage process flow definitions.
|
com.sas.lsaf.workflow.processflow |
The service and class definitions to manage process flows.
|
com.sas.lsaf.workflow.processflow.setup |
The service and class definitions to manage process flows setup elements.
|
com.sas.lsaf.workflow.task |
Service and class definitions for managing and retrieving process flow tasks and elements.
|
Package | Description |
---|---|
com.sas.lsaf.clinical.common |
Contains common clinical classes.
|
com.sas.lsaf.clinical.dictionary |
Classes and interfaces to retrieve dictionaries.
|
com.sas.lsaf.clinical.model |
Classes and interfaces to retrieve models.
|
com.sas.lsaf.clinical.standards |
Classes and interfaces to retrieve and export standards in the system.
|
com.sas.lsaf.clinical.study |
Classes and interfaces to retrieve study information.
|
com.sas.lsaf.clinical.study.tlf |
Classes and interfaces for retrieving study tlf information in the system.
|
com.sas.lsaf.clinical.tlf |
Contains classes for global tlf information in the system.
|
com.sas.lsaf.clinical.tlftemplate |
Contains classes for managing TLF templates.
|
Package | Description |
---|---|
com.sas.lsaf.query |
Contains common classes and interfaces to query information.
|
com.sas.lsaf.query.audit |
The services and classes to query and extract audit information to a file for further processing.
|
com.sas.lsaf.query.repository |
The services and classes to extract repository content information to a file for further processing.
|
com.sas.lsaf.query.repository.recyclebin |
The services and classes to extract recycle bin content information to a file for further processing.
|
com.sas.lsaf.query.security.membership |
The services and classes to extract membership information to a file for further processing.
|
com.sas.lsaf.query.security.permissions |
The services and classes to query and extract permission information to a file for further processing.
|
Package | Description |
---|---|
com.sas.lsaf.core |
Contains common classes and interfaces for core services in the system.
|
com.sas.lsaf.core.action |
Contains common classes for getting status information for actions in the system.
|
com.sas.lsaf.core.configuration |
Services and classes that surface build information for the client and server components so
that compatibility checks can be performed.
|
com.sas.lsaf.core.type |
Services and classes to describe the object type definitions within the system.
|
Package | Description |
---|---|
com.sas.lsaf |
Class to log on to the system.
|
com.sas.lsaf.client |
Classes needed to create a session and access available services.
|
com.sas.lsaf.client.utils |
Contains common utility classes.
|
com.sas.lsaf.messaging.subscription |
The service for creating and retrieving subscriptions.
|
To start using the SAS Life Science Analytics Framework Java API, you must first establish a session with your instance of the application.
To simplest way to start is to logon via the LsafClient. LsafClient allows a static logon and static access to services like the RepositoryService. For example:
import com.sas.lsaf.LsafClient; import com.sas.lsaf.content.repository.RepositoryService; ... LsafClient.logon("https://yourLSAFMachine.domain.com", "myLSAFuserId", "myLSAFpwd".getBytes()); RepositoryService repositoryService = LsafClient.getRepositoryService(); repositoryService.checkout("/YOURORG/Files/Folder/someProgram.sas"); ...
Once logged in, a single user session is established and used when accessing the services. Note subsequent calls to logon
will logoff the current session and establish a new session.
Alternatively, you can log on using SessionFactory.logon(URL,String, byte[])
which will create and return a ClientSession
. From the ClientSession
, you can
access services and manage the session.
import com.sas.lsaf.client.*; import com.sas.lsaf.content.repository.RepositoryService; ... ClientSession session = SessionFactory.logon(new URL("http://yourLSAFMachine.domain.com"), "myLSAFuserId", "myLSAFpwd".getBytes()); ServiceManager serviceManager = session.getServiceManager()); RepositoryService repositoryService = serviceManager.getRepositoryService(); repositoryService.checkout("/YOURORG/Files/Folder/someProgram.sas"); ...
Each SessionFactory
logon creates a new Session
.
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>