net.neurowork.mobile.android.fw.levels.impl
Class DefaultAppLevelData

java.lang.Object
  extended by net.neurowork.mobile.android.fw.levels.impl.DefaultAppLevelData
All Implemented Interfaces:
AppLevelData

public class DefaultAppLevelData
extends java.lang.Object
implements AppLevelData

Generates a default ApplicationData

Author:
Jorge E. Villaverde

Constructor Summary
DefaultAppLevelData()
           
 
Method Summary
 void addItem(AppLevelDataItem item)
           
 java.util.List<SearchResult> findAllGeoref(java.lang.String levelId)
          Find all geo-referrals points
 AppLevelDataItem findById(java.lang.String id)
          Find in a map a LevelDataItem.
 AppLevelDataItem findByNextLevel(NextLevel nextLevel)
          Find number of nextLevel
 java.util.List<SearchResult> findWidthText(java.lang.String text, java.lang.String levelId)
          Returns a list with SearchResults
 java.util.List<SearchResult> getAllImages(java.lang.String levelId)
          Returns all images of search result list
 java.util.List<AppLevelDataItem> getItems()
          Returns a list with all AppLevelDataItem
 void reIndex()
          Index again the map
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppLevelData

public DefaultAppLevelData()
Method Detail

getItems

public java.util.List<AppLevelDataItem> getItems()
Description copied from interface: AppLevelData
Returns a list with all AppLevelDataItem

Specified by:
getItems in interface AppLevelData
Returns:

findById

public AppLevelDataItem findById(java.lang.String id)
Description copied from interface: AppLevelData
Find in a map a LevelDataItem.

Specified by:
findById in interface AppLevelData
Returns:

addItem

public void addItem(AppLevelDataItem item)
Specified by:
addItem in interface AppLevelData

findByNextLevel

public AppLevelDataItem findByNextLevel(NextLevel nextLevel)
Description copied from interface: AppLevelData
Find number of nextLevel

Specified by:
findByNextLevel in interface AppLevelData
Returns:

reIndex

public void reIndex()
Description copied from interface: AppLevelData
Index again the map

Specified by:
reIndex in interface AppLevelData

getAllImages

public java.util.List<SearchResult> getAllImages(java.lang.String levelId)
Description copied from interface: AppLevelData
Returns all images of search result list

Specified by:
getAllImages in interface AppLevelData
Returns:

findWidthText

public java.util.List<SearchResult> findWidthText(java.lang.String text,
                                                  java.lang.String levelId)
Description copied from interface: AppLevelData
Returns a list with SearchResults

Specified by:
findWidthText in interface AppLevelData
Returns:

findAllGeoref

public java.util.List<SearchResult> findAllGeoref(java.lang.String levelId)
Description copied from interface: AppLevelData
Find all geo-referrals points

Specified by:
findAllGeoref in interface AppLevelData
Returns: