Interface IASBrandService

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Brand createBrand​(Brand brand)
      Creates a new Brand object.
      java.util.List<Brand> createBrands​(java.util.List<Brand> list)
      Creates multiple new Brand objects.
      void deleteBrand​(java.lang.String id)
      Deletes a Brand object by id.
      void deleteBrand​(Brand brand)
      Deletes a Brand object.
      void deleteBrands​(java.util.List<Brand> list)
      Deletes multiple Brand 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 executeQueryOnBrands​(net.anotheria.anodoc.query2.DocumentQuery query)
      Executes a query.
      net.anotheria.util.xml.XMLNode exportBrandsToXML​(java.util.List<Brand> listBrands)
      Creates an xml element with selected contained data.
      net.anotheria.util.xml.XMLNode exportToXML()
      creates an xml element with all contained data.
      void fetchBrand​(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)
      Create json object list dependencies for this Brand document.
      Brand getBrand​(java.lang.String id)
      Returns the Brand object with the specified id.
      java.util.List<Brand> getBrands()
      Returns all Brands objects stored.
      java.util.List<Brand> getBrands​(net.anotheria.util.slicer.Segment aSegment)
      Returns Brands objects segment.
      java.util.List<Brand> getBrands​(net.anotheria.util.sorter.SortType sortType)
      Returns all Brands objects sorted by given sortType.
      java.util.List<Brand> getBrandsByProperty​(java.lang.String propertyName, java.lang.Object value)
      Returns all Brand objects, where property with given name equals object.
      java.util.List<Brand> getBrandsByProperty​(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
      Returns all Brand objects, where property with given name equals object, sorted.
      java.util.List<Brand> getBrandsByProperty​(net.anotheria.anodoc.query2.QueryProperty... property)
      Returns all Brand objects, where property matches.
      java.util.List<Brand> getBrandsByProperty​(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)
      Returns Brand objects segment, where property matches.
      java.util.List<Brand> getBrandsByProperty​(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
      Returns Brand objects segment, where property matches, sorted.
      java.util.List<Brand> getBrandsByProperty​(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
      Returns all Brand objects, where property matches, sorted.
      int getBrandsCount()
      Returns all Brands count.
      Brand importBrand​(Brand brand)
      Imports a new Brand object.
      java.util.List<Brand> importBrands​(java.util.List<Brand> list)
      Imports multiple new Brand object.
      Brand updateBrand​(Brand brand)
      Updates a Brand object.
      java.util.List<Brand> updateBrands​(java.util.List<Brand> list)
      Updates multiple Brand objects.
      • Methods inherited from interface net.anotheria.asg.service.ASGService

        addServiceListener, hasServiceListeners, removeServiceListener