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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoxHandlerDefcreateBoxHandlerDef(BoxHandlerDef boxhandlerdef)Creates a new BoxHandlerDef object.List<BoxHandlerDef>createBoxHandlerDefs(List<BoxHandlerDef> list)Creates multiple new BoxHandlerDef objects.BoxTypecreateBoxType(BoxType boxtype)Creates a new BoxType object.List<BoxType>createBoxTypes(List<BoxType> list)Creates multiple new BoxType objects.GuardDefcreateGuardDef(GuardDef guarddef)Creates a new GuardDef object.List<GuardDef>createGuardDefs(List<GuardDef> list)Creates multiple new GuardDef objects.voiddeleteBoxHandlerDef(String id)Deletes a BoxHandlerDef object by id.voiddeleteBoxHandlerDef(BoxHandlerDef boxhandlerdef)Deletes a BoxHandlerDef object.voiddeleteBoxHandlerDefs(List<BoxHandlerDef> list)Deletes 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.XMLNodeexportToXML()creates 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.BoxHandlerDefgetBoxHandlerDef(String id)Returns the BoxHandlerDef object with the specified id.List<BoxHandlerDef>getBoxHandlerDefs()Returns all BoxHandlerDefs objects stored.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment)Returns BoxHandlerDefs objects segment.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDefs objects sorted by given sortType.List<BoxHandlerDef>getBoxHandlerDefsByProperty(String propertyName, Object value)Returns all BoxHandlerDef objects, where property with given name equals object.List<BoxHandlerDef>getBoxHandlerDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDef objects, where property with given name equals object, sorted.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxHandlerDef objects, where property matches.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxHandlerDef objects segment, where property matches.List<BoxHandlerDef>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.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxHandlerDef objects, where property matches, sorted.intgetBoxHandlerDefsCount()Returns all BoxHandlerDefs count.BoxTypegetBoxType(String id)Returns the BoxType object with the specified id.List<BoxType>getBoxTypes()Returns all BoxTypes objects stored.List<BoxType>getBoxTypes(net.anotheria.util.slicer.Segment aSegment)Returns BoxTypes objects segment.List<BoxType>getBoxTypes(net.anotheria.util.sorter.SortType sortType)Returns all BoxTypes objects sorted by given sortType.List<BoxType>getBoxTypesByProperty(String propertyName, Object value)Returns all BoxType objects, where property with given name equals object.List<BoxType>getBoxTypesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxType objects, where property with given name equals object, sorted.List<BoxType>getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxType objects, where property matches.List<BoxType>getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxType objects segment, where property matches.List<BoxType>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.List<BoxType>getBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxType objects, where property matches, sorted.intgetBoxTypesCount()Returns all BoxTypes count.GuardDefgetGuardDef(String id)Returns the GuardDef object with the specified id.List<GuardDef>getGuardDefs()Returns all GuardDefs objects stored.List<GuardDef>getGuardDefs(net.anotheria.util.slicer.Segment aSegment)Returns GuardDefs objects segment.List<GuardDef>getGuardDefs(net.anotheria.util.sorter.SortType sortType)Returns all GuardDefs objects sorted by given sortType.List<GuardDef>getGuardDefsByProperty(String propertyName, Object value)Returns all GuardDef objects, where property with given name equals object.List<GuardDef>getGuardDefsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all GuardDef objects, where property with given name equals object, sorted.List<GuardDef>getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GuardDef objects, where property matches.List<GuardDef>getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GuardDef objects segment, where property matches.List<GuardDef>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.List<GuardDef>getGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GuardDef objects, where property matches, sorted.intgetGuardDefsCount()Returns all GuardDefs count.BoxHandlerDefimportBoxHandlerDef(BoxHandlerDef boxhandlerdef)Imports a new BoxHandlerDef object.List<BoxHandlerDef>importBoxHandlerDefs(List<BoxHandlerDef> list)Imports multiple new BoxHandlerDef object.BoxTypeimportBoxType(BoxType boxtype)Imports a new BoxType object.List<BoxType>importBoxTypes(List<BoxType> list)Imports multiple new BoxType object.GuardDefimportGuardDef(GuardDef guarddef)Imports a new GuardDef object.List<GuardDef>importGuardDefs(List<GuardDef> list)Imports multiple new GuardDef object.BoxHandlerDefupdateBoxHandlerDef(BoxHandlerDef boxhandlerdef)Updates a BoxHandlerDef object.List<BoxHandlerDef>updateBoxHandlerDefs(List<BoxHandlerDef> list)Updates multiple BoxHandlerDef objects.BoxTypeupdateBoxType(BoxType boxtype)Updates a BoxType object.List<BoxType>updateBoxTypes(List<BoxType> list)Updates multiple BoxType objects.GuardDefupdateGuardDef(GuardDef guarddef)Updates a GuardDef object.List<GuardDef>updateGuardDefs(List<GuardDef> list)Updates multiple GuardDef objects.
-
-
-
Method Detail
-
getBoxTypes
List<BoxType> getBoxTypes() throws ASFederatedDataServiceException
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
void deleteBoxType(String id) throws ASFederatedDataServiceException
Deletes a BoxType object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxType
void deleteBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Deletes a BoxType object.- Throws:
ASFederatedDataServiceException
-
deleteBoxTypes
void deleteBoxTypes(List<BoxType> list) throws ASFederatedDataServiceException
Deletes multiple BoxType object.- Throws:
ASFederatedDataServiceException
-
getBoxType
BoxType getBoxType(String id) throws ASFederatedDataServiceException
Returns the BoxType object with the specified id.- Throws:
ASFederatedDataServiceException
-
importBoxType
BoxType importBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Imports a new BoxType object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
importBoxTypes
List<BoxType> importBoxTypes(List<BoxType> list) throws ASFederatedDataServiceException
Imports multiple new BoxType object. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
createBoxType
BoxType createBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Creates a new BoxType object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
createBoxTypes
List<BoxType> createBoxTypes(List<BoxType> list) throws ASFederatedDataServiceException
Creates multiple new BoxType objects. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
updateBoxType
BoxType updateBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Updates a BoxType object. Returns the updated version.- Throws:
ASFederatedDataServiceException
-
updateBoxTypes
List<BoxType> updateBoxTypes(List<BoxType> list) throws ASFederatedDataServiceException
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 ASFederatedDataServiceExceptionExecutes 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
int getBoxTypesCount() throws ASFederatedDataServiceExceptionReturns 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
List<BoxHandlerDef> getBoxHandlerDefs() throws ASFederatedDataServiceException
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
void deleteBoxHandlerDef(String id) throws ASFederatedDataServiceException
Deletes a BoxHandlerDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
void deleteBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException
Deletes a BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDefs
void deleteBoxHandlerDefs(List<BoxHandlerDef> list) throws ASFederatedDataServiceException
Deletes multiple BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDef
BoxHandlerDef getBoxHandlerDef(String id) throws ASFederatedDataServiceException
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 ASFederatedDataServiceExceptionExecutes 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
int getBoxHandlerDefsCount() throws ASFederatedDataServiceExceptionReturns 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
List<GuardDef> getGuardDefs() throws ASFederatedDataServiceException
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
void deleteGuardDef(String id) throws ASFederatedDataServiceException
Deletes a GuardDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
void deleteGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Deletes a GuardDef object.- Throws:
ASFederatedDataServiceException
-
deleteGuardDefs
void deleteGuardDefs(List<GuardDef> list) throws ASFederatedDataServiceException
Deletes multiple GuardDef object.- Throws:
ASFederatedDataServiceException
-
getGuardDef
GuardDef getGuardDef(String id) throws ASFederatedDataServiceException
Returns the GuardDef object with the specified id.- Throws:
ASFederatedDataServiceException
-
importGuardDef
GuardDef importGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Imports a new GuardDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
importGuardDefs
List<GuardDef> importGuardDefs(List<GuardDef> list) throws ASFederatedDataServiceException
Imports multiple new GuardDef object. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
createGuardDef
GuardDef createGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Creates a new GuardDef object. Returns the created version.- Throws:
ASFederatedDataServiceException
-
createGuardDefs
List<GuardDef> createGuardDefs(List<GuardDef> list) throws ASFederatedDataServiceException
Creates multiple new GuardDef objects. Returns the created versions.- Throws:
ASFederatedDataServiceException
-
updateGuardDef
GuardDef updateGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Updates a GuardDef object. Returns the updated version.- Throws:
ASFederatedDataServiceException
-
updateGuardDefs
List<GuardDef> updateGuardDefs(List<GuardDef> list) throws ASFederatedDataServiceException
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 ASFederatedDataServiceExceptionExecutes 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
int getGuardDefsCount() throws ASFederatedDataServiceExceptionReturns 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
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASFederatedDataServiceException
Save transferred document by its own type.- Throws:
ASFederatedDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFederatedDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASFederatedDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASFederatedDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASFederatedDataServiceException
-
-