public class ASFeatureServiceImpl extends BasicCMSService implements IASFeatureService, net.anotheria.asg.util.listener.IModuleListener
MY_OWNER_ID, servicelog| Modifier and Type | Method and Description |
|---|---|
BrandFeature |
createBrandFeature(BrandFeature brandfeature)
Creates a new BrandFeature object.
|
java.util.List<BrandFeature> |
createBrandFeatures(java.util.List<BrandFeature> list)
Creates multiple new BrandFeature objects.
|
Feature |
createFeature(Feature feature)
Creates a new Feature object.
|
java.util.List<Feature> |
createFeatures(java.util.List<Feature> list)
Creates multiple new Feature objects.
|
void |
deleteBrandFeature(BrandFeature brandfeature)
Deletes a BrandFeature object.
|
void |
deleteBrandFeature(java.lang.String id)
Deletes a BrandFeature object by id.
|
void |
deleteBrandFeatures(java.util.List<BrandFeature> list)
Deletes multiple BrandFeature object.
|
void |
deleteFeature(Feature feature)
Deletes a Feature object.
|
void |
deleteFeature(java.lang.String id)
Deletes a Feature object by id.
|
void |
deleteFeatures(java.util.List<Feature> list)
Deletes multiple Feature 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 |
executeQueryOnBrandFeatures(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on BrandFeatures
|
net.anotheria.anodoc.query2.QueryResult |
executeQueryOnFeatures(net.anotheria.anodoc.query2.DocumentQuery query)
Executes a query on Features
|
net.anotheria.util.xml.XMLNode |
exportBrandFeaturesToXML() |
net.anotheria.util.xml.XMLNode |
exportBrandFeaturesToXML(java.util.List<BrandFeature> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportFeaturesToXML() |
net.anotheria.util.xml.XMLNode |
exportFeaturesToXML(java.util.List<Feature> list)
Creates an xml element with selected contained data.
|
net.anotheria.util.xml.XMLNode |
exportToXML()
creates an xml element with all contained data.
|
void |
fetchBrandFeature(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.
|
void |
fetchFeature(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.
|
BrandFeature |
getBrandFeature(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(java.util.List<java.lang.String> ids)
Returns the BrandFeature objects with the specified ids.
|
java.util.List<BrandFeature> |
getBrandFeatures(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the BrandFeature objects with the specified ids, sorted by given sorttype.
|
java.util.List<BrandFeature> |
getBrandFeatures(net.anotheria.util.slicer.Segment aSegment)
Returns BrandFeature 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(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... property)
Returns BrandFeature objects segment, where property matched.
|
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 matched, 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
|
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.
|
int |
getBrandFeaturesCount()
Returns BrandFeature objects count.
|
Feature |
getFeature(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(java.util.List<java.lang.String> ids)
Returns the Feature objects with the specified ids.
|
java.util.List<Feature> |
getFeatures(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the Feature objects with the specified ids, sorted by given sorttype.
|
java.util.List<Feature> |
getFeatures(net.anotheria.util.slicer.Segment aSegment)
Returns Feature 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(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... property)
Returns Feature objects segment, where property matched.
|
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 matched, 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
|
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.
|
int |
getFeaturesCount()
Returns Feature objects count.
|
BrandFeature |
importBrandFeature(BrandFeature brandfeature)
Imports a new BrandFeature object.
|
java.util.List<BrandFeature> |
importBrandFeatures(java.util.List<BrandFeature> list)
Imports multiple new BrandFeature object.
|
Feature |
importFeature(Feature feature)
Imports a new Feature object.
|
java.util.List<Feature> |
importFeatures(java.util.List<Feature> list)
Imports multiple new Feature object.
|
void |
moduleLoaded(net.anotheria.anodoc.data.Module module) |
BrandFeature |
updateBrandFeature(BrandFeature brandfeature)
Updates a BrandFeature object.
|
java.util.List<BrandFeature> |
updateBrandFeatures(java.util.List<BrandFeature> list)
Updates multiple BrandFeature objects.
|
Feature |
updateFeature(Feature feature)
Updates a Feature object.
|
java.util.List<Feature> |
updateFeatures(java.util.List<Feature> list)
Updates multiple Feature objects.
|
addModuleListener, getModule, updateModulegetAnoAccessApplicationDataService, getAnoAccessConfigurationService, getASActionService, getASBrandService, getASCustomActionService, getASCustomDataService, getASExperimentService, getASFeatureService, getASFederatedDataService, getASGenericActionService, getASGenericDataService, getASLayoutDataService, getASResourceDataService, getASSiteConfigService, getASSiteDataService, getASUserDataService, getASWebDataService, getASWizardDataService, getImagesServiceaddServiceListener, fireObjectCreatedEvent, fireObjectDeletedEvent, fireObjectImportedEvent, fireObjectUpdatedEvent, firePersistenceChangedEvent, hasServiceListeners, removeServiceListenerpublic void moduleLoaded(net.anotheria.anodoc.data.Module module)
moduleLoaded in interface net.anotheria.asg.util.listener.IModuleListenerpublic java.util.List<Feature> getFeatures()
IASFeatureServicegetFeatures in interface IASFeatureServicepublic java.util.List<Feature> getFeatures(net.anotheria.util.sorter.SortType sortType)
IASFeatureServicegetFeatures in interface IASFeatureServicepublic java.util.List<Feature> getFeatures(java.util.List<java.lang.String> ids)
public java.util.List<Feature> getFeatures(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deleteFeature(Feature feature)
IASFeatureServicedeleteFeature in interface IASFeatureServicepublic void deleteFeature(java.lang.String id)
IASFeatureServicedeleteFeature in interface IASFeatureServicepublic void deleteFeatures(java.util.List<Feature> list)
IASFeatureServicedeleteFeatures in interface IASFeatureServicepublic Feature getFeature(java.lang.String id)
IASFeatureServicegetFeature in interface IASFeatureServicepublic Feature importFeature(Feature feature)
IASFeatureServiceimportFeature in interface IASFeatureServicepublic java.util.List<Feature> importFeatures(java.util.List<Feature> list)
IASFeatureServiceimportFeatures in interface IASFeatureServicepublic Feature createFeature(Feature feature)
IASFeatureServicecreateFeature in interface IASFeatureServicepublic java.util.List<Feature> createFeatures(java.util.List<Feature> list)
IASFeatureServicecreateFeatures in interface IASFeatureServicepublic Feature updateFeature(Feature feature)
IASFeatureServiceupdateFeature in interface IASFeatureServicepublic java.util.List<Feature> updateFeatures(java.util.List<Feature> list)
IASFeatureServiceupdateFeatures in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(java.lang.String propertyName, java.lang.Object value)
IASFeatureServicegetFeaturesByProperty in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASFeatureServicegetFeaturesByProperty in interface IASFeatureServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnFeatures(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnFeatures in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getFeaturesByProperty in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getFeaturesByProperty in interface IASFeatureServicepublic int getFeaturesCount()
getFeaturesCount in interface IASFeatureServicepublic java.util.List<Feature> getFeatures(net.anotheria.util.slicer.Segment aSegment)
getFeatures in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getFeaturesByProperty in interface IASFeatureServicepublic java.util.List<Feature> getFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getFeaturesByProperty in interface IASFeatureServicepublic void fetchFeature(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASFeatureServiceException
IASFeatureServicefetchFeature in interface IASFeatureServiceASFeatureServiceExceptionpublic java.util.List<BrandFeature> getBrandFeatures()
IASFeatureServicegetBrandFeatures in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeatures(net.anotheria.util.sorter.SortType sortType)
IASFeatureServicegetBrandFeatures in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeatures(java.util.List<java.lang.String> ids)
public java.util.List<BrandFeature> getBrandFeatures(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deleteBrandFeature(BrandFeature brandfeature)
IASFeatureServicedeleteBrandFeature in interface IASFeatureServicepublic void deleteBrandFeature(java.lang.String id)
IASFeatureServicedeleteBrandFeature in interface IASFeatureServicepublic void deleteBrandFeatures(java.util.List<BrandFeature> list)
IASFeatureServicedeleteBrandFeatures in interface IASFeatureServicepublic BrandFeature getBrandFeature(java.lang.String id)
IASFeatureServicegetBrandFeature in interface IASFeatureServicepublic BrandFeature importBrandFeature(BrandFeature brandfeature)
IASFeatureServiceimportBrandFeature in interface IASFeatureServicepublic java.util.List<BrandFeature> importBrandFeatures(java.util.List<BrandFeature> list)
IASFeatureServiceimportBrandFeatures in interface IASFeatureServicepublic BrandFeature createBrandFeature(BrandFeature brandfeature)
IASFeatureServicecreateBrandFeature in interface IASFeatureServicepublic java.util.List<BrandFeature> createBrandFeatures(java.util.List<BrandFeature> list)
IASFeatureServicecreateBrandFeatures in interface IASFeatureServicepublic BrandFeature updateBrandFeature(BrandFeature brandfeature)
IASFeatureServiceupdateBrandFeature in interface IASFeatureServicepublic java.util.List<BrandFeature> updateBrandFeatures(java.util.List<BrandFeature> list)
IASFeatureServiceupdateBrandFeatures in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.Object value)
IASFeatureServicegetBrandFeaturesByProperty in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASFeatureServicegetBrandFeaturesByProperty in interface IASFeatureServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnBrandFeatures(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnBrandFeatures in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getBrandFeaturesByProperty in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getBrandFeaturesByProperty in interface IASFeatureServicepublic int getBrandFeaturesCount()
getBrandFeaturesCount in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeatures(net.anotheria.util.slicer.Segment aSegment)
getBrandFeatures in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getBrandFeaturesByProperty in interface IASFeatureServicepublic java.util.List<BrandFeature> getBrandFeaturesByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getBrandFeaturesByProperty in interface IASFeatureServicepublic void fetchBrandFeature(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASFeatureServiceException
IASFeatureServicefetchBrandFeature in interface IASFeatureServiceASFeatureServiceExceptionpublic void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASFeatureServiceException
IASFeatureServiceexecuteParsingForDocument in interface IASFeatureServiceASFeatureServiceExceptionpublic net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnAllObjects in interface IASFeatureServicepublic net.anotheria.util.xml.XMLNode exportFeaturesToXML()
public net.anotheria.util.xml.XMLNode exportFeaturesToXML(java.util.List<Feature> list)
IASFeatureServiceexportFeaturesToXML in interface IASFeatureServicepublic net.anotheria.util.xml.XMLNode exportBrandFeaturesToXML()
public net.anotheria.util.xml.XMLNode exportBrandFeaturesToXML(java.util.List<BrandFeature> list)
IASFeatureServiceexportBrandFeaturesToXML in interface IASFeatureServicepublic net.anotheria.util.xml.XMLNode exportToXML()
IASFeatureServiceexportToXML in interface IASFeatureServiceCopyright © 2012-2023 anotheria.net. All Rights Reserved.