|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CategoryXrefDao
CategoryXrefDao provides persistence access to the relationship
between a category and its sub-categories. This includes an ordering field.
CategoryXref| Method Summary | |
|---|---|
void |
delete(CategoryXrefImpl categoryXref)
Remove the passed in category relationship from the datastore |
CategoryXref |
readXrefByIds(Long categoryId,
Long subCategoryId)
Find a specific relationship between a parent categoy and sub-category (child) |
List<CategoryXrefImpl> |
readXrefsByCategoryId(Long categoryId)
Retrieve all the category relationships for which the passed in Category primary key is a parent |
List<CategoryXrefImpl> |
readXrefsBySubCategoryId(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 |
| Method Detail |
|---|
@Nonnull
List<CategoryXrefImpl> readXrefsByCategoryId(@Nonnull
Long categoryId)
Category primary key is a parent
categoryId - the parent Category primary key
@Nonnull
List<CategoryXrefImpl> readXrefsBySubCategoryId(@Nonnull
Long subCategoryId)
Category primary key is a sub category (or child)
subCategoryId - the sub-categories primary key
@Nonnull
CategoryXref readXrefByIds(@Nonnull
Long categoryId,
@Nonnull
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 category
void delete(@Nonnull
CategoryXrefImpl categoryXref)
categoryXref - the category relationship to remove@Nonnull CategoryProductXrefImpl save(CategoryProductXrefImpl categoryProductXref)
categoryProductXref - the relationship between a category and product
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||