Interface IASWizardDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASWizardDataServiceImpl
public interface IASWizardDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateWizardDef(WizardDef wizarddef) Creates a new WizardDef object.createWizardDefs(List<WizardDef> list) Creates multiple new WizardDef objects.createWizardHandlerDef(WizardHandlerDef wizardhandlerdef) Creates a new WizardHandlerDef object.Creates multiple new WizardHandlerDef objects.voidDeletes a WizardDef object by id.voiddeleteWizardDef(WizardDef wizarddef) Deletes a WizardDef object.voiddeleteWizardDefs(List<WizardDef> list) Deletes multiple WizardDef object.voidDeletes a WizardHandlerDef object by id.voiddeleteWizardHandlerDef(WizardHandlerDef wizardhandlerdef) Deletes a WizardHandlerDef object.voidDeletes multiple WizardHandlerDef 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.QueryResultexecuteQueryOnWizardDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnWizardHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportWizardDefsToXML(List<WizardDef> listWizardDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportWizardHandlerDefsToXML(List<WizardHandlerDef> listWizardHandlerDefs) Creates an xml element with selected contained data.voidfetchWizardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this WizardDef document.voidfetchWizardHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this WizardHandlerDef document.getWizardDef(String id) Returns the WizardDef object with the specified id.Returns all WizardDefs objects stored.getWizardDefs(net.anotheria.util.slicer.Segment aSegment) Returns WizardDefs objects segment.getWizardDefs(net.anotheria.util.sorter.SortType sortType) Returns all WizardDefs objects sorted by given sortType.getWizardDefsByProperty(String propertyName, Object value) Returns all WizardDef objects, where property with given name equals object.getWizardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all WizardDef objects, where property with given name equals object, sorted.getWizardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all WizardDef objects, where property matches.getWizardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns WizardDef objects segment, where property matches.getWizardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns WizardDef objects segment, where property matches, sorted.getWizardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all WizardDef objects, where property matches, sorted.intReturns all WizardDefs count.Returns the WizardHandlerDef object with the specified id.Returns all WizardHandlerDefs objects stored.getWizardHandlerDefs(net.anotheria.util.slicer.Segment aSegment) Returns WizardHandlerDefs objects segment.getWizardHandlerDefs(net.anotheria.util.sorter.SortType sortType) Returns all WizardHandlerDefs objects sorted by given sortType.getWizardHandlerDefsByProperty(String propertyName, Object value) Returns all WizardHandlerDef objects, where property with given name equals object.getWizardHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all WizardHandlerDef objects, where property with given name equals object, sorted.getWizardHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all WizardHandlerDef objects, where property matches.getWizardHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns WizardHandlerDef objects segment, where property matches.getWizardHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns WizardHandlerDef objects segment, where property matches, sorted.getWizardHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all WizardHandlerDef objects, where property matches, sorted.intReturns all WizardHandlerDefs count.importWizardDef(WizardDef wizarddef) Imports a new WizardDef object.importWizardDefs(List<WizardDef> list) Imports multiple new WizardDef object.importWizardHandlerDef(WizardHandlerDef wizardhandlerdef) Imports a new WizardHandlerDef object.Imports multiple new WizardHandlerDef object.updateWizardDef(WizardDef wizarddef) Updates a WizardDef object.updateWizardDefs(List<WizardDef> list) Updates multiple WizardDef objects.updateWizardHandlerDef(WizardHandlerDef wizardhandlerdef) Updates a WizardHandlerDef object.Updates multiple WizardHandlerDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getWizardDefs
Returns all WizardDefs objects stored.- Throws:
ASWizardDataServiceException
-
getWizardDefs
List<WizardDef> getWizardDefs(net.anotheria.util.sorter.SortType sortType) throws ASWizardDataServiceException Returns all WizardDefs objects sorted by given sortType.- Throws:
ASWizardDataServiceException
-
deleteWizardDef
Deletes a WizardDef object by id.- Throws:
ASWizardDataServiceException
-
deleteWizardDef
Deletes a WizardDef object.- Throws:
ASWizardDataServiceException
-
deleteWizardDefs
Deletes multiple WizardDef object.- Throws:
ASWizardDataServiceException
-
getWizardDef
Returns the WizardDef object with the specified id.- Throws:
ASWizardDataServiceException
-
importWizardDef
Imports a new WizardDef object. Returns the created version.- Throws:
ASWizardDataServiceException
-
importWizardDefs
Imports multiple new WizardDef object. Returns the created versions.- Throws:
ASWizardDataServiceException
-
createWizardDef
Creates a new WizardDef object. Returns the created version.- Throws:
ASWizardDataServiceException
-
createWizardDefs
Creates multiple new WizardDef objects. Returns the created versions.- Throws:
ASWizardDataServiceException
-
updateWizardDef
Updates a WizardDef object. Returns the updated version.- Throws:
ASWizardDataServiceException
-
updateWizardDefs
Updates multiple WizardDef objects. Returns the updated versions.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(String propertyName, Object value) throws ASWizardDataServiceException Returns all WizardDef objects, where property with given name equals object.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASWizardDataServiceException Returns all WizardDef objects, where property with given name equals object, sorted.- Throws:
ASWizardDataServiceException
-
executeQueryOnWizardDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnWizardDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWizardDataServiceException Executes a query.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWizardDataServiceException Returns all WizardDef objects, where property matches.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASWizardDataServiceException Returns all WizardDef objects, where property matches, sorted.- Throws:
ASWizardDataServiceException
-
getWizardDefsCount
Returns all WizardDefs count.- Throws:
ASWizardDataServiceException
-
getWizardDefs
List<WizardDef> getWizardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASWizardDataServiceException Returns WizardDefs objects segment.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWizardDataServiceException Returns WizardDef objects segment, where property matches.- Throws:
ASWizardDataServiceException
-
getWizardDefsByProperty
List<WizardDef> getWizardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWizardDataServiceException Returns WizardDef objects segment, where property matches, sorted.- Throws:
ASWizardDataServiceException
-
exportWizardDefsToXML
net.anotheria.util.xml.XMLNode exportWizardDefsToXML(List<WizardDef> listWizardDefs) throws ASWizardDataServiceException Creates an xml element with selected contained data.- Throws:
ASWizardDataServiceException
-
fetchWizardDef
void fetchWizardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWizardDataServiceException Create json object list dependencies for this WizardDef document.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefs
Returns all WizardHandlerDefs objects stored.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefs
List<WizardHandlerDef> getWizardHandlerDefs(net.anotheria.util.sorter.SortType sortType) throws ASWizardDataServiceException Returns all WizardHandlerDefs objects sorted by given sortType.- Throws:
ASWizardDataServiceException
-
deleteWizardHandlerDef
Deletes a WizardHandlerDef object by id.- Throws:
ASWizardDataServiceException
-
deleteWizardHandlerDef
Deletes a WizardHandlerDef object.- Throws:
ASWizardDataServiceException
-
deleteWizardHandlerDefs
Deletes multiple WizardHandlerDef object.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDef
Returns the WizardHandlerDef object with the specified id.- Throws:
ASWizardDataServiceException
-
importWizardHandlerDef
WizardHandlerDef importWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException Imports a new WizardHandlerDef object. Returns the created version.- Throws:
ASWizardDataServiceException
-
importWizardHandlerDefs
List<WizardHandlerDef> importWizardHandlerDefs(List<WizardHandlerDef> list) throws ASWizardDataServiceException Imports multiple new WizardHandlerDef object. Returns the created versions.- Throws:
ASWizardDataServiceException
-
createWizardHandlerDef
WizardHandlerDef createWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException Creates a new WizardHandlerDef object. Returns the created version.- Throws:
ASWizardDataServiceException
-
createWizardHandlerDefs
List<WizardHandlerDef> createWizardHandlerDefs(List<WizardHandlerDef> list) throws ASWizardDataServiceException Creates multiple new WizardHandlerDef objects. Returns the created versions.- Throws:
ASWizardDataServiceException
-
updateWizardHandlerDef
WizardHandlerDef updateWizardHandlerDef(WizardHandlerDef wizardhandlerdef) throws ASWizardDataServiceException Updates a WizardHandlerDef object. Returns the updated version.- Throws:
ASWizardDataServiceException
-
updateWizardHandlerDefs
List<WizardHandlerDef> updateWizardHandlerDefs(List<WizardHandlerDef> list) throws ASWizardDataServiceException Updates multiple WizardHandlerDef objects. Returns the updated versions.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(String propertyName, Object value) throws ASWizardDataServiceException Returns all WizardHandlerDef objects, where property with given name equals object.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASWizardDataServiceException Returns all WizardHandlerDef objects, where property with given name equals object, sorted.- Throws:
ASWizardDataServiceException
-
executeQueryOnWizardHandlerDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnWizardHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWizardDataServiceException Executes a query.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWizardDataServiceException Returns all WizardHandlerDef objects, where property matches.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASWizardDataServiceException Returns all WizardHandlerDef objects, where property matches, sorted.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsCount
Returns all WizardHandlerDefs count.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefs
List<WizardHandlerDef> getWizardHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASWizardDataServiceException Returns WizardHandlerDefs objects segment.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWizardDataServiceException Returns WizardHandlerDef objects segment, where property matches.- Throws:
ASWizardDataServiceException
-
getWizardHandlerDefsByProperty
List<WizardHandlerDef> getWizardHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWizardDataServiceException Returns WizardHandlerDef objects segment, where property matches, sorted.- Throws:
ASWizardDataServiceException
-
exportWizardHandlerDefsToXML
net.anotheria.util.xml.XMLNode exportWizardHandlerDefsToXML(List<WizardHandlerDef> listWizardHandlerDefs) throws ASWizardDataServiceException Creates an xml element with selected contained data.- Throws:
ASWizardDataServiceException
-
fetchWizardHandlerDef
void fetchWizardHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWizardDataServiceException Create json object list dependencies for this WizardHandlerDef document.- Throws:
ASWizardDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWizardDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASWizardDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASWizardDataServiceException
-