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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrandFeaturecreateBrandFeature(BrandFeature brandfeature)Creates a new BrandFeature object.java.util.List<BrandFeature>createBrandFeatures(java.util.List<BrandFeature> list)Creates multiple new BrandFeature objects.FeaturecreateFeature(Feature feature)Creates a new Feature object.java.util.List<Feature>createFeatures(java.util.List<Feature> list)Creates multiple new Feature objects.voiddeleteBrandFeature(java.lang.String id)Deletes a BrandFeature object by id.voiddeleteBrandFeature(BrandFeature brandfeature)Deletes a BrandFeature object.voiddeleteBrandFeatures(java.util.List<BrandFeature> list)Deletes multiple BrandFeature object.voiddeleteFeature(java.lang.String id)Deletes a Feature object by id.voiddeleteFeature(Feature feature)Deletes a Feature object.voiddeleteFeatures(java.util.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(java.util.List<BrandFeature> listBrandFeatures)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportFeaturesToXML(java.util.List<Feature> listFeatures)Creates an xml element with selected contained data.net.anotheria.util.xml.XMLNodeexportToXML()creates an xml element with all contained data.voidfetchBrandFeature(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this BrandFeature document.voidfetchFeature(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data)Create json object list dependencies for this Feature document.BrandFeaturegetBrandFeature(java.lang.String id)Returns the BrandFeature object with the specified id.java.util.List<BrandFeature>getBrandFeatures()Returns all BrandFeatures objects stored.java.util.List<BrandFeature>getBrandFeatures(net.anotheria.util.slicer.Segment aSegment)Returns BrandFeatures objects segment.java.util.List<BrandFeature>getBrandFeatures(net.anotheria.util.sorter.SortType sortType)Returns all BrandFeatures objects sorted by given sortType.java.util.List<BrandFeature>getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all BrandFeature objects, where property with given name equals object.java.util.List<BrandFeature>getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all BrandFeature objects, where property with given name equals object, sorted.java.util.List<BrandFeature>getBrandFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all BrandFeature objects, where property matches.java.util.List<BrandFeature>getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns BrandFeature objects segment, where property matches.java.util.List<BrandFeature>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.java.util.List<BrandFeature>getBrandFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all BrandFeature objects, where property matches, sorted.intgetBrandFeaturesCount()Returns all BrandFeatures count.FeaturegetFeature(java.lang.String id)Returns the Feature object with the specified id.java.util.List<Feature>getFeatures()Returns all Features objects stored.java.util.List<Feature>getFeatures(net.anotheria.util.slicer.Segment aSegment)Returns Features objects segment.java.util.List<Feature>getFeatures(net.anotheria.util.sorter.SortType sortType)Returns all Features objects sorted by given sortType.java.util.List<Feature>getFeaturesByProperty(java.lang.String propertyName, java.lang.Object value)Returns all Feature objects, where property with given name equals object.java.util.List<Feature>getFeaturesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)Returns all Feature objects, where property with given name equals object, sorted.java.util.List<Feature>getFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)Returns all Feature objects, where property matches.java.util.List<Feature>getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... aProperty)Returns Feature objects segment, where property matches.java.util.List<Feature>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.java.util.List<Feature>getFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)Returns all Feature objects, where property matches, sorted.intgetFeaturesCount()Returns all Features count.BrandFeatureimportBrandFeature(BrandFeature brandfeature)Imports a new BrandFeature object.java.util.List<BrandFeature>importBrandFeatures(java.util.List<BrandFeature> list)Imports multiple new BrandFeature object.FeatureimportFeature(Feature feature)Imports a new Feature object.java.util.List<Feature>importFeatures(java.util.List<Feature> list)Imports multiple new Feature object.BrandFeatureupdateBrandFeature(BrandFeature brandfeature)Updates a BrandFeature object.java.util.List<BrandFeature>updateBrandFeatures(java.util.List<BrandFeature> list)Updates multiple BrandFeature objects.FeatureupdateFeature(Feature feature)Updates a Feature object.java.util.List<Feature>updateFeatures(java.util.List<Feature> list)Updates multiple Feature objects.
-
-
-
Method Detail
-
getFeatures
java.util.List<Feature> getFeatures() throws ASFeatureServiceException
Returns all Features objects stored.- Throws:
ASFeatureServiceException
-
getFeatures
java.util.List<Feature> getFeatures(net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException
Returns all Features objects sorted by given sortType.- Throws:
ASFeatureServiceException
-
deleteFeature
void deleteFeature(java.lang.String id) throws ASFeatureServiceExceptionDeletes a Feature object by id.- Throws:
ASFeatureServiceException
-
deleteFeature
void deleteFeature(Feature feature) throws ASFeatureServiceException
Deletes a Feature object.- Throws:
ASFeatureServiceException
-
deleteFeatures
void deleteFeatures(java.util.List<Feature> list) throws ASFeatureServiceException
Deletes multiple Feature object.- Throws:
ASFeatureServiceException
-
getFeature
Feature getFeature(java.lang.String id) throws ASFeatureServiceException
Returns the Feature object with the specified id.- Throws:
ASFeatureServiceException
-
importFeature
Feature importFeature(Feature feature) throws ASFeatureServiceException
Imports a new Feature object. Returns the created version.- Throws:
ASFeatureServiceException
-
importFeatures
java.util.List<Feature> importFeatures(java.util.List<Feature> list) throws ASFeatureServiceException
Imports multiple new Feature object. Returns the created versions.- Throws:
ASFeatureServiceException
-
createFeature
Feature createFeature(Feature feature) throws ASFeatureServiceException
Creates a new Feature object. Returns the created version.- Throws:
ASFeatureServiceException
-
createFeatures
java.util.List<Feature> createFeatures(java.util.List<Feature> list) throws ASFeatureServiceException
Creates multiple new Feature objects. Returns the created versions.- Throws:
ASFeatureServiceException
-
updateFeature
Feature updateFeature(Feature feature) throws ASFeatureServiceException
Updates a Feature object. Returns the updated version.- Throws:
ASFeatureServiceException
-
updateFeatures
java.util.List<Feature> updateFeatures(java.util.List<Feature> list) throws ASFeatureServiceException
Updates multiple Feature objects. Returns the updated versions.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
java.util.List<Feature> getFeaturesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASFeatureServiceException
Returns all Feature objects, where property with given name equals object.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
java.util.List<Feature> getFeaturesByProperty(java.lang.String propertyName, java.lang.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 ASFeatureServiceExceptionExecutes a query.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
java.util.List<Feature> getFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException
Returns all Feature objects, where property matches.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
java.util.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
int getFeaturesCount() throws ASFeatureServiceExceptionReturns all Features count.- Throws:
ASFeatureServiceException
-
getFeatures
java.util.List<Feature> getFeatures(net.anotheria.util.slicer.Segment aSegment) throws ASFeatureServiceException
Returns Features objects segment.- Throws:
ASFeatureServiceException
-
getFeaturesByProperty
java.util.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
java.util.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(java.util.List<Feature> listFeatures) throws ASFeatureServiceException
Creates an xml element with selected contained data.- Throws:
ASFeatureServiceException
-
fetchFeature
void fetchFeature(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFeatureServiceExceptionCreate json object list dependencies for this Feature document.- Throws:
ASFeatureServiceException
-
getBrandFeatures
java.util.List<BrandFeature> getBrandFeatures() throws ASFeatureServiceException
Returns all BrandFeatures objects stored.- Throws:
ASFeatureServiceException
-
getBrandFeatures
java.util.List<BrandFeature> getBrandFeatures(net.anotheria.util.sorter.SortType sortType) throws ASFeatureServiceException
Returns all BrandFeatures objects sorted by given sortType.- Throws:
ASFeatureServiceException
-
deleteBrandFeature
void deleteBrandFeature(java.lang.String id) throws ASFeatureServiceExceptionDeletes a BrandFeature object by id.- Throws:
ASFeatureServiceException
-
deleteBrandFeature
void deleteBrandFeature(BrandFeature brandfeature) throws ASFeatureServiceException
Deletes a BrandFeature object.- Throws:
ASFeatureServiceException
-
deleteBrandFeatures
void deleteBrandFeatures(java.util.List<BrandFeature> list) throws ASFeatureServiceException
Deletes multiple BrandFeature object.- Throws:
ASFeatureServiceException
-
getBrandFeature
BrandFeature getBrandFeature(java.lang.String id) throws ASFeatureServiceException
Returns the BrandFeature object with the specified id.- Throws:
ASFeatureServiceException
-
importBrandFeature
BrandFeature importBrandFeature(BrandFeature brandfeature) throws ASFeatureServiceException
Imports a new BrandFeature object. Returns the created version.- Throws:
ASFeatureServiceException
-
importBrandFeatures
java.util.List<BrandFeature> importBrandFeatures(java.util.List<BrandFeature> list) throws ASFeatureServiceException
Imports multiple new BrandFeature object. Returns the created versions.- Throws:
ASFeatureServiceException
-
createBrandFeature
BrandFeature createBrandFeature(BrandFeature brandfeature) throws ASFeatureServiceException
Creates a new BrandFeature object. Returns the created version.- Throws:
ASFeatureServiceException
-
createBrandFeatures
java.util.List<BrandFeature> createBrandFeatures(java.util.List<BrandFeature> list) throws ASFeatureServiceException
Creates multiple new BrandFeature objects. Returns the created versions.- Throws:
ASFeatureServiceException
-
updateBrandFeature
BrandFeature updateBrandFeature(BrandFeature brandfeature) throws ASFeatureServiceException
Updates a BrandFeature object. Returns the updated version.- Throws:
ASFeatureServiceException
-
updateBrandFeatures
java.util.List<BrandFeature> updateBrandFeatures(java.util.List<BrandFeature> list) throws ASFeatureServiceException
Updates multiple BrandFeature objects. Returns the updated versions.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
java.util.List<BrandFeature> getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.Object value) throws ASFeatureServiceException
Returns all BrandFeature objects, where property with given name equals object.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
java.util.List<BrandFeature> getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.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 ASFeatureServiceExceptionExecutes a query.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
java.util.List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property) throws ASFeatureServiceException
Returns all BrandFeature objects, where property matches.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
java.util.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
int getBrandFeaturesCount() throws ASFeatureServiceExceptionReturns all BrandFeatures count.- Throws:
ASFeatureServiceException
-
getBrandFeatures
java.util.List<BrandFeature> getBrandFeatures(net.anotheria.util.slicer.Segment aSegment) throws ASFeatureServiceException
Returns BrandFeatures objects segment.- Throws:
ASFeatureServiceException
-
getBrandFeaturesByProperty
java.util.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
java.util.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(java.util.List<BrandFeature> listBrandFeatures) throws ASFeatureServiceException
Creates an xml element with selected contained data.- Throws:
ASFeatureServiceException
-
fetchBrandFeature
void fetchBrandFeature(java.lang.String id, java.util.Set<java.lang.String> addedDocuments, org.codehaus.jettison.json.JSONArray data) throws ASFeatureServiceExceptionCreate json object list dependencies for this BrandFeature document.- Throws:
ASFeatureServiceException
-
executeParsingForDocument
void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASFeatureServiceException
Save transferred document by its own type.- Throws:
ASFeatureServiceException
-
executeQueryOnAllObjects
net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query) throws ASFeatureServiceExceptionExecutes a query on all data objects (documents, vo) which are part of this module and managed by this service.- Throws:
ASFeatureServiceException
-
exportToXML
net.anotheria.util.xml.XMLNode exportToXML() throws ASFeatureServiceExceptioncreates an xml element with all contained data.- Throws:
ASFeatureServiceException
-
-