Interface IASActionService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASActionServiceImpl
public interface IASActionService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateActionDef(ActionDef actiondef) Creates a new ActionDef object.createActionDefs(List<ActionDef> list) Creates multiple new ActionDef objects.voidDeletes a ActionDef object by id.voiddeleteActionDef(ActionDef actiondef) Deletes a ActionDef object.voiddeleteActionDefs(List<ActionDef> list) Deletes multiple ActionDef object.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.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.util.xml.XMLNodeexportActionDefsToXML(List<ActionDef> listActionDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this ActionDef document.getActionDef(String id) Returns the ActionDef object with the specified id.Returns all ActionDefs objects stored.getActionDefs(net.anotheria.util.slicer.Segment aSegment) Returns ActionDefs objects segment.getActionDefs(net.anotheria.util.sorter.SortType sortType) Returns all ActionDefs objects sorted by given sortType.getActionDefsByProperty(String propertyName, Object value) Returns all ActionDef objects, where property with given name equals object.getActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all ActionDef objects, where property with given name equals object, sorted.getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionDef objects, where property matches.getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionDef objects segment, where property matches.getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionDef objects segment, where property matches, sorted.getActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionDef objects, where property matches, sorted.intReturns all ActionDefs count.importActionDef(ActionDef actiondef) Imports a new ActionDef object.importActionDefs(List<ActionDef> list) Imports multiple new ActionDef object.updateActionDef(ActionDef actiondef) Updates a ActionDef object.updateActionDefs(List<ActionDef> list) Updates multiple ActionDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getActionDefs
Returns all ActionDefs objects stored.- Throws:
ASActionServiceException
-
getActionDefs
List<ActionDef> getActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASActionServiceException Returns all ActionDefs objects sorted by given sortType.- Throws:
ASActionServiceException
-
deleteActionDef
Deletes a ActionDef object by id.- Throws:
ASActionServiceException
-
deleteActionDef
Deletes a ActionDef object.- Throws:
ASActionServiceException
-
deleteActionDefs
Deletes multiple ActionDef object.- Throws:
ASActionServiceException
-
getActionDef
Returns the ActionDef object with the specified id.- Throws:
ASActionServiceException
-
importActionDef
Imports a new ActionDef object. Returns the created version.- Throws:
ASActionServiceException
-
importActionDefs
Imports multiple new ActionDef object. Returns the created versions.- Throws:
ASActionServiceException
-
createActionDef
Creates a new ActionDef object. Returns the created version.- Throws:
ASActionServiceException
-
createActionDefs
Creates multiple new ActionDef objects. Returns the created versions.- Throws:
ASActionServiceException
-
updateActionDef
Updates a ActionDef object. Returns the updated version.- Throws:
ASActionServiceException
-
updateActionDefs
Updates multiple ActionDef objects. Returns the updated versions.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(String propertyName, Object value) throws ASActionServiceException Returns all ActionDef objects, where property with given name equals object.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASActionServiceException Returns all ActionDef objects, where property with given name equals object, sorted.- Throws:
ASActionServiceException
-
executeQueryOnActionDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASActionServiceException Executes a query.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASActionServiceException Returns all ActionDef objects, where property matches.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASActionServiceException Returns all ActionDef objects, where property matches, sorted.- Throws:
ASActionServiceException
-
getActionDefsCount
Returns all ActionDefs count.- Throws:
ASActionServiceException
-
getActionDefs
List<ActionDef> getActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASActionServiceException Returns ActionDefs objects segment.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASActionServiceException Returns ActionDef objects segment, where property matches.- Throws:
ASActionServiceException
-
getActionDefsByProperty
List<ActionDef> getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASActionServiceException Returns ActionDef objects segment, where property matches, sorted.- Throws:
ASActionServiceException
-
exportActionDefsToXML
net.anotheria.util.xml.XMLNode exportActionDefsToXML(List<ActionDef> listActionDefs) throws ASActionServiceException Creates an xml element with selected contained data.- Throws:
ASActionServiceException
-
fetchActionDef
void fetchActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASActionServiceException Create json object list dependencies for this ActionDef document.- Throws:
ASActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASActionServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASActionServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASActionServiceException
-