Interface IASFederatedDataService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASFederatedDataServiceImpl
public interface IASFederatedDataService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateBoxHandlerDef(BoxHandlerDef boxhandlerdef) Creates a new BoxHandlerDef object.Creates multiple new BoxHandlerDef objects.createBoxType(BoxType boxtype) Creates a new BoxType object.createBoxTypes(List<BoxType> list) Creates multiple new BoxType objects.createGuardDef(GuardDef guarddef) Creates a new GuardDef object.createGuardDefs(List<GuardDef> list) Creates multiple new GuardDef objects.voidDeletes a BoxHandlerDef object by id.voiddeleteBoxHandlerDef(BoxHandlerDef boxhandlerdef) Deletes a BoxHandlerDef object.voidDeletes multiple BoxHandlerDef object.voiddeleteBoxType(String id) Deletes a BoxType object by id.voiddeleteBoxType(BoxType boxtype) Deletes a BoxType object.voiddeleteBoxTypes(List<BoxType> list) Deletes multiple BoxType object.voiddeleteGuardDef(String id) Deletes a GuardDef object by id.voiddeleteGuardDef(GuardDef guarddef) Deletes a GuardDef object.voiddeleteGuardDefs(List<GuardDef> list) Deletes multiple GuardDef 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.QueryResultexecuteQueryOnBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportBoxHandlerDefsToXML(List<BoxHandlerDef> listBoxHandlerDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(List<BoxType> listBoxTypes) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(List<GuardDef> listGuardDefs) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchBoxHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this BoxHandlerDef document.voidfetchBoxType(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this BoxType document.voidfetchGuardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this GuardDef document.Returns the BoxHandlerDef object with the specified id.Returns all BoxHandlerDefs objects stored.getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) Returns BoxHandlerDefs objects segment.getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) Returns all BoxHandlerDefs objects sorted by given sortType.getBoxHandlerDefsByProperty(String propertyName, Object value) Returns all BoxHandlerDef objects, where property with given name equals object.getBoxHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all BoxHandlerDef objects, where property with given name equals object, sorted.getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxHandlerDef objects, where property matches.getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxHandlerDef objects segment, where property matches.getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxHandlerDef objects segment, where property matches, sorted.getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxHandlerDef objects, where property matches, sorted.intReturns all BoxHandlerDefs count.getBoxType(String id) Returns the BoxType object with the specified id.Returns all BoxTypes objects stored.getBoxTypes(net.anotheria.util.slicer.Segment aSegment) Returns BoxTypes objects segment.getBoxTypes(net.anotheria.util.sorter.SortType sortType) Returns all BoxTypes objects sorted by given sortType.getBoxTypesByProperty(String propertyName, Object value) Returns all BoxType objects, where property with given name equals object.getBoxTypesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all BoxType objects, where property with given name equals object, sorted.getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxType objects, where property matches.getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxType objects segment, where property matches.getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BoxType objects segment, where property matches, sorted.getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all BoxType objects, where property matches, sorted.intReturns all BoxTypes count.getGuardDef(String id) Returns the GuardDef object with the specified id.Returns all GuardDefs objects stored.getGuardDefs(net.anotheria.util.slicer.Segment aSegment) Returns GuardDefs objects segment.getGuardDefs(net.anotheria.util.sorter.SortType sortType) Returns all GuardDefs objects sorted by given sortType.getGuardDefsByProperty(String propertyName, Object value) Returns all GuardDef objects, where property with given name equals object.getGuardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all GuardDef objects, where property with given name equals object, sorted.getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all GuardDef objects, where property matches.getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GuardDef objects segment, where property matches.getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns GuardDef objects segment, where property matches, sorted.getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all GuardDef objects, where property matches, sorted.intReturns all GuardDefs count.importBoxHandlerDef(BoxHandlerDef boxhandlerdef) Imports a new BoxHandlerDef object.Imports multiple new BoxHandlerDef object.importBoxType(BoxType boxtype) Imports a new BoxType object.importBoxTypes(List<BoxType> list) Imports multiple new BoxType object.importGuardDef(GuardDef guarddef) Imports a new GuardDef object.importGuardDefs(List<GuardDef> list) Imports multiple new GuardDef object.updateBoxHandlerDef(BoxHandlerDef boxhandlerdef) Updates a BoxHandlerDef object.Updates multiple BoxHandlerDef objects.updateBoxType(BoxType boxtype) Updates a BoxType object.updateBoxTypes(List<BoxType> list) Updates multiple BoxType objects.updateGuardDef(GuardDef guarddef) Updates a GuardDef object.updateGuardDefs(List<GuardDef> list) Updates multiple GuardDef objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getBoxTypes
Returns all BoxTypes objects stored.- Throws:
ASFederatedDataServiceException
-
getBoxTypes
List<BoxType> getBoxTypes(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all BoxTypes objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteBoxType
Deletes a BoxType object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxType
Deletes a BoxType object.- Throws:
ASFederatedDataServiceException
-
deleteBoxTypes
Deletes multiple BoxType object.- Throws:
ASFederatedDataServiceException
-
getBoxType
Returns the BoxType object with the specified id.- Throws:
ASFederatedDataServiceException
-
importBoxType
Imports a new BoxType object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
importBoxTypes
Imports multiple new BoxType object. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
createBoxType
Creates a new BoxType object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
createBoxTypes
Creates multiple new BoxType objects. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
updateBoxType
Updates a BoxType object. Returns the updated version.- Throws:
ASFederatedDataServiceException
-
updateBoxTypes
Updates multiple BoxType objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Returns all BoxType objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all BoxType objects, where property with given name equals object, sorted.- Throws:
ASFederatedDataServiceException
-
executeQueryOnBoxTypes
net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxType objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxType objects, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
getBoxTypesCount
Returns all BoxTypes count.- Throws:
ASFederatedDataServiceException
-
getBoxTypes
List<BoxType> getBoxTypes(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns BoxTypes objects segment.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxType objects segment, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
List<BoxType> getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxType objects segment, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
exportBoxTypesToXML
net.anotheria.util.xml.XMLNode exportBoxTypesToXML(List<BoxType> listBoxTypes) throws ASFederatedDataServiceException Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchBoxType
void fetchBoxType(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Create json object list dependencies for this BoxType document.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
Returns all BoxHandlerDefs objects stored.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all BoxHandlerDefs objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
Deletes a BoxHandlerDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
Deletes a BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDefs
Deletes multiple BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDef
Returns the BoxHandlerDef object with the specified id.- Throws:
ASFederatedDataServiceException
-
importBoxHandlerDef
BoxHandlerDef importBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Imports a new BoxHandlerDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
importBoxHandlerDefs
List<BoxHandlerDef> importBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Imports multiple new BoxHandlerDef object. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
createBoxHandlerDef
BoxHandlerDef createBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Creates a new BoxHandlerDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
createBoxHandlerDefs
List<BoxHandlerDef> createBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Creates multiple new BoxHandlerDef objects. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
updateBoxHandlerDef
BoxHandlerDef updateBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException Updates a BoxHandlerDef object. Returns the updated version.- Throws:
ASFederatedDataServiceException
-
updateBoxHandlerDefs
List<BoxHandlerDef> updateBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException Updates multiple BoxHandlerDef objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property with given name equals object, sorted.- Throws:
ASFederatedDataServiceException
-
executeQueryOnBoxHandlerDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all BoxHandlerDef objects, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsCount
Returns all BoxHandlerDefs count.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns BoxHandlerDefs objects segment.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxHandlerDef objects segment, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns BoxHandlerDef objects segment, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
exportBoxHandlerDefsToXML
net.anotheria.util.xml.XMLNode exportBoxHandlerDefsToXML(List<BoxHandlerDef> listBoxHandlerDefs) throws ASFederatedDataServiceException Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchBoxHandlerDef
void fetchBoxHandlerDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Create json object list dependencies for this BoxHandlerDef document.- Throws:
ASFederatedDataServiceException
-
getGuardDefs
Returns all GuardDefs objects stored.- Throws:
ASFederatedDataServiceException
-
getGuardDefs
List<GuardDef> getGuardDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all GuardDefs objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
Deletes a GuardDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
Deletes a GuardDef object.- Throws:
ASFederatedDataServiceException
-
deleteGuardDefs
Deletes multiple GuardDef object.- Throws:
ASFederatedDataServiceException
-
getGuardDef
Returns the GuardDef object with the specified id.- Throws:
ASFederatedDataServiceException
-
importGuardDef
Imports a new GuardDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
importGuardDefs
Imports multiple new GuardDef object. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
createGuardDef
Creates a new GuardDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
createGuardDefs
Creates multiple new GuardDef objects. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
updateGuardDef
Updates a GuardDef object. Returns the updated version.- Throws:
ASFederatedDataServiceException
-
updateGuardDefs
Updates multiple GuardDef objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(String propertyName, Object value) throws ASFederatedDataServiceException Returns all GuardDef objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException Returns all GuardDef objects, where property with given name equals object, sorted.- Throws:
ASFederatedDataServiceException
-
executeQueryOnGuardDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all GuardDef objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException Returns all GuardDef objects, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
getGuardDefsCount
Returns all GuardDefs count.- Throws:
ASFederatedDataServiceException
-
getGuardDefs
List<GuardDef> getGuardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException Returns GuardDefs objects segment.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns GuardDef objects segment, where property matches.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
List<GuardDef> getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFederatedDataServiceException Returns GuardDef objects segment, where property matches, sorted.- Throws:
ASFederatedDataServiceException
-
exportGuardDefsToXML
net.anotheria.util.xml.XMLNode exportGuardDefsToXML(List<GuardDef> listGuardDefs) throws ASFederatedDataServiceException Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchGuardDef
void fetchGuardDef(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceException Create json object list dependencies for this GuardDef document.- Throws:
ASFederatedDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASFederatedDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASFederatedDataServiceException
-