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.java.util.List<BoxHandlerDef>createBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Creates multiple new BoxHandlerDef objects.BoxTypecreateBoxType(BoxType boxtype)Creates a new BoxType object.java.util.List<BoxType>createBoxTypes(java.util.List<BoxType> list)Creates multiple new BoxType objects.GuardDefcreateGuardDef(GuardDef guarddef)Creates a new GuardDef object.java.util.List<GuardDef>createGuardDefs(java.util.List<GuardDef> list)Creates multiple new GuardDef objects.voiddeleteBoxHandlerDef(java.lang.String id)Deletes a BoxHandlerDef object by id.voiddeleteBoxHandlerDef(BoxHandlerDef boxhandlerdef)Deletes a BoxHandlerDef object.voiddeleteBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Deletes multiple BoxHandlerDef object.voiddeleteBoxType(java.lang.String id)Deletes a BoxType object by id.voiddeleteBoxType(BoxType boxtype)Deletes a BoxType object.voiddeleteBoxTypes(java.util.List<BoxType> list)Deletes multiple BoxType object.voiddeleteGuardDef(java.lang.String id)Deletes a GuardDef object by id.voiddeleteGuardDef(GuardDef guarddef)Deletes a GuardDef object.voiddeleteGuardDefs(java.util.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(java.util.List<BoxHandlerDef> listBoxHandlerDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxTypesToXML(java.util.List<BoxType> listBoxTypes)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGuardDefsToXML(java.util.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(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this BoxHandlerDef document.voidfetchBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this BoxType document.voidfetchGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GuardDef document.BoxHandlerDefgetBoxHandlerDef(java.lang.String id)Returns the BoxHandlerDef object with the specified id.java.util.List<BoxHandlerDef>getBoxHandlerDefs()Returns all BoxHandlerDefs objects stored.java.util.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment)Returns BoxHandlerDefs objects segment.java.util.List<BoxHandlerDef>getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDefs objects sorted by given sortType.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all BoxHandlerDef objects, where property with given name equals object.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxHandlerDef objects, where property with given name equals object, sorted.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxHandlerDef objects, where property matches.java.util.List<BoxHandlerDef>getBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxHandlerDef objects segment, where property matches.java.util.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.java.util.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(java.lang.String id)Returns the BoxType object with the specified id.java.util.List<BoxType>getBoxTypes()Returns all BoxTypes objects stored.java.util.List<BoxType>getBoxTypes(net.anotheria.util.slicer.Segment aSegment)Returns BoxTypes objects segment.java.util.List<BoxType>getBoxTypes(net.anotheria.util.sorter.SortType sortType)Returns all BoxTypes objects sorted by given sortType.java.util.List<BoxType>getBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all BoxType objects, where property with given name equals object.java.util.List<BoxType>getBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all BoxType objects, where property with given name equals object, sorted.java.util.List<BoxType>getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BoxType objects, where property matches.java.util.List<BoxType>getBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BoxType objects segment, where property matches.java.util.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.java.util.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(java.lang.String id)Returns the GuardDef object with the specified id.java.util.List<GuardDef>getGuardDefs()Returns all GuardDefs objects stored.java.util.List<GuardDef>getGuardDefs(net.anotheria.util.slicer.Segment aSegment)Returns GuardDefs objects segment.java.util.List<GuardDef>getGuardDefs(net.anotheria.util.sorter.SortType sortType)Returns all GuardDefs objects sorted by given sortType.java.util.List<GuardDef>getGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GuardDef objects, where property with given name equals object.java.util.List<GuardDef>getGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GuardDef objects, where property with given name equals object, sorted.java.util.List<GuardDef>getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GuardDef objects, where property matches.java.util.List<GuardDef>getGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GuardDef objects segment, where property matches.java.util.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.java.util.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.java.util.List<BoxHandlerDef>importBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Imports multiple new BoxHandlerDef object.BoxTypeimportBoxType(BoxType boxtype)Imports a new BoxType object.java.util.List<BoxType>importBoxTypes(java.util.List<BoxType> list)Imports multiple new BoxType object.GuardDefimportGuardDef(GuardDef guarddef)Imports a new GuardDef object.java.util.List<GuardDef>importGuardDefs(java.util.List<GuardDef> list)Imports multiple new GuardDef object.BoxHandlerDefupdateBoxHandlerDef(BoxHandlerDef boxhandlerdef)Updates a BoxHandlerDef object.java.util.List<BoxHandlerDef>updateBoxHandlerDefs(java.util.List<BoxHandlerDef> list)Updates multiple BoxHandlerDef objects.BoxTypeupdateBoxType(BoxType boxtype)Updates a BoxType object.java.util.List<BoxType>updateBoxTypes(java.util.List<BoxType> list)Updates multiple BoxType objects.GuardDefupdateGuardDef(GuardDef guarddef)Updates a GuardDef object.java.util.List<GuardDef>updateGuardDefs(java.util.List<GuardDef> list)Updates multiple GuardDef objects.
-
-
-
Method Detail
-
getBoxTypes
java.util.List<BoxType> getBoxTypes() throws ASFederatedDataServiceException
Returns all BoxTypes objects stored.- Throws:
ASFederatedDataServiceException
-
getBoxTypes
java.util.List<BoxType> getBoxTypes(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException
Returns all BoxTypes objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteBoxType
void deleteBoxType(java.lang.String id) throws ASFederatedDataServiceExceptionDeletes a BoxType object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxType
void deleteBoxType(BoxType boxtype) throws ASFederatedDataServiceException
Deletes a BoxType object.- Throws:
ASFederatedDataServiceException
-
deleteBoxTypes
void deleteBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Deletes multiple BoxType object.- Throws:
ASFederatedDataServiceException
-
getBoxType
BoxType getBoxType(java.lang.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
java.util.List<BoxType> importBoxTypes(java.util.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
java.util.List<BoxType> createBoxTypes(java.util.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
java.util.List<BoxType> updateBoxTypes(java.util.List<BoxType> list) throws ASFederatedDataServiceException
Updates multiple BoxType objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
java.util.List<BoxType> getBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASFederatedDataServiceException
Returns all BoxType objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
java.util.List<BoxType> getBoxTypesByProperty(java.lang.String propertyName, java.lang.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
java.util.List<BoxType> getBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException
Returns all BoxType objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
java.util.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
java.util.List<BoxType> getBoxTypes(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns BoxTypes objects segment.- Throws:
ASFederatedDataServiceException
-
getBoxTypesByProperty
java.util.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
java.util.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(java.util.List<BoxType> listBoxTypes) throws ASFederatedDataServiceException
Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchBoxType
void fetchBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionCreate json object list dependencies for this BoxType document.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
java.util.List<BoxHandlerDef> getBoxHandlerDefs() throws ASFederatedDataServiceException
Returns all BoxHandlerDefs objects stored.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefs
java.util.List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException
Returns all BoxHandlerDefs objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
void deleteBoxHandlerDef(java.lang.String id) throws ASFederatedDataServiceExceptionDeletes a BoxHandlerDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDef
void deleteBoxHandlerDef(BoxHandlerDef boxhandlerdef) throws ASFederatedDataServiceException
Deletes a BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
deleteBoxHandlerDefs
void deleteBoxHandlerDefs(java.util.List<BoxHandlerDef> list) throws ASFederatedDataServiceException
Deletes multiple BoxHandlerDef object.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDef
BoxHandlerDef getBoxHandlerDef(java.lang.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
java.util.List<BoxHandlerDef> importBoxHandlerDefs(java.util.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
java.util.List<BoxHandlerDef> createBoxHandlerDefs(java.util.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
java.util.List<BoxHandlerDef> updateBoxHandlerDefs(java.util.List<BoxHandlerDef> list) throws ASFederatedDataServiceException
Updates multiple BoxHandlerDef objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
java.util.List<BoxHandlerDef> getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASFederatedDataServiceException
Returns all BoxHandlerDef objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
java.util.List<BoxHandlerDef> getBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<BoxHandlerDef> getBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException
Returns all BoxHandlerDef objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
java.util.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
java.util.List<BoxHandlerDef> getBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns BoxHandlerDefs objects segment.- Throws:
ASFederatedDataServiceException
-
getBoxHandlerDefsByProperty
java.util.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
java.util.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(java.util.List<BoxHandlerDef> listBoxHandlerDefs) throws ASFederatedDataServiceException
Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchBoxHandlerDef
void fetchBoxHandlerDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionCreate json object list dependencies for this BoxHandlerDef document.- Throws:
ASFederatedDataServiceException
-
getGuardDefs
java.util.List<GuardDef> getGuardDefs() throws ASFederatedDataServiceException
Returns all GuardDefs objects stored.- Throws:
ASFederatedDataServiceException
-
getGuardDefs
java.util.List<GuardDef> getGuardDefs(net.anotheria.util.sorter.SortType sortType) throws ASFederatedDataServiceException
Returns all GuardDefs objects sorted by given sortType.- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
void deleteGuardDef(java.lang.String id) throws ASFederatedDataServiceExceptionDeletes a GuardDef object by id.- Throws:
ASFederatedDataServiceException
-
deleteGuardDef
void deleteGuardDef(GuardDef guarddef) throws ASFederatedDataServiceException
Deletes a GuardDef object.- Throws:
ASFederatedDataServiceException
-
deleteGuardDefs
void deleteGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Deletes multiple GuardDef object.- Throws:
ASFederatedDataServiceException
-
getGuardDef
GuardDef getGuardDef(java.lang.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
java.util.List<GuardDef> importGuardDefs(java.util.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
java.util.List<GuardDef> createGuardDefs(java.util.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
java.util.List<GuardDef> updateGuardDefs(java.util.List<GuardDef> list) throws ASFederatedDataServiceException
Updates multiple GuardDef objects. Returns the updated versions.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
java.util.List<GuardDef> getGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASFederatedDataServiceException
Returns all GuardDef objects, where property with given name equals object.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
java.util.List<GuardDef> getGuardDefsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<GuardDef> getGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFederatedDataServiceException
Returns all GuardDef objects, where property matches.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
java.util.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
java.util.List<GuardDef> getGuardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASFederatedDataServiceException
Returns GuardDefs objects segment.- Throws:
ASFederatedDataServiceException
-
getGuardDefsByProperty
java.util.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
java.util.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(java.util.List<GuardDef> listGuardDefs) throws ASFederatedDataServiceException
Creates an xml element with selected contained data.- Throws:
ASFederatedDataServiceException
-
fetchGuardDef
void fetchGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFederatedDataServiceExceptionCreate 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
-
-