Interface IImagesService

  • All Superinterfaces:
    net.anotheria.asg.service.ASGService, net.anotheria.anoprise.metafactory.Service
    All Known Implementing Classes:
    ImagesServiceImpl

    public interface IImagesService
    extends net.anotheria.asg.service.ASGService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void copyMultilingualAttributesInAllImages​(java.lang.String sourceLanguage, java.lang.String targetLanguage)
      In all documents of type Image 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.
      Image createImage​(Image image)
      Creates a new Image object.
      java.util.List<Image> createImages​(java.util.List<Image> list)
      Creates multiple new Image objects.
      void deleteImage​(java.lang.String id)
      Deletes a Image object by id.
      void deleteImage​(Image image)
      Deletes a Image object.
      void deleteImages​(java.util.List<Image> list)
      Deletes multiple Image 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 executeQueryOnImages​(net.anotheria.anodoc.query2.DocumentQuery query)
      Executes a query.
      net.anotheria.util.xml.XMLNode exportImagesToXML​(java.lang.String[] languages, java.util.List<Image> listImages)
      creates an xml element with selected contained data but only selected languages in multilingual attributes
      net.anotheria.util.xml.XMLNode exportImagesToXML​(java.util.List<Image> listImages)
      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 fetchImage​(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)
      Create json object list dependencies for this Image document.
      Image getImage​(java.lang.String id)
      Returns the Image object with the specified id.
      java.util.List<Image> getImages()
      Returns all Images objects stored.
      java.util.List<Image> getImages​(net.anotheria.util.slicer.Segment aSegment)
      Returns Images objects segment.
      java.util.List<Image> getImages​(net.anotheria.util.sorter.SortType sortType)
      Returns all Images objects sorted by given sortType.
      java.util.List<Image> getImagesByProperty​(java.lang.String propertyName, java.lang.Object value)
      Returns all Image objects, where property with given name equals object.
      java.util.List<Image> getImagesByProperty​(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
      Returns all Image objects, where property with given name equals object, sorted.
      java.util.List<Image> getImagesByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
      Returns all Image objects, where property matches.
      java.util.List<Image> getImagesByProperty​(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)
      Returns Image objects segment, where property matches.
      java.util.List<Image> getImagesByProperty​(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
      Returns Image objects segment, where property matches, sorted.
      java.util.List<Image> getImagesByProperty​(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
      Returns all Image objects, where property matches, sorted.
      int getImagesCount()
      Returns all Images count.
      Image importImage​(Image image)
      Imports a new Image object.
      java.util.List<Image> importImages​(java.util.List<Image> list)
      Imports multiple new Image object.
      Image updateImage​(Image image)
      Updates a Image object.
      java.util.List<Image> updateImages​(java.util.List<Image> list)
      Updates multiple Image objects.
      • Methods inherited from interface net.anotheria.asg.service.ASGService

        addServiceListener, hasServiceListeners, removeServiceListener