public class ASBrandServiceImpl extends BasicCMSService implements IASBrandService, net.anotheria.asg.util.listener.IModuleListener
MY_OWNER_ID, servicelog| 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 on Brands
|
net.anotheria.util.xml.XMLNode |
exportBrandsToXML() |
net.anotheria.util.xml.XMLNode |
exportBrandsToXML(java.util.List<Brand> list)
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(java.util.List<java.lang.String> ids)
Returns the Brand objects with the specified ids.
|
java.util.List<Brand> |
getBrands(java.util.List<java.lang.String> ids,
net.anotheria.util.sorter.SortType sortType)
Returns the Brand objects with the specified ids, sorted by given sorttype.
|
java.util.List<Brand> |
getBrands(net.anotheria.util.slicer.Segment aSegment)
Returns Brand 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... property)
Returns Brand objects segment, where property matched.
|
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 matched, 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 Brand objects 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.
|
void |
moduleLoaded(net.anotheria.anodoc.data.Module module) |
Brand |
updateBrand(Brand brand)
Updates a Brand object.
|
java.util.List<Brand> |
updateBrands(java.util.List<Brand> list)
Updates multiple Brand 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<Brand> getBrands()
IASBrandServicegetBrands in interface IASBrandServicepublic java.util.List<Brand> getBrands(net.anotheria.util.sorter.SortType sortType)
IASBrandServicegetBrands in interface IASBrandServicepublic java.util.List<Brand> getBrands(java.util.List<java.lang.String> ids)
public java.util.List<Brand> getBrands(java.util.List<java.lang.String> ids, net.anotheria.util.sorter.SortType sortType)
public void deleteBrand(Brand brand)
IASBrandServicedeleteBrand in interface IASBrandServicepublic void deleteBrand(java.lang.String id)
IASBrandServicedeleteBrand in interface IASBrandServicepublic void deleteBrands(java.util.List<Brand> list)
IASBrandServicedeleteBrands in interface IASBrandServicepublic Brand getBrand(java.lang.String id)
IASBrandServicegetBrand in interface IASBrandServicepublic Brand importBrand(Brand brand)
IASBrandServiceimportBrand in interface IASBrandServicepublic java.util.List<Brand> importBrands(java.util.List<Brand> list)
IASBrandServiceimportBrands in interface IASBrandServicepublic Brand createBrand(Brand brand)
IASBrandServicecreateBrand in interface IASBrandServicepublic java.util.List<Brand> createBrands(java.util.List<Brand> list)
IASBrandServicecreateBrands in interface IASBrandServicepublic Brand updateBrand(Brand brand)
IASBrandServiceupdateBrand in interface IASBrandServicepublic java.util.List<Brand> updateBrands(java.util.List<Brand> list)
IASBrandServiceupdateBrands in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(java.lang.String propertyName, java.lang.Object value)
IASBrandServicegetBrandsByProperty in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(java.lang.String propertyName, java.lang.Object value, net.anotheria.util.sorter.SortType sortType)
IASBrandServicegetBrandsByProperty in interface IASBrandServicepublic net.anotheria.anodoc.query2.QueryResult executeQueryOnBrands(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnBrands in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(net.anotheria.anodoc.query2.QueryProperty... property)
getBrandsByProperty in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(net.anotheria.util.sorter.SortType sortType, net.anotheria.anodoc.query2.QueryProperty... property)
getBrandsByProperty in interface IASBrandServicepublic int getBrandsCount()
getBrandsCount in interface IASBrandServicepublic java.util.List<Brand> getBrands(net.anotheria.util.slicer.Segment aSegment)
getBrands in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.anodoc.query2.QueryProperty... property)
getBrandsByProperty in interface IASBrandServicepublic java.util.List<Brand> getBrandsByProperty(net.anotheria.util.slicer.Segment aSegment, net.anotheria.util.sorter.SortType aSortType, net.anotheria.anodoc.query2.QueryProperty... aProperty)
getBrandsByProperty in interface IASBrandServicepublic void fetchBrand(java.lang.String id,
java.util.Set<java.lang.String> addedDocuments,
org.codehaus.jettison.json.JSONArray data)
throws ASBrandServiceException
IASBrandServicefetchBrand in interface IASBrandServiceASBrandServiceExceptionpublic void executeParsingForDocument(DocumentName documentName, org.codehaus.jettison.json.JSONObject data) throws ASBrandServiceException
IASBrandServiceexecuteParsingForDocument in interface IASBrandServiceASBrandServiceExceptionpublic net.anotheria.anodoc.query2.QueryResult executeQueryOnAllObjects(net.anotheria.anodoc.query2.DocumentQuery query)
executeQueryOnAllObjects in interface IASBrandServicepublic net.anotheria.util.xml.XMLNode exportBrandsToXML()
public net.anotheria.util.xml.XMLNode exportBrandsToXML(java.util.List<Brand> list)
IASBrandServiceexportBrandsToXML in interface IASBrandServicepublic net.anotheria.util.xml.XMLNode exportToXML()
IASBrandServiceexportToXML in interface IASBrandServiceCopyright © 2012-2023 anotheria.net. All Rights Reserved.