com.fatwire.assetapi.query
Class AssetSearchResultImpl

java.lang.Object
  extended by com.fatwire.assetapi.query.AssetSearchResultImpl
All Implemented Interfaces:
AssetSearchResult, java.util.Iterator<AssetResultRow>

public class AssetSearchResultImpl
extends java.lang.Object
implements AssetSearchResult

The default implementation class for an AssetSearchResult


Constructor Summary
AssetSearchResultImpl(java.util.List<AssetResultRow> results, int size)
           
 
Method Summary
 int getCount()
           
 int getTotal()
           
 boolean hasNext()
           
 AssetResultRow next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetSearchResultImpl

public AssetSearchResultImpl(java.util.List<AssetResultRow> results,
                             int size)
Method Detail

getTotal

public int getTotal()
Specified by:
getTotal in interface AssetSearchResult

getCount

public int getCount()
Specified by:
getCount in interface AssetSearchResult

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<AssetResultRow>

next

public AssetResultRow next()
Specified by:
next in interface java.util.Iterator<AssetResultRow>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<AssetResultRow>


Copyright (c) 2003 - 2011 FatWire Corporation All Rights Reserved.