com.plumtree.portalpages.browsing.search.network
Interface INetworkSearchModel

All Superinterfaces:
IManagedObject, IModel, IModelRO, IMVCObject
All Known Implementing Classes:
NetworkSearchModel

public interface INetworkSearchModel
extends IModel

Author:
JosephSi

Method Summary
 void ClearSearchedSourceList()
          reset searched source list to be empty
 int GetNumberResults()
           
 void Prepare(java.lang.String searchString, IXPList sourceIDs, int pageNum)
          Call this to initialize a range of search results
 void SaveLocationPreferences(java.lang.String[] locationObjectIdStrings)
          save the locations (object ids of fed portals) as a user preference so that they're automatically checked on the launch page next time
 void SetAlwaysDoLocalSearch(boolean flag)
          TMP A debugging method which will go away when the code is complete
 void SetNumberResults(int num)
           
 void SetPageNum(int pageNum)
          String entered into the box by the user
 void SetSearchStringTruncated(boolean flag)
          Set a flag indicating whether we had to truncate the user's search string to NetworkSearchModel.MAX_SEARCHSTRING_LENGTH characters
 void SetViewMode(java.lang.String viewMode)
          set String indicating whether to present results collated or in parallel
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel
CleanupAllData, CleanupTempData, Init
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IManagedObject
Create
 

Method Detail

SetAlwaysDoLocalSearch

void SetAlwaysDoLocalSearch(boolean flag)
TMP A debugging method which will go away when the code is complete


ClearSearchedSourceList

void ClearSearchedSourceList()
reset searched source list to be empty


Prepare

void Prepare(java.lang.String searchString,
             IXPList sourceIDs,
             int pageNum)
Call this to initialize a range of search results


SetNumberResults

void SetNumberResults(int num)

GetNumberResults

int GetNumberResults()

SetPageNum

void SetPageNum(int pageNum)
String entered into the box by the user


SetViewMode

void SetViewMode(java.lang.String viewMode)
set String indicating whether to present results collated or in parallel


SaveLocationPreferences

void SaveLocationPreferences(java.lang.String[] locationObjectIdStrings)
save the locations (object ids of fed portals) as a user preference so that they're automatically checked on the launch page next time


SetSearchStringTruncated

void SetSearchStringTruncated(boolean flag)
Set a flag indicating whether we had to truncate the user's search string to NetworkSearchModel.MAX_SEARCHSTRING_LENGTH characters




Copyright 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.