View Javadoc
1 /* 2 * ValueListAdapter.java 3 * 4 * Created on March 21, 2003, 3:03 PM 5 */ 6 7 package com.mlw.vlh; 8 9 /*** 10 * 11 * @author Matthew Wilson 12 */ 13 public interface ValueListAdapter 14 { 15 /*** Constant to tell the Handler to do nothing. 16 */ 17 public static final int DO_NOTHING = 0; 18 19 /*** Constant to tell the Handler to do sorting. 20 */ 21 public static final int DO_SORT = 1; 22 23 /*** Constant to tell the Handler to do paging. 24 */ 25 public static final int DO_PAGE = 2; 26 27 /*** Constant to tell the Handler to do filtering. 28 */ 29 public static final int DO_FILTER = 4; 30 31 /*** Gets a ValueList 32 * @param info The <CODE>ValueList</CODE> information 33 * @param name The name of the <CODE>ValueList</CODE> 34 * @return The <CODE>ValueList</CODE> 35 */ 36 public abstract ValueList getValueList(ValueListInfo info); 37 38 /*** This method tells the Service what still needs to be done on the 39 * Collection before returning the data. 40 * 41 * @return A bitwise or combination of DO_NOTHING, 42 * DO_SORT, DO_PAGE and DO_FILTER. For example:<br> 43 * <pre> 44 * public int getAdapterType(){ 45 * retuyrnDO_SORT && DO_PAGE; 46 * }</pre> 47 */ 48 public abstract int getAdapterType(); 49 }

This page was automatically generated by Maven