Interface IASWebDataService
-
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASWebDataServiceImpl
public interface IASWebDataService extends net.anotheria.asg.service.ASGService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopyMultilingualAttributesInAllBoxs(String sourceLanguage, String targetLanguage)In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllObjects(String sourceLanguage, String targetLanguage)Copies all multilingual fields from sourceLanguage to targetLanguage in all data objects (documents, vo) which are part of this module and managed by this service.voidcopyMultilingualAttributesInAllPagexs(String sourceLanguage, String targetLanguage)In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.AttributecreateAttribute(Attribute attribute)Creates a new Attribute object.List<Attribute>createAttributes(List<Attribute> list)Creates multiple new Attribute objects.BoxcreateBox(Box box)Creates a new Box object.List<Box>createBoxs(List<Box> list)Creates multiple new Box objects.PagexcreatePagex(Pagex pagex)Creates a new Pagex object.List<Pagex>createPagexs(List<Pagex> list)Creates multiple new Pagex objects.voiddeleteAttribute(String id)Deletes a Attribute object by id.voiddeleteAttribute(Attribute attribute)Deletes a Attribute object.voiddeleteAttributes(List<Attribute> list)Deletes multiple Attribute object.voiddeleteBox(String id)Deletes a Box object by id.voiddeleteBox(Box box)Deletes a Box object.voiddeleteBoxs(List<Box> list)Deletes multiple Box object.voiddeletePagex(String id)Deletes a Pagex object by id.voiddeletePagex(Pagex pagex)Deletes a Pagex object.voiddeletePagexs(List<Pagex> list)Deletes multiple Pagex 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.QueryResultexecuteQueryOnAttributes(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnBoxs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnPagexs(net.anotheria.anodoc.query2.DocumentQuery query)Executes a query.net.anotheria.util.xml.XMLNodeexportAttributesToXML(String[] languages, List<Attribute> listAttributes)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportAttributesToXML(List<Attribute> listAttributes)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxsToXML(String[] languages, List<Box> listBoxs)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportBoxsToXML(List<Box> listBoxs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPagexsToXML(String[] languages, List<Pagex> listPagexs)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPagexsToXML(List<Pagex> listPagexs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.net.anotheria.util.xml.XMLNodeexportToXML(String[] languages)creates an xml element with all contained data but only selected languages in multilingual attributes.voidfetchAttribute(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Attribute document.voidfetchBox(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Box document.voidfetchPagex(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Pagex document.AttributegetAttribute(String id)Returns the Attribute object with the specified id.List<Attribute>getAttributes()Returns all Attributes objects stored.List<Attribute>getAttributes(net.anotheria.util.slicer.Segment aSegment)Returns Attributes objects segment.List<Attribute>getAttributes(net.anotheria.util.sorter.SortType sortType)Returns all Attributes objects sorted by given sortType.List<Attribute>getAttributesByProperty(String propertyName, Object value)Returns all Attribute objects, where property with given name equals object.List<Attribute>getAttributesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all Attribute objects, where property with given name equals object, sorted.List<Attribute>getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Attribute objects, where property matches.List<Attribute>getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Attribute objects segment, where property matches.List<Attribute>getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Attribute objects segment, where property matches, sorted.List<Attribute>getAttributesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Attribute objects, where property matches, sorted.intgetAttributesCount()Returns all Attributes count.BoxgetBox(String id)Returns the Box object with the specified id.List<Box>getBoxs()Returns all Boxs objects stored.List<Box>getBoxs(net.anotheria.util.slicer.Segment aSegment)Returns Boxs objects segment.List<Box>getBoxs(net.anotheria.util.sorter.SortType sortType)Returns all Boxs objects sorted by given sortType.List<Box>getBoxsByProperty(String propertyName, Object value)Returns all Box objects, where property with given name equals object.List<Box>getBoxsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all Box objects, where property with given name equals object, sorted.List<Box>getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Box objects, where property matches.List<Box>getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Box objects segment, where property matches.List<Box>getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Box objects segment, where property matches, sorted.List<Box>getBoxsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Box objects, where property matches, sorted.intgetBoxsCount()Returns all Boxs count.PagexgetPagex(String id)Returns the Pagex object with the specified id.List<Pagex>getPagexs()Returns all Pagexs objects stored.List<Pagex>getPagexs(net.anotheria.util.slicer.Segment aSegment)Returns Pagexs objects segment.List<Pagex>getPagexs(net.anotheria.util.sorter.SortType sortType)Returns all Pagexs objects sorted by given sortType.List<Pagex>getPagexsByProperty(String propertyName, Object value)Returns all Pagex objects, where property with given name equals object.List<Pagex>getPagexsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType)Returns all Pagex objects, where property with given name equals object, sorted.List<Pagex>getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Pagex objects, where property matches.List<Pagex>getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Pagex objects segment, where property matches.List<Pagex>getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Pagex objects segment, where property matches, sorted.List<Pagex>getPagexsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Pagex objects, where property matches, sorted.intgetPagexsCount()Returns all Pagexs count.AttributeimportAttribute(Attribute attribute)Imports a new Attribute object.List<Attribute>importAttributes(List<Attribute> list)Imports multiple new Attribute object.BoximportBox(Box box)Imports a new Box object.List<Box>importBoxs(List<Box> list)Imports multiple new Box object.PageximportPagex(Pagex pagex)Imports a new Pagex object.List<Pagex>importPagexs(List<Pagex> list)Imports multiple new Pagex object.AttributeupdateAttribute(Attribute attribute)Updates a Attribute object.List<Attribute>updateAttributes(List<Attribute> list)Updates multiple Attribute objects.BoxupdateBox(Box box)Updates a Box object.List<Box>updateBoxs(List<Box> list)Updates multiple Box objects.PagexupdatePagex(Pagex pagex)Updates a Pagex object.List<Pagex>updatePagexs(List<Pagex> list)Updates multiple Pagex objects.
-
-
-
Method Detail
-
getPagexs
List<Pagex> getPagexs() throws ASWebDataServiceException
Returns all Pagexs objects stored.- Throws:
ASWebDataServiceException
-
getPagexs
List<Pagex> getPagexs(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Pagexs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deletePagex
void deletePagex(String id) throws ASWebDataServiceException
Deletes a Pagex object by id.- Throws:
ASWebDataServiceException
-
deletePagex
void deletePagex(Pagex pagex) throws ASWebDataServiceException
Deletes a Pagex object.- Throws:
ASWebDataServiceException
-
deletePagexs
void deletePagexs(List<Pagex> list) throws ASWebDataServiceException
Deletes multiple Pagex object.- Throws:
ASWebDataServiceException
-
getPagex
Pagex getPagex(String id) throws ASWebDataServiceException
Returns the Pagex object with the specified id.- Throws:
ASWebDataServiceException
-
importPagex
Pagex importPagex(Pagex pagex) throws ASWebDataServiceException
Imports a new Pagex object. Returns the created version.- Throws:
ASWebDataServiceException
-
importPagexs
List<Pagex> importPagexs(List<Pagex> list) throws ASWebDataServiceException
Imports multiple new Pagex object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createPagex
Pagex createPagex(Pagex pagex) throws ASWebDataServiceException
Creates a new Pagex object. Returns the created version.- Throws:
ASWebDataServiceException
-
createPagexs
List<Pagex> createPagexs(List<Pagex> list) throws ASWebDataServiceException
Creates multiple new Pagex objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updatePagex
Pagex updatePagex(Pagex pagex) throws ASWebDataServiceException
Updates a Pagex object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updatePagexs
List<Pagex> updatePagexs(List<Pagex> list) throws ASWebDataServiceException
Updates multiple Pagex objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(String propertyName, Object value) throws ASWebDataServiceException
Returns all Pagex objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Pagex objects, where property with given name equals object, sorted.- Throws:
ASWebDataServiceException
-
executeQueryOnPagexs
net.anotheria.anodoc.query2.QueryResult executeQueryOnPagexs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWebDataServiceExceptionExecutes a query.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Pagex objects, where property matches.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Pagex objects, where property matches, sorted.- Throws:
ASWebDataServiceException
-
getPagexsCount
int getPagexsCount() throws ASWebDataServiceExceptionReturns all Pagexs count.- Throws:
ASWebDataServiceException
-
getPagexs
List<Pagex> getPagexs(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Pagexs objects segment.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Pagex objects segment, where property matches.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
List<Pagex> getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Pagex objects segment, where property matches, sorted.- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllPagexs
void copyMultilingualAttributesInAllPagexs(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException
In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASWebDataServiceException
-
exportPagexsToXML
net.anotheria.util.xml.XMLNode exportPagexsToXML(List<Pagex> listPagexs) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportPagexsToXML
net.anotheria.util.xml.XMLNode exportPagexsToXML(String[] languages, List<Pagex> listPagexs) throws ASWebDataServiceException
creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchPagex
void fetchPagex(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceException
Create json object list dependencies for this Pagex document.- Throws:
ASWebDataServiceException
-
getBoxs
List<Box> getBoxs() throws ASWebDataServiceException
Returns all Boxs objects stored.- Throws:
ASWebDataServiceException
-
getBoxs
List<Box> getBoxs(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Boxs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deleteBox
void deleteBox(String id) throws ASWebDataServiceException
Deletes a Box object by id.- Throws:
ASWebDataServiceException
-
deleteBox
void deleteBox(Box box) throws ASWebDataServiceException
Deletes a Box object.- Throws:
ASWebDataServiceException
-
deleteBoxs
void deleteBoxs(List<Box> list) throws ASWebDataServiceException
Deletes multiple Box object.- Throws:
ASWebDataServiceException
-
getBox
Box getBox(String id) throws ASWebDataServiceException
Returns the Box object with the specified id.- Throws:
ASWebDataServiceException
-
importBox
Box importBox(Box box) throws ASWebDataServiceException
Imports a new Box object. Returns the created version.- Throws:
ASWebDataServiceException
-
importBoxs
List<Box> importBoxs(List<Box> list) throws ASWebDataServiceException
Imports multiple new Box object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createBox
Box createBox(Box box) throws ASWebDataServiceException
Creates a new Box object. Returns the created version.- Throws:
ASWebDataServiceException
-
createBoxs
List<Box> createBoxs(List<Box> list) throws ASWebDataServiceException
Creates multiple new Box objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updateBox
Box updateBox(Box box) throws ASWebDataServiceException
Updates a Box object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updateBoxs
List<Box> updateBoxs(List<Box> list) throws ASWebDataServiceException
Updates multiple Box objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(String propertyName, Object value) throws ASWebDataServiceException
Returns all Box objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Box objects, where property with given name equals object, sorted.- Throws:
ASWebDataServiceException
-
executeQueryOnBoxs
net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxs(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWebDataServiceExceptionExecutes a query.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Box objects, where property matches.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Box objects, where property matches, sorted.- Throws:
ASWebDataServiceException
-
getBoxsCount
int getBoxsCount() throws ASWebDataServiceExceptionReturns all Boxs count.- Throws:
ASWebDataServiceException
-
getBoxs
List<Box> getBoxs(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Boxs objects segment.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Box objects segment, where property matches.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
List<Box> getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Box objects segment, where property matches, sorted.- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllBoxs
void copyMultilingualAttributesInAllBoxs(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException
In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASWebDataServiceException
-
exportBoxsToXML
net.anotheria.util.xml.XMLNode exportBoxsToXML(List<Box> listBoxs) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportBoxsToXML
net.anotheria.util.xml.XMLNode exportBoxsToXML(String[] languages, List<Box> listBoxs) throws ASWebDataServiceException
creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchBox
void fetchBox(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceException
Create json object list dependencies for this Box document.- Throws:
ASWebDataServiceException
-
getAttributes
List<Attribute> getAttributes() throws ASWebDataServiceException
Returns all Attributes objects stored.- Throws:
ASWebDataServiceException
-
getAttributes
List<Attribute> getAttributes(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Attributes objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deleteAttribute
void deleteAttribute(String id) throws ASWebDataServiceException
Deletes a Attribute object by id.- Throws:
ASWebDataServiceException
-
deleteAttribute
void deleteAttribute(Attribute attribute) throws ASWebDataServiceException
Deletes a Attribute object.- Throws:
ASWebDataServiceException
-
deleteAttributes
void deleteAttributes(List<Attribute> list) throws ASWebDataServiceException
Deletes multiple Attribute object.- Throws:
ASWebDataServiceException
-
getAttribute
Attribute getAttribute(String id) throws ASWebDataServiceException
Returns the Attribute object with the specified id.- Throws:
ASWebDataServiceException
-
importAttribute
Attribute importAttribute(Attribute attribute) throws ASWebDataServiceException
Imports a new Attribute object. Returns the created version.- Throws:
ASWebDataServiceException
-
importAttributes
List<Attribute> importAttributes(List<Attribute> list) throws ASWebDataServiceException
Imports multiple new Attribute object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createAttribute
Attribute createAttribute(Attribute attribute) throws ASWebDataServiceException
Creates a new Attribute object. Returns the created version.- Throws:
ASWebDataServiceException
-
createAttributes
List<Attribute> createAttributes(List<Attribute> list) throws ASWebDataServiceException
Creates multiple new Attribute objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updateAttribute
Attribute updateAttribute(Attribute attribute) throws ASWebDataServiceException
Updates a Attribute object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updateAttributes
List<Attribute> updateAttributes(List<Attribute> list) throws ASWebDataServiceException
Updates multiple Attribute objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(String propertyName, Object value) throws ASWebDataServiceException
Returns all Attribute objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Attribute objects, where property with given name equals object, sorted.- Throws:
ASWebDataServiceException
-
executeQueryOnAttributes
net.anotheria.anodoc.query2.QueryResult executeQueryOnAttributes(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWebDataServiceExceptionExecutes a query.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Attribute objects, where property matches.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Attribute objects, where property matches, sorted.- Throws:
ASWebDataServiceException
-
getAttributesCount
int getAttributesCount() throws ASWebDataServiceExceptionReturns all Attributes count.- Throws:
ASWebDataServiceException
-
getAttributes
List<Attribute> getAttributes(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Attributes objects segment.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Attribute objects segment, where property matches.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
List<Attribute> getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASWebDataServiceException
Returns Attribute objects segment, where property matches, sorted.- Throws:
ASWebDataServiceException
-
exportAttributesToXML
net.anotheria.util.xml.XMLNode exportAttributesToXML(List<Attribute> listAttributes) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportAttributesToXML
net.anotheria.util.xml.XMLNode exportAttributesToXML(String[] languages, List<Attribute> listAttributes) throws ASWebDataServiceException
creates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchAttribute
void fetchAttribute(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceException
Create json object list dependencies for this Attribute document.- Throws:
ASWebDataServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASWebDataServiceException
Save transferred document by its own type.- Throws:
ASWebDataServiceException
-
copyMultilingualAttributesInAllObjects
void copyMultilingualAttributesInAllObjects(String sourceLanguage, String targetLanguage) throws ASWebDataServiceException
Copies all multilingual fields from sourceLanguage to targetLanguage in all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASWebDataServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASWebDataServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASWebDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASWebDataServiceExceptioncreates an xml element with all contained data.- Throws:
ASWebDataServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML(String[] languages) throws ASWebDataServiceException
creates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASWebDataServiceException
-
-