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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionDefcreateActionDef(ActionDef actiondef)Creates a new ActionDef object.List<ActionDef>createActionDefs(List<ActionDef> list)Creates multiple new ActionDef objects.voiddeleteActionDef(String id)Deletes 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.XMLNodeexportToXML()creates 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.ActionDefgetActionDef(String id)Returns the ActionDef object with the specified id.List<ActionDef>getActionDefs()Returns all ActionDefs objects stored.List<ActionDef>getActionDefs(net.anotheria.util.slicer.Segment aSegment)Returns ActionDefs objects segment.List<ActionDef>getActionDefs(net.anotheria.util.sorter.SortType sortType)Returns all ActionDefs objects sorted by given sortType.List<ActionDef>getActionDefsByProperty(String propertyName, Object value)Returns all ActionDef objects, where property with given name equals object.List<ActionDef>getActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all ActionDef objects, where property with given name equals object, sorted.List<ActionDef>getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionDef objects, where property matches.List<ActionDef>getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns ActionDef objects segment, where property matches.List<ActionDef>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.List<ActionDef>getActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionDef objects, where property matches, sorted.intgetActionDefsCount()Returns all ActionDefs count.ActionDefimportActionDef(ActionDef actiondef)Imports a new ActionDef object.List<ActionDef>importActionDefs(List<ActionDef> list)Imports multiple new ActionDef object.ActionDefupdateActionDef(ActionDef actiondef)Updates a ActionDef object.List<ActionDef>updateActionDefs(List<ActionDef> list)Updates multiple ActionDef objects.
-
-
-
Method Detail
-
getActionDefs
List<ActionDef> getActionDefs() throws ASActionServiceException
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
void deleteActionDef(String id) throws ASActionServiceException
Deletes a ActionDef object by id.- Throws:
ASActionServiceException
-
deleteActionDef
void deleteActionDef(ActionDef actiondef) throws ASActionServiceException
Deletes a ActionDef object.- Throws:
ASActionServiceException
-
deleteActionDefs
void deleteActionDefs(List<ActionDef> list) throws ASActionServiceException
Deletes multiple ActionDef object.- Throws:
ASActionServiceException
-
getActionDef
ActionDef getActionDef(String id) throws ASActionServiceException
Returns the ActionDef object with the specified id.- Throws:
ASActionServiceException
-
importActionDef
ActionDef importActionDef(ActionDef actiondef) throws ASActionServiceException
Imports a new ActionDef object. Returns the created version.- Throws:
ASActionServiceException
-
importActionDefs
List<ActionDef> importActionDefs(List<ActionDef> list) throws ASActionServiceException
Imports multiple new ActionDef object. Returns the created versions.- Throws:
ASActionServiceException
-
createActionDef
ActionDef createActionDef(ActionDef actiondef) throws ASActionServiceException
Creates a new ActionDef object. Returns the created version.- Throws:
ASActionServiceException
-
createActionDefs
List<ActionDef> createActionDefs(List<ActionDef> list) throws ASActionServiceException
Creates multiple new ActionDef objects. Returns the created versions.- Throws:
ASActionServiceException
-
updateActionDef
ActionDef updateActionDef(ActionDef actiondef) throws ASActionServiceException
Updates a ActionDef object. Returns the updated version.- Throws:
ASActionServiceException
-
updateActionDefs
List<ActionDef> updateActionDefs(List<ActionDef> list) throws ASActionServiceException
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 ASActionServiceExceptionExecutes 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
int getActionDefsCount() throws ASActionServiceExceptionReturns 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
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASActionServiceException
Save transferred document by its own type.- Throws:
ASActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASActionServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASActionServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASActionServiceExceptioncreates an xml element with all contained data.- Throws:
ASActionServiceException
-
-