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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericActionDefcreateGenericActionDef(GenericActionDef genericactiondef)Creates a new GenericActionDef object.java.util.List<GenericActionDef>createGenericActionDefs(java.util.List<GenericActionDef> list)Creates multiple new GenericActionDef objects.voiddeleteGenericActionDef(java.lang.String id)Deletes a GenericActionDef object by id.voiddeleteGenericActionDef(GenericActionDef genericactiondef)Deletes a GenericActionDef object.voiddeleteGenericActionDefs(java.util.List<GenericActionDef> list)Deletes 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(java.util.List<GenericActionDef> listGenericActionDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.voidfetchGenericActionDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GenericActionDef document.GenericActionDefgetGenericActionDef(java.lang.String id)Returns the GenericActionDef object with the specified id.java.util.List<GenericActionDef>getGenericActionDefs()Returns all GenericActionDefs objects stored.java.util.List<GenericActionDef>getGenericActionDefs(net.anotheria.util.slicer.Segment aSegment)Returns GenericActionDefs objects segment.java.util.List<GenericActionDef>getGenericActionDefs(net.anotheria.util.sorter.SortType sortType)Returns all GenericActionDefs objects sorted by given sortType.java.util.List<GenericActionDef>getGenericActionDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GenericActionDef objects, where property with given name equals object.java.util.List<GenericActionDef>getGenericActionDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GenericActionDef objects, where property with given name equals object, sorted.java.util.List<GenericActionDef>getGenericActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericActionDef objects, where property matches.java.util.List<GenericActionDef>getGenericActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericActionDef objects segment, where property matches.java.util.List<GenericActionDef>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.java.util.List<GenericActionDef>getGenericActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericActionDef objects, where property matches, sorted.intgetGenericActionDefsCount()Returns all GenericActionDefs count.GenericActionDefimportGenericActionDef(GenericActionDef genericactiondef)Imports a new GenericActionDef object.java.util.List<GenericActionDef>importGenericActionDefs(java.util.List<GenericActionDef> list)Imports multiple new GenericActionDef object.GenericActionDefupdateGenericActionDef(GenericActionDef genericactiondef)Updates a GenericActionDef object.java.util.List<GenericActionDef>updateGenericActionDefs(java.util.List<GenericActionDef> list)Updates multiple GenericActionDef objects.
-
-
-
Method Detail
-
getGenericActionDefs
java.util.List<GenericActionDef> getGenericActionDefs() throws ASGenericActionServiceException
Returns all GenericActionDefs objects stored.- Throws:
ASGenericActionServiceException
-
getGenericActionDefs
java.util.List<GenericActionDef> getGenericActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASGenericActionServiceException
Returns all GenericActionDefs objects sorted by given sortType.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDef
void deleteGenericActionDef(java.lang.String id) throws ASGenericActionServiceExceptionDeletes a GenericActionDef object by id.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDef
void deleteGenericActionDef(GenericActionDef genericactiondef) throws ASGenericActionServiceException
Deletes a GenericActionDef object.- Throws:
ASGenericActionServiceException
-
deleteGenericActionDefs
void deleteGenericActionDefs(java.util.List<GenericActionDef> list) throws ASGenericActionServiceException
Deletes multiple GenericActionDef object.- Throws:
ASGenericActionServiceException
-
getGenericActionDef
GenericActionDef getGenericActionDef(java.lang.String id) throws ASGenericActionServiceException
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
java.util.List<GenericActionDef> importGenericActionDefs(java.util.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
java.util.List<GenericActionDef> createGenericActionDefs(java.util.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
java.util.List<GenericActionDef> updateGenericActionDefs(java.util.List<GenericActionDef> list) throws ASGenericActionServiceException
Updates multiple GenericActionDef objects. Returns the updated versions.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
java.util.List<GenericActionDef> getGenericActionDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASGenericActionServiceException
Returns all GenericActionDef objects, where property with given name equals object.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
java.util.List<GenericActionDef> getGenericActionDefsByProperty(java.lang.String propertyName, java.lang.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 ASGenericActionServiceExceptionExecutes a query.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
java.util.List<GenericActionDef> getGenericActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericActionServiceException
Returns all GenericActionDef objects, where property matches.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
java.util.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
int getGenericActionDefsCount() throws ASGenericActionServiceExceptionReturns all GenericActionDefs count.- Throws:
ASGenericActionServiceException
-
getGenericActionDefs
java.util.List<GenericActionDef> getGenericActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASGenericActionServiceException
Returns GenericActionDefs objects segment.- Throws:
ASGenericActionServiceException
-
getGenericActionDefsByProperty
java.util.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
java.util.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(java.util.List<GenericActionDef> listGenericActionDefs) throws ASGenericActionServiceException
Creates an xml element with selected contained data.- Throws:
ASGenericActionServiceException
-
fetchGenericActionDef
void fetchGenericActionDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASGenericActionServiceExceptionCreate json object list dependencies for this GenericActionDef document.- Throws:
ASGenericActionServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASGenericActionServiceException
Save transferred document by its own type.- Throws:
ASGenericActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericActionServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASGenericActionServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASGenericActionServiceExceptioncreates an xml element with all contained data.- Throws:
ASGenericActionServiceException
-
-