public interface IASBrandService
extends net.anotheria.asg.service.ASGService
| Modifier and Type | Method and 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(Brand brand)
Deletes a Brand object.
|
void |
deleteBrand(java.lang.String id)
Deletes a Brand object by id.
|
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(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.
|
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.
|
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.
|
java.util.List<Brand> getBrands() throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrands(net.anotheria.util.sorter.SortType sortType) throws ASBrandServiceException
ASBrandServiceExceptionvoid deleteBrand(java.lang.String id)
throws ASBrandServiceException
ASBrandServiceExceptionvoid deleteBrand(Brand brand) throws ASBrandServiceException
ASBrandServiceExceptionvoid deleteBrands(java.util.List<Brand> list) throws ASBrandServiceException
ASBrandServiceExceptionBrand getBrand(java.lang.String id) throws ASBrandServiceException
ASBrandServiceExceptionBrand importBrand(Brand brand) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> importBrands(java.util.List<Brand> list) throws ASBrandServiceException
ASBrandServiceExceptionBrand createBrand(Brand brand) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> createBrands(java.util.List<Brand> list) throws ASBrandServiceException
ASBrandServiceExceptionBrand updateBrand(Brand brand) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> updateBrands(java.util.List<Brand> list) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(java.lang.String propertyName, java.lang.Object value) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType) throws ASBrandServiceException
ASBrandServiceExceptionnet.anotheria.anodoc.query2.QueryResult executeQueryOnBrands(net.anotheria.anodoc.query2.DocumentQuery query)
throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASBrandServiceException
ASBrandServiceExceptionint getBrandsCount()
throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrands(net.anotheria.util.slicer.Segment aSegment) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASBrandServiceException
ASBrandServiceExceptionjava.util.List<Brand> getBrandsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASBrandServiceException
ASBrandServiceExceptionnet.anotheria.util.xml.XMLNode exportBrandsToXML(java.util.List<Brand> listBrands) throws ASBrandServiceException
ASBrandServiceExceptionvoid fetchBrand(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASBrandServiceException
ASBrandServiceExceptionvoid executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASBrandServiceException
ASBrandServiceExceptionnet.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
throws ASBrandServiceException
ASBrandServiceExceptionnet.anotheria.util.xml.XMLNode exportToXML()
throws ASBrandServiceException
ASBrandServiceExceptionCopyright © 2012-2023 anotheria.net. All Rights Reserved.