001package org.kuali.ole.deliver; 002 003import org.kuali.ole.docstore.common.search.SearchParams; 004 005/** 006 * Created by pvsubrah on 5/18/15. 007 */ 008public class SearchParmsBuilder { 009 010 public static void buildSearchParams(SearchParams searchParams){ 011 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "ItemBarcode_display")); 012 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "id")); 013 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "bibIdentifier")); 014 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "Title_display")); 015 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "Author_display")); 016 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "LocalId_display")); 017 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "holdingsIdentifier")); 018 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "ClaimsReturnedFlag_display")); 019 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "claimsReturnedFlagCreateDate")); 020 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "claimsReturnedNote")); 021 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "CallNumber_display")); 022 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "TemporaryItemTypeFullValue_search")); 023 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "ItemTypeFullValue_display")); 024 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "Enumeration_display")); 025 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "Chronology_display")); 026 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "ItemStatus_display")); 027 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "ItemDamagedStatus_display")); 028 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "DamagedItemNote_search")); 029 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "MissingPieceFlagNote_search")); 030 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "MissingPieceFlag_display")); 031 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "Location_display")); 032 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "HoldingsCopyNumber_search")); 033 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "HoldingsCallNumber_search")); 034 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "HoldingsLocation_search")); 035 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "MissingPieceCount_search")); 036 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "NumberOfPieces_search")); 037 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "CallNumberPrefix_display")); 038 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "CopyNumber_search")); 039 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "proxyBorrower")); 040 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "VolumeNumberLabel_display")); 041 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "dueDateTime")); 042 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item", "NumberOfRenew_display")); 043 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item" , "checkOutDateTime")); 044 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","ClaimsReturnedFlag_search")); 045 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","itemStatusEffectiveDate")); 046 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsCallNumberPrefix_search")); 047 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsCallNumberPrefix_display")); 048 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsShelvingSchemeCode_search")); 049 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsShelvingSchemeCode_display")); 050 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsShelvingSchemeValue_search")); 051 searchParams.getSearchResultFields().add(searchParams.buildSearchResultField("item","HoldingsShelvingSchemeValue_display")); 052 } 053 054}