1 21 22 package org.opensubsystems.patterns.listdata.www; 23 24 import org.opensubsystems.patterns.listdata.data.ListOptions; 25 26 27 42 public class ListDataPageSizeTag extends ListDataActionTag 43 { 44 46 49 private static final long serialVersionUID = -4307881770865628980L; 50 51 54 protected String m_strPageSize; 55 56 58 61 public ListDataPageSizeTag() 62 { 63 super(); 64 } 65 66 68 71 public String getCommand() 72 { 73 return ListBrowserServlet.ACTION_PAGE_SIZE_NAME; 74 } 75 76 79 public void setCommand( 80 String strCommand 81 ) 82 { 83 throw new UnsupportedOperationException (""); 84 } 85 86 89 public String getPageSize() 90 { 91 return m_strPageSize; 92 } 93 94 99 public void setPageSize( 100 String strPageSize 101 ) 102 { 103 m_strPageSize = strPageSize; 104 } 105 106 111 public void setPageSize( 112 int iPageSize 113 ) 114 { 115 m_strPageSize = Integer.toString(iPageSize); 116 } 117 118 120 123 protected String getPageSize( 124 ListOptions listoptions 125 ) 126 { 127 return m_strPageSize; 128 } 129 } 130 | Popular Tags |