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.java.util.List<ActionMappingDef>createActionMappingDefs(java.util.List<ActionMappingDef> list)Creates multiple new ActionMappingDef objects.CustomActionDefcreateCustomActionDef(CustomActionDef customactiondef)Creates a new CustomActionDef object.java.util.List<CustomActionDef>createCustomActionDefs(java.util.List<CustomActionDef> list)Creates multiple new CustomActionDef objects.voiddeleteActionMappingDef(java.lang.String id)Deletes a ActionMappingDef object by id.voiddeleteActionMappingDef(ActionMappingDef actionmappingdef)Deletes a ActionMappingDef object.voiddeleteActionMappingDefs(java.util.List<ActionMappingDef> list)Deletes multiple ActionMappingDef object.voiddeleteCustomActionDef(java.lang.String id)Deletes a CustomActionDef object by id.voiddeleteCustomActionDef(CustomActionDef customactiondef)Deletes a CustomActionDef object.voiddeleteCustomActionDefs(java.util.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(java.util.List<ActionMappingDef> listActionMappingDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportCustomActionDefsToXML(java.util.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(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this ActionMappingDef document.voidfetchCustomActionDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this CustomActionDef document.ActionMappingDefgetActionMappingDef(java.lang.String id)Returns the ActionMappingDef object with the specified id.java.util.List<ActionMappingDef>getActionMappingDefs()Returns all ActionMappingDefs objects stored.java.util.List<ActionMappingDef>getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment)Returns ActionMappingDefs objects segment.java.util.List<ActionMappingDef>getActionMappingDefs(net.anotheria.util.sorter.SortType sortType)Returns all ActionMappingDefs objects sorted by given sortType.java.util.List<ActionMappingDef>getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all ActionMappingDef objects, where property with given name equals object.java.util.List<ActionMappingDef>getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all ActionMappingDef objects, where property with given name equals object, sorted.java.util.List<ActionMappingDef>getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all ActionMappingDef objects, where property matches.java.util.List<ActionMappingDef>getActionMappingDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns ActionMappingDef objects segment, where property matches.java.util.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.java.util.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(java.lang.String id)Returns the CustomActionDef object with the specified id.java.util.List<CustomActionDef>getCustomActionDefs()Returns all CustomActionDefs objects stored.java.util.List<CustomActionDef>getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment)Returns CustomActionDefs objects segment.java.util.List<CustomActionDef>getCustomActionDefs(net.anotheria.util.sorter.SortType sortType)Returns all CustomActionDefs objects sorted by given sortType.java.util.List<CustomActionDef>getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all CustomActionDef objects, where property with given name equals object.java.util.List<CustomActionDef>getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all CustomActionDef objects, where property with given name equals object, sorted.java.util.List<CustomActionDef>getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all CustomActionDef objects, where property matches.java.util.List<CustomActionDef>getCustomActionDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns CustomActionDef objects segment, where property matches.java.util.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.java.util.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.java.util.List<ActionMappingDef>importActionMappingDefs(java.util.List<ActionMappingDef> list)Imports multiple new ActionMappingDef object.CustomActionDefimportCustomActionDef(CustomActionDef customactiondef)Imports a new CustomActionDef object.java.util.List<CustomActionDef>importCustomActionDefs(java.util.List<CustomActionDef> list)Imports multiple new CustomActionDef object.ActionMappingDefupdateActionMappingDef(ActionMappingDef actionmappingdef)Updates a ActionMappingDef object.java.util.List<ActionMappingDef>updateActionMappingDefs(java.util.List<ActionMappingDef> list)Updates multiple ActionMappingDef objects.CustomActionDefupdateCustomActionDef(CustomActionDef customactiondef)Updates a CustomActionDef object.java.util.List<CustomActionDef>updateCustomActionDefs(java.util.List<CustomActionDef> list)Updates multiple CustomActionDef objects.
-
-
-
Method Detail
-
getCustomActionDefs
java.util.List<CustomActionDef> getCustomActionDefs() throws ASCustomActionServiceException
Returns all CustomActionDefs objects stored.- Throws:
ASCustomActionServiceException
-
getCustomActionDefs
java.util.List<CustomActionDef> getCustomActionDefs(net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException
Returns all CustomActionDefs objects sorted by given sortType.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDef
void deleteCustomActionDef(java.lang.String id) throws ASCustomActionServiceExceptionDeletes a CustomActionDef object by id.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDef
void deleteCustomActionDef(CustomActionDef customactiondef) throws ASCustomActionServiceException
Deletes a CustomActionDef object.- Throws:
ASCustomActionServiceException
-
deleteCustomActionDefs
void deleteCustomActionDefs(java.util.List<CustomActionDef> list) throws ASCustomActionServiceException
Deletes multiple CustomActionDef object.- Throws:
ASCustomActionServiceException
-
getCustomActionDef
CustomActionDef getCustomActionDef(java.lang.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
java.util.List<CustomActionDef> importCustomActionDefs(java.util.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
java.util.List<CustomActionDef> createCustomActionDefs(java.util.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
java.util.List<CustomActionDef> updateCustomActionDefs(java.util.List<CustomActionDef> list) throws ASCustomActionServiceException
Updates multiple CustomActionDef objects. Returns the updated versions.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
java.util.List<CustomActionDef> getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASCustomActionServiceException
Returns all CustomActionDef objects, where property with given name equals object.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
java.util.List<CustomActionDef> getCustomActionDefsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<CustomActionDef> getCustomActionDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException
Returns all CustomActionDef objects, where property matches.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
java.util.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
java.util.List<CustomActionDef> getCustomActionDefs(net.anotheria.util.slicer.Segment aSegment) throws ASCustomActionServiceException
Returns CustomActionDefs objects segment.- Throws:
ASCustomActionServiceException
-
getCustomActionDefsByProperty
java.util.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
java.util.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(java.util.List<CustomActionDef> listCustomActionDefs) throws ASCustomActionServiceException
Creates an xml element with selected contained data.- Throws:
ASCustomActionServiceException
-
fetchCustomActionDef
void fetchCustomActionDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceExceptionCreate json object list dependencies for this CustomActionDef document.- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
java.util.List<ActionMappingDef> getActionMappingDefs() throws ASCustomActionServiceException
Returns all ActionMappingDefs objects stored.- Throws:
ASCustomActionServiceException
-
getActionMappingDefs
java.util.List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.sorter.SortType sortType) throws ASCustomActionServiceException
Returns all ActionMappingDefs objects sorted by given sortType.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDef
void deleteActionMappingDef(java.lang.String id) throws ASCustomActionServiceExceptionDeletes a ActionMappingDef object by id.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDef
void deleteActionMappingDef(ActionMappingDef actionmappingdef) throws ASCustomActionServiceException
Deletes a ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
deleteActionMappingDefs
void deleteActionMappingDefs(java.util.List<ActionMappingDef> list) throws ASCustomActionServiceException
Deletes multiple ActionMappingDef object.- Throws:
ASCustomActionServiceException
-
getActionMappingDef
ActionMappingDef getActionMappingDef(java.lang.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
java.util.List<ActionMappingDef> importActionMappingDefs(java.util.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
java.util.List<ActionMappingDef> createActionMappingDefs(java.util.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
java.util.List<ActionMappingDef> updateActionMappingDefs(java.util.List<ActionMappingDef> list) throws ASCustomActionServiceException
Updates multiple ActionMappingDef objects. Returns the updated versions.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
java.util.List<ActionMappingDef> getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASCustomActionServiceException
Returns all ActionMappingDef objects, where property with given name equals object.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
java.util.List<ActionMappingDef> getActionMappingDefsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<ActionMappingDef> getActionMappingDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASCustomActionServiceException
Returns all ActionMappingDef objects, where property matches.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
java.util.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
java.util.List<ActionMappingDef> getActionMappingDefs(net.anotheria.util.slicer.Segment aSegment) throws ASCustomActionServiceException
Returns ActionMappingDefs objects segment.- Throws:
ASCustomActionServiceException
-
getActionMappingDefsByProperty
java.util.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
java.util.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(java.util.List<ActionMappingDef> listActionMappingDefs) throws ASCustomActionServiceException
Creates an xml element with selected contained data.- Throws:
ASCustomActionServiceException
-
fetchActionMappingDef
void fetchActionMappingDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASCustomActionServiceExceptionCreate 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
-
-