|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.servlet.request.BaseRequest edu.jhu.tmaj.servlet.request.impl.DetailsRequest edu.jhu.tmaj.servlet.request.impl.ScoredImageDetailsRequest
public final class ScoredImageDetailsRequest
Retrieves information about every x and y position from a session (a scored array) and puts it into a table format (List of Lists). Each row represents a position (example x=2,y=5)
Field Summary | |
---|---|
static TableField |
ARRAYBLOCKID_FIELD
|
static TableField |
ARRAYIMAGEID_FIELD
|
static TableField |
HAS_DRAWINGS_FIELD
|
(package private) static org.slf4j.Logger |
logger
|
static TableField |
SCORED_IMAGE_ID_FIELD
|
static TableField |
SCOREDIMAGES_INPUT_LOG_FIELD
|
static TableField |
SCOREDIMAGES_NOTES_FIELD
|
static TableField |
SCOREDIMAGES_TISSUETYPEID_FIELD
|
static TableField |
SESSIONID_FIELD
|
static TableField |
SPECIMEN_TYPE_FIELD
|
static TableField |
SPECIMENID_FIELD
|
static TableField |
TD_TYPE_FIELD
|
static TableField |
TISSUEDIAGNOSISID_FIELD
|
static TableField |
X_FIELD
|
static TableField |
Y_FIELD
|
Fields inherited from class edu.jhu.tmaj.servlet.request.impl.DetailsRequest |
---|
userBean |
Fields inherited from class edu.jhu.tmaj.servlet.request.BaseRequest |
---|
password, username |
Constructor Summary | |
---|---|
ScoredImageDetailsRequest(int[] sessions,
DynamicMetaData specimensDynamicMetaData,
DynamicMetaData tissueDiagnosisDynamicMetaData,
DynamicMetaData scoredImagesDynamicMetaData,
java.util.Map<java.lang.Integer,LookupRecord> specimenTypeID_specimenTypeBean,
java.util.Map<java.lang.Integer,LookupRecord> tissueTypeID_tissueTypeBean)
Since this is executed on the server side, the request must pass in the cached MetaData from MyBeans |
Method Summary | |
---|---|
protected void |
doMetaDataQueries()
Add Dynamic data from the Specimens,TissueDiagnosis, and ArrayImage sections |
protected java.lang.String |
getMainQuerySQL()
The ScoredImages table can not be included in this query, since some of the spots on the ArraySlide may have not been scored yet, and thus not record in the ScoredImages table would exist. |
protected ExpandingMap |
getNewExpandingMap()
|
protected StaticFields |
getStaticFields()
Returns fields and their table-names from non-dynamic tables. |
protected void |
lookupStaticValuesInRecord(java.util.Map record)
Lookups the TissueType,SpecimenType, and BlockFixationID from their respective tables |
protected void |
renameFields(java.util.List<TableField> fieldNamesList)
|
protected java.util.List<java.util.Map> |
sortListOfMaps(java.util.List<java.util.Map> listOfMaps)
Sorts a List of Maps by the sessionid,y,x fields found in each of the Maps |
java.lang.String |
toString()
|
protected void |
verifyUser(UserBean userBean)
Throws an exception if the user is not allowed to make this Request |
Methods inherited from class edu.jhu.tmaj.servlet.request.impl.DetailsRequest |
---|
doMetaDataQuery, getExpandingMap, getWarnings, lookupStaticField, processRequest |
Methods inherited from class edu.jhu.tmaj.servlet.request.BaseRequest |
---|
executeCommand, getPassword, getUsername |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static final org.slf4j.Logger logger
public static final TableField SCORED_IMAGE_ID_FIELD
public static final TableField SCOREDIMAGES_TISSUETYPEID_FIELD
public static final TableField SCOREDIMAGES_NOTES_FIELD
public static final TableField SCOREDIMAGES_INPUT_LOG_FIELD
public static final TableField X_FIELD
public static final TableField Y_FIELD
public static final TableField SESSIONID_FIELD
public static final TableField ARRAYIMAGEID_FIELD
public static final TableField SPECIMENID_FIELD
public static final TableField SPECIMEN_TYPE_FIELD
public static final TableField TISSUEDIAGNOSISID_FIELD
public static final TableField TD_TYPE_FIELD
public static final TableField HAS_DRAWINGS_FIELD
public static final TableField ARRAYBLOCKID_FIELD
Constructor Detail |
---|
public ScoredImageDetailsRequest(int[] sessions, DynamicMetaData specimensDynamicMetaData, DynamicMetaData tissueDiagnosisDynamicMetaData, DynamicMetaData scoredImagesDynamicMetaData, java.util.Map<java.lang.Integer,LookupRecord> specimenTypeID_specimenTypeBean, java.util.Map<java.lang.Integer,LookupRecord> tissueTypeID_tissueTypeBean)
Method Detail |
---|
protected ExpandingMap getNewExpandingMap()
getNewExpandingMap
in class DetailsRequest
protected void verifyUser(UserBean userBean) throws java.sql.SQLException
DetailsRequest
verifyUser
in class DetailsRequest
java.sql.SQLException
protected void renameFields(java.util.List<TableField> fieldNamesList)
renameFields
in class DetailsRequest
protected StaticFields getStaticFields()
DetailsRequest
getStaticFields
in class DetailsRequest
protected java.lang.String getMainQuerySQL() throws java.sql.SQLException
getMainQuerySQL
in class DetailsRequest
java.sql.SQLException
protected void lookupStaticValuesInRecord(java.util.Map record)
lookupStaticValuesInRecord
in class DetailsRequest
protected java.util.List<java.util.Map> sortListOfMaps(java.util.List<java.util.Map> listOfMaps)
sortListOfMaps
in class DetailsRequest
listOfMaps
- the List to be sorted based upon 3 fields found in the Maps
protected void doMetaDataQueries() throws java.sql.SQLException
doMetaDataQueries
in class DetailsRequest
java.sql.SQLException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |