public class GiftRegistryItemCatalogEntryDataBeanQuickSortCompare extends java.lang.Object implements QuickSortCompare
Constructor and Description |
---|
GiftRegistryItemCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator, java.lang.String strOrderBy)
Given a collator and an OrderBy value, the corresponding GiftRegistryItemCatalogEntryDataBean's can be sorted.
|
Modifier and Type | Method and Description |
---|---|
int | compare(java.lang.Object obj1, java.lang.Object obj2)
Compares two GiftRegistryItemCatalogEntryDataBean objects, based on the OrderBy criteria specified in the constructor.
|
protected static int | compareByCatEntryField1(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares two objects, based on their values in FIELD1 of the CATENTRY table Compares catEntry1 to catEntry2
|
protected static int | compareByPartNumber(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares two GiftRegistryItemCatalogEntryDataBean, using the String.compareTo method on the data Bean partNumber and partAuxKey values Compares catEntry1 to catEntry2
|
protected static int | compareByPrice(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares by offer price Compares catEntry1 to catEntry2
|
protected static int | compareByQuantityBought(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares two objects, based on their quantityBought values Compares catEntry2 to catEntry1
|
protected static int | compareByQuantityNeeded(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares two objects, based on their quantityRequested minus quantityBought) values Compares catEntry1 to catEntry2
|
protected static int | compareByQuantityRequested(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
Compares two objects, based on their quantityRequested values.
|
public GiftRegistryItemCatalogEntryDataBeanQuickSortCompare(java.text.Collator LocaleCollator, java.lang.String strOrderBy)
public int compare(java.lang.Object obj1, java.lang.Object obj2)
protected static int compareByQuantityBought(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
protected static int compareByQuantityNeeded(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
protected static int compareByQuantityRequested(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
protected static int compareByPartNumber(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
protected static int compareByPrice(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)
protected static int compareByCatEntryField1(GiftRegistryItemCatalogEntryDataBean catEntry1, GiftRegistryItemCatalogEntryDataBean catEntry2)