Interface CategoryXref

All Superinterfaces:
MultiTenantCloneable<CategoryXref>, Serializable
All Known Implementing Classes:
CategoryXrefImpl

public interface CategoryXref extends Serializable, MultiTenantCloneable<CategoryXref>
Implementations of this interface are used to hold data about the many-to-many relationship between the Category table and a parent Category.

You should implement this class if you want to make significant changes to the relationship between Category and parent Category. If you just want to add additional fields then you should extend CategoryXrefImpl.
  • Method Details

    • getDisplayOrder

      BigDecimal getDisplayOrder()
      Return the order for sorting
      Returns:
    • setDisplayOrder

      void setDisplayOrder(BigDecimal displayOrder)
    • getCategory

      Category getCategory()
      Return the parent category
      Returns:
    • setCategory

      void setCategory(Category category)
    • getSubCategory

      Category getSubCategory()
      Return the child category
      Returns:
    • setSubCategory

      void setSubCategory(Category subCategory)
    • getId

      Long getId()
    • setId

      void setId(Long id)
      Return the primary key
      Parameters:
      id -
    • getDefaultReference

      Boolean getDefaultReference()
      Specifies the default reference between a category and a parent category. This replaces the concept of CategoryImpl.getDefaultParentCategory() ()}
      Returns:
      the default reference between a category and a parent category
      See Also:
    • setDefaultReference

      void setDefaultReference(Boolean defaultReference)