Interface IASGenericDataService
-
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASGenericDataServiceImpl
public interface IASGenericDataService extends net.anotheria.asg.service.ASGService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericBoxHandlerDefcreateGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef)Creates a new GenericBoxHandlerDef object.java.util.List<GenericBoxHandlerDef>createGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list)Creates multiple new GenericBoxHandlerDef objects.GenericBoxTypecreateGenericBoxType(GenericBoxType genericboxtype)Creates a new GenericBoxType object.java.util.List<GenericBoxType>createGenericBoxTypes(java.util.List<GenericBoxType> list)Creates multiple new GenericBoxType objects.GenericGuardDefcreateGenericGuardDef(GenericGuardDef genericguarddef)Creates a new GenericGuardDef object.java.util.List<GenericGuardDef>createGenericGuardDefs(java.util.List<GenericGuardDef> list)Creates multiple new GenericGuardDef objects.voiddeleteGenericBoxHandlerDef(java.lang.String id)Deletes a GenericBoxHandlerDef object by id.voiddeleteGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef)Deletes a GenericBoxHandlerDef object.voiddeleteGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list)Deletes multiple GenericBoxHandlerDef object.voiddeleteGenericBoxType(java.lang.String id)Deletes a GenericBoxType object by id.voiddeleteGenericBoxType(GenericBoxType genericboxtype)Deletes a GenericBoxType object.voiddeleteGenericBoxTypes(java.util.List<GenericBoxType> list)Deletes multiple GenericBoxType object.voiddeleteGenericGuardDef(java.lang.String id)Deletes a GenericGuardDef object by id.voiddeleteGenericGuardDef(GenericGuardDef genericguarddef)Deletes a GenericGuardDef object.voiddeleteGenericGuardDefs(java.util.List<GenericGuardDef> list)Deletes multiple GenericGuardDef 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.QueryResultexecuteQueryOnGenericBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnGenericBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnGenericGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.util.xml.XMLNodeexportGenericBoxHandlerDefsToXML(java.util.List<GenericBoxHandlerDef> listGenericBoxHandlerDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGenericBoxTypesToXML(java.util.List<GenericBoxType> listGenericBoxTypes)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportGenericGuardDefsToXML(java.util.List<GenericGuardDef> listGenericGuardDefs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.voidfetchGenericBoxHandlerDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GenericBoxHandlerDef document.voidfetchGenericBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GenericBoxType document.voidfetchGenericGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this GenericGuardDef document.GenericBoxHandlerDefgetGenericBoxHandlerDef(java.lang.String id)Returns the GenericBoxHandlerDef object with the specified id.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefs()Returns all GenericBoxHandlerDefs objects stored.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment)Returns GenericBoxHandlerDefs objects segment.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType)Returns all GenericBoxHandlerDefs objects sorted by given sortType.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GenericBoxHandlerDef objects, where property with given name equals object.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GenericBoxHandlerDef objects, where property with given name equals object, sorted.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericBoxHandlerDef objects, where property matches.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericBoxHandlerDef objects segment, where property matches.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericBoxHandlerDef objects segment, where property matches, sorted.java.util.List<GenericBoxHandlerDef>getGenericBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericBoxHandlerDef objects, where property matches, sorted.intgetGenericBoxHandlerDefsCount()Returns all GenericBoxHandlerDefs count.GenericBoxTypegetGenericBoxType(java.lang.String id)Returns the GenericBoxType object with the specified id.java.util.List<GenericBoxType>getGenericBoxTypes()Returns all GenericBoxTypes objects stored.java.util.List<GenericBoxType>getGenericBoxTypes(net.anotheria.util.slicer.Segment aSegment)Returns GenericBoxTypes objects segment.java.util.List<GenericBoxType>getGenericBoxTypes(net.anotheria.util.sorter.SortType sortType)Returns all GenericBoxTypes objects sorted by given sortType.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GenericBoxType objects, where property with given name equals object.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GenericBoxType objects, where property with given name equals object, sorted.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericBoxType objects, where property matches.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericBoxType objects segment, where property matches.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericBoxType objects segment, where property matches, sorted.java.util.List<GenericBoxType>getGenericBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericBoxType objects, where property matches, sorted.intgetGenericBoxTypesCount()Returns all GenericBoxTypes count.GenericGuardDefgetGenericGuardDef(java.lang.String id)Returns the GenericGuardDef object with the specified id.java.util.List<GenericGuardDef>getGenericGuardDefs()Returns all GenericGuardDefs objects stored.java.util.List<GenericGuardDef>getGenericGuardDefs(net.anotheria.util.slicer.Segment aSegment)Returns GenericGuardDefs objects segment.java.util.List<GenericGuardDef>getGenericGuardDefs(net.anotheria.util.sorter.SortType sortType)Returns all GenericGuardDefs objects sorted by given sortType.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all GenericGuardDef objects, where property with given name equals object.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all GenericGuardDef objects, where property with given name equals object, sorted.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericGuardDef objects, where property matches.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericGuardDef objects segment, where property matches.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns GenericGuardDef objects segment, where property matches, sorted.java.util.List<GenericGuardDef>getGenericGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all GenericGuardDef objects, where property matches, sorted.intgetGenericGuardDefsCount()Returns all GenericGuardDefs count.GenericBoxHandlerDefimportGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef)Imports a new GenericBoxHandlerDef object.java.util.List<GenericBoxHandlerDef>importGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list)Imports multiple new GenericBoxHandlerDef object.GenericBoxTypeimportGenericBoxType(GenericBoxType genericboxtype)Imports a new GenericBoxType object.java.util.List<GenericBoxType>importGenericBoxTypes(java.util.List<GenericBoxType> list)Imports multiple new GenericBoxType object.GenericGuardDefimportGenericGuardDef(GenericGuardDef genericguarddef)Imports a new GenericGuardDef object.java.util.List<GenericGuardDef>importGenericGuardDefs(java.util.List<GenericGuardDef> list)Imports multiple new GenericGuardDef object.GenericBoxHandlerDefupdateGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef)Updates a GenericBoxHandlerDef object.java.util.List<GenericBoxHandlerDef>updateGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list)Updates multiple GenericBoxHandlerDef objects.GenericBoxTypeupdateGenericBoxType(GenericBoxType genericboxtype)Updates a GenericBoxType object.java.util.List<GenericBoxType>updateGenericBoxTypes(java.util.List<GenericBoxType> list)Updates multiple GenericBoxType objects.GenericGuardDefupdateGenericGuardDef(GenericGuardDef genericguarddef)Updates a GenericGuardDef object.java.util.List<GenericGuardDef>updateGenericGuardDefs(java.util.List<GenericGuardDef> list)Updates multiple GenericGuardDef objects.
-
-
-
Method Detail
-
getGenericBoxTypes
java.util.List<GenericBoxType> getGenericBoxTypes() throws ASGenericDataServiceException
Returns all GenericBoxTypes objects stored.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypes
java.util.List<GenericBoxType> getGenericBoxTypes(net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericBoxTypes objects sorted by given sortType.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxType
void deleteGenericBoxType(java.lang.String id) throws ASGenericDataServiceExceptionDeletes a GenericBoxType object by id.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxType
void deleteGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException
Deletes a GenericBoxType object.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxTypes
void deleteGenericBoxTypes(java.util.List<GenericBoxType> list) throws ASGenericDataServiceException
Deletes multiple GenericBoxType object.- Throws:
ASGenericDataServiceException
-
getGenericBoxType
GenericBoxType getGenericBoxType(java.lang.String id) throws ASGenericDataServiceException
Returns the GenericBoxType object with the specified id.- Throws:
ASGenericDataServiceException
-
importGenericBoxType
GenericBoxType importGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException
Imports a new GenericBoxType object. Returns the created version.- Throws:
ASGenericDataServiceException
-
importGenericBoxTypes
java.util.List<GenericBoxType> importGenericBoxTypes(java.util.List<GenericBoxType> list) throws ASGenericDataServiceException
Imports multiple new GenericBoxType object. Returns the created versions.- Throws:
ASGenericDataServiceException
-
createGenericBoxType
GenericBoxType createGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException
Creates a new GenericBoxType object. Returns the created version.- Throws:
ASGenericDataServiceException
-
createGenericBoxTypes
java.util.List<GenericBoxType> createGenericBoxTypes(java.util.List<GenericBoxType> list) throws ASGenericDataServiceException
Creates multiple new GenericBoxType objects. Returns the created versions.- Throws:
ASGenericDataServiceException
-
updateGenericBoxType
GenericBoxType updateGenericBoxType(GenericBoxType genericboxtype) throws ASGenericDataServiceException
Updates a GenericBoxType object. Returns the updated version.- Throws:
ASGenericDataServiceException
-
updateGenericBoxTypes
java.util.List<GenericBoxType> updateGenericBoxTypes(java.util.List<GenericBoxType> list) throws ASGenericDataServiceException
Updates multiple GenericBoxType objects. Returns the updated versions.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASGenericDataServiceException
Returns all GenericBoxType objects, where property with given name equals object.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericBoxType objects, where property with given name equals object, sorted.- Throws:
ASGenericDataServiceException
-
executeQueryOnGenericBoxTypes
net.anotheria.anodoc.query2.QueryResult executeQueryOnGenericBoxTypes(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericDataServiceExceptionExecutes a query.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericBoxType objects, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericBoxType objects, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesCount
int getGenericBoxTypesCount() throws ASGenericDataServiceExceptionReturns all GenericBoxTypes count.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypes
java.util.List<GenericBoxType> getGenericBoxTypes(net.anotheria.util.slicer.Segment aSegment) throws ASGenericDataServiceException
Returns GenericBoxTypes objects segment.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericBoxType objects segment, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericBoxTypesByProperty
java.util.List<GenericBoxType> getGenericBoxTypesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericBoxType objects segment, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
exportGenericBoxTypesToXML
net.anotheria.util.xml.XMLNode exportGenericBoxTypesToXML(java.util.List<GenericBoxType> listGenericBoxTypes) throws ASGenericDataServiceException
Creates an xml element with selected contained data.- Throws:
ASGenericDataServiceException
-
fetchGenericBoxType
void fetchGenericBoxType(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASGenericDataServiceExceptionCreate json object list dependencies for this GenericBoxType document.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefs() throws ASGenericDataServiceException
Returns all GenericBoxHandlerDefs objects stored.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefs(net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericBoxHandlerDefs objects sorted by given sortType.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxHandlerDef
void deleteGenericBoxHandlerDef(java.lang.String id) throws ASGenericDataServiceExceptionDeletes a GenericBoxHandlerDef object by id.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxHandlerDef
void deleteGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException
Deletes a GenericBoxHandlerDef object.- Throws:
ASGenericDataServiceException
-
deleteGenericBoxHandlerDefs
void deleteGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list) throws ASGenericDataServiceException
Deletes multiple GenericBoxHandlerDef object.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDef
GenericBoxHandlerDef getGenericBoxHandlerDef(java.lang.String id) throws ASGenericDataServiceException
Returns the GenericBoxHandlerDef object with the specified id.- Throws:
ASGenericDataServiceException
-
importGenericBoxHandlerDef
GenericBoxHandlerDef importGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException
Imports a new GenericBoxHandlerDef object. Returns the created version.- Throws:
ASGenericDataServiceException
-
importGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> importGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list) throws ASGenericDataServiceException
Imports multiple new GenericBoxHandlerDef object. Returns the created versions.- Throws:
ASGenericDataServiceException
-
createGenericBoxHandlerDef
GenericBoxHandlerDef createGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException
Creates a new GenericBoxHandlerDef object. Returns the created version.- Throws:
ASGenericDataServiceException
-
createGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> createGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list) throws ASGenericDataServiceException
Creates multiple new GenericBoxHandlerDef objects. Returns the created versions.- Throws:
ASGenericDataServiceException
-
updateGenericBoxHandlerDef
GenericBoxHandlerDef updateGenericBoxHandlerDef(GenericBoxHandlerDef genericboxhandlerdef) throws ASGenericDataServiceException
Updates a GenericBoxHandlerDef object. Returns the updated version.- Throws:
ASGenericDataServiceException
-
updateGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> updateGenericBoxHandlerDefs(java.util.List<GenericBoxHandlerDef> list) throws ASGenericDataServiceException
Updates multiple GenericBoxHandlerDef objects. Returns the updated versions.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASGenericDataServiceException
Returns all GenericBoxHandlerDef objects, where property with given name equals object.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericBoxHandlerDef objects, where property with given name equals object, sorted.- Throws:
ASGenericDataServiceException
-
executeQueryOnGenericBoxHandlerDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnGenericBoxHandlerDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericDataServiceExceptionExecutes a query.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericBoxHandlerDef objects, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericBoxHandlerDef objects, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsCount
int getGenericBoxHandlerDefsCount() throws ASGenericDataServiceExceptionReturns all GenericBoxHandlerDefs count.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefs
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefs(net.anotheria.util.slicer.Segment aSegment) throws ASGenericDataServiceException
Returns GenericBoxHandlerDefs objects segment.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericBoxHandlerDef objects segment, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericBoxHandlerDefsByProperty
java.util.List<GenericBoxHandlerDef> getGenericBoxHandlerDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericBoxHandlerDef objects segment, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
exportGenericBoxHandlerDefsToXML
net.anotheria.util.xml.XMLNode exportGenericBoxHandlerDefsToXML(java.util.List<GenericBoxHandlerDef> listGenericBoxHandlerDefs) throws ASGenericDataServiceException
Creates an xml element with selected contained data.- Throws:
ASGenericDataServiceException
-
fetchGenericBoxHandlerDef
void fetchGenericBoxHandlerDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASGenericDataServiceExceptionCreate json object list dependencies for this GenericBoxHandlerDef document.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefs
java.util.List<GenericGuardDef> getGenericGuardDefs() throws ASGenericDataServiceException
Returns all GenericGuardDefs objects stored.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefs
java.util.List<GenericGuardDef> getGenericGuardDefs(net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericGuardDefs objects sorted by given sortType.- Throws:
ASGenericDataServiceException
-
deleteGenericGuardDef
void deleteGenericGuardDef(java.lang.String id) throws ASGenericDataServiceExceptionDeletes a GenericGuardDef object by id.- Throws:
ASGenericDataServiceException
-
deleteGenericGuardDef
void deleteGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException
Deletes a GenericGuardDef object.- Throws:
ASGenericDataServiceException
-
deleteGenericGuardDefs
void deleteGenericGuardDefs(java.util.List<GenericGuardDef> list) throws ASGenericDataServiceException
Deletes multiple GenericGuardDef object.- Throws:
ASGenericDataServiceException
-
getGenericGuardDef
GenericGuardDef getGenericGuardDef(java.lang.String id) throws ASGenericDataServiceException
Returns the GenericGuardDef object with the specified id.- Throws:
ASGenericDataServiceException
-
importGenericGuardDef
GenericGuardDef importGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException
Imports a new GenericGuardDef object. Returns the created version.- Throws:
ASGenericDataServiceException
-
importGenericGuardDefs
java.util.List<GenericGuardDef> importGenericGuardDefs(java.util.List<GenericGuardDef> list) throws ASGenericDataServiceException
Imports multiple new GenericGuardDef object. Returns the created versions.- Throws:
ASGenericDataServiceException
-
createGenericGuardDef
GenericGuardDef createGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException
Creates a new GenericGuardDef object. Returns the created version.- Throws:
ASGenericDataServiceException
-
createGenericGuardDefs
java.util.List<GenericGuardDef> createGenericGuardDefs(java.util.List<GenericGuardDef> list) throws ASGenericDataServiceException
Creates multiple new GenericGuardDef objects. Returns the created versions.- Throws:
ASGenericDataServiceException
-
updateGenericGuardDef
GenericGuardDef updateGenericGuardDef(GenericGuardDef genericguarddef) throws ASGenericDataServiceException
Updates a GenericGuardDef object. Returns the updated version.- Throws:
ASGenericDataServiceException
-
updateGenericGuardDefs
java.util.List<GenericGuardDef> updateGenericGuardDefs(java.util.List<GenericGuardDef> list) throws ASGenericDataServiceException
Updates multiple GenericGuardDef objects. Returns the updated versions.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASGenericDataServiceException
Returns all GenericGuardDef objects, where property with given name equals object.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ASGenericDataServiceException
Returns all GenericGuardDef objects, where property with given name equals object, sorted.- Throws:
ASGenericDataServiceException
-
executeQueryOnGenericGuardDefs
net.anotheria.anodoc.query2.QueryResult executeQueryOnGenericGuardDefs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericDataServiceExceptionExecutes a query.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericGuardDef objects, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASGenericDataServiceException
Returns all GenericGuardDef objects, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsCount
int getGenericGuardDefsCount() throws ASGenericDataServiceExceptionReturns all GenericGuardDefs count.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefs
java.util.List<GenericGuardDef> getGenericGuardDefs(net.anotheria.util.slicer.Segment aSegment) throws ASGenericDataServiceException
Returns GenericGuardDefs objects segment.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericGuardDef objects segment, where property matches.- Throws:
ASGenericDataServiceException
-
getGenericGuardDefsByProperty
java.util.List<GenericGuardDef> getGenericGuardDefsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASGenericDataServiceException
Returns GenericGuardDef objects segment, where property matches, sorted.- Throws:
ASGenericDataServiceException
-
exportGenericGuardDefsToXML
net.anotheria.util.xml.XMLNode exportGenericGuardDefsToXML(java.util.List<GenericGuardDef> listGenericGuardDefs) throws ASGenericDataServiceException
Creates an xml element with selected contained data.- Throws:
ASGenericDataServiceException
-
fetchGenericGuardDef
void fetchGenericGuardDef(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASGenericDataServiceExceptionCreate json object list dependencies for this GenericGuardDef document.- Throws:
ASGenericDataServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASGenericDataServiceException
Save transferred document by its own type.- Throws:
ASGenericDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASGenericDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASGenericDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASGenericDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASGenericDataServiceException
-
-