Interface IASCustomActionService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASCustomActionServiceImpl
public interface IASCustomActionService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateActionMappingDef(ActionMappingDef actionmappingdef) Creates a new ActionMappingDef object.Creates multiple new ActionMappingDef objects.createCustomActionDef(CustomActionDef customactiondef) Creates a new CustomActionDef object.Creates multiple new CustomActionDef objects.voidDeletes a ActionMappingDef object by id.voiddeleteActionMappingDef(ActionMappingDef actionmappingdef) Deletes a ActionMappingDef object.voidDeletes multiple ActionMappingDef object.voidDeletes a CustomActionDef object by id.voiddeleteCustomActionDef(CustomActionDef customactiondef) Deletes a CustomActionDef object.voidDeletes multiple CustomActionDef object.voidexecuteParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) Save transferred document by its own type.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnActionMappingDefs(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.anodoc.query2.QueryResultexecuteQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportActionMappingDefsToXML(List<ActionMappingDef> listActionMappingDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportCustomActionDefsToXML(List<CustomActionDef> listCustomActionDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchActionMappingDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this ActionMappingDef document.voidfetchCustomActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this CustomActionDef document.Returns the ActionMappingDef object with the specified id.Returns all ActionMappingDefs objects stored.getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment) Returns ActionMappingDefs objects segment.getActionMappingDefs(net.anotheria.util.sorter.SortType sortType) Returns all ActionMappingDefs objects sorted by given sortType.getActionMappingDefsByProperty(String propertyName, Object value) Returns all ActionMappingDef objects, where property with given name equals object.getActionMappingDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all ActionMappingDef objects, where property with given name equals object, sorted.getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches.getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionMappingDef objects segment, where property matches.getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns ActionMappingDef objects segment, where property matches, sorted.getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all ActionMappingDef objects, where property matches, sorted.intReturns all ActionMappingDefs count.Returns the CustomActionDef object with the specified id.Returns all CustomActionDefs objects stored.getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment) Returns CustomActionDefs objects segment.getCustomActionDefs(net.anotheria.util.sorter.SortType sortType) Returns all CustomActionDefs objects sorted by given sortType.getCustomActionDefsByProperty(String propertyName, Object value) Returns all CustomActionDef objects, where property with given name equals object.getCustomActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all CustomActionDef objects, where property with given name equals object, sorted.getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches.getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns CustomActionDef objects segment, where property matches.getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns CustomActionDef objects segment, where property matches, sorted.getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all CustomActionDef objects, where property matches, sorted.intReturns all CustomActionDefs count.importActionMappingDef(ActionMappingDef actionmappingdef) Imports a new ActionMappingDef object.Imports multiple new ActionMappingDef object.importCustomActionDef(CustomActionDef customactiondef) Imports a new CustomActionDef object.Imports multiple new CustomActionDef object.updateActionMappingDef(ActionMappingDef actionmappingdef) Updates a ActionMappingDef object.Updates multiple ActionMappingDef objects.updateCustomActionDef(CustomActionDef customactiondef) Updates a CustomActionDef object.Updates multiple CustomActionDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getCustomActionDefs
Returns all CustomActionDefs objects stored.- Throws:
ASCustomActionServiceException
-
getCustomActionDefs
List<CustomActionDef> getCustomActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException Returns all CustomActionDefs objects sorted by given sortType.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDef
Deletes a CustomActionDef object by id.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDef
Deletes a CustomActionDef object.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDefs
Deletes multiple CustomActionDef object.- Throws:
ASCustomActionServiceException
-
getCustomActionDef
Returns the CustomActionDef object with the specified id.- Throws:
ASCustomActionServiceException
-
importCustomActionDef
CustomActionDef importCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException Imports a new CustomActionDef object. Returns the created version.- Throws:
ASCustomActionServiceException
-
importCustomActionDefs
List<CustomActionDef> importCustomActionDefs(List<CustomActionDef> list) throws ASCustomActionServiceException Imports multiple new CustomActionDef object. Returns the created versions.- Throws:
ASCustomActionServiceException
-
createCustomActionDef
CustomActionDef createCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException Creates a new CustomActionDef object. Returns the created version.- Throws:
ASCustomActionServiceException
-
createCustomActionDefs
List<CustomActionDef> createCustomActionDefs(List<CustomActionDef> list) throws ASCustomActionServiceException Creates multiple new CustomActionDef objects. Returns the created versions.- Throws:
ASCustomActionServiceException
-
updateCustomActionDef
CustomActionDef updateCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException Updates a CustomActionDef object. Returns the updated version.- Throws:
ASCustomActionServiceException
-
updateCustomActionDefs
List<CustomActionDef> updateCustomActionDefs(List<CustomActionDef> list) throws ASCustomActionServiceException Updates multiple CustomActionDef objects. Returns the updated versions.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(String propertyName, Object value) throws ASCustomActionServiceException Returns all CustomActionDef objects, where property with given name equals object.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException Returns all CustomActionDef objects, where property with given name equals object, sorted.- Throws:
ASCustomActionServiceException
-
executeQueryOnCustomActionDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnCustomActionDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASCustomActionServiceException Executes a query.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException Returns all CustomActionDef objects, where property matches.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException Returns all CustomActionDef objects, where property matches, sorted.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsCount
Returns all CustomActionDefs count.- Throws:
ASCustomActionServiceException
-
getCustomActionDefs
List<CustomActionDef> getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASCustomActionServiceException Returns CustomActionDefs objects segment.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASCustomActionServiceException Returns CustomActionDef objects segment, where property matches.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASCustomActionServiceException Returns CustomActionDef objects segment, where property matches, sorted.- Throws:
ASCustomActionServiceException
-
exportCustomActionDefsToXML
net.anotheria.util.xml.XMLNode exportCustomActionDefsToXML(List<CustomActionDef> listCustomActionDefs) throws ASCustomActionServiceException Creates an xml element with selected contained data.- Throws:
ASCustomActionServiceException
-
fetchCustomActionDef
void fetchCustomActionDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceException Create json object list dependencies for this CustomActionDef document.- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
Returns all ActionMappingDefs objects stored.- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException Returns all ActionMappingDefs objects sorted by given sortType.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDef
Deletes a ActionMappingDef object by id.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDef
void deleteActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException Deletes a ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDefs
Deletes multiple ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
getActionMappingDef
Returns the ActionMappingDef object with the specified id.- Throws:
ASCustomActionServiceException
-
importActionMappingDef
ActionMappingDef importActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException Imports a new ActionMappingDef object. Returns the created version.- Throws:
ASCustomActionServiceException
-
importActionMappingDefs
List<ActionMappingDef> importActionMappingDefs(List<ActionMappingDef> list) throws ASCustomActionServiceException Imports multiple new ActionMappingDef object. Returns the created versions.- Throws:
ASCustomActionServiceException
-
createActionMappingDef
ActionMappingDef createActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException Creates a new ActionMappingDef object. Returns the created version.- Throws:
ASCustomActionServiceException
-
createActionMappingDefs
List<ActionMappingDef> createActionMappingDefs(List<ActionMappingDef> list) throws ASCustomActionServiceException Creates multiple new ActionMappingDef objects. Returns the created versions.- Throws:
ASCustomActionServiceException
-
updateActionMappingDef
ActionMappingDef updateActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException Updates a ActionMappingDef object. Returns the updated version.- Throws:
ASCustomActionServiceException
-
updateActionMappingDefs
List<ActionMappingDef> updateActionMappingDefs(List<ActionMappingDef> list) throws ASCustomActionServiceException Updates multiple ActionMappingDef objects. Returns the updated versions.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(String propertyName, Object value) throws ASCustomActionServiceException Returns all ActionMappingDef objects, where property with given name equals object.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException Returns all ActionMappingDef objects, where property with given name equals object, sorted.- Throws:
ASCustomActionServiceException
-
executeQueryOnActionMappingDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnActionMappingDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASCustomActionServiceException Executes a query.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException Returns all ActionMappingDef objects, where property matches.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException Returns all ActionMappingDef objects, where property matches, sorted.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsCount
Returns all ActionMappingDefs count.- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment) throws ASCustomActionServiceException Returns ActionMappingDefs objects segment.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASCustomActionServiceException Returns ActionMappingDef objects segment, where property matches.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASCustomActionServiceException Returns ActionMappingDef objects segment, where property matches, sorted.- Throws:
ASCustomActionServiceException
-
exportActionMappingDefsToXML
net.anotheria.util.xml.XMLNode exportActionMappingDefsToXML(List<ActionMappingDef> listActionMappingDefs) throws ASCustomActionServiceException Creates an xml element with selected contained data.- Throws:
ASCustomActionServiceException
-
fetchActionMappingDef
void fetchActionMappingDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceException Create json object list dependencies for this ActionMappingDef document.- Throws:
ASCustomActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASCustomActionServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASCustomActionServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASCustomActionServiceException
-