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
Modifier and TypeMethodDescriptioncreateExperiment(Experiment experiment) Creates a new Experiment object.createExperiments(List<Experiment> list) Creates multiple new Experiment objects.voidDeletes a Experiment object by id.voiddeleteExperiment(Experiment experiment) Deletes a Experiment object.voiddeleteExperiments(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(List<Experiment> listExperiments) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchExperiment(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this Experiment document.getExperiment(String id) Returns the Experiment object with the specified id.Returns all Experiments objects stored.getExperiments(net.anotheria.util.slicer.Segment aSegment) Returns Experiments objects segment.getExperiments(net.anotheria.util.sorter.SortType sortType) Returns all Experiments objects sorted by given sortType.getExperimentsByProperty(String propertyName, Object value) Returns all Experiment objects, where property with given name equals object.getExperimentsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Experiment objects, where property with given name equals object, sorted.getExperimentsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Experiment objects, where property matches.getExperimentsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Experiment objects segment, where property matches.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.getExperimentsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Experiment objects, where property matches, sorted.intReturns all Experiments count.importExperiment(Experiment experiment) Imports a new Experiment object.importExperiments(List<Experiment> list) Imports multiple new Experiment object.updateExperiment(Experiment experiment) Updates a Experiment object.updateExperiments(List<Experiment> list) Updates multiple Experiment objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getExperiments
Returns all Experiments objects stored.- Throws:
ASExperimentServiceException
-
getExperiments
List<Experiment> getExperiments(net.anotheria.util.sorter.SortType sortType) throws ASExperimentServiceException Returns all Experiments objects sorted by given sortType.- Throws:
ASExperimentServiceException
-
deleteExperiment
Deletes a Experiment object by id.- Throws:
ASExperimentServiceException
-
deleteExperiment
Deletes a Experiment object.- Throws:
ASExperimentServiceException
-
deleteExperiments
Deletes multiple Experiment object.- Throws:
ASExperimentServiceException
-
getExperiment
Returns the Experiment object with the specified id.- Throws:
ASExperimentServiceException
-
importExperiment
Imports a new Experiment object. Returns the created version.- Throws:
ASExperimentServiceException
-
importExperiments
Imports multiple new Experiment object. Returns the created versions.- Throws:
ASExperimentServiceException
-
createExperiment
Creates a new Experiment object. Returns the created version.- Throws:
ASExperimentServiceException
-
createExperiments
Creates multiple new Experiment objects. Returns the created versions.- Throws:
ASExperimentServiceException
-
updateExperiment
Updates a Experiment object. Returns the updated version.- Throws:
ASExperimentServiceException
-
updateExperiments
Updates multiple Experiment objects. Returns the updated versions.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
List<Experiment> getExperimentsByProperty(String propertyName, Object value) throws ASExperimentServiceException Returns all Experiment objects, where property with given name equals object.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
List<Experiment> getExperimentsByProperty(String propertyName, 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 ASExperimentServiceException Executes a query.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
List<Experiment> getExperimentsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASExperimentServiceException Returns all Experiment objects, where property matches.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
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
Returns all Experiments count.- Throws:
ASExperimentServiceException
-
getExperiments
List<Experiment> getExperiments(net.anotheria.util.slicer.Segment aSegment) throws ASExperimentServiceException Returns Experiments objects segment.- Throws:
ASExperimentServiceException
-
getExperimentsByProperty
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
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(List<Experiment> listExperiments) throws ASExperimentServiceException Creates an xml element with selected contained data.- Throws:
ASExperimentServiceException
-
fetchExperiment
void fetchExperiment(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASExperimentServiceException Create json object list dependencies for this Experiment document.- Throws:
ASExperimentServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASExperimentServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASExperimentServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASExperimentServiceException
-