|
||||||||||
| 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.ICATHibernateImpl
public class ICATHibernateImpl
The implemention of the ICAT storage interface using JPA. Capable of receiving MCATExt notifications.
| Constructor Summary | |
|---|---|
ICATHibernateImpl(javax.sql.DataSource dataSource,
java.util.Map properties)
|
|
ICATHibernateImpl(org.hibernate.ejb.Ejb3Configuration ejb3Config)
|
|
| Method Summary | |
|---|---|
void |
collectionChanged(java.lang.String oldParentGroupName,
java.lang.String oldDataGroupName,
java.lang.String newParentGroupName,
java.lang.String newDataGroupName)
|
void |
collectionCreated(java.lang.String parentGroupName,
java.lang.String dataGroupName)
|
void |
collectionDeleted(java.lang.String parentGroupName,
java.lang.String dataGroupName)
|
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)
|
protected DataFile |
flattenDataFile(DataFile df)
|
protected DataFileParameter |
flattenDataFileParameter(DataFileParameter dfp)
|
protected DataSet |
flattenDataSet(DataSet ds,
int levelsToPreserve)
|
protected DataSetParameter |
flattenDataSetParameter(DataSetParameter dsp)
|
protected Investigation |
flattenInvestigation(Investigation i,
int levelsToPreserve)
Convert study link to study ID, and cascade flattening dataset and samples, else clear. |
protected Sample |
flattenSample(Sample s)
|
protected SampleParameter |
flattenSampleParameter(SampleParameter dfp)
|
protected Study |
flattenStudy(Study s,
int levelsToPreserve)
Convert the references out of the study into ID references. |
java.util.List<DataFileFormat> |
getAllDataFileFormats()
|
java.util.List<java.lang.String> |
getAllDataFileLocations()
Get all the locations referenced in the iCAT. |
java.util.List<DataFileParameter> |
getAllDataFileParameters(java.lang.Integer dataFileID)
|
java.util.List<DataFile> |
getAllDataFilesByDataSetId(java.lang.Integer dataSetID)
|
java.util.List<java.lang.String> |
getAllDataSetLocations()
|
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()
|
java.util.List<ClientLocationPair> |
getClients()
|
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)
|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory()
|
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)
|
ICATSecurityManager |
getSecurityManager()
Security manager getter. |
Study |
getStudyById(java.lang.Integer in)
|
Study |
getStudyByLocation(java.lang.String location)
|
Study |
getStudyByName(java.lang.String in)
|
StudyStatus |
getStudyStatusByName(java.lang.String in)
|
void |
locationAdded(java.lang.String location)
Method to be called when a location is added to the ICAT. |
void |
locationChanged(java.lang.String oldLocation,
java.lang.String newLocation)
Method to be called when a location is changed in the the ICAT. |
void |
locationRemoved(java.lang.String location)
Method to be called when a location is removed from the ICAT. |
void |
objectChanged(java.lang.String oldParentName,
java.lang.String oldName,
java.lang.String newParentName,
java.lang.String newName)
|
void |
objectCreated(java.lang.String parentName,
java.lang.String name)
|
void |
objectDeleted(java.lang.String parentName,
java.lang.String name)
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
When the context finishes loading we need to register our notification requirements. |
java.util.List<DataFile> |
searchDataFile(SearchRequestType search)
SEARCH SERVICES |
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. |
void |
setClients(java.util.List<ClientLocationPair> clients)
|
void |
setSecurityManager(ICATSecurityManager securityManager)
Used for setting the security manager used by this ICAT. |
void |
start()
|
void |
stop()
|
java.lang.String |
testCall(java.lang.String str1,
java.lang.String str2)
|
void |
triggerNotifications()
|
protected DataFile |
unflattenDataFile(DataFile df,
DataSet parentDS,
javax.persistence.EntityManager em)
|
protected DataFileParameter |
unflattenDataFileParameter(DataFileParameter dfp,
DataFile parentDataFile,
javax.persistence.EntityManager em)
|
protected DataSet |
unflattenDataSet(DataSet ds,
Investigation inv,
javax.persistence.EntityManager em)
|
protected DataSetParameter |
unflattenDataSetParameter(DataSetParameter dsp,
DataSet parentDataSet,
javax.persistence.EntityManager em)
|
protected Investigation |
unflattenInvestigation(Investigation i,
Study parentStudy,
javax.persistence.EntityManager em)
Convert parent ID link back into a reference, and unflattern any datasets or samples. |
protected Sample |
unflattenSample(Sample s,
Investigation parentInv,
javax.persistence.EntityManager em)
|
protected SampleParameter |
unflattenSampleParameter(SampleParameter sp,
Sample parent,
javax.persistence.EntityManager em)
|
protected Study |
unflattenStudy(Study s,
javax.persistence.EntityManager em)
Convert the references out of the Study from IDs to references. |
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 |
| Constructor Detail |
|---|
public ICATHibernateImpl(javax.sql.DataSource dataSource,
java.util.Map properties)
public ICATHibernateImpl(org.hibernate.ejb.Ejb3Configuration ejb3Config)
| Method Detail |
|---|
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
protected Study flattenStudy(Study s,
int levelsToPreserve)
s - levelsToPreserve - TODO
protected Study unflattenStudy(Study s,
javax.persistence.EntityManager em)
throws java.net.MalformedURLException
s - em -
java.net.MalformedURLException
protected Investigation flattenInvestigation(Investigation i,
int levelsToPreserve)
i - levelsToPreserve -
protected Investigation unflattenInvestigation(Investigation i,
Study parentStudy,
javax.persistence.EntityManager em)
throws java.net.MalformedURLException
i - parentStudy - em -
java.net.MalformedURLExceptionprotected Sample flattenSample(Sample s)
protected Sample unflattenSample(Sample s,
Investigation parentInv,
javax.persistence.EntityManager em)
protected DataSet flattenDataSet(DataSet ds,
int levelsToPreserve)
protected DataSet unflattenDataSet(DataSet ds,
Investigation inv,
javax.persistence.EntityManager em)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionprotected DataFile flattenDataFile(DataFile df)
protected DataFile unflattenDataFile(DataFile df,
DataSet parentDS,
javax.persistence.EntityManager em)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionprotected DataFileParameter flattenDataFileParameter(DataFileParameter dfp)
protected DataFileParameter unflattenDataFileParameter(DataFileParameter dfp,
DataFile parentDataFile,
javax.persistence.EntityManager em)
protected DataSetParameter flattenDataSetParameter(DataSetParameter dsp)
protected DataSetParameter unflattenDataSetParameter(DataSetParameter dsp,
DataSet parentDataSet,
javax.persistence.EntityManager em)
protected SampleParameter flattenSampleParameter(SampleParameter dfp)
protected SampleParameter unflattenSampleParameter(SampleParameter sp,
Sample parent,
javax.persistence.EntityManager em)
public java.lang.String testCall(java.lang.String str1,
java.lang.String str2)
testCall in interface ICAT
public Study updateStudy(Study in)
throws ICATServiceException
updateStudy in interface ICATICATServiceException
public StudyStatus updateStudyStatus(StudyStatus in)
throws ICATServiceException
updateStudyStatus in interface ICATICATServiceException
public Investigation updateInvestigation(Investigation in)
throws ICATServiceException
updateInvestigation in interface ICATICATServiceException
public InvestigationType updateInvestigationType(InvestigationType in)
throws ICATServiceException
updateInvestigationType in interface ICATICATServiceException
public Sample updateSample(Sample in)
throws ICATServiceException
updateSample in interface ICATICATServiceException
public DataSet updateDataSet(DataSet in)
throws ICATServiceException
updateDataSet in interface ICATICATServiceException
public DataSetType updateDataSetType(DataSetType in)
throws ICATServiceException
updateDataSetType in interface ICATICATServiceException
public DataSetStatus updateDataSetStatus(DataSetStatus in)
throws ICATServiceException
updateDataSetStatus in interface ICATICATServiceException
public DataFile updateDataFile(DataFile in)
throws ICATServiceException
updateDataFile in interface ICATICATServiceException
public DataFileFormat updateDataFileFormat(DataFileFormat in)
throws ICATServiceException
updateDataFileFormat in interface ICATICATServiceException
public DataFileParameter updateDataFileParameter(DataFileParameter in)
throws ICATServiceException
updateDataFileParameter in interface ICATICATServiceException
public Instrument updateInstrument(Instrument in)
throws ICATServiceException
updateInstrument in interface ICATICATServiceException
public FacilityCycle updateFacilityCycle(FacilityCycle in)
throws ICATServiceException
updateFacilityCycle in interface ICATICATServiceException
public FacilityUser updateFacilityUser(FacilityUser in)
throws ICATServiceException
updateFacilityUser in interface ICATICATServiceException
public void deleteStudy(Study in)
throws ICATServiceException
deleteStudy in interface ICATICATServiceException
public void deleteStudyStatus(StudyStatus in)
throws ICATServiceException
deleteStudyStatus in interface ICATICATServiceException
public void deleteInvestigation(Investigation in)
throws ICATServiceException
deleteInvestigation in interface ICATICATServiceException
public void deleteInvestigationType(InvestigationType in)
throws ICATServiceException
deleteInvestigationType in interface ICATICATServiceException
public void deleteSample(Sample in)
throws ICATServiceException
deleteSample in interface ICATICATServiceException
public void deleteDataSet(DataSet in)
throws ICATServiceException
deleteDataSet in interface ICATICATServiceException
public void deleteDataSetType(DataSetType in)
throws ICATServiceException
deleteDataSetType in interface ICATICATServiceException
public void deleteDataSetStatus(DataSetStatus in)
throws ICATServiceException
deleteDataSetStatus in interface ICATICATServiceException
public void deleteDataFile(DataFile in)
throws ICATServiceException
deleteDataFile in interface ICATICATServiceException
public void deleteDataFileFormat(DataFileFormat in)
throws ICATServiceException
deleteDataFileFormat in interface ICATICATServiceException
public void deleteDataFileParameter(DataFileParameter in)
throws ICATServiceException
deleteDataFileParameter in interface ICATICATServiceException
public void deleteInstrument(Instrument in)
throws ICATServiceException
deleteInstrument in interface ICATICATServiceException
public void deleteFacilityCycle(FacilityCycle in)
throws ICATServiceException
deleteFacilityCycle in interface ICATICATServiceException
public void deleteFacilityUser(FacilityUser in)
throws ICATServiceException
deleteFacilityUser in interface ICATICATServiceException
public java.util.List<Study> getAllStudies()
throws ICATServiceException
getAllStudies in interface ICATICATServiceException
public java.util.List<StudyStatus> getAllStudyStatus()
throws ICATServiceException
getAllStudyStatus in interface ICATICATServiceException
public java.util.List<Investigation> getAllInvestigationsByStudyId(java.lang.Integer in)
throws ICATServiceException
getAllInvestigationsByStudyId in interface ICATICATServiceException
public java.util.List<InvestigationType> getAllInvestigationTypes()
throws ICATServiceException
getAllInvestigationTypes in interface ICATICATServiceException
public java.util.List<Sample> getAllSamplesByInvestigationId(java.lang.Integer in)
throws ICATServiceException
getAllSamplesByInvestigationId in interface ICATICATServiceException
public java.util.List<Sample> getAllSamplesByInvestigationName(java.lang.String studyName,
java.lang.String investigationName)
throws ICATServiceException
getAllSamplesByInvestigationName in interface ICATICATServiceException
public java.util.List<DataSet> getAllDataSetsByInvestigationId(java.lang.Integer investigationID)
throws ICATServiceException
getAllDataSetsByInvestigationId in interface ICATICATServiceException
public java.util.List<DataSetType> getAllDataSetTypes()
throws ICATServiceException
getAllDataSetTypes in interface ICATICATServiceException
public java.util.List<DataSetStatus> getAllDataSetStatus()
throws ICATServiceException
getAllDataSetStatus in interface ICATICATServiceException
public java.util.List<DataFile> getAllDataFilesByDataSetId(java.lang.Integer dataSetID)
throws ICATServiceException
getAllDataFilesByDataSetId in interface ICATICATServiceException
public java.util.List<DataFileFormat> getAllDataFileFormats()
throws ICATServiceException
getAllDataFileFormats in interface ICATICATServiceException
public java.util.List<DataFileParameter> getAllDataFileParameters(java.lang.Integer dataFileID)
throws ICATServiceException
getAllDataFileParameters in interface ICATICATServiceException
public java.util.List<Instrument> getAllInstruments()
throws ICATServiceException
getAllInstruments in interface ICATICATServiceException
public java.util.List<FacilityCycle> getAllFacilityCycles()
throws ICATServiceException
getAllFacilityCycles in interface ICATICATServiceException
public java.util.List<FacilityUser> getAllFacilityUsers()
throws ICATServiceException
getAllFacilityUsers in interface ICATICATServiceException
public Study getStudyById(java.lang.Integer in)
throws ICATServiceException
getStudyById in interface ICATICATServiceException
public Study getStudyByName(java.lang.String in)
throws ICATServiceException
getStudyByName in interface ICATICATServiceException
public StudyStatus getStudyStatusByName(java.lang.String in)
throws ICATServiceException
getStudyStatusByName in interface ICATICATServiceException
public Investigation getInvestigationById(java.lang.Integer in)
throws ICATServiceException
getInvestigationById in interface ICATICATServiceException
public Investigation getInvestigationByName(java.lang.String studyName,
java.lang.String investigationName)
throws ICATServiceException
getInvestigationByName in interface ICATICATServiceException
public InvestigationType getInvestigationTypeByName(java.lang.String in)
throws ICATServiceException
getInvestigationTypeByName in interface ICATICATServiceException
public Sample getSampleById(java.lang.Integer in)
throws ICATServiceException
getSampleById in interface ICATICATServiceException
public Sample getSampleByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String sampleName)
throws ICATServiceException
getSampleByName in interface ICATICATServiceException
public DataSet getDataSetById(java.lang.Integer in)
throws ICATServiceException
getDataSetById in interface ICATICATServiceException
public DataSet getDataSetByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName)
throws ICATServiceException
getDataSetByName in interface ICATICATServiceException
public DataSetType getDataSetTypeByName(java.lang.String in)
throws ICATServiceException
getDataSetTypeByName in interface ICATICATServiceException
public DataSetStatus getDataSetStatusByName(java.lang.String in)
throws ICATServiceException
getDataSetStatusByName in interface ICATICATServiceException
public java.lang.Integer getDataSetIdByHandle(java.lang.String in)
throws ICATServiceException
getDataSetIdByHandle in interface ICATICATServiceException
public DataFile getDataFileById(java.lang.Integer in)
throws ICATServiceException
getDataFileById in interface ICATICATServiceException
public DataFileFormat getDataFileFormatById(java.lang.String name,
java.lang.String version)
throws ICATServiceException
getDataFileFormatById in interface ICATICATServiceException
public java.util.List<DataFileFormat> getDataFileFormatByName(java.lang.String in)
throws ICATServiceException
getDataFileFormatByName in interface ICATICATServiceException
public DataFileParameter getDataFileParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataFileID)
throws ICATServiceException
getDataFileParameterById in interface ICATICATServiceException
public Instrument getInstrumentByName(java.lang.String in)
throws ICATServiceException
getInstrumentByName in interface ICATICATServiceException
public FacilityCycle getFacilityCycleByName(java.lang.String in)
throws ICATServiceException
getFacilityCycleByName in interface ICATICATServiceException
public FacilityUser getFacilityUserById(java.lang.String in)
throws ICATServiceException
getFacilityUserById in interface ICATICATServiceException
public DataFile getDataFileByName(java.lang.String studyName,
java.lang.String investigationName,
java.lang.String datasetName,
java.lang.String datafileName)
throws ICATServiceException
getDataFileByName in interface ICATICATServiceException
public void deleteParameter(Parameter in)
throws ICATServiceException
deleteParameter in interface ICATICATServiceException
public void deleteDataSetParameter(DataSetParameter in)
throws ICATServiceException
deleteDataSetParameter in interface ICATICATServiceException
public void deleteSampleParameter(SampleParameter in)
throws ICATServiceException
deleteSampleParameter in interface ICATICATServiceException
public java.util.List<DataSetParameter> getAllDataSetParameters(java.lang.Integer in)
throws ICATServiceException
getAllDataSetParameters in interface ICATICATServiceException
public java.util.List<SampleParameter> getAllSampleParameters(java.lang.Integer in)
throws ICATServiceException
getAllSampleParameters in interface ICATICATServiceException
public DataSetParameter getDataSetParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer dataSetID)
throws ICATServiceException
getDataSetParameterById in interface ICATICATServiceException
public SampleParameter getSampleParameterById(java.lang.String name,
java.lang.String units,
java.lang.Integer sampleID)
throws ICATServiceException
getSampleParameterById in interface ICATICATServiceException
public DataSetParameter updateDataSetParameter(DataSetParameter in)
throws ICATServiceException
updateDataSetParameter in interface ICATICATServiceException
public SampleParameter updateSampleParameter(SampleParameter in)
throws ICATServiceException
updateSampleParameter in interface ICATICATServiceException
public java.util.List<Parameter> getAllParameters()
throws ICATServiceException
getAllParameters in interface ICATICATServiceException
public java.util.List<Parameter> getAllParametersByType(boolean isSampleParameter,
boolean isDataSetParameter,
boolean isDataFileParameter)
throws ICATServiceException
getAllParametersByType in interface ICATICATServiceException
public Parameter getParameterById(java.lang.Integer in)
throws ICATServiceException
getParameterById in interface ICATICATServiceException
public Parameter getParameterByName(java.lang.String name,
java.lang.String units)
throws ICATServiceException
getParameterByName in interface ICATICATServiceException
public Parameter updateParameter(Parameter in)
throws ICATServiceException
updateParameter in interface ICATICATServiceExceptionpublic java.util.List<java.lang.String> getAllDataFileLocations()
public java.util.List<java.lang.String> getAllDataSetLocations()
public DataFile getDataFileByLocation(java.lang.String location)
throws ICATServiceException
getDataFileByLocation in interface ICATICATServiceException
public DataSet getDataSetByLocation(java.lang.String location)
throws ICATServiceException
getDataSetByLocation in interface ICATICATServiceException
public Investigation getInvestigationByLocation(java.lang.String location)
throws ICATServiceException
getInvestigationByLocation in interface ICATICATServiceException
public Study getStudyByLocation(java.lang.String location)
throws ICATServiceException
getStudyByLocation in interface ICATICATServiceExceptionpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListenerpublic void start()
public void stop()
public void locationAdded(java.lang.String location)
ICATLocationListener
locationAdded in interface ICATLocationListenerlocation - the location that was added.public void locationRemoved(java.lang.String location)
ICATLocationListener
locationRemoved in interface ICATLocationListenerlocation - the location that was removed.
public void locationChanged(java.lang.String oldLocation,
java.lang.String newLocation)
ICATLocationListener
locationChanged in interface ICATLocationListeneroldLocation - the old location.newLocation - the new location.
public void collectionDeleted(java.lang.String parentGroupName,
java.lang.String dataGroupName)
collectionDeleted in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListener
public void collectionCreated(java.lang.String parentGroupName,
java.lang.String dataGroupName)
collectionCreated in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListener
public void collectionChanged(java.lang.String oldParentGroupName,
java.lang.String oldDataGroupName,
java.lang.String newParentGroupName,
java.lang.String newDataGroupName)
collectionChanged in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListener
public void objectDeleted(java.lang.String parentName,
java.lang.String name)
objectDeleted in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListener
public void objectCreated(java.lang.String parentName,
java.lang.String name)
objectCreated in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListener
public void objectChanged(java.lang.String oldParentName,
java.lang.String oldName,
java.lang.String newParentName,
java.lang.String newName)
objectChanged in interface au.edu.jcu.hpc.srb.mcatext.notify.PathNotificationListenerpublic ICATObjectFactory getObjectFactory()
getObjectFactory in interface ICATpublic void setClients(java.util.List<ClientLocationPair> clients)
public java.util.List<ClientLocationPair> getClients()
public java.util.List<java.lang.String> getResourceUrlPrefixes()
getResourceUrlPrefixes in interface ICATpublic void triggerNotifications()
triggerNotifications in interface ICATpublic void setSecurityManager(ICATSecurityManager securityManager)
securityManager - public ICATSecurityManager getSecurityManager()
public java.util.List<DataFile> searchDataFile(SearchRequestType search)
throws ICATServiceException
searchDataFile in interface SearchServicesearch - SearchRequest search request.
ICATServiceException
public java.util.List<DataSet> searchDataSet(SearchRequestType search)
throws ICATServiceException
SearchService
searchDataSet in interface SearchServicesearch - SearchRequest search request.
ICATServiceException
public java.util.List<Investigation> searchExperiment(SearchRequestType search)
throws ICATServiceException
SearchService
searchExperiment in interface SearchServicesearch - SearchRequest search request.
ICATServiceException
public java.util.List<Study> searchProject(SearchRequestType search)
throws ICATServiceException
SearchService
searchProject in interface SearchServicesearch - SearchRequest search request.
ICATServiceException
public java.util.List<Sample> searchSample(SearchRequestType search)
throws ICATServiceException
SearchService
searchSample in interface SearchServicesearch - SearchRequest search request.
ICATServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||