public interface CategoryXrefDao
CategoryXrefDao provides persistence access to the relationship
between a category and its sub-categories. This includes an ordering field.CategoryXref| Modifier and Type | Method and Description |
|---|---|
void |
delete(CategoryXrefImpl categoryXref)
Remove the passed in category relationship from the datastore
|
CategoryXref |
readXrefByIds(java.lang.Long categoryId,
java.lang.Long subCategoryId)
Find a specific relationship between a parent categoy and sub-category (child)
|
java.util.List<CategoryXrefImpl> |
readXrefsByCategoryId(java.lang.Long categoryId)
Retrieve all the category relationships for which the passed in
Category primary key is a parent |
java.util.List<CategoryXrefImpl> |
readXrefsBySubCategoryId(java.lang.Long subCategoryId)
Retrieve all the category relationships for which the passed in
Category primary key is a sub category (or child) |
CategoryProductXrefImpl |
save(CategoryProductXrefImpl categoryProductXref)
Persist the passed in category/product relationship to the datastore
|
CategoryXref |
save(CategoryXrefImpl categoryXref)
Persist the passed in category relationship to the datastore
|
@Nonnull java.util.List<CategoryXrefImpl> readXrefsByCategoryId(@Nonnull java.lang.Long categoryId)
Category primary key is a parentcategoryId - the parent Category primary key@Nonnull java.util.List<CategoryXrefImpl> readXrefsBySubCategoryId(@Nonnull java.lang.Long subCategoryId)
Category primary key is a sub category (or child)subCategoryId - the sub-categories primary key@Nonnull CategoryXref readXrefByIds(@Nonnull java.lang.Long categoryId, @Nonnull java.lang.Long subCategoryId)
categoryId - The primary key of the parent categorysubCategoryId - The primary key of the sub-category@Nonnull CategoryXref save(@Nonnull CategoryXrefImpl categoryXref)
categoryXref - the relationship between a parent and child categoryvoid delete(@Nonnull
CategoryXrefImpl categoryXref)
categoryXref - the category relationship to remove@Nonnull CategoryProductXrefImpl save(CategoryProductXrefImpl categoryProductXref)
categoryProductXref - the relationship between a category and productCopyright © 2018. All Rights Reserved.