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.java.util.List<ActionDef>createActionDefs(java.util.List<ActionDef> list)Creates multiple new ActionDef objects.voiddeleteActionDef(java.lang.String id)Deletes a ActionDef object by id.voiddeleteActionDef(ActionDef actiondef)Deletes a ActionDef object.voiddeleteActionDefs(java.util.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(java.util.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(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this ActionDef document.ActionDefgetActionDef(java.lang.String id)Returns the ActionDef object with the specified id.java.util.List<ActionDef>getActionDefs()Returns all ActionDefs objects stored.java.util.List<ActionDef>getActionDefs(net.anotheria.util.slicer.Segment aSegment)Returns ActionDefs objects segment.java.util.List<ActionDef>getActionDefs(net.anotheria.util.sorter.SortType sortType)Returns all ActionDefs objects sorted by given sortType.java.util.List<ActionDef>getActionDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all ActionDef objects, where property with given name equals object.java.util.List<ActionDef>getActionDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all ActionDef objects, where property with given name equals object, sorted.java.util.List<ActionDef>getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionDef objects, where property matches.java.util.List<ActionDef>getActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns ActionDef objects segment, where property matches.java.util.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.java.util.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.java.util.List<ActionDef>importActionDefs(java.util.List<ActionDef> list)Imports multiple new ActionDef object.ActionDefupdateActionDef(ActionDef actiondef)Updates a ActionDef object.java.util.List<ActionDef>updateActionDefs(java.util.List<ActionDef> list)Updates multiple ActionDef objects.
-
-
-
Method Detail
-
getActionDefs
java.util.List<ActionDef> getActionDefs() throws ASActionServiceException
Returns all ActionDefs objects stored.- Throws:
ASActionServiceException
-
getActionDefs
java.util.List<ActionDef> getActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASActionServiceException
Returns all ActionDefs objects sorted by given sortType.- Throws:
ASActionServiceException
-
deleteActionDef
void deleteActionDef(java.lang.String id) throws ASActionServiceExceptionDeletes a ActionDef object by id.- Throws:
ASActionServiceException
-
deleteActionDef
void deleteActionDef(ActionDef actiondef) throws ASActionServiceException
Deletes a ActionDef object.- Throws:
ASActionServiceException
-
deleteActionDefs
void deleteActionDefs(java.util.List<ActionDef> list) throws ASActionServiceException
Deletes multiple ActionDef object.- Throws:
ASActionServiceException
-
getActionDef
ActionDef getActionDef(java.lang.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
java.util.List<ActionDef> importActionDefs(java.util.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
java.util.List<ActionDef> createActionDefs(java.util.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
java.util.List<ActionDef> updateActionDefs(java.util.List<ActionDef> list) throws ASActionServiceException
Updates multiple ActionDef objects. Returns the updated versions.- Throws:
ASActionServiceException
-
getActionDefsByProperty
java.util.List<ActionDef> getActionDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASActionServiceException
Returns all ActionDef objects, where property with given name equals object.- Throws:
ASActionServiceException
-
getActionDefsByProperty
java.util.List<ActionDef> getActionDefsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<ActionDef> getActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASActionServiceException
Returns all ActionDef objects, where property matches.- Throws:
ASActionServiceException
-
getActionDefsByProperty
java.util.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
java.util.List<ActionDef> getActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASActionServiceException
Returns ActionDefs objects segment.- Throws:
ASActionServiceException
-
getActionDefsByProperty
java.util.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
java.util.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(java.util.List<ActionDef> listActionDefs) throws ASActionServiceException
Creates an xml element with selected contained data.- Throws:
ASActionServiceException
-
fetchActionDef
void fetchActionDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASActionServiceExceptionCreate 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
-
-