001package org.kuali.ole.describe.form; 002 003 004import org.kuali.ole.docstore.common.document.Holdings; 005import org.kuali.ole.docstore.common.document.Item; 006import org.kuali.ole.docstore.model.bo.WorkBibDocument; 007import org.kuali.rice.krad.web.form.UifFormBase; 008import org.apache.commons.lang.StringUtils; 009 010import java.util.List; 011 012 013public class CallNumberBrowseForm extends UifFormBase { 014 015 016 private String message; 017 private String information; 018 private int pageSize = 10; 019 private List<WorkBibDocument> workBibDocumentList; 020 private List<Holdings> holdingsList; 021 private List<Item> itemList; 022 private String location; 023 private String classificationScheme; 024 private String callNumberBrowseText; 025 026 public boolean nextFlag; 027 public boolean previousFlag; 028 public String pageShowEntries; 029 public String docType; 030 public boolean closeBtnShowFlag; 031 032 033 public boolean isCloseBtnShowFlag() { 034 return closeBtnShowFlag; 035 } 036 037 public void setCloseBtnShowFlag(boolean closeBtnShowFlag) { 038 this.closeBtnShowFlag = closeBtnShowFlag; 039 } 040 041 public String getDocType() { 042 return docType; 043 } 044 045 public void setDocType(String docType) { 046 if (docType != null && docType.contains(",")) 047 this.docType = docType.substring(0, docType.indexOf(",")); 048 else 049 this.docType = docType; 050 051 } 052 053 public String getPageShowEntries() { 054 return pageShowEntries; 055 } 056 057 public void setPageShowEntries(String pageShowEntries) { 058 this.pageShowEntries = pageShowEntries; 059 } 060 061 public boolean getNextFlag() { 062 return nextFlag; 063 } 064 065 public void setNextFlag(boolean nextFlag) { 066 this.nextFlag = nextFlag; 067 } 068 069 public boolean isPreviousFlag() { 070 return previousFlag; 071 } 072 073 public void setPreviousFlag(boolean previousFlag) { 074 this.previousFlag = previousFlag; 075 } 076 077 public String getLocation() { 078 return location; 079 } 080 081 public void setLocation(String location) { 082 this.location = location; 083 } 084 085 public String getClassificationScheme() { 086 return classificationScheme; 087 } 088 089 public void setClassificationScheme(String classificationScheme) { 090 this.classificationScheme = classificationScheme; 091 } 092 093 public String getCallNumberBrowseText() { 094 return callNumberBrowseText; 095 } 096 097 public void setCallNumberBrowseText(String callNumberBrowseText) { 098 this.callNumberBrowseText = callNumberBrowseText; 099 } 100 101 public String getMessage() { 102 return message; 103 } 104 105 public void setMessage(String message) { 106 this.message = message; 107 } 108 109 public String getInformation() { 110 return information; 111 } 112 113 public void setInformation(String information) { 114 this.information = information; 115 } 116 117 public int getPageSize() { 118 return pageSize; 119 } 120 121 public void setPageSize(int pageSize) { 122 this.pageSize = pageSize; 123 } 124 125 public List<WorkBibDocument> getWorkBibDocumentList() { 126 return workBibDocumentList; 127 } 128 129 public void setWorkBibDocumentList(List<WorkBibDocument> workBibDocumentList) { 130 this.workBibDocumentList = workBibDocumentList; 131 } 132 133 public List<Holdings> getHoldingsList() { 134 return holdingsList; 135 } 136 137 public void setHoldingsList(List<Holdings> holdingsList) { 138 this.holdingsList = holdingsList; 139 } 140 141 public List<Item> getItemList() { 142 return itemList; 143 } 144 145 public void setItemList(List<Item> itemList) { 146 this.itemList = itemList; 147 } 148}