public interface StudyRoutingService
extends org.nrg.framework.services.NrgService
Modifier and Type | Field and Description |
---|---|
static String |
ACCESSED |
static String |
CREATED |
static String |
LABEL |
static String |
PROJECT |
static String |
SUBJECT |
static String |
USER |
Modifier and Type | Method and Description |
---|---|
boolean |
assign(String studyInstanceUid,
String projectId,
String userId)
Creates a new routing configuration for the indicated attributes.
|
boolean |
assign(String studyInstanceUid,
String projectId,
String subjectId,
String userId)
Creates a new routing configuration for the indicated attributes.
|
boolean |
assign(String studyInstanceUid,
String projectId,
String subjectId,
String label,
String userId)
Creates a new routing configuration for the indicated attributes.
|
boolean |
close(String studyInstanceUid)
Closes the routing configuration for the indicated study instance UID.
|
Map<String,Map<String,String>> |
closeAll()
Closes all routing configurations on the site.
|
Map<String,Map<String,String>> |
findAllRoutings()
Finds all active routing configurations.
|
Map<String,Map<String,String>> |
findProjectRoutings(String projectId)
Finds all active routing configurations for a particular project.
|
Map<String,Map<String,String>> |
findRoutingsByAttribute(String attribute,
String value)
Finds all active routing configurations for a particular value of a particular attribute.
|
Map<String,String> |
findStudyRouting(String studyInstanceUid)
Finds the active routing configuration for the indicated study instance UID.
|
Map<String,Map<String,String>> |
findUserRoutings(String userId)
Finds all active routing configurations created by a particular user.
|
boolean |
update(String studyInstanceUid,
Map<String,String> configuration)
Updates the configuration for the indicated study instance UID.
|
static final String PROJECT
static final String SUBJECT
static final String LABEL
static final String USER
static final String CREATED
static final String ACCESSED
boolean assign(String studyInstanceUid, String projectId, String userId)
update(String,
java.util.Map)
method.studyInstanceUid
- The study instance UID to be assigned.projectId
- The ID of the destination project.userId
- The login name for the user who created the routing configurations.boolean assign(String studyInstanceUid, String projectId, String subjectId, String userId)
update(String,
java.util.Map)
method.studyInstanceUid
- The study instance UID to be assigned.projectId
- The ID of the destination project.subjectId
- The ID of the destination subject.userId
- The login name for the user who created the routing configurations.boolean assign(String studyInstanceUid, String projectId, String subjectId, String label, String userId)
update(String,
java.util.Map)
method.studyInstanceUid
- The study instance UID to be assigned.projectId
- The ID of the destination project.subjectId
- The ID of the destination subject.label
- The label for the session.userId
- The login name for the user who created the routing configurations.boolean update(String studyInstanceUid, Map<String,String> configuration)
assign(String, String, String)
, assign(String, String, String, String)
,
or assign(String, String, String, String, String)
method.studyInstanceUid
- The study instance UID of the configuration to be updated.configuration
- The attribute keys and values to be updated.Map<String,String> findStudyRouting(String studyInstanceUid)
studyInstanceUid
- The study instance UID to query.Map<String,Map<String,String>> findProjectRoutings(String projectId)
projectId
- The ID of the destination project.Map<String,Map<String,String>> findUserRoutings(String userId)
userId
- The login name for the user who created the routing configurations.Map<String,Map<String,String>> findRoutingsByAttribute(String attribute, String value)
attribute
- The key for the attribute on which you wish to search.value
- The value of the attribute on which you wish to search.Map<String,Map<String,String>> findAllRoutings()
boolean close(String studyInstanceUid)
studyInstanceUid
- The UID of the routing configuration to close.Copyright © 2015 Neuroinformatics Research Group. All rights reserved.