Interface DataManagerService
-
- All Known Implementing Classes:
DataManagerServiceImpl
public interface DataManagerService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAttributeToAllProducts(java.lang.String attributeId)
This method associates all specified attribute identifiers with all productsvoid
addAttributeToAllSkus(java.lang.String attributeId)
This method associates all specified attribute identifiers with all skusCategory
addChildCategory(java.lang.String parentId, java.lang.String childId)
This method adds child entity in parent entity.Product
addProductToCategory(java.lang.String categoryId, java.lang.String productId)
This method adds relationship between entities.Attribute
createAttribute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Category
createCategory(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Measurement
createMeasurement(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Option
createOption(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Product
createProduct(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Profile
createProfile(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Seller
createSeller(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.SKU
createSKU(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.LocalizedText
createTranslation(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.Unit
createUnit(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.User
createUser(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.void
deleteAttribute(java.lang.String attributeId)
This method removes database entity with child database entity.void
deleteAttributes(java.util.ArrayList<java.lang.String> attributeIds)
This method removes database entity with child database entity.void
deleteCategories(java.util.ArrayList<java.lang.String> categoryIds)
This method removes database entity with child database entity.void
deleteCategory(java.lang.String categoryId)
This method removes database entity with child database entity.void
deleteListing(java.lang.String listingId)
This method removes database entity with child database entity.void
deleteListings(java.util.ArrayList<java.lang.String> listingIds)
This method removes database entity with child database entity.void
deleteMeasurement(java.lang.String measurementId)
This method removes database entity with child database entity.void
deleteMeasurements(java.util.ArrayList<java.lang.String> measurementIds)
This method removes database entity with child database entity.void
deleteOption(java.lang.String optionId)
This method removes database entity with child database entity.void
deleteOptions(java.util.ArrayList<java.lang.String> optionsIds)
This method removes database entity with child database entity.void
deleteProduct(java.lang.String productId)
This method removes database entity with child database entity.void
deleteProducts(java.util.ArrayList<java.lang.String> productIds)
This method removes database entity with child database entity.void
deleteProfile(java.lang.String profileId)
This method removes database entity with child database entity.void
deleteProfiles(java.util.ArrayList<java.lang.String> profileIds)
This method removes database entity with child database entity.void
deleteSeller(java.lang.String sellerId)
This method removes database entity with child database entity.void
deleteSellers(java.util.ArrayList<java.lang.String> sellerIds)
This method removes database entity with child database entity.void
deleteSKU(java.lang.String skuId)
This method removes database entity with child database entity.void
deleteSKUs(java.util.ArrayList<java.lang.String> skuIds)
This method removes database entity with child database entity.void
deleteTranslation(java.lang.String translationId)
This method removes database entity with child database entity.void
deleteTranslations(java.util.ArrayList<java.lang.String> translationIds)
This method removes database entity with child database entity.void
deleteUnit(java.lang.String unitId)
This method removes database entity with child database entity.void
deleteUnits(java.util.ArrayList<java.lang.String> unitsIds)
This method removes database entity with child database entity.void
deleteUser(java.lang.String userId)
This method removes database entity with child database entity.void
deleteUsers(java.util.ArrayList<java.lang.String> userIds)
This method removes database entity with child database entity.void
removeChildCategory(java.lang.String parentId, java.lang.String childId)
This method deletes child entity in parent entity.void
removeProductFromCategory(java.lang.String categoryId, java.lang.String productId)
This method deletes a relationship between entities.void
updateAttribute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateCategory(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for category based on proxy objectvoid
updateMeasurement(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateOption(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateProduct(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for product based on proxy objectvoid
updateProfile(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateSeller(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateSKU(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for product based on proxy objectvoid
updateTranslation(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateUnit(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy objectvoid
updateUser(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object
-
-
-
Method Detail
-
createCategory
Category createCategory(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createProduct
Product createProduct(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createSKU
SKU createSKU(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createAttribute
Attribute createAttribute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createOption
Option createOption(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createMeasurement
Measurement createMeasurement(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createUnit
Unit createUnit(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createSeller
Seller createSeller(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createProfile
Profile createProfile(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createUser
User createUser(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
createTranslation
LocalizedText createTranslation(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method creates a database entity.- Parameters:
data
- map-representation of database entity- Returns:
- optional value to externally interaction
-
deleteCategory
void deleteCategory(java.lang.String categoryId)
This method removes database entity with child database entity.- Parameters:
categoryId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteCategories
void deleteCategories(java.util.ArrayList<java.lang.String> categoryIds)
This method removes database entity with child database entity.- Parameters:
categoryIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteProduct
void deleteProduct(java.lang.String productId)
This method removes database entity with child database entity.- Parameters:
productId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteProducts
void deleteProducts(java.util.ArrayList<java.lang.String> productIds)
This method removes database entity with child database entity.- Parameters:
productIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteSKU
void deleteSKU(java.lang.String skuId)
This method removes database entity with child database entity.- Parameters:
skuId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteSKUs
void deleteSKUs(java.util.ArrayList<java.lang.String> skuIds)
This method removes database entity with child database entity.- Parameters:
skuIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteListing
void deleteListing(java.lang.String listingId)
This method removes database entity with child database entity.- Parameters:
listingId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteListings
void deleteListings(java.util.ArrayList<java.lang.String> listingIds)
This method removes database entity with child database entity.- Parameters:
listingIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteAttribute
void deleteAttribute(java.lang.String attributeId)
This method removes database entity with child database entity.- Parameters:
attributeId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteAttributes
void deleteAttributes(java.util.ArrayList<java.lang.String> attributeIds)
This method removes database entity with child database entity.- Parameters:
attributeIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteOption
void deleteOption(java.lang.String optionId)
This method removes database entity with child database entity.- Parameters:
optionId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteOptions
void deleteOptions(java.util.ArrayList<java.lang.String> optionsIds)
This method removes database entity with child database entity.- Parameters:
optionsIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteMeasurement
void deleteMeasurement(java.lang.String measurementId)
This method removes database entity with child database entity.- Parameters:
measurementId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteMeasurements
void deleteMeasurements(java.util.ArrayList<java.lang.String> measurementIds)
This method removes database entity with child database entity.- Parameters:
measurementIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteUnit
void deleteUnit(java.lang.String unitId)
This method removes database entity with child database entity.- Parameters:
unitId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteUnits
void deleteUnits(java.util.ArrayList<java.lang.String> unitsIds)
This method removes database entity with child database entity.- Parameters:
unitsIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteSeller
void deleteSeller(java.lang.String sellerId)
This method removes database entity with child database entity.- Parameters:
sellerId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteSellers
void deleteSellers(java.util.ArrayList<java.lang.String> sellerIds)
This method removes database entity with child database entity.- Parameters:
sellerIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteProfile
void deleteProfile(java.lang.String profileId)
This method removes database entity with child database entity.- Parameters:
profileId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteProfiles
void deleteProfiles(java.util.ArrayList<java.lang.String> profileIds)
This method removes database entity with child database entity.- Parameters:
profileIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteUser
void deleteUser(java.lang.String userId)
This method removes database entity with child database entity.- Parameters:
userId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteUsers
void deleteUsers(java.util.ArrayList<java.lang.String> userIds)
This method removes database entity with child database entity.- Parameters:
userIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
deleteTranslation
void deleteTranslation(java.lang.String translationId)
This method removes database entity with child database entity.- Parameters:
translationId
- identification for database entity which will be removed and whose parent dependency will be removed
-
deleteTranslations
void deleteTranslations(java.util.ArrayList<java.lang.String> translationIds)
This method removes database entity with child database entity.- Parameters:
translationIds
- the list of identification for database entities which will be removed and whose parent dependency will be removed
-
updateCategory
void updateCategory(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for category based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the category object
-
updateProduct
void updateProduct(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for product based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the product object
-
updateSKU
void updateSKU(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for product based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the product object
-
updateAttribute
void updateAttribute(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the attribute object
-
updateOption
void updateOption(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the option object
-
updateMeasurement
void updateMeasurement(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
updateUnit
void updateUnit(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
updateSeller
void updateSeller(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
updateProfile
void updateProfile(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
updateUser
void updateUser(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
updateTranslation
void updateTranslation(java.util.LinkedHashMap<java.lang.String,java.lang.Object> data)
This method does update for attribute based on proxy object- Parameters:
data
- the data transfer object as a map-representation to update the measurement object
-
addProductToCategory
Product addProductToCategory(java.lang.String categoryId, java.lang.String productId)
This method adds relationship between entities.- Parameters:
categoryId
- identification for database entity which will be updatedproductId
- identification for database entity which will be updated- Returns:
- database entity
-
addChildCategory
Category addChildCategory(java.lang.String parentId, java.lang.String childId)
This method adds child entity in parent entity.- Parameters:
parentId
- identification for database entity which will be updatedchildId
- identification for database entity which will be added in parent database entity- Returns:
- database entity
-
removeProductFromCategory
void removeProductFromCategory(java.lang.String categoryId, java.lang.String productId)
This method deletes a relationship between entities.- Parameters:
categoryId
- identification for database entity which will be updatedproductId
- identification for database entity which will be updated
-
removeChildCategory
void removeChildCategory(java.lang.String parentId, java.lang.String childId)
This method deletes child entity in parent entity.- Parameters:
parentId
- identification for database entity which will be updatedchildId
- identification for database entity which will be added in parent database entity
-
addAttributeToAllProducts
void addAttributeToAllProducts(java.lang.String attributeId)
This method associates all specified attribute identifiers with all products- Parameters:
attributeId
- this attribute identifier
-
addAttributeToAllSkus
void addAttributeToAllSkus(java.lang.String attributeId)
This method associates all specified attribute identifiers with all skus- Parameters:
attributeId
- this attribute identifier
-
-