1 21 22 package org.opensubsystems.patterns.listdata.www; 23 24 import org.opensubsystems.patterns.listdata.data.ListOptions; 25 26 27 41 public class ListDataSpecificPageTag extends ListDataActionTag 42 { 43 45 48 private static final long serialVersionUID = 8074790768715184160L; 49 50 53 protected String m_strPage; 54 55 57 60 public ListDataSpecificPageTag() 61 { 62 super(); 63 } 64 65 67 70 public String getCommand() 71 { 72 return ListBrowserServlet.ACTION_GO_TO_PAGE_NAME; 73 } 74 75 78 public void setCommand( 79 String strCommand 80 ) 81 { 82 throw new UnsupportedOperationException (""); 83 } 84 85 88 public String getPage() 89 { 90 return m_strPage; 91 } 92 93 98 public void setPage( 99 String strPage 100 ) 101 { 102 m_strPage = strPage; 103 } 104 105 110 public void setPage( 111 int iPage 112 ) 113 { 114 m_strPage = Integer.toString(iPage); 115 } 116 117 119 122 protected String getActualPage( 123 ListOptions listoptions 124 ) 125 { 126 return m_strPage; 127 } 128 } 129 | Popular Tags |