|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.edu.archer.services.icat.AbstractICATClient
au.edu.archer.services.icat.impl.ICATWsClientImpl
public class ICATWsClientImpl
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
ICATWsClientImpl(java.lang.String address)
|
|
ICATWsClientImpl(java.lang.String address,
org.globus.gsi.GlobusCredential cred)
|
|
| Method Summary | |
|---|---|
void |
deleteDataFile(DataFile in)
|
void |
deleteDataFileFormat(DataFileFormat in)
|
void |
deleteDataFileParameter(DataFileParameter in)
|
void |
deleteDataSet(DataSet in)
|
void |
deleteDataSetParameter(DataSetParameter in)
|
void |
deleteDataSetStatus(DataSetStatus in)
|
void |
deleteDataSetType(DataSetType in)
|
void |
deleteFacilityCycle(FacilityCycle in)
|
void |
deleteFacilityUser(FacilityUser in)
|
void |
deleteInstrument(Instrument in)
|
void |
deleteInvestigation(Investigation in)
|
void |
deleteInvestigationType(InvestigationType in)
|
void |
deleteParameter(Parameter in)
|
void |
deleteSample(Sample in)
|
void |
deleteSampleParameter(SampleParameter in)
|
void |
deleteStudy(Study in)
|
void |
deleteStudyStatus(StudyStatus in)
|
java.util.List<DataFileFormat> |
getAllDataFileFormats()
|
java.util.List<DataFileParameter> |
getAllDataFileParameters(java.lang.Integer dataFileID)
|
java.util.List<DataFile> |
getAllDataFilesByDataSetId(java.lang.Integer dataSetID)
|
java.util.List<DataSetParameter> |
getAllDataSetParameters(java.lang.Integer in)
|
java.util.List<DataSet> |
getAllDataSetsByInvestigationId(java.lang.Integer investigationID)
|
java.util.List<DataSetStatus> |
getAllDataSetStatus()
|
java.util.List<DataSetType> |
getAllDataSetTypes()
|
java.util.List<FacilityCycle> |
getAllFacilityCycles()
|
java.util.List<FacilityUser> |
getAllFacilityUsers()
|
java.util.List<Instrument> |
getAllInstruments()
|
java.util.List<Investigation> |
getAllInvestigationsByStudyId(java.lang.Integer in)
|
java.util.List<InvestigationType> |
getAllInvestigationTypes()
|
java.util.List<Parameter> |
getAllParameters()
|
java.util.List<Parameter> |
getAllParametersByType(boolean isSampleParameter,
boolean isDataSetParameter,
boolean isDataFileParameter)
Returns the parameters for which the boolean parameters are true. |
java.util.List<SampleParameter> |
getAllSampleParameters(java.lang.Integer in)
|
java.util.List<Sample> |
getAllSamplesByInvestigationId(java.lang.Integer in)
|
java.util.List<Sample> |
getAllSamplesByInvestigationName(java.lang.String studyName,
java.lang.String investigationName)
|
java.util.List<Study> |
getAllStudies()
|
java.util.List<StudyStatus> |
getAllStudyStatus()
|
DataFile |
getDataFileById(java.lang.Integer in)
|
DataFile |
getDataFileByLocation(java.lang.String location)
Get the Data file object associated with the given location URI. |
DataFile |
getDataFileByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName,
java.lang.String datafileName)
Get the data file based on the names of it's path components in the icat structure. |
DataFileFormat |
getDataFileFormatById(java.lang.String name,
java.lang.String version)
|
java.util.List<DataFileFormat> |
getDataFileFormatByName(java.lang.String in)
|
DataFileParameter |
getDataFileParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataFileID)
|
DataSet |
getDataSetById(java.lang.Integer in)
|
DataSet |
getDataSetByLocation(java.lang.String location)
|
DataSet |
getDataSetByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName)
Lookup the dataset based on the path name components made up of study, investigation and dataset names. |
java.lang.Integer |
getDataSetIdByHandle(java.lang.String in)
|
DataSetParameter |
getDataSetParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataSetID)
|
DataSetStatus |
getDataSetStatusByName(java.lang.String in)
|
DataSetType |
getDataSetTypeByName(java.lang.String in)
|
FacilityCycle |
getFacilityCycleByName(java.lang.String in)
|
FacilityUser |
getFacilityUserById(java.lang.String in)
|
Instrument |
getInstrumentByName(java.lang.String in)
|
Investigation |
getInvestigationById(java.lang.Integer in)
|
Investigation |
getInvestigationByLocation(java.lang.String location)
|
Investigation |
getInvestigationByName(java.lang.String studyName,
java.lang.String investigationName)
Lookup the Investigation based on the path components of study name and investigation name. |
InvestigationType |
getInvestigationTypeByName(java.lang.String in)
|
ICATObjectFactory |
getObjectFactory()
|
Parameter |
getParameterById(java.lang.Integer in)
|
Parameter |
getParameterByName(java.lang.String name,
java.lang.String units)
Gets the parameter with this name-unit key |
java.util.List<java.lang.String> |
getResourceUrlPrefixes()
|
Sample |
getSampleById(java.lang.Integer in)
|
Sample |
getSampleByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String sampleName)
|
SampleParameter |
getSampleParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer sampleID)
|
Study |
getStudyById(java.lang.Integer in)
|
Study |
getStudyByLocation(java.lang.String location)
|
Study |
getStudyByName(java.lang.String in)
|
StudyStatus |
getStudyStatusByName(java.lang.String in)
|
java.util.List<DataFile> |
searchDataFile(SearchRequestType search)
Search datafiles. |
java.util.List<DataSet> |
searchDataSet(SearchRequestType search)
Search datasets. |
java.util.List<Investigation> |
searchExperiment(SearchRequestType search)
Search experiments. |
java.util.List<Study> |
searchProject(SearchRequestType search)
Search project. |
java.util.List<Sample> |
searchSample(SearchRequestType search)
Search samples. |
java.lang.String |
testCall(java.lang.String str1,
java.lang.String str2)
|
void |
triggerNotifications()
|
DataFile |
updateDataFile(DataFile in)
Save the datafile object. |
DataFileFormat |
updateDataFileFormat(DataFileFormat in)
Save the datafile format object. |
DataFileParameter |
updateDataFileParameter(DataFileParameter in)
Save the datafile parameter object. |
DataSet |
updateDataSet(DataSet in)
Save the dataset object. |
DataSetParameter |
updateDataSetParameter(DataSetParameter in)
Save the dataset parameter object. |
DataSetStatus |
updateDataSetStatus(DataSetStatus in)
Save the dataset status object. |
DataSetType |
updateDataSetType(DataSetType in)
Save the dataset type object. |
FacilityCycle |
updateFacilityCycle(FacilityCycle in)
Save the facility cycle object. |
FacilityUser |
updateFacilityUser(FacilityUser in)
Save the facility user object. |
Instrument |
updateInstrument(Instrument in)
Save the instrument object. |
Investigation |
updateInvestigation(Investigation in)
Save the investigation object. |
InvestigationType |
updateInvestigationType(InvestigationType in)
Save the investigation type object. |
Parameter |
updateParameter(Parameter in)
Save the parameter, updating or creating if id is null or 0. |
Sample |
updateSample(Sample in)
Save the study object. |
SampleParameter |
updateSampleParameter(SampleParameter in)
Save the sample parameter object. |
Study |
updateStudy(Study in)
Save the study object. |
StudyStatus |
updateStudyStatus(StudyStatus in)
Save the study status object. |
| Methods inherited from class au.edu.archer.services.icat.AbstractICATClient |
|---|
getDataFileFormatById, getDataFileParameterById, getDataFilesFor, getDataSetFor, getDataSetParameterById, getDataSetsFor, getDataSetsFor, getInvestigationFor, getInvestigationFor, getInvestigationsFor, getSamplesFor, getStudyFor, normaliseLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public ICATWsClientImpl(java.lang.String address)
public ICATWsClientImpl(java.lang.String address,
org.globus.gsi.GlobusCredential cred)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.lang.String testCall(java.lang.String str1,
java.lang.String str2)
throws ICATServiceException
ICATServiceException
public Study updateStudy(Study in)
throws ICATServiceException
ICATServiceException
public StudyStatus updateStudyStatus(StudyStatus in)
throws ICATServiceException
ICATServiceException
public Investigation updateInvestigation(Investigation in)
throws ICATServiceException
ICATServiceException
public InvestigationType updateInvestigationType(InvestigationType in)
throws ICATServiceException
ICATServiceException
public Sample updateSample(Sample in)
throws ICATServiceException
ICATServiceException
public DataSet updateDataSet(DataSet in)
throws ICATServiceException
ICATServiceException
public DataSetType updateDataSetType(DataSetType in)
throws ICATServiceException
ICATServiceException
public DataSetStatus updateDataSetStatus(DataSetStatus in)
throws ICATServiceException
ICATServiceException
public DataFile updateDataFile(DataFile in)
throws ICATServiceException
ICATServiceException
public DataFileFormat updateDataFileFormat(DataFileFormat in)
throws ICATServiceException
ICATServiceException
public DataFileParameter updateDataFileParameter(DataFileParameter in)
throws ICATServiceException
ICATServiceException
public Instrument updateInstrument(Instrument in)
throws ICATServiceException
ICATServiceException
public FacilityCycle updateFacilityCycle(FacilityCycle in)
throws ICATServiceException
ICATServiceException
public FacilityUser updateFacilityUser(FacilityUser in)
throws ICATServiceException
ICATServiceException
public void deleteStudy(Study in)
throws ICATServiceException
ICATServiceException
public void deleteStudyStatus(StudyStatus in)
throws ICATServiceException
ICATServiceException
public void deleteInvestigation(Investigation in)
throws ICATServiceException
ICATServiceException
public void deleteInvestigationType(InvestigationType in)
throws ICATServiceException
ICATServiceException
public void deleteSample(Sample in)
throws ICATServiceException
ICATServiceException
public void deleteDataSet(DataSet in)
throws ICATServiceException
ICATServiceException
public void deleteDataSetType(DataSetType in)
throws ICATServiceException
ICATServiceException
public void deleteDataSetStatus(DataSetStatus in)
throws ICATServiceException
ICATServiceException
public void deleteDataFile(DataFile in)
throws ICATServiceException
ICATServiceException
public void deleteDataFileFormat(DataFileFormat in)
throws ICATServiceException
ICATServiceException
public void deleteDataFileParameter(DataFileParameter in)
throws ICATServiceException
ICATServiceException
public void deleteInstrument(Instrument in)
throws ICATServiceException
ICATServiceException
public void deleteFacilityCycle(FacilityCycle in)
throws ICATServiceException
ICATServiceException
public void deleteFacilityUser(FacilityUser in)
throws ICATServiceException
ICATServiceException
public java.util.List<Study> getAllStudies()
throws ICATServiceException
ICATServiceException
public java.util.List<StudyStatus> getAllStudyStatus()
throws ICATServiceException
ICATServiceException
public java.util.List<Investigation> getAllInvestigationsByStudyId(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public java.util.List<InvestigationType> getAllInvestigationTypes()
throws ICATServiceException
ICATServiceException
public java.util.List<Sample> getAllSamplesByInvestigationId(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public java.util.List<Sample> getAllSamplesByInvestigationName(java.lang.String studyName,
java.lang.String investigationName)
throws ICATServiceException
ICATServiceException
public java.util.List<DataSet> getAllDataSetsByInvestigationId(java.lang.Integer investigationID)
throws ICATServiceException
ICATServiceException
public java.util.List<DataSetType> getAllDataSetTypes()
throws ICATServiceException
ICATServiceException
public java.util.List<DataSetStatus> getAllDataSetStatus()
throws ICATServiceException
ICATServiceException
public java.util.List<DataFile> getAllDataFilesByDataSetId(java.lang.Integer dataSetID)
throws ICATServiceException
ICATServiceException
public java.util.List<DataFileFormat> getAllDataFileFormats()
throws ICATServiceException
ICATServiceException
public java.util.List<DataFileParameter> getAllDataFileParameters(java.lang.Integer dataFileID)
throws ICATServiceException
ICATServiceException
public java.util.List<Instrument> getAllInstruments()
throws ICATServiceException
ICATServiceException
public java.util.List<FacilityCycle> getAllFacilityCycles()
throws ICATServiceException
ICATServiceException
public java.util.List<FacilityUser> getAllFacilityUsers()
throws ICATServiceException
ICATServiceException
public Study getStudyById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public Study getStudyByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public StudyStatus getStudyStatusByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public Investigation getInvestigationById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public Investigation getInvestigationByName(java.lang.String studyName,
java.lang.String investigationName)
throws ICATServiceException
ICATServiceException
public InvestigationType getInvestigationTypeByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public Sample getSampleById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public Sample getSampleByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String sampleName)
throws ICATServiceException
ICATServiceException
public DataSet getDataSetById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public DataSet getDataSetByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName)
throws ICATServiceException
ICATServiceException
public java.lang.Integer getDataSetIdByHandle(java.lang.String in)
throws ICATServiceException
ICATServiceException
public DataSetStatus getDataSetStatusByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public DataSetType getDataSetTypeByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public DataFile getDataFileById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public DataFileFormat getDataFileFormatById(java.lang.String name,
java.lang.String version)
throws ICATServiceException
ICATServiceException
public java.util.List<DataFileFormat> getDataFileFormatByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public DataFileParameter getDataFileParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataFileID)
throws ICATServiceException
ICATServiceException
public Instrument getInstrumentByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public FacilityCycle getFacilityCycleByName(java.lang.String in)
throws ICATServiceException
ICATServiceException
public FacilityUser getFacilityUserById(java.lang.String in)
throws ICATServiceException
ICATServiceExceptionpublic ICATObjectFactory getObjectFactory()
public DataFile getDataFileByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName,
java.lang.String datafileName)
throws ICATServiceException
ICATServiceException
public void deleteDataSetParameter(DataSetParameter in)
throws ICATServiceException
ICATServiceException
public void deleteParameter(Parameter in)
throws ICATServiceException
ICATServiceException
public void deleteSampleParameter(SampleParameter in)
throws ICATServiceException
ICATServiceException
public java.util.List<DataSetParameter> getAllDataSetParameters(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public java.util.List<Parameter> getAllParameters()
throws ICATServiceException
ICATServiceException
public java.util.List<Parameter> getAllParametersByType(boolean isSampleParameter,
boolean isDataSetParameter,
boolean isDataFileParameter)
throws ICATServiceException
ICATServiceException
public java.util.List<SampleParameter> getAllSampleParameters(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public DataSetParameter getDataSetParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataSetID)
throws ICATServiceException
ICATServiceException
public Parameter getParameterById(java.lang.Integer in)
throws ICATServiceException
ICATServiceException
public Parameter getParameterByName(java.lang.String name,
java.lang.String units)
throws ICATServiceException
ICATServiceException
public SampleParameter getSampleParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer sampleID)
throws ICATServiceException
ICATServiceException
public DataSetParameter updateDataSetParameter(DataSetParameter in)
throws ICATServiceException
ICATServiceException
public Parameter updateParameter(Parameter in)
throws ICATServiceException
ICATServiceException
public SampleParameter updateSampleParameter(SampleParameter in)
throws ICATServiceException
ICATServiceException
public DataFile getDataFileByLocation(java.lang.String location)
throws ICATServiceException
ICATServiceException
public DataSet getDataSetByLocation(java.lang.String location)
throws ICATServiceException
ICATServiceException
public Investigation getInvestigationByLocation(java.lang.String location)
throws ICATServiceException
ICATServiceException
public Study getStudyByLocation(java.lang.String location)
throws ICATServiceException
ICATServiceException
public java.util.List<java.lang.String> getResourceUrlPrefixes()
throws ICATServiceException
ICATServiceException
public void triggerNotifications()
throws ICATServiceException
ICATServiceException
public java.util.List<DataFile> searchDataFile(SearchRequestType search)
throws ICATServiceException
search - SearchRequest search request.
ICATServiceException
public java.util.List<DataSet> searchDataSet(SearchRequestType search)
throws ICATServiceException
search - SearchRequest search request.
ICATServiceException
public java.util.List<Investigation> searchExperiment(SearchRequestType search)
throws ICATServiceException
search - SearchRequest search request.
ICATServiceException
public java.util.List<Study> searchProject(SearchRequestType search)
throws ICATServiceException
search - SearchRequest search request.
ICATServiceException
public java.util.List<Sample> searchSample(SearchRequestType search)
throws ICATServiceException
search - SearchRequest search request.
ICATServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||