Interface IASGenericActionService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASGenericActionServiceImpl
public interface IASGenericActionService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateGenericActionDef(GenericActionDef genericactiondef) Creates a new GenericActionDef object.Creates multiple new GenericActionDef objects.voidDeletes a GenericActionDef object by id.voiddeleteGenericActionDef(GenericActionDef genericactiondef) Deletes a GenericActionDef object.voidDeletes multiple GenericActionDef 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.QueryResultexecuteQueryOnGenericActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportGenericActionDefsToXML(List<GenericActionDef> listGenericActionDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchGenericActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this GenericActionDef document.Returns the GenericActionDef object with the specified id.Returns all GenericActionDefs objects stored.getGenericActionDefs(net.anotheria.util.slicer.Segment aSegment) Returns GenericActionDefs objects segment.getGenericActionDefs(net.anotheria.util.sorter.SortType sortType) Returns all GenericActionDefs objects sorted by given sortType.getGenericActionDefsByProperty(String propertyName, Object value) Returns all GenericActionDef objects, where property with given name equals object.getGenericActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all GenericActionDef objects, where property with given name equals object, sorted.getGenericActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all GenericActionDef objects, where property matches.getGenericActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GenericActionDef objects segment, where property matches.getGenericActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GenericActionDef objects segment, where property matches, sorted.getGenericActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all GenericActionDef objects, where property matches, sorted.intReturns all GenericActionDefs count.importGenericActionDef(GenericActionDef genericactiondef) Imports a new GenericActionDef object.Imports multiple new GenericActionDef object.updateGenericActionDef(GenericActionDef genericactiondef) Updates a GenericActionDef object.Updates multiple GenericActionDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getGenericActionDefs
Returns all GenericActionDefs objects stored.- Throws:
ASGenericActionServiceException
-
getGenericActionDefs
List<GenericActionDef> getGenericActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASGenericActionServiceException Returns all GenericActionDefs objects sorted by given sortType.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDef
Deletes a GenericActionDef object by id.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDef
void deleteGenericActionDef(GenericActionDef genericactiondef) throws ASGenericActionServiceException Deletes a GenericActionDef object.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDefs
Deletes multiple GenericActionDef object.- Throws:
ASGenericActionServiceException
-
getGenericActionDef
Returns the GenericActionDef object with the specified id.- Throws:
ASGenericActionServiceException
-
importGenericActionDef
GenericActionDef importGenericActionDef(GenericActionDef genericactiondef) throws ASGenericActionServiceException Imports a new GenericActionDef object. Returns the created version.- Throws:
ASGenericActionServiceException
-
importGenericActionDefs
List<GenericActionDef> importGenericActionDefs(List<GenericActionDef> list) throws ASGenericActionServiceException Imports multiple new GenericActionDef object. Returns the created versions.- Throws:
ASGenericActionServiceException
-
createGenericActionDef
GenericActionDef createGenericActionDef(GenericActionDef genericactiondef) throws ASGenericActionServiceException Creates a new GenericActionDef object. Returns the created version.- Throws:
ASGenericActionServiceException
-
createGenericActionDefs
List<GenericActionDef> createGenericActionDefs(List<GenericActionDef> list) throws ASGenericActionServiceException Creates multiple new GenericActionDef objects. Returns the created versions.- Throws:
ASGenericActionServiceException
-
updateGenericActionDef
GenericActionDef updateGenericActionDef(GenericActionDef genericactiondef) throws ASGenericActionServiceException Updates a GenericActionDef object. Returns the updated version.- Throws:
ASGenericActionServiceException
-
updateGenericActionDefs
List<GenericActionDef> updateGenericActionDefs(List<GenericActionDef> list) throws ASGenericActionServiceException Updates multiple GenericActionDef objects. Returns the updated versions.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(String propertyName, Object value) throws ASGenericActionServiceException Returns all GenericActionDef objects, where property with given name equals object.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASGenericActionServiceException Returns all GenericActionDef objects, where property with given name equals object, sorted.- Throws:
ASGenericActionServiceException
-
executeQueryOnGenericActionDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnGenericActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericActionServiceException Executes a query.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericActionServiceException Returns all GenericActionDef objects, where property matches.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericActionServiceException Returns all GenericActionDef objects, where property matches, sorted.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsCount
Returns all GenericActionDefs count.- Throws:
ASGenericActionServiceException
-
getGenericActionDefs
List<GenericActionDef> getGenericActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASGenericActionServiceException Returns GenericActionDefs objects segment.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericActionServiceException Returns GenericActionDef objects segment, where property matches.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
List<GenericActionDef> getGenericActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericActionServiceException Returns GenericActionDef objects segment, where property matches, sorted.- Throws:
ASGenericActionServiceException
-
exportGenericActionDefsToXML
net.anotheria.util.xml.XMLNode exportGenericActionDefsToXML(List<GenericActionDef> listGenericActionDefs) throws ASGenericActionServiceException Creates an xml element with selected contained data.- Throws:
ASGenericActionServiceException
-
fetchGenericActionDef
void fetchGenericActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASGenericActionServiceException Create json object list dependencies for this GenericActionDef document.- Throws:
ASGenericActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericActionServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASGenericActionServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASGenericActionServiceException
-