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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionMappingDefcreateActionMappingDef(ActionMappingDef actionmappingdef)Creates a new ActionMappingDef object.List<ActionMappingDef>createActionMappingDefs(List<ActionMappingDef> list)Creates multiple new ActionMappingDef objects.CustomActionDefcreateCustomActionDef(CustomActionDef customactiondef)Creates a new CustomActionDef object.List<CustomActionDef>createCustomActionDefs(List<CustomActionDef> list)Creates multiple new CustomActionDef objects.voiddeleteActionMappingDef(String id)Deletes a ActionMappingDef object by id.voiddeleteActionMappingDef(ActionMappingDef actionmappingdef)Deletes a ActionMappingDef object.voiddeleteActionMappingDefs(List<ActionMappingDef> list)Deletes multiple ActionMappingDef object.voiddeleteCustomActionDef(String id)Deletes a CustomActionDef object by id.voiddeleteCustomActionDef(CustomActionDef customactiondef)Deletes a CustomActionDef object.voiddeleteCustomActionDefs(List<CustomActionDef> list)Deletes 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.XMLNodeexportToXML()creates 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.ActionMappingDefgetActionMappingDef(String id)Returns the ActionMappingDef object with the specified id.List<ActionMappingDef>getActionMappingDefs()Returns all ActionMappingDefs objects stored.List<ActionMappingDef>getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment)Returns ActionMappingDefs objects segment.List<ActionMappingDef>getActionMappingDefs(net.anotheria.util.sorter.SortType sortType)Returns all ActionMappingDefs objects sorted by given sortType.List<ActionMappingDef>getActionMappingDefsByProperty(String propertyName, Object value)Returns all ActionMappingDef objects, where property with given name equals object.List<ActionMappingDef>getActionMappingDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all ActionMappingDef objects, where property with given name equals object, sorted.List<ActionMappingDef>getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionMappingDef objects, where property matches.List<ActionMappingDef>getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns ActionMappingDef objects segment, where property matches.List<ActionMappingDef>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.List<ActionMappingDef>getActionMappingDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionMappingDef objects, where property matches, sorted.intgetActionMappingDefsCount()Returns all ActionMappingDefs count.CustomActionDefgetCustomActionDef(String id)Returns the CustomActionDef object with the specified id.List<CustomActionDef>getCustomActionDefs()Returns all CustomActionDefs objects stored.List<CustomActionDef>getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment)Returns CustomActionDefs objects segment.List<CustomActionDef>getCustomActionDefs(net.anotheria.util.sorter.SortType sortType)Returns all CustomActionDefs objects sorted by given sortType.List<CustomActionDef>getCustomActionDefsByProperty(String propertyName, Object value)Returns all CustomActionDef objects, where property with given name equals object.List<CustomActionDef>getCustomActionDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all CustomActionDef objects, where property with given name equals object, sorted.List<CustomActionDef>getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all CustomActionDef objects, where property matches.List<CustomActionDef>getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns CustomActionDef objects segment, where property matches.List<CustomActionDef>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.List<CustomActionDef>getCustomActionDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all CustomActionDef objects, where property matches, sorted.intgetCustomActionDefsCount()Returns all CustomActionDefs count.ActionMappingDefimportActionMappingDef(ActionMappingDef actionmappingdef)Imports a new ActionMappingDef object.List<ActionMappingDef>importActionMappingDefs(List<ActionMappingDef> list)Imports multiple new ActionMappingDef object.CustomActionDefimportCustomActionDef(CustomActionDef customactiondef)Imports a new CustomActionDef object.List<CustomActionDef>importCustomActionDefs(List<CustomActionDef> list)Imports multiple new CustomActionDef object.ActionMappingDefupdateActionMappingDef(ActionMappingDef actionmappingdef)Updates a ActionMappingDef object.List<ActionMappingDef>updateActionMappingDefs(List<ActionMappingDef> list)Updates multiple ActionMappingDef objects.CustomActionDefupdateCustomActionDef(CustomActionDef customactiondef)Updates a CustomActionDef object.List<CustomActionDef>updateCustomActionDefs(List<CustomActionDef> list)Updates multiple CustomActionDef objects.
-
-
-
Method Detail
-
getCustomActionDefs
List<CustomActionDef> getCustomActionDefs() throws ASCustomActionServiceException
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
void deleteCustomActionDef(String id) throws ASCustomActionServiceException
Deletes a CustomActionDef object by id.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDef
void deleteCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException
Deletes a CustomActionDef object.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDefs
void deleteCustomActionDefs(List<CustomActionDef> list) throws ASCustomActionServiceException
Deletes multiple CustomActionDef object.- Throws:
ASCustomActionServiceException
-
getCustomActionDef
CustomActionDef getCustomActionDef(String id) throws ASCustomActionServiceException
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 ASCustomActionServiceExceptionExecutes 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
int getCustomActionDefsCount() throws ASCustomActionServiceExceptionReturns 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
List<ActionMappingDef> getActionMappingDefs() throws ASCustomActionServiceException
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
void deleteActionMappingDef(String id) throws ASCustomActionServiceException
Deletes a ActionMappingDef object by id.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDef
void deleteActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException
Deletes a ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDefs
void deleteActionMappingDefs(List<ActionMappingDef> list) throws ASCustomActionServiceException
Deletes multiple ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
getActionMappingDef
ActionMappingDef getActionMappingDef(String id) throws ASCustomActionServiceException
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 ASCustomActionServiceExceptionExecutes 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
int getActionMappingDefsCount() throws ASCustomActionServiceExceptionReturns 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
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASCustomActionServiceException
Save transferred document by its own type.- Throws:
ASCustomActionServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASCustomActionServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASCustomActionServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASCustomActionServiceExceptioncreates an xml element with all contained data.- Throws:
ASCustomActionServiceException
-
-