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
Modifier and TypeMethodDescriptionvoidcopyMultilingualAttributesInAllBoxs(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.createAttribute(Attribute attribute) Creates a new Attribute object.createAttributes(List<Attribute> list) Creates multiple new Attribute objects.Creates a new Box object.createBoxs(List<Box> list) Creates multiple new Box objects.createPagex(Pagex pagex) Creates a new Pagex object.createPagexs(List<Pagex> list) Creates multiple new Pagex objects.voidDeletes a Attribute object by id.voiddeleteAttribute(Attribute attribute) Deletes a Attribute object.voiddeleteAttributes(List<Attribute> list) Deletes multiple Attribute object.voidDeletes a Box object by id.voidDeletes 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.XMLNodecreates 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.voidCreate 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.getAttribute(String id) Returns the Attribute object with the specified id.Returns all Attributes objects stored.getAttributes(net.anotheria.util.slicer.Segment aSegment) Returns Attributes objects segment.getAttributes(net.anotheria.util.sorter.SortType sortType) Returns all Attributes objects sorted by given sortType.getAttributesByProperty(String propertyName, Object value) Returns all Attribute objects, where property with given name equals object.getAttributesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Attribute objects, where property with given name equals object, sorted.getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Attribute objects, where property matches.getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Attribute objects segment, where property matches.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.getAttributesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Attribute objects, where property matches, sorted.intReturns all Attributes count.Returns the Box object with the specified id.getBoxs()Returns all Boxs objects stored.getBoxs(net.anotheria.util.slicer.Segment aSegment) Returns Boxs objects segment.getBoxs(net.anotheria.util.sorter.SortType sortType) Returns all Boxs objects sorted by given sortType.getBoxsByProperty(String propertyName, Object value) Returns all Box objects, where property with given name equals object.getBoxsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Box objects, where property with given name equals object, sorted.getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Box objects, where property matches.getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Box objects segment, where property matches.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.getBoxsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Box objects, where property matches, sorted.intReturns all Boxs count.Returns the Pagex object with the specified id.Returns all Pagexs objects stored.getPagexs(net.anotheria.util.slicer.Segment aSegment) Returns Pagexs objects segment.getPagexs(net.anotheria.util.sorter.SortType sortType) Returns all Pagexs objects sorted by given sortType.getPagexsByProperty(String propertyName, Object value) Returns all Pagex objects, where property with given name equals object.getPagexsByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Pagex objects, where property with given name equals object, sorted.getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Pagex objects, where property matches.getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Pagex objects segment, where property matches.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.getPagexsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Pagex objects, where property matches, sorted.intReturns all Pagexs count.importAttribute(Attribute attribute) Imports a new Attribute object.importAttributes(List<Attribute> list) Imports multiple new Attribute object.Imports a new Box object.importBoxs(List<Box> list) Imports multiple new Box object.importPagex(Pagex pagex) Imports a new Pagex object.importPagexs(List<Pagex> list) Imports multiple new Pagex object.updateAttribute(Attribute attribute) Updates a Attribute object.updateAttributes(List<Attribute> list) Updates multiple Attribute objects.Updates a Box object.updateBoxs(List<Box> list) Updates multiple Box objects.updatePagex(Pagex pagex) Updates a Pagex object.updatePagexs(List<Pagex> list) Updates multiple Pagex objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getPagexs
Returns all Pagexs objects stored.- Throws:
ASWebDataServiceException
-
getPagexs
Returns all Pagexs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deletePagex
Deletes a Pagex object by id.- Throws:
ASWebDataServiceException
-
deletePagex
Deletes a Pagex object.- Throws:
ASWebDataServiceException
-
deletePagexs
Deletes multiple Pagex object.- Throws:
ASWebDataServiceException
-
getPagex
Returns the Pagex object with the specified id.- Throws:
ASWebDataServiceException
-
importPagex
Imports a new Pagex object. Returns the created version.- Throws:
ASWebDataServiceException
-
importPagexs
Imports multiple new Pagex object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createPagex
Creates a new Pagex object. Returns the created version.- Throws:
ASWebDataServiceException
-
createPagexs
Creates multiple new Pagex objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updatePagex
Updates a Pagex object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updatePagexs
Updates multiple Pagex objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
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 ASWebDataServiceException Executes 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
Returns all Pagexs count.- Throws:
ASWebDataServiceException
-
getPagexs
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
Returns all Boxs objects stored.- Throws:
ASWebDataServiceException
-
getBoxs
Returns all Boxs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deleteBox
Deletes a Box object by id.- Throws:
ASWebDataServiceException
-
deleteBox
Deletes a Box object.- Throws:
ASWebDataServiceException
-
deleteBoxs
Deletes multiple Box object.- Throws:
ASWebDataServiceException
-
getBox
Returns the Box object with the specified id.- Throws:
ASWebDataServiceException
-
importBox
Imports a new Box object. Returns the created version.- Throws:
ASWebDataServiceException
-
importBoxs
Imports multiple new Box object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createBox
Creates a new Box object. Returns the created version.- Throws:
ASWebDataServiceException
-
createBoxs
Creates multiple new Box objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updateBox
Updates a Box object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updateBoxs
Updates multiple Box objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
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 ASWebDataServiceException Executes 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
Returns all Boxs count.- Throws:
ASWebDataServiceException
-
getBoxs
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
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
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
Deletes a Attribute object by id.- Throws:
ASWebDataServiceException
-
deleteAttribute
Deletes a Attribute object.- Throws:
ASWebDataServiceException
-
deleteAttributes
Deletes multiple Attribute object.- Throws:
ASWebDataServiceException
-
getAttribute
Returns the Attribute object with the specified id.- Throws:
ASWebDataServiceException
-
importAttribute
Imports a new Attribute object. Returns the created version.- Throws:
ASWebDataServiceException
-
importAttributes
Imports multiple new Attribute object. Returns the created versions.- Throws:
ASWebDataServiceException
-
createAttribute
Creates a new Attribute object. Returns the created version.- Throws:
ASWebDataServiceException
-
createAttributes
Creates multiple new Attribute objects. Returns the created versions.- Throws:
ASWebDataServiceException
-
updateAttribute
Updates a Attribute object. Returns the updated version.- Throws:
ASWebDataServiceException
-
updateAttributes
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 ASWebDataServiceException Executes 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
Returns 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
-
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 ASWebDataServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASWebDataServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASWebDataServiceException
-
exportToXML
creates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASWebDataServiceException
-