Uses of Interface
org.troy.capstone.interfaces.ItemRepo
Packages that use ItemRepo
Package
Description
-
Uses of ItemRepo in org.troy.capstone.data_structures
Fields in org.troy.capstone.data_structures declared as ItemRepoModifier and TypeFieldDescriptionprivate final ItemRepoRecentlyViewedQueue.itemRepoRepository to retrieve item details based on item IDs, used to create SearchedItemPanel instances when adding items to the queue.private final ItemRepoSimilarItemsGraph.itemRepoRepository to store items.Constructors in org.troy.capstone.data_structures with parameters of type ItemRepoModifierConstructorDescriptionRecentlyViewedQueue(ItemRepo itemRepo) Constructor for theRecentlyViewedQueue.SearchedItemsLinkedList(ItemRepo itemRepo, List<String> itemIdList) Constructor forSearchedItemsLinkedList.SimilarItemsGraph(ItemRepo itemRepo, Table table, Boolean buildGraph) Constructor forSimilarItemsGraph. -
Uses of ItemRepo in org.troy.capstone.data_structures.item_table
Classes in org.troy.capstone.data_structures.item_table that implement ItemRepoModifier and TypeClassDescriptionclassCustomHashMapimplementation for storingIteminstances with their IDs as keys, using a custom universal hash function (IdHashKey) to optimize bucket distribution for the specific set of item IDs in our dataset. -
Uses of ItemRepo in org.troy.capstone.managers
Fields in org.troy.capstone.managers declared as ItemRepoModifier and TypeFieldDescriptionprivate final ItemRepoGeneralManager.itemRepoTheItemRepocontaining all items, used by theSearchEnginefor filtering and searching and by theRecentlyViewedManagerfor retrieving items.Methods in org.troy.capstone.managers with parameters of type ItemRepoModifier and TypeMethodDescription(package private) static RecentlyViewedManagerRecentlyViewedManager.create(ItemRepo itemRepo, SearchedItemPanelDestinationUI destinationUI, SearchedItemPanelSourceUI panelSourceUI) Factory method to create aRecentlyViewedManagerand attach it as a listener to the givenSearchedItemPanelSourceUI, allowing to receive item selection events from within theSearchedItemPanelSourceUI.static SimilarItemsManagerSimilarItemsManager.create(ItemRepo itemRepo, Table table, SearchedItemPanelDestinationUI destinationUI, SearchedItemPanelSourceUI panelSourceUI) Static factory method for creating a SimilarItemsManager instance.Constructors in org.troy.capstone.managers with parameters of type ItemRepoModifierConstructorDescriptionGeneralManager(Table table, ItemRepo itemRepo) Constructor forGeneralManager, filled from aTable.privateRecentlyViewedManager(ItemRepo itemRepo, RecentlyViewedWindow recentlyViewedWindow) Constructor for theRecentlyViewedManager.privateSimilarItemsManager(SimilarItemsContainer similarItemsContainer, ItemRepo itemRepo, Table table) Private constructor to enforce the use of the static factory method. -
Uses of ItemRepo in org.troy.capstone.ui_components.items.searched
Fields in org.troy.capstone.ui_components.items.searched declared as ItemRepoModifier and TypeFieldDescriptionprivate final ItemRepoSearchedItemPagination.itemRepoThe item repository containing all items, used to populate the pagination content.Constructors in org.troy.capstone.ui_components.items.searched with parameters of type ItemRepoModifierConstructorDescriptionSearchedItemPagination(ItemRepo itemRepo) Constructor forSearchedItemPagination.