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(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.voidcopyMultilingualAttributesInAllObjects(java.lang.String sourceLanguage, java.lang.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(java.lang.String sourceLanguage, java.lang.String targetLanguage)In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.AttributecreateAttribute(Attribute attribute)Creates a new Attribute object.java.util.List<Attribute>createAttributes(java.util.List<Attribute> list)Creates multiple new Attribute objects.BoxcreateBox(Box box)Creates a new Box object.java.util.List<Box>createBoxs(java.util.List<Box> list)Creates multiple new Box objects.PagexcreatePagex(Pagex pagex)Creates a new Pagex object.java.util.List<Pagex>createPagexs(java.util.List<Pagex> list)Creates multiple new Pagex objects.voiddeleteAttribute(java.lang.String id)Deletes a Attribute object by id.voiddeleteAttribute(Attribute attribute)Deletes a Attribute object.voiddeleteAttributes(java.util.List<Attribute> list)Deletes multiple Attribute object.voiddeleteBox(java.lang.String id)Deletes a Box object by id.voiddeleteBox(Box box)Deletes a Box object.voiddeleteBoxs(java.util.List<Box> list)Deletes multiple Box object.voiddeletePagex(java.lang.String id)Deletes a Pagex object by id.voiddeletePagex(Pagex pagex)Deletes a Pagex object.voiddeletePagexs(java.util.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(java.lang.String[] languages, java.util.List<Attribute> listAttributes)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportAttributesToXML(java.util.List<Attribute> listAttributes)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportBoxsToXML(java.lang.String[] languages, java.util.List<Box> listBoxs)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportBoxsToXML(java.util.List<Box> listBoxs)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportPagexsToXML(java.lang.String[] languages, java.util.List<Pagex> listPagexs)creates an xml element with selected contained data but only selected languages in multilingual attributesnet.anotheria.util.xml.XMLNodeexportPagexsToXML(java.util.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(java.lang.String[] languages)creates an xml element with all contained data but only selected languages in multilingual attributes.voidfetchAttribute(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Attribute document.voidfetchBox(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Box document.voidfetchPagex(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Pagex document.AttributegetAttribute(java.lang.String id)Returns the Attribute object with the specified id.java.util.List<Attribute>getAttributes()Returns all Attributes objects stored.java.util.List<Attribute>getAttributes(net.anotheria.util.slicer.Segment aSegment)Returns Attributes objects segment.java.util.List<Attribute>getAttributes(net.anotheria.util.sorter.SortType sortType)Returns all Attributes objects sorted by given sortType.java.util.List<Attribute>getAttributesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Attribute objects, where property with given name equals object.java.util.List<Attribute>getAttributesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Attribute objects, where property with given name equals object, sorted.java.util.List<Attribute>getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Attribute objects, where property matches.java.util.List<Attribute>getAttributesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Attribute objects segment, where property matches.java.util.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.java.util.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(java.lang.String id)Returns the Box object with the specified id.java.util.List<Box>getBoxs()Returns all Boxs objects stored.java.util.List<Box>getBoxs(net.anotheria.util.slicer.Segment aSegment)Returns Boxs objects segment.java.util.List<Box>getBoxs(net.anotheria.util.sorter.SortType sortType)Returns all Boxs objects sorted by given sortType.java.util.List<Box>getBoxsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Box objects, where property with given name equals object.java.util.List<Box>getBoxsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Box objects, where property with given name equals object, sorted.java.util.List<Box>getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Box objects, where property matches.java.util.List<Box>getBoxsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Box objects segment, where property matches.java.util.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.java.util.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(java.lang.String id)Returns the Pagex object with the specified id.java.util.List<Pagex>getPagexs()Returns all Pagexs objects stored.java.util.List<Pagex>getPagexs(net.anotheria.util.slicer.Segment aSegment)Returns Pagexs objects segment.java.util.List<Pagex>getPagexs(net.anotheria.util.sorter.SortType sortType)Returns all Pagexs objects sorted by given sortType.java.util.List<Pagex>getPagexsByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Pagex objects, where property with given name equals object.java.util.List<Pagex>getPagexsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Pagex objects, where property with given name equals object, sorted.java.util.List<Pagex>getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Pagex objects, where property matches.java.util.List<Pagex>getPagexsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Pagex objects segment, where property matches.java.util.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.java.util.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.java.util.List<Attribute>importAttributes(java.util.List<Attribute> list)Imports multiple new Attribute object.BoximportBox(Box box)Imports a new Box object.java.util.List<Box>importBoxs(java.util.List<Box> list)Imports multiple new Box object.PageximportPagex(Pagex pagex)Imports a new Pagex object.java.util.List<Pagex>importPagexs(java.util.List<Pagex> list)Imports multiple new Pagex object.AttributeupdateAttribute(Attribute attribute)Updates a Attribute object.java.util.List<Attribute>updateAttributes(java.util.List<Attribute> list)Updates multiple Attribute objects.BoxupdateBox(Box box)Updates a Box object.java.util.List<Box>updateBoxs(java.util.List<Box> list)Updates multiple Box objects.PagexupdatePagex(Pagex pagex)Updates a Pagex object.java.util.List<Pagex>updatePagexs(java.util.List<Pagex> list)Updates multiple Pagex objects.
-
-
-
Method Detail
-
getPagexs
java.util.List<Pagex> getPagexs() throws ASWebDataServiceException
Returns all Pagexs objects stored.- Throws:
ASWebDataServiceException
-
getPagexs
java.util.List<Pagex> getPagexs(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Pagexs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deletePagex
void deletePagex(java.lang.String id) throws ASWebDataServiceExceptionDeletes a Pagex object by id.- Throws:
ASWebDataServiceException
-
deletePagex
void deletePagex(Pagex pagex) throws ASWebDataServiceException
Deletes a Pagex object.- Throws:
ASWebDataServiceException
-
deletePagexs
void deletePagexs(java.util.List<Pagex> list) throws ASWebDataServiceException
Deletes multiple Pagex object.- Throws:
ASWebDataServiceException
-
getPagex
Pagex getPagex(java.lang.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
java.util.List<Pagex> importPagexs(java.util.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
java.util.List<Pagex> createPagexs(java.util.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
java.util.List<Pagex> updatePagexs(java.util.List<Pagex> list) throws ASWebDataServiceException
Updates multiple Pagex objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
java.util.List<Pagex> getPagexsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASWebDataServiceException
Returns all Pagex objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
java.util.List<Pagex> getPagexsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<Pagex> getPagexsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Pagex objects, where property matches.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
java.util.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
java.util.List<Pagex> getPagexs(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Pagexs objects segment.- Throws:
ASWebDataServiceException
-
getPagexsByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASWebDataServiceExceptionIn all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASWebDataServiceException
-
exportPagexsToXML
net.anotheria.util.xml.XMLNode exportPagexsToXML(java.util.List<Pagex> listPagexs) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportPagexsToXML
net.anotheria.util.xml.XMLNode exportPagexsToXML(java.lang.String[] languages, java.util.List<Pagex> listPagexs) throws ASWebDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchPagex
void fetchPagex(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionCreate json object list dependencies for this Pagex document.- Throws:
ASWebDataServiceException
-
getBoxs
java.util.List<Box> getBoxs() throws ASWebDataServiceException
Returns all Boxs objects stored.- Throws:
ASWebDataServiceException
-
getBoxs
java.util.List<Box> getBoxs(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Boxs objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deleteBox
void deleteBox(java.lang.String id) throws ASWebDataServiceExceptionDeletes a Box object by id.- Throws:
ASWebDataServiceException
-
deleteBox
void deleteBox(Box box) throws ASWebDataServiceException
Deletes a Box object.- Throws:
ASWebDataServiceException
-
deleteBoxs
void deleteBoxs(java.util.List<Box> list) throws ASWebDataServiceException
Deletes multiple Box object.- Throws:
ASWebDataServiceException
-
getBox
Box getBox(java.lang.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
java.util.List<Box> importBoxs(java.util.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
java.util.List<Box> createBoxs(java.util.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
java.util.List<Box> updateBoxs(java.util.List<Box> list) throws ASWebDataServiceException
Updates multiple Box objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
java.util.List<Box> getBoxsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASWebDataServiceException
Returns all Box objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
java.util.List<Box> getBoxsByProperty(java.lang.String propertyName, java.lang.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
java.util.List<Box> getBoxsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Box objects, where property matches.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
java.util.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
java.util.List<Box> getBoxs(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Boxs objects segment.- Throws:
ASWebDataServiceException
-
getBoxsByProperty
java.util.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
java.util.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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASWebDataServiceExceptionIn all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.- Throws:
ASWebDataServiceException
-
exportBoxsToXML
net.anotheria.util.xml.XMLNode exportBoxsToXML(java.util.List<Box> listBoxs) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportBoxsToXML
net.anotheria.util.xml.XMLNode exportBoxsToXML(java.lang.String[] languages, java.util.List<Box> listBoxs) throws ASWebDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchBox
void fetchBox(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionCreate json object list dependencies for this Box document.- Throws:
ASWebDataServiceException
-
getAttributes
java.util.List<Attribute> getAttributes() throws ASWebDataServiceException
Returns all Attributes objects stored.- Throws:
ASWebDataServiceException
-
getAttributes
java.util.List<Attribute> getAttributes(net.anotheria.util.sorter.SortType sortType) throws ASWebDataServiceException
Returns all Attributes objects sorted by given sortType.- Throws:
ASWebDataServiceException
-
deleteAttribute
void deleteAttribute(java.lang.String id) throws ASWebDataServiceExceptionDeletes a Attribute object by id.- Throws:
ASWebDataServiceException
-
deleteAttribute
void deleteAttribute(Attribute attribute) throws ASWebDataServiceException
Deletes a Attribute object.- Throws:
ASWebDataServiceException
-
deleteAttributes
void deleteAttributes(java.util.List<Attribute> list) throws ASWebDataServiceException
Deletes multiple Attribute object.- Throws:
ASWebDataServiceException
-
getAttribute
Attribute getAttribute(java.lang.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
java.util.List<Attribute> importAttributes(java.util.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
java.util.List<Attribute> createAttributes(java.util.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
java.util.List<Attribute> updateAttributes(java.util.List<Attribute> list) throws ASWebDataServiceException
Updates multiple Attribute objects. Returns the updated versions.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
java.util.List<Attribute> getAttributesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASWebDataServiceException
Returns all Attribute objects, where property with given name equals object.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
java.util.List<Attribute> getAttributesByProperty(java.lang.String propertyName, java.lang.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
java.util.List<Attribute> getAttributesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASWebDataServiceException
Returns all Attribute objects, where property matches.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
java.util.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
java.util.List<Attribute> getAttributes(net.anotheria.util.slicer.Segment aSegment) throws ASWebDataServiceException
Returns Attributes objects segment.- Throws:
ASWebDataServiceException
-
getAttributesByProperty
java.util.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
java.util.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(java.util.List<Attribute> listAttributes) throws ASWebDataServiceException
Creates an xml element with selected contained data.- Throws:
ASWebDataServiceException
-
exportAttributesToXML
net.anotheria.util.xml.XMLNode exportAttributesToXML(java.lang.String[] languages, java.util.List<Attribute> listAttributes) throws ASWebDataServiceExceptioncreates an xml element with selected contained data but only selected languages in multilingual attributes- Throws:
ASWebDataServiceException
-
fetchAttribute
void fetchAttribute(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASWebDataServiceExceptionCreate 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(java.lang.String sourceLanguage, java.lang.String targetLanguage) throws ASWebDataServiceExceptionCopies 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(java.lang.String[] languages) throws ASWebDataServiceExceptioncreates an xml element with all contained data but only selected languages in multilingual attributes.- Throws:
ASWebDataServiceException
-
-