com.mlw.vlh
Interface ValueListAdapter

All Known Implementing Classes:
ConfigurationAdapter, GameListAdapter, KillChartStatsAdapter, MapStatsAdapter, PlayerMatchupAdapter, PlayerStatsAdapter, PlayerWeaponStatsAdapter, WeaponKillerStatsAdapter, WeaponStatsAdapter

public interface ValueListAdapter

Author:
Matthew Wilson

Field Summary
static int DO_FILTER
          Constant to tell the Handler to do filtering.
static int DO_NOTHING
          Constant to tell the Handler to do nothing.
static int DO_PAGE
          Constant to tell the Handler to do paging.
static int DO_SORT
          Constant to tell the Handler to do sorting.
 
Method Summary
 int getAdapterType()
          This method tells the Service what still needs to be done on the Collection before returning the data.
 ValueList getValueList(ValueListInfo info)
          Gets a ValueList
 

Field Detail

DO_NOTHING

public static final int DO_NOTHING
Constant to tell the Handler to do nothing.

See Also:
Constant Field Values

DO_SORT

public static final int DO_SORT
Constant to tell the Handler to do sorting.

See Also:
Constant Field Values

DO_PAGE

public static final int DO_PAGE
Constant to tell the Handler to do paging.

See Also:
Constant Field Values

DO_FILTER

public static final int DO_FILTER
Constant to tell the Handler to do filtering.

See Also:
Constant Field Values
Method Detail

getValueList

public ValueList getValueList(ValueListInfo info)
Gets a ValueList

Parameters:
info - The ValueList information
Returns:
The ValueList

getAdapterType

public int getAdapterType()
This method tells the Service what still needs to be done on the Collection before returning the data.

Returns:
A bitwise or combination of DO_NOTHING, DO_SORT, DO_PAGE and DO_FILTER. For example:
           public int getAdapterType(){
             retuyrnDO_SORT && DO_PAGE;
           }


Copyright © 2003 mlavilson. All Rights Reserved.