public interface ProtocolViewerService
| Modifier and Type | Method and Description |
|---|---|
void |
addToStudyDefinitionDraftForCurrentUser(String resourceUri,
String catalogId)
Add a catalog item or catalog group (implies all items in a group) to the study definition draft
|
StudyDefinition |
createStudyDefinitionDraftForCurrentUser(String catalogId)
Creates a study definition draft for the current logged in user
|
void |
createStudyDefinitionDraftXlsForCurrentUser(OutputStream outputStream,
String catalogId)
Write the study definition draft for the current user to the given stream
|
Iterable<CatalogMeta> |
getCatalogs()
Gets all active catalog meta data
|
StudyDefinition |
getStudyDefinitionDraftForCurrentUser(String catalogId)
Gets the current study definition draft for the current logged in user
|
StudyDefinition |
getStudyDefinitionForCurrentUser(Integer id)
Returns the given order for the current user
|
Iterable<StudyDefinition> |
getStudyDefinitionsForCurrentUser()
Returns order for the current user
|
void |
removeFromStudyDefinitionDraftForCurrentUser(String resourceUri,
String catalogId)
Remove a catalog item or catalog group (implies all items in a group) from the study definition draft
|
void |
submitStudyDefinitionDraftForCurrentUser(String studyName,
javax.servlet.http.Part requestForm,
String catalogId)
Place an order for the current user
|
Iterable<CatalogMeta> getCatalogs()
StudyDefinition getStudyDefinitionDraftForCurrentUser(String catalogId) throws UnknownCatalogException
UnknownCatalogExceptionStudyDefinition createStudyDefinitionDraftForCurrentUser(String catalogId) throws UnknownCatalogException
catalogId - id of the catalog used for this study definitionUnknownCatalogExceptionIterable<StudyDefinition> getStudyDefinitionsForCurrentUser()
StudyDefinition getStudyDefinitionForCurrentUser(Integer id) throws UnknownStudyDefinitionException
id - UnknownStudyDefinitionExceptionvoid submitStudyDefinitionDraftForCurrentUser(String studyName, javax.servlet.http.Part requestForm, String catalogId) throws javax.mail.MessagingException, IOException, UnknownCatalogException, UnknownStudyDefinitionException
studyName - requestForm - javax.mail.MessagingExceptionIOExceptionUnknownCatalogExceptionUnknownStudyDefinitionExceptionvoid addToStudyDefinitionDraftForCurrentUser(String resourceUri, String catalogId) throws UnknownCatalogException
resourceUri - catalogId - UnknownCatalogExceptionvoid removeFromStudyDefinitionDraftForCurrentUser(String resourceUri, String catalogId) throws UnknownCatalogException
resourceUri - catalogId - UnknownCatalogExceptionvoid createStudyDefinitionDraftXlsForCurrentUser(OutputStream outputStream, String catalogId) throws IOException, UnknownCatalogException
outputStream - IOExceptionUnknownCatalogExceptionCopyright © 2014. All Rights Reserved.