Package com.sas.lsaf.clinical.study.tlf
Interface StudyTlfService
public interface StudyTlfService
The service to manage the Tables, Listings and Figures.
- Since:
- 2.4
-
Method Summary
Modifier and TypeMethodDescriptiongetAnalysisDatasetsByResultId(String studyId, String baseStandardName, String modelId, String resultId) Gets the analysis data sets by the analysis results id.getAnalysisDatasetsByResultIdentifier(String studyId, String baseStandardName, String modelId, String resultIdentifier) Gets the analysis data sets by the analysis results identifier.getAnalysisResultsByStudyTlfId(String studyId, String baseStandardName, String modelId, String tlfId) Gets the analysis results for the TLF id.getAnalysisResultsByStudyTlfIdentifier(String studyId, String baseStandardName, String modelId, String tlfIdentifier) Gets the analysis results for the TLF identifier.getStudySectionDescriptorById(String studyId, String id) Gets the study section descriptor by the specified id.getStudySections(String studyId, String baseStandardName, String modelId) Gets the study sections.getStudyTlfByTlfIdentifier(String studyId, String baseStandardName, String modelId, String tlfIdentifier) Gets the study TLF with the specified TLF identifier.getStudyTlfsBySectionId(String studyId, String baseStandardName, String modelId, String sectionId, boolean recurse) Gets the study TLFs within the specified section.getStudyTlfsBySectionNameAndIdentifier(String studyId, String baseStandardName, String modelId, String sectionName, String sectionIdentifier, boolean recurse) Gets the study TLFs within the specified section.Gets the TLF attribute metadata.Gets the Tables, Listings and Figures for the specified study.setTlfs(StudyTlfInfo studyTlfInfo) Sets the Tables, Listings and Figures for the study.
-
Method Details
-
getTlfs
StudyTlfInfo getTlfs(String studyId, String baseStandardName, String modelId) throws StudyNotFoundException Gets the Tables, Listings and Figures for the specified study.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.- Returns:
- The TLFs along with the study and standard information.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.
-
setTlfs
Sets the Tables, Listings and Figures for the study.- Parameters:
studyTlfInfo- The study and TLF information to update the study TLFs.- Returns:
- The study and TLF information with the updated study TLFs.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.TlfUpdateException- Thrown when there was an issue when updating the study TLFs.
-
getStudySectionDescriptorById
SectionDescriptor getStudySectionDescriptorById(String studyId, String id) throws StudyNotFoundException, SectionNotFoundException Gets the study section descriptor by the specified id.- Parameters:
studyId- The id of the study.id- The id of the section.- Returns:
- The study section.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.SectionNotFoundException- Thrown when the specified section does not exist.
-
getTlfAttributeMetadata
Gets the TLF attribute metadata.- Returns:
- The TLF attribute metadata.
- Throws:
ModelNotFoundException- Thrown when the TLF model does not exist.
-
getStudySections
List<SectionDescriptor> getStudySections(String studyId, String baseStandardName, String modelId) throws StudyNotFoundException Gets the study sections.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.- Returns:
- The study sections.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.
-
getStudyTlfsBySectionId
List<Tlf> getStudyTlfsBySectionId(String studyId, String baseStandardName, String modelId, String sectionId, boolean recurse) throws StudyNotFoundException, SectionNotFoundException Gets the study TLFs within the specified section. Note: specifying null for sectionId will include TLFs at the study TLF root.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.sectionId- The identifier of the section. SeeAbstractIdentifiable.getId().recurse- Indicates whether to retrieve TLFs from subsections.- Returns:
- The study TLFs.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.SectionNotFoundException- Thrown when the specified section does not exist.
-
getStudyTlfsBySectionNameAndIdentifier
List<Tlf> getStudyTlfsBySectionNameAndIdentifier(String studyId, String baseStandardName, String modelId, String sectionName, String sectionIdentifier, boolean recurse) throws StudyNotFoundException, SectionNotFoundException Gets the study TLFs within the specified section. Note: specifying null for sectionName and sectionIdentifier will include TLFs at the study TLF root.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.sectionName- The name of the section.sectionIdentifier- The section identifier of the section. SeeSectionDescriptor.getSectionIdentifier().recurse- Indicates whether to retrieve TLFs from subsections.- Returns:
- The study TLFs.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.SectionNotFoundException- Thrown when the specified section does not exist.
-
getAnalysisResultsByStudyTlfId
List<AnalysisResult> getAnalysisResultsByStudyTlfId(String studyId, String baseStandardName, String modelId, String tlfId) throws StudyNotFoundException, TlfNotFoundException Gets the analysis results for the TLF id.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.tlfId- The TLF id.- Returns:
- The analysis results.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.TlfNotFoundException- Thrown when the specified TLF does not exist.
-
getAnalysisResultsByStudyTlfIdentifier
List<AnalysisResult> getAnalysisResultsByStudyTlfIdentifier(String studyId, String baseStandardName, String modelId, String tlfIdentifier) throws StudyNotFoundException, TlfNotFoundException Gets the analysis results for the TLF identifier.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.tlfIdentifier- The TLF identifier.- Returns:
- The analysis results.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.TlfNotFoundException- Thrown when the specified TLF does not exist.
-
getAnalysisDatasetsByResultId
List<AnalysisDataset> getAnalysisDatasetsByResultId(String studyId, String baseStandardName, String modelId, String resultId) throws StudyNotFoundException, AnalysisResultNotFoundException Gets the analysis data sets by the analysis results id.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.resultId- The analysis result id.- Returns:
- The analysis data sets.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.AnalysisResultNotFoundException- Thrown when the specified analysis result does not exist.
-
getAnalysisDatasetsByResultIdentifier
List<AnalysisDataset> getAnalysisDatasetsByResultIdentifier(String studyId, String baseStandardName, String modelId, String resultIdentifier) throws StudyNotFoundException, AnalysisResultNotFoundException Gets the analysis data sets by the analysis results identifier.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.resultIdentifier- The analysis result identifier.- Returns:
- The analysis data sets.
- Throws:
StudyNotFoundException- Thrown when the specified study does not exist.AnalysisResultNotFoundException- Thrown when the specified analysis result does not exist.
-
getStudyTlfByTlfIdentifier
Tlf getStudyTlfByTlfIdentifier(String studyId, String baseStandardName, String modelId, String tlfIdentifier) throws StudyNotFoundException, TlfNotFoundException Gets the study TLF with the specified TLF identifier.- Parameters:
studyId- The identifier of the study.baseStandardName- The name of the base standard, such as SDTM and ADaM.modelId- The identifier of the model.tlfIdentifier- The TLF identifier.- Returns:
- The TLF.
- Throws:
StudyNotFoundException- Thrown when the specified TLF does not exist.TlfNotFoundException- Thrown when the specified TLF does not exist.
-