Class ASWebDataServiceImpl

  • All Implemented Interfaces:
    net.anotheria.anoprise.metafactory.Service, IASWebDataService, net.anotheria.asg.service.ASGService, net.anotheria.asg.util.listener.IModuleListener

    public class ASWebDataServiceImpl
    extends BasicCMSService
    implements IASWebDataService, net.anotheria.asg.util.listener.IModuleListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyMultilingualAttributesInAllBoxs​(java.lang.String sourceLanguage, java.lang.String targetLanguage)
      In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.
      void copyMultilingualAttributesInAllObjects​(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
      void copyMultilingualAttributesInAllPagexs​(java.lang.String sourceLanguage, java.lang.String targetLanguage)
      In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.
      Attribute createAttribute​(Attribute attribute)
      Creates a new Attribute object.
      java.util.List<Attribute> createAttributes​(java.util.List<Attribute> list)
      Creates multiple new Attribute objects.
      Box createBox​(Box box)
      Creates a new Box object.
      java.util.List<Box> createBoxs​(java.util.List<Box> list)
      Creates multiple new Box objects.
      Pagex createPagex​(Pagex pagex)
      Creates a new Pagex object.
      java.util.List<Pagex> createPagexs​(java.util.List<Pagex> list)
      Creates multiple new Pagex objects.
      void deleteAttribute​(java.lang.String id)
      Deletes a Attribute object by id.
      void deleteAttribute​(Attribute attribute)
      Deletes a Attribute object.
      void deleteAttributes​(java.util.List<Attribute> list)
      Deletes multiple Attribute object.
      void deleteBox​(java.lang.String id)
      Deletes a Box object by id.
      void deleteBox​(Box box)
      Deletes a Box object.
      void deleteBoxs​(java.util.List<Box> list)
      Deletes multiple Box object.
      void deletePagex​(java.lang.String id)
      Deletes a Pagex object by id.
      void deletePagex​(Pagex pagex)
      Deletes a Pagex object.
      void deletePagexs​(java.util.List<Pagex> list)
      Deletes multiple Pagex object.
      void executeParsingForDocument​(DocumentName documentName, org.codehaus.jettison.json.JSONObject data)
      Save transferred document by its own type.
      net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects​(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.QueryResult executeQueryOnAttributes​(net.anotheria.anodoc.query2.DocumentQuery query)
      Executes a query on Attributes
      net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxs​(net.anotheria.anodoc.query2.DocumentQuery query)
      Executes a query on Boxs
      net.anotheria.anodoc.query2.QueryResult executeQueryOnPagexs​(net.anotheria.anodoc.query2.DocumentQuery query)
      Executes a query on Pagexs
      net.anotheria.util.xml.XMLNode exportAttributesToXML()  
      net.anotheria.util.xml.XMLNode exportAttributesToXML​(java.lang.String[] languages)  
      net.anotheria.util.xml.XMLNode exportAttributesToXML​(java.lang.String[] languages, java.util.List<Attribute> list)
      creates an xml element with selected contained data but only selected languages in multilingual attributes
      net.anotheria.util.xml.XMLNode exportAttributesToXML​(java.util.List<Attribute> list)
      Creates an xml element with selected contained data.
      net.anotheria.util.xml.XMLNode exportBoxsToXML()  
      net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.lang.String[] languages)  
      net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.lang.String[] languages, java.util.List<Box> list)
      creates an xml element with selected contained data but only selected languages in multilingual attributes
      net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.util.List<Box> list)
      Creates an xml element with selected contained data.
      net.anotheria.util.xml.XMLNode exportPagexsToXML()  
      net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.lang.String[] languages)  
      net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.lang.String[] languages, java.util.List<Pagex> list)
      creates an xml element with selected contained data but only selected languages in multilingual attributes
      net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.util.List<Pagex> list)
      Creates an xml element with selected contained data.
      net.anotheria.util.xml.XMLNode exportToXML()
      creates an xml element with all contained data.
      net.anotheria.util.xml.XMLNode exportToXML​(java.lang.String[] languages)
      creates an xml element with all contained data but only selected languages in multilingual attributes.
      void fetchAttribute​(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.
      void fetchBox​(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.
      void fetchPagex​(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.
      Attribute getAttribute​(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​(java.util.List<java.lang.String> ids)
      Returns the Attribute objects with the specified ids.
      java.util.List<Attribute> getAttributes​(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
      Returns the Attribute objects with the specified ids, sorted by given sorttype.
      java.util.List<Attribute> getAttributes​(net.anotheria.util.slicer.Segment aSegment)
      Returns Attribute 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... property)
      Returns Attribute objects segment, where property matched.
      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 matched, 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
      int getAttributesCount()
      Returns Attribute objects count.
      Box getBox​(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​(java.util.List<java.lang.String> ids)
      Returns the Box objects with the specified ids.
      java.util.List<Box> getBoxs​(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
      Returns the Box objects with the specified ids, sorted by given sorttype.
      java.util.List<Box> getBoxs​(net.anotheria.util.slicer.Segment aSegment)
      Returns Box 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... property)
      Returns Box objects segment, where property matched.
      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 matched, 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
      int getBoxsCount()
      Returns Box objects count.
      Pagex getPagex​(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​(java.util.List<java.lang.String> ids)
      Returns the Pagex objects with the specified ids.
      java.util.List<Pagex> getPagexs​(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
      Returns the Pagex objects with the specified ids, sorted by given sorttype.
      java.util.List<Pagex> getPagexs​(net.anotheria.util.slicer.Segment aSegment)
      Returns Pagex 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... property)
      Returns Pagex objects segment, where property matched.
      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 matched, 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
      int getPagexsCount()
      Returns Pagex objects count.
      Attribute importAttribute​(Attribute attribute)
      Imports a new Attribute object.
      java.util.List<Attribute> importAttributes​(java.util.List<Attribute> list)
      Imports multiple new Attribute object.
      Box importBox​(Box box)
      Imports a new Box object.
      java.util.List<Box> importBoxs​(java.util.List<Box> list)
      Imports multiple new Box object.
      Pagex importPagex​(Pagex pagex)
      Imports a new Pagex object.
      java.util.List<Pagex> importPagexs​(java.util.List<Pagex> list)
      Imports multiple new Pagex object.
      void moduleLoaded​(net.anotheria.anodoc.data.Module module)  
      Attribute updateAttribute​(Attribute attribute)
      Updates a Attribute object.
      java.util.List<Attribute> updateAttributes​(java.util.List<Attribute> list)
      Updates multiple Attribute objects.
      Box updateBox​(Box box)
      Updates a Box object.
      java.util.List<Box> updateBoxs​(java.util.List<Box> list)
      Updates multiple Box objects.
      Pagex updatePagex​(Pagex pagex)
      Updates a Pagex object.
      java.util.List<Pagex> updatePagexs​(java.util.List<Pagex> list)
      Updates multiple Pagex objects.
      • Methods inherited from class net.anotheria.asg.service.AbstractASGService

        addServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.anotheria.asg.service.ASGService

        addServiceListener, hasServiceListeners, removeServiceListener
    • Method Detail

      • moduleLoaded

        public void moduleLoaded​(net.anotheria.anodoc.data.Module module)
        Specified by:
        moduleLoaded in interface net.anotheria.asg.util.listener.IModuleListener
      • getPagexs

        public java.util.List<Pagex> getPagexs​(net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Pagexs objects sorted by given sortType.
        Specified by:
        getPagexs in interface IASWebDataService
      • getPagexs

        public java.util.List<Pagex> getPagexs​(java.util.List<java.lang.String> ids)
        Returns the Pagex objects with the specified ids.
      • getPagexs

        public java.util.List<Pagex> getPagexs​(java.util.List<java.lang.String> ids,
                                               net.anotheria.util.sorter.SortType sortType)
        Returns the Pagex objects with the specified ids, sorted by given sorttype.
      • getPagexsByProperty

        public java.util.List<Pagex> getPagexsByProperty​(java.lang.String propertyName,
                                                         java.lang.Object value)
        Description copied from interface: IASWebDataService
        Returns all Pagex objects, where property with given name equals object.
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • getPagexsByProperty

        public java.util.List<Pagex> getPagexsByProperty​(java.lang.String propertyName,
                                                         java.lang.Object value,
                                                         net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Pagex objects, where property with given name equals object, sorted.
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • executeQueryOnPagexs

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnPagexs​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on Pagexs
        Specified by:
        executeQueryOnPagexs in interface IASWebDataService
      • getPagexsByProperty

        public java.util.List<Pagex> getPagexsByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all Pagex objects, where property matches.
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • getPagexsByProperty

        public 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
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • getPagexs

        public java.util.List<Pagex> getPagexs​(net.anotheria.util.slicer.Segment aSegment)
        Returns Pagex objects segment.
        Specified by:
        getPagexs in interface IASWebDataService
      • getPagexsByProperty

        public java.util.List<Pagex> getPagexsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                         net.anotheria.anodoc.query2.QueryProperty... property)
        Returns Pagex objects segment, where property matched.
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • getPagexsByProperty

        public 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 matched, sorted.
        Specified by:
        getPagexsByProperty in interface IASWebDataService
      • copyMultilingualAttributesInAllPagexs

        public void copyMultilingualAttributesInAllPagexs​(java.lang.String sourceLanguage,
                                                          java.lang.String targetLanguage)
        Description copied from interface: IASWebDataService
        In all documents of type Pagex copies all multilingual fields from sourceLanguage to targetLanguage.
        Specified by:
        copyMultilingualAttributesInAllPagexs in interface IASWebDataService
      • getBoxs

        public java.util.List<Box> getBoxs​(net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Boxs objects sorted by given sortType.
        Specified by:
        getBoxs in interface IASWebDataService
      • getBoxs

        public java.util.List<Box> getBoxs​(java.util.List<java.lang.String> ids)
        Returns the Box objects with the specified ids.
      • getBoxs

        public java.util.List<Box> getBoxs​(java.util.List<java.lang.String> ids,
                                           net.anotheria.util.sorter.SortType sortType)
        Returns the Box objects with the specified ids, sorted by given sorttype.
      • importBoxs

        public java.util.List<Box> importBoxs​(java.util.List<Box> list)
        Description copied from interface: IASWebDataService
        Imports multiple new Box object. Returns the created versions.
        Specified by:
        importBoxs in interface IASWebDataService
      • createBoxs

        public java.util.List<Box> createBoxs​(java.util.List<Box> list)
        Description copied from interface: IASWebDataService
        Creates multiple new Box objects. Returns the created versions.
        Specified by:
        createBoxs in interface IASWebDataService
      • updateBoxs

        public java.util.List<Box> updateBoxs​(java.util.List<Box> list)
        Description copied from interface: IASWebDataService
        Updates multiple Box objects. Returns the updated versions.
        Specified by:
        updateBoxs in interface IASWebDataService
      • getBoxsByProperty

        public java.util.List<Box> getBoxsByProperty​(java.lang.String propertyName,
                                                     java.lang.Object value)
        Description copied from interface: IASWebDataService
        Returns all Box objects, where property with given name equals object.
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • getBoxsByProperty

        public java.util.List<Box> getBoxsByProperty​(java.lang.String propertyName,
                                                     java.lang.Object value,
                                                     net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Box objects, where property with given name equals object, sorted.
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • executeQueryOnBoxs

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnBoxs​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on Boxs
        Specified by:
        executeQueryOnBoxs in interface IASWebDataService
      • getBoxsByProperty

        public java.util.List<Box> getBoxsByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all Box objects, where property matches.
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • getBoxsByProperty

        public 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
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • getBoxs

        public java.util.List<Box> getBoxs​(net.anotheria.util.slicer.Segment aSegment)
        Returns Box objects segment.
        Specified by:
        getBoxs in interface IASWebDataService
      • getBoxsByProperty

        public java.util.List<Box> getBoxsByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                     net.anotheria.anodoc.query2.QueryProperty... property)
        Returns Box objects segment, where property matched.
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • getBoxsByProperty

        public 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 matched, sorted.
        Specified by:
        getBoxsByProperty in interface IASWebDataService
      • copyMultilingualAttributesInAllBoxs

        public void copyMultilingualAttributesInAllBoxs​(java.lang.String sourceLanguage,
                                                        java.lang.String targetLanguage)
        Description copied from interface: IASWebDataService
        In all documents of type Box copies all multilingual fields from sourceLanguage to targetLanguage.
        Specified by:
        copyMultilingualAttributesInAllBoxs in interface IASWebDataService
      • getAttributes

        public java.util.List<Attribute> getAttributes​(net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Attributes objects sorted by given sortType.
        Specified by:
        getAttributes in interface IASWebDataService
      • getAttributes

        public java.util.List<Attribute> getAttributes​(java.util.List<java.lang.String> ids)
        Returns the Attribute objects with the specified ids.
      • getAttributes

        public java.util.List<Attribute> getAttributes​(java.util.List<java.lang.String> ids,
                                                       net.anotheria.util.sorter.SortType sortType)
        Returns the Attribute objects with the specified ids, sorted by given sorttype.
      • getAttributesByProperty

        public java.util.List<Attribute> getAttributesByProperty​(java.lang.String propertyName,
                                                                 java.lang.Object value)
        Description copied from interface: IASWebDataService
        Returns all Attribute objects, where property with given name equals object.
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • getAttributesByProperty

        public java.util.List<Attribute> getAttributesByProperty​(java.lang.String propertyName,
                                                                 java.lang.Object value,
                                                                 net.anotheria.util.sorter.SortType sortType)
        Description copied from interface: IASWebDataService
        Returns all Attribute objects, where property with given name equals object, sorted.
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • executeQueryOnAttributes

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnAttributes​(net.anotheria.anodoc.query2.DocumentQuery query)
        Executes a query on Attributes
        Specified by:
        executeQueryOnAttributes in interface IASWebDataService
      • getAttributesByProperty

        public java.util.List<Attribute> getAttributesByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
        Returns all Attribute objects, where property matches.
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • getAttributesByProperty

        public 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
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • getAttributes

        public java.util.List<Attribute> getAttributes​(net.anotheria.util.slicer.Segment aSegment)
        Returns Attribute objects segment.
        Specified by:
        getAttributes in interface IASWebDataService
      • getAttributesByProperty

        public java.util.List<Attribute> getAttributesByProperty​(net.anotheria.util.slicer.Segment aSegment,
                                                                 net.anotheria.anodoc.query2.QueryProperty... property)
        Returns Attribute objects segment, where property matched.
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • getAttributesByProperty

        public 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 matched, sorted.
        Specified by:
        getAttributesByProperty in interface IASWebDataService
      • copyMultilingualAttributesInAllObjects

        public void copyMultilingualAttributesInAllObjects​(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
        Specified by:
        copyMultilingualAttributesInAllObjects in interface IASWebDataService
      • executeQueryOnAllObjects

        public net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects​(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
        Specified by:
        executeQueryOnAllObjects in interface IASWebDataService
      • exportPagexsToXML

        public net.anotheria.util.xml.XMLNode exportPagexsToXML()
      • exportPagexsToXML

        public net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.util.List<Pagex> list)
        Description copied from interface: IASWebDataService
        Creates an xml element with selected contained data.
        Specified by:
        exportPagexsToXML in interface IASWebDataService
      • exportPagexsToXML

        public net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.lang.String[] languages)
      • exportPagexsToXML

        public net.anotheria.util.xml.XMLNode exportPagexsToXML​(java.lang.String[] languages,
                                                                java.util.List<Pagex> list)
        Description copied from interface: IASWebDataService
        creates an xml element with selected contained data but only selected languages in multilingual attributes
        Specified by:
        exportPagexsToXML in interface IASWebDataService
      • exportBoxsToXML

        public net.anotheria.util.xml.XMLNode exportBoxsToXML()
      • exportBoxsToXML

        public net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.util.List<Box> list)
        Description copied from interface: IASWebDataService
        Creates an xml element with selected contained data.
        Specified by:
        exportBoxsToXML in interface IASWebDataService
      • exportBoxsToXML

        public net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.lang.String[] languages)
      • exportBoxsToXML

        public net.anotheria.util.xml.XMLNode exportBoxsToXML​(java.lang.String[] languages,
                                                              java.util.List<Box> list)
        Description copied from interface: IASWebDataService
        creates an xml element with selected contained data but only selected languages in multilingual attributes
        Specified by:
        exportBoxsToXML in interface IASWebDataService
      • exportAttributesToXML

        public net.anotheria.util.xml.XMLNode exportAttributesToXML()
      • exportAttributesToXML

        public net.anotheria.util.xml.XMLNode exportAttributesToXML​(java.lang.String[] languages)
      • exportAttributesToXML

        public net.anotheria.util.xml.XMLNode exportAttributesToXML​(java.lang.String[] languages,
                                                                    java.util.List<Attribute> list)
        Description copied from interface: IASWebDataService
        creates an xml element with selected contained data but only selected languages in multilingual attributes
        Specified by:
        exportAttributesToXML in interface IASWebDataService
      • exportToXML

        public net.anotheria.util.xml.XMLNode exportToXML()
        Description copied from interface: IASWebDataService
        creates an xml element with all contained data.
        Specified by:
        exportToXML in interface IASWebDataService
      • exportToXML

        public net.anotheria.util.xml.XMLNode exportToXML​(java.lang.String[] languages)
        Description copied from interface: IASWebDataService
        creates an xml element with all contained data but only selected languages in multilingual attributes.
        Specified by:
        exportToXML in interface IASWebDataService