Index: branches/pssGrails3/src/main/groovy/com/lemanscorp/search/solr/PartSearchResponse.groovy =================================================================== diff -u -r8884 -r8889 --- branches/pssGrails3/src/main/groovy/com/lemanscorp/search/solr/PartSearchResponse.groovy (.../PartSearchResponse.groovy) (revision 8884) +++ branches/pssGrails3/src/main/groovy/com/lemanscorp/search/solr/PartSearchResponse.groovy (.../PartSearchResponse.groovy) (revision 8889) @@ -1,201 +1,202 @@ package com.lemanscorp.search.solr -class PartSearchResponse{ +class PartSearchResponse { - Header header = new Header() - HitList hitlist=new HitList() - def facets = [] - Error error + Header header = new Header() + HitList hitlist = new HitList() + def facets = [] + Error error } class Header { - String q - int rows - int start - long total - String fq - def pageNumbers = [:] - def queryParams = [:] - def renderers = [] - def facets = [] - def sortBy = new SortBy() - def spellcheck = [:] + String q + int rows + int start + long total + String fq + def pageNumbers = [:] + def queryParams = [:] + def renderers = [] + def facets = [] + def sortBy = new SortBy() + def spellcheck = [:] } class SortBy { - int id - String type - String name - boolean defaultSortBy - def options = [] + int id + String type + String name + boolean defaultSortBy + def options = [] } class Facet { - String type - String name - long count - int percent - int seq - String resultSortOrder - int resultListCount - String valueBooleanOperator - String isMultiSelect - def values = [] + String type + String name + long count + int percent + int seq + String resultSortOrder + int resultListCount + String valueBooleanOperator + String isMultiSelect + def values = [] } class Value { - String name - String id - long count + String name + String id + long count } class HitList { - String comment - String type - def products = [] - def masterProducts = [] - def parts = [] - def catalogs = [] - def categories = [] - def productGroups=[] - def fitments = [] + String comment + String type + def products = [] + def masterProducts = [] + def parts = [] + def catalogs = [] + def categories = [] + def productGroups = [] + def fitments = [] } class Product { - int id - String productName - String ct1Name - String ct1Id - String ct2Name - String ct2Id - String ct3Name - String ct3Id - String ct4Name - String ct4Id - String description - String caption - String primaryImage - long catalogId - String brandName - String brandCode - long brandId - String brandImage - int pageNumber - int sequence - int catalogInstanceId - int faqCount - String tag - String catalogInstanceName - String mediaUrl - String prefixUrl - String extension - String brandPrimaryMediaId - String brandMediaUrl - String brandPrefixUrl - String brandExtension - double baseDealerPriceLow - double baseDealerPriceHigh - double retailPriceLow - double retailPriceHigh - String retailPriceDisplayRange - String banner - int partCount - def features = [] - def mediaGroups = [] - def productGroups = [] + int id + String productName + String ct1Name + String ct1Id + String ct2Name + String ct2Id + String ct3Name + String ct3Id + String ct4Name + String ct4Id + String description + String caption + String primaryImage + long catalogId + String brandName + String brandCode + long brandId + String brandImage + int pageNumber + int sequence + int catalogInstanceId + int faqCount + String tag + String catalogInstanceName + String mediaUrl + String prefixUrl + String extension + String brandPrimaryMediaId + String brandMediaUrl + String brandPrefixUrl + String brandExtension + double baseDealerPriceLow + double baseDealerPriceHigh + double retailPriceLow + double retailPriceHigh + String retailPriceDisplayRange + String banner + int partCount + def features = [] + def mediaGroups = [] + def productGroups = [] } -class ProductGroupNew extends Product{ - String productGroupName - String productId +class ProductGroupNew extends Product { + String productGroupName + String productId } class Part { - String id - String partNumber - String punctuatedPartNumber - String partDescr - String subComCodeId - String subComCode - String subComCodeDescr - String subComCodeAlias - String brandId - String brandCode - String brandName - String brandMediaUrl - String brandPrefixUrl - String brandExtension - String vendorPartNumber - String vendorPunctuatedPartNumber - def oemPartNumbers = [] - def oemPunctuatedPartNumbers = [] - def xRefPartNumbers = [] - def xRefPunctuatedPartNumbers = [] - String uom - String warehouseCountry - String partStatus - double retailPrice - String mediaUrl - String prefixUrl - String extension + String id + String partNumber + String punctuatedPartNumber + String partDescr + String subComCodeId + String subComCode + String subComCodeDescr + String subComCodeAlias + String brandId + String brandCode + String brandName + String brandMediaUrl + String brandPrefixUrl + String brandExtension + String vendorPartNumber + String vendorPunctuatedPartNumber + def oemPartNumbers = [] + def oemPunctuatedPartNumbers = [] + def xRefPartNumbers = [] + def xRefPunctuatedPartNumbers = [] + String uom + String warehouseCountry + String partStatus + double retailPrice + String mediaUrl + String prefixUrl + String extension } + class Feature { - String type - String text - def subBullets = [] + String type + String text + def subBullets = [] } class SubBullet { - String type - String text + String type + String text } -class Catalog{ - int id - String instanceName - String prefixUrl - String mediaUrl - String extension +class Catalog { + int id + String instanceName + String prefixUrl + String mediaUrl + String extension } class Category { - int id - String categoryName - String prefixUrl - String mediaUrl - String extension + int id + String categoryName + String prefixUrl + String mediaUrl + String extension } class MediaGroup { - String uniqueId - String attributeName1 - String attributeValue1 - String attributeName2 - String attributeValue2 - String attributeName3 - String attributeValue3 - String mediaGroupViewingAngleId - String mediaGroupPrefixUrl - String mediaGroupMediaUrl - String mediaGroupExtension + String uniqueId + String attributeName1 + String attributeValue1 + String attributeName2 + String attributeValue2 + String attributeName3 + String attributeValue3 + String mediaGroupViewingAngleId + String mediaGroupPrefixUrl + String mediaGroupMediaUrl + String mediaGroupExtension } class ProductGroup { - String productGroupId - String productGroupName - String productGroupPrefixUrl - String productGroupMediaUrl - String productGroupExtension - int productGroupSequence + String productGroupId + String productGroupName + String productGroupPrefixUrl + String productGroupMediaUrl + String productGroupExtension + int productGroupSequence } class Error { - String message - String exceptionDetails + String message + String exceptionDetails } class Fitmnet { - String test = "test" -} \ No newline at end of file + String test = 'test' +}