com.ibm.ccd.ui.portlets.search.core
Interface ISaveSearch

All Known Implementing Classes:
FileSavedSearch

public interface ISaveSearch

This interface defines methods for saving the search XML. implementations for dtatbase or file must implement this interface


Method Summary
 java.lang.String getFolder()
           
 java.lang.String getUserId()
          gets unique user id used for saving and retriving data.
 java.util.ArrayList loadSearch()
          Thsi methid loads all previous saved search xmls
 void saveSearch(java.util.ArrayList searchData)
          Saves the search data to dtat syore
 void setFolder(java.lang.String path)
          Set the folder name which stores all files
 void setUserId(java.lang.String userId)
          sets unique user id used for saving and retriving data.
 

Method Detail

saveSearch

void saveSearch(java.util.ArrayList searchData)
                throws UIException
Saves the search data to dtat syore

Parameters:
searchData -
Throws:
UIException

loadSearch

java.util.ArrayList loadSearch()
                               throws UIException
Thsi methid loads all previous saved search xmls

Returns:
Hashtable with search xml for unique keys
Throws:
UIException

getUserId

java.lang.String getUserId()
gets unique user id used for saving and retriving data.

Returns:
String

setUserId

void setUserId(java.lang.String userId)
sets unique user id used for saving and retriving data.

Parameters:
userId -

getFolder

java.lang.String getFolder()
Returns:
the folder path

setFolder

void setFolder(java.lang.String path)
Set the folder name which stores all files