Interface IASExperimentService
-
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASExperimentServiceImpl
public interface IASExperimentService extends net.anotheria.asg.service.ASGService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimentcreateExperiment(Experiment experiment)Creates a new Experiment object.java.util.List<Experiment>createExperiments(java.util.List<Experiment> list)Creates multiple new Experiment objects.voiddeleteExperiment(java.lang.String id)Deletes a Experiment object by id.voiddeleteExperiment(Experiment experiment)Deletes a Experiment object.voiddeleteExperiments(java.util.List<Experiment> list)Deletes multiple Experiment object.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data)Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnExperiments(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.util.xml.XMLNodeexportExperimentsToXML(java.util.List<Experiment> listExperiments)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.voidfetchExperiment(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Experiment document.ExperimentgetExperiment(java.lang.String id)Returns the Experiment object with the specified id.java.util.List<Experiment>getExperiments()Returns all Experiments objects stored.java.util.List<Experiment>getExperiments(net.anotheria.util.slicer.Segment aSegment)Returns Experiments objects segment.java.util.List<Experiment>getExperiments(net.anotheria.util.sorter.SortType sortType)Returns all Experiments objects sorted by given sortType.java.util.List<Experiment>getExperimentsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Experiment objects, where property with given name equals object.java.util.List<Experiment>getExperimentsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Experiment objects, where property with given name equals object, sorted.java.util.List<Experiment>getExperimentsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Experiment objects, where property matches.java.util.List<Experiment>getExperimentsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Experiment objects segment, where property matches.java.util.List<Experiment>getExperimentsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Experiment objects segment, where property matches, sorted.java.util.List<Experiment>getExperimentsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Experiment objects, where property matches, sorted.intgetExperimentsCount()Returns all Experiments count.ExperimentimportExperiment(Experiment experiment)Imports a new Experiment object.java.util.List<Experiment>importExperiments(java.util.List<Experiment> list)Imports multiple new Experiment object.ExperimentupdateExperiment(Experiment experiment)Updates a Experiment object.java.util.List<Experiment>updateExperiments(java.util.List<Experiment> list)Updates multiple Experiment objects.
-
-
-
Method Detail
-
getExperiments
java.util.List<Experiment> getExperiments() throws ASExperimentServiceException
Returns all Experiments objects stored.- Throws:
ASExperimentServiceException
-
getExperiments
java.util.List<Experiment> getExperiments(net.anotheria.util.sorter.SortType sortType) throws ASExperimentServiceException
Returns all Experiments objects sorted by given sortType.- Throws:
ASExperimentServiceException
-
deleteExperiment
void deleteExperiment(java.lang.String id) throws ASExperimentServiceExceptionDeletes a Experiment object by id.- Throws:
ASExperimentServiceException
-
deleteExperiment
void deleteExperiment(Experiment experiment) throws ASExperimentServiceException
Deletes a Experiment object.- Throws:
ASExperimentServiceException
-
deleteExperiments
void deleteExperiments(java.util.List<Experiment> list) throws ASExperimentServiceException
Deletes multiple Experiment object.- Throws:
ASExperimentServiceException
-
getExperiment
Experiment getExperiment(java.lang.String id) throws ASExperimentServiceException
Returns the Experiment object with the specified id.- Throws:
ASExperimentServiceException
-
importExperiment
Experiment importExperiment(Experiment experiment) throws ASExperimentServiceException
Imports a new Experiment object. Returns the created version.- Throws:
ASExperimentServiceException
-
importExperiments
java.util.List<Experiment> importExperiments(java.util.List<Experiment> list) throws ASExperimentServiceException
Imports multiple new Experiment object. Returns the created versions.- Throws:
ASExperimentServiceException
-
createExperiment
Experiment createExperiment(Experiment experiment) throws ASExperimentServiceException
Creates a new Experiment object. Returns the created version.- Throws:
ASExperimentServiceException
-
createExperiments
java.util.List<Experiment> createExperiments(java.util.List<Experiment> list) throws ASExperimentServiceException
Creates multiple new Experiment objects. Returns the created versions.- Throws:
ASExperimentServiceException
-
updateExperiment
Experiment updateExperiment(Experiment experiment) throws ASExperimentServiceException
Updates a Experiment object. Returns the updated version.- Throws:
ASExperimentServiceException
-
updateExperiments
java.util.List<Experiment> updateExperiments(java.util.List<Experiment> list) throws ASExperimentServiceException
Updates multiple Experiment objects. Returns the updated versions.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASExperimentServiceException
Returns all Experiment objects, where property with given name equals object.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ASExperimentServiceException
Returns all Experiment objects, where property with given name equals object, sorted.- Throws:
ASExperimentServiceException
-
executeQueryOnExperiments
net.anotheria.anodoc.query2.QueryResult executeQueryOnExperiments(net.anotheria.anodoc.query2.DocumentQuery query) throws ASExperimentServiceExceptionExecutes a query.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASExperimentServiceException
Returns all Experiment objects, where property matches.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASExperimentServiceException
Returns all Experiment objects, where property matches, sorted.- Throws:
ASExperimentServiceException
-
getExperimentsCount
int getExperimentsCount() throws ASExperimentServiceExceptionReturns all Experiments count.- Throws:
ASExperimentServiceException
-
getExperiments
java.util.List<Experiment> getExperiments(net.anotheria.util.slicer.Segment aSegment) throws ASExperimentServiceException
Returns Experiments objects segment.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASExperimentServiceException
Returns Experiment objects segment, where property matches.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
java.util.List<Experiment> getExperimentsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASExperimentServiceException
Returns Experiment objects segment, where property matches, sorted.- Throws:
ASExperimentServiceException
-
exportExperimentsToXML
net.anotheria.util.xml.XMLNode exportExperimentsToXML(java.util.List<Experiment> listExperiments) throws ASExperimentServiceException
Creates an xml element with selected contained data.- Throws:
ASExperimentServiceException
-
fetchExperiment
void fetchExperiment(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASExperimentServiceExceptionCreate json object list dependencies for this Experiment document.- Throws:
ASExperimentServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASExperimentServiceException
Save transferred document by its own type.- Throws:
ASExperimentServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASExperimentServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASExperimentServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASExperimentServiceExceptioncreates an xml element with all contained data.- Throws:
ASExperimentServiceException
-
-