Interface IASFeatureService
- All Superinterfaces:
net.anotheria.asg.service.ASGService,net.anotheria.anoprise.metafactory.Service
- All Known Implementing Classes:
ASFeatureServiceImpl
public interface IASFeatureService
extends net.anotheria.asg.service.ASGService
-
Method Summary
Modifier and TypeMethodDescriptioncreateBrandFeature(BrandFeature brandfeature) Creates a new BrandFeature object.createBrandFeatures(List<BrandFeature> list) Creates multiple new BrandFeature objects.createFeature(Feature feature) Creates a new Feature object.createFeatures(List<Feature> list) Creates multiple new Feature objects.voidDeletes a BrandFeature object by id.voiddeleteBrandFeature(BrandFeature brandfeature) Deletes a BrandFeature object.voiddeleteBrandFeatures(List<BrandFeature> list) Deletes multiple BrandFeature object.voiddeleteFeature(String id) Deletes a Feature object by id.voiddeleteFeature(Feature feature) Deletes a Feature object.voiddeleteFeatures(List<Feature> list) Deletes multiple Feature 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.QueryResultexecuteQueryOnBrandFeatures(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.anodoc.query2.QueryResultexecuteQueryOnFeatures(net.anotheria.anodoc.query2.DocumentQuery query) Executes a query.net.anotheria.util.xml.XMLNodeexportBrandFeaturesToXML(List<BrandFeature> listBrandFeatures) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportFeaturesToXML(List<Feature> listFeatures) Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodecreates an xml element with all contained data.voidfetchBrandFeature(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this BrandFeature document.voidfetchFeature(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) Create json object list dependencies for this Feature document.Returns the BrandFeature object with the specified id.Returns all BrandFeatures objects stored.getBrandFeatures(net.anotheria.util.slicer.Segment aSegment) Returns BrandFeatures objects segment.getBrandFeatures(net.anotheria.util.sorter.SortType sortType) Returns all BrandFeatures objects sorted by given sortType.getBrandFeaturesByProperty(String propertyName, Object value) Returns all BrandFeature objects, where property with given name equals object.getBrandFeaturesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all BrandFeature objects, where property with given name equals object, sorted.getBrandFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all BrandFeature objects, where property matches.getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BrandFeature objects segment, where property matches.getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns BrandFeature objects segment, where property matches, sorted.getBrandFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all BrandFeature objects, where property matches, sorted.intReturns all BrandFeatures count.getFeature(String id) Returns the Feature object with the specified id.Returns all Features objects stored.getFeatures(net.anotheria.util.slicer.Segment aSegment) Returns Features objects segment.getFeatures(net.anotheria.util.sorter.SortType sortType) Returns all Features objects sorted by given sortType.getFeaturesByProperty(String propertyName, Object value) Returns all Feature objects, where property with given name equals object.getFeaturesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) Returns all Feature objects, where property with given name equals object, sorted.getFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) Returns all Feature objects, where property matches.getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Feature objects segment, where property matches.getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) Returns Feature objects segment, where property matches, sorted.getFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) Returns all Feature objects, where property matches, sorted.intReturns all Features count.importBrandFeature(BrandFeature brandfeature) Imports a new BrandFeature object.importBrandFeatures(List<BrandFeature> list) Imports multiple new BrandFeature object.importFeature(Feature feature) Imports a new Feature object.importFeatures(List<Feature> list) Imports multiple new Feature object.updateBrandFeature(BrandFeature brandfeature) Updates a BrandFeature object.updateBrandFeatures(List<BrandFeature> list) Updates multiple BrandFeature objects.updateFeature(Feature feature) Updates a Feature object.updateFeatures(List<Feature> list) Updates multiple Feature objects.Methods inherited from interface net.anotheria.asg.service.ASGService
addServiceListener, hasServiceListeners, removeServiceListener
-
Method Details
-
getFeatures
Returns all Features objects stored.- Throws:
ASFeatureServiceException
-
getFeatures
List<Feature> getFeatures(net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException Returns all Features objects sorted by given sortType.- Throws:
ASFeatureServiceException
-
deleteFeature
Deletes a Feature object by id.- Throws:
ASFeatureServiceException
-
deleteFeature
Deletes a Feature object.- Throws:
ASFeatureServiceException
-
deleteFeatures
Deletes multiple Feature object.- Throws:
ASFeatureServiceException
-
getFeature
Returns the Feature object with the specified id.- Throws:
ASFeatureServiceException
-
importFeature
Imports a new Feature object. Returns the created version.- Throws:
ASFeatureServiceException
-
importFeatures
Imports multiple new Feature object. Returns the created versions.- Throws:
ASFeatureServiceException
-
createFeature
Creates a new Feature object. Returns the created version.- Throws:
ASFeatureServiceException
-
createFeatures
Creates multiple new Feature objects. Returns the created versions.- Throws:
ASFeatureServiceException
-
updateFeature
Updates a Feature object. Returns the updated version.- Throws:
ASFeatureServiceException
-
updateFeatures
Updates multiple Feature objects. Returns the updated versions.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(String propertyName, Object value) throws ASFeatureServiceException Returns all Feature objects, where property with given name equals object.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException Returns all Feature objects, where property with given name equals object, sorted.- Throws:
ASFeatureServiceException
-
executeQueryOnFeatures
net.anotheria.anodoc.query2.QueryResult executeQueryOnFeatures(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFeatureServiceException Executes a query.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException Returns all Feature objects, where property matches.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException Returns all Feature objects, where property matches, sorted.- Throws:
ASFeatureServiceException
-
getFeaturesCount
Returns all Features count.- Throws:
ASFeatureServiceException
-
getFeatures
List<Feature> getFeatures(net.anotheria.util.slicer.Segment aSegment) throws ASFeatureServiceException Returns Features objects segment.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFeatureServiceException Returns Feature objects segment, where property matches.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
List<Feature> getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFeatureServiceException Returns Feature objects segment, where property matches, sorted.- Throws:
ASFeatureServiceException
-
exportFeaturesToXML
net.anotheria.util.xml.XMLNode exportFeaturesToXML(List<Feature> listFeatures) throws ASFeatureServiceException Creates an xml element with selected contained data.- Throws:
ASFeatureServiceException
-
fetchFeature
void fetchFeature(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFeatureServiceException Create json object list dependencies for this Feature document.- Throws:
ASFeatureServiceException
-
getBrandFeatures
Returns all BrandFeatures objects stored.- Throws:
ASFeatureServiceException
-
getBrandFeatures
List<BrandFeature> getBrandFeatures(net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException Returns all BrandFeatures objects sorted by given sortType.- Throws:
ASFeatureServiceException
-
deleteBrandFeature
Deletes a BrandFeature object by id.- Throws:
ASFeatureServiceException
-
deleteBrandFeature
Deletes a BrandFeature object.- Throws:
ASFeatureServiceException
-
deleteBrandFeatures
Deletes multiple BrandFeature object.- Throws:
ASFeatureServiceException
-
getBrandFeature
Returns the BrandFeature object with the specified id.- Throws:
ASFeatureServiceException
-
importBrandFeature
Imports a new BrandFeature object. Returns the created version.- Throws:
ASFeatureServiceException
-
importBrandFeatures
Imports multiple new BrandFeature object. Returns the created versions.- Throws:
ASFeatureServiceException
-
createBrandFeature
Creates a new BrandFeature object. Returns the created version.- Throws:
ASFeatureServiceException
-
createBrandFeatures
Creates multiple new BrandFeature objects. Returns the created versions.- Throws:
ASFeatureServiceException
-
updateBrandFeature
Updates a BrandFeature object. Returns the updated version.- Throws:
ASFeatureServiceException
-
updateBrandFeatures
Updates multiple BrandFeature objects. Returns the updated versions.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(String propertyName, Object value) throws ASFeatureServiceException Returns all BrandFeature objects, where property with given name equals object.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(String propertyName, Object value, net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException Returns all BrandFeature objects, where property with given name equals object, sorted.- Throws:
ASFeatureServiceException
-
executeQueryOnBrandFeatures
net.anotheria.anodoc.query2.QueryResult executeQueryOnBrandFeatures(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFeatureServiceException Executes a query.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException Returns all BrandFeature objects, where property matches.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException Returns all BrandFeature objects, where property matches, sorted.- Throws:
ASFeatureServiceException
-
getBrandFeaturesCount
Returns all BrandFeatures count.- Throws:
ASFeatureServiceException
-
getBrandFeatures
List<BrandFeature> getBrandFeatures(net.anotheria.util.slicer.Segment aSegment) throws ASFeatureServiceException Returns BrandFeatures objects segment.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFeatureServiceException Returns BrandFeature objects segment, where property matches.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty) throws ASFeatureServiceException Returns BrandFeature objects segment, where property matches, sorted.- Throws:
ASFeatureServiceException
-
exportBrandFeaturesToXML
net.anotheria.util.xml.XMLNode exportBrandFeaturesToXML(List<BrandFeature> listBrandFeatures) throws ASFeatureServiceException Creates an xml element with selected contained data.- Throws:
ASFeatureServiceException
-
fetchBrandFeature
void fetchBrandFeature(String id, Set<String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFeatureServiceException Create json object list dependencies for this BrandFeature document.- Throws:
ASFeatureServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFeatureServiceException Executes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASFeatureServiceException
-
exportToXML
creates an xml element with all contained data.- Throws:
ASFeatureServiceException
-