|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IICATModel
| Method Summary | |
|---|---|
void |
addConnection(IICATConnector connector)
Add a connection to an ICAT service. |
void |
addSuccessListener(java.awt.event.ActionListener actionListener)
Add a listener to listen for function success. |
void |
changeConnection(IICATConnector connector)
change the url connected to. |
java.util.List<DataSetStatus> |
getAllDataSetStatus()
Get all the possible Data Set Status'. |
java.util.List<DataSetType> |
getAllDataSetTypes()
Get all the possible Data Set Types. |
java.util.List<DataFileFormat> |
getAllFormats()
Get all the possible Data File Formats. |
java.util.List<Instrument> |
getAllInstruments()
Get all the possible Instruments. |
java.util.List<InvestigationType> |
getAllInvestigationTypes()
Get all the possible Investigation Types. |
java.util.List<SampleParameter> |
getAllSampleParameters(long sampleId)
Get all the parameters for the sample. |
java.util.List<Study> |
getAllStudies()
|
java.util.List<StudyStatus> |
getAllStudyStatus()
Get all the options for Study Status. |
java.util.List<IICATConnector> |
getConnections()
Get the list of connections. |
DataFile |
getDataFileById(long id)
Get the Data File that relates to the id. |
DataFileParameter |
getDataFileParameterById(long id)
get the Data File Parameter that relates to the id. |
java.util.List<DataFile> |
getDataFiles(DataSet dataSet)
Get a list of the Data Files in a Data Set. |
DataSet |
getDataSetById(long id)
Get the Data Set that relates to the id. |
DataSetParameter |
getDataSetParameterById(long id)
get the Data Set Parameter that relates to the id. |
java.util.List<DataSet> |
getDataSets(Investigation inv)
Get a list of the data sets associated with an investigation. |
ICATObjectFactory |
getICATFactory()
|
Investigation |
getInvestigationById(long id)
Get the Investigation that relates to the id. |
java.util.List<Investigation> |
getInvestigations(Study study)
Get a list of the investigations associated with a study. |
InvestigationType |
getInvType(java.lang.String invType)
Get the details of an investigation type from the name. |
Sample |
getSampleById(long id)
Get the Sample that relates to the id. |
SampleParameter |
getSampleParameterById(long id)
Get the sample parameter that relates to the id. |
java.util.List<Sample> |
getSamples(Investigation inv)
Get a list of the samples associated with an investigation. |
Study |
getStudyById(long id)
Return the Study that relates the the id. |
DataFile |
newDataFile(long dataSetId)
Add a Data File. |
DataFileParameter |
newDataFileParameter(long dataFileId)
Add a Data File Parameter. |
DataSet |
newDataSet(long investigationId)
Add a Data Set. |
DataSetParameter |
newDataSetParameter(long dataSetId)
Add a Data Set Parameter. |
Investigation |
newInvestigation(long studyId)
Add an Investigation. |
Sample |
newSample(long investigationId)
Add a sample. |
SampleParameter |
newSampleParameter(long sampleId)
Add a Sample Parameter. |
Study |
newStudy()
Add a new study. |
void |
removeConnection(IICATConnector connector)
Remove a connection to an ICAT service. |
void |
removeDataFile(long dataFileId)
Delete a Data File. |
void |
removeDataFileParameter(long parameterId)
Delete a Data File Parameter. |
void |
removeDataSet(long dataSetId)
Delete a sample. |
void |
removeDataSetParameter(long parameterId)
delete a data set Parameter. |
void |
removeInvestigation(long investigationId)
Delete the Investigation. |
void |
removeSample(long sampleId)
Delete a sample. |
void |
removeSampleParameter(long parameterId)
delete a sample parameter. |
void |
removeStudy(long studyId)
Delete the study. |
void |
updateDataFile(DataFile dataFile)
Update a Data File. |
void |
updateDataFileParameter(DataFileParameter parameter)
Update a Data File Parameter. |
DataSet |
updateDataSet(DataSet dataSet)
Update a data set. |
void |
updateDataSetParameter(DataSetParameter parameter)
update a data set Parameter. |
Investigation |
updateInvestigation(Investigation inv)
Updates an investigation to the ICAT store. |
Sample |
updateSample(Sample sample)
Update a sample. |
void |
updateSampleParameter(SampleParameter parameter)
update a new sample parameter. |
Study |
updateStudy(Study study)
Updates a study to the ICAT store. |
| Method Detail |
|---|
void changeConnection(IICATConnector connector)
connector - - IICATConnectorICATObjectFactory getICATFactory()
InvestigationType getInvType(java.lang.String invType)
invType - - the name of the investigation type
Study newStudy()
Study updateStudy(Study study)
study - - the new study object
java.util.List<Study> getAllStudies()
Study getStudyById(long id)
id - - long
void removeStudy(long studyId)
studyId - - longjava.util.List<Investigation> getInvestigations(Study study)
study - - Study
Investigation getInvestigationById(long id)
id - - long
void removeInvestigation(long investigationId)
investigationId - - longInvestigation newInvestigation(long studyId)
studyId - - long
Investigation updateInvestigation(Investigation inv)
inv - - Investigation
java.util.List<DataSet> getDataSets(Investigation inv)
inv - - Investigation
DataSet getDataSetById(long id)
id - - long
void removeDataSet(long dataSetId)
dataSetId - - longDataSet newDataSet(long investigationId)
investigationId - - long
DataSet updateDataSet(DataSet dataSet)
dataSet - - DataSet
java.util.List<Sample> getSamples(Investigation inv)
inv - - Investigation
Sample getSampleById(long id)
id - - long
void removeSample(long sampleId)
sampleId - - longSample newSample(long investigationId)
investigationId - - long
Sample updateSample(Sample sample)
sample - - Sample
java.util.List<DataFile> getDataFiles(DataSet dataSet)
dataSet - - DataSet
DataFile newDataFile(long dataSetId)
dataSetId - - long
void updateDataFile(DataFile dataFile)
dataFile - - DataFileDataFile getDataFileById(long id)
id - - long
void removeDataFile(long dataFileId)
dataFileId - - longDataFileParameter getDataFileParameterById(long id)
id - - long
DataFileParameter newDataFileParameter(long dataFileId)
dataFileId - - long
void updateDataFileParameter(DataFileParameter parameter)
parameter - - DataFileParametervoid removeDataFileParameter(long parameterId)
parameterId - - longDataSetParameter getDataSetParameterById(long id)
id - - long
DataSetParameter newDataSetParameter(long dataSetId)
dataSetId - - long
void updateDataSetParameter(DataSetParameter parameter)
parameter - - DataSetParametervoid removeDataSetParameter(long parameterId)
parameterId - - longSampleParameter getSampleParameterById(long id)
id - - long
java.util.List<SampleParameter> getAllSampleParameters(long sampleId)
sampleId - - long
SampleParameter newSampleParameter(long sampleId)
sampleId - - long
void updateSampleParameter(SampleParameter parameter)
parameter - - SampleParametervoid removeSampleParameter(long parameterId)
parameterId - - longjava.util.List<StudyStatus> getAllStudyStatus()
java.util.List<Instrument> getAllInstruments()
java.util.List<InvestigationType> getAllInvestigationTypes()
java.util.List<DataSetType> getAllDataSetTypes()
java.util.List<DataSetStatus> getAllDataSetStatus()
java.util.List<DataFileFormat> getAllFormats()
void addSuccessListener(java.awt.event.ActionListener actionListener)
actionListener - - ActionListenervoid addConnection(IICATConnector connector)
connector - - IICATConnectorvoid removeConnection(IICATConnector connector)
connector - - IICATConnectorjava.util.List<IICATConnector> getConnections()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||