| java.lang.Object edu.indiana.lib.twinpeaks.util.StatusUtils
StatusUtils | public class StatusUtils (Code) | | |
getEstimatedHits | public static int getEstimatedHits(SessionContext sessionContext, String target)(Code) | | Fetch the estimated hiots for a specified target (database)
Parameters: sessionContext - Active SessionContext Parameters: target - Database name Updated hit count |
getNewStatusMap | public static HashMap getNewStatusMap(SessionContext sessionContext)(Code) | | Create a new status map
Parameters: sessionContext - Active SessionContext Status Map for this target |
getStatusMapEntrySetIterator | public static Iterator getStatusMapEntrySetIterator(SessionContext sessionContext)(Code) | | Get an iterator into the system status map
Parameters: sessionContext - Active SessionContext Status map Iterator |
getStatusMapForTarget | public static HashMap getStatusMapForTarget(SessionContext sessionContext, String target)(Code) | | Get the status entry for a specified target database
Parameters: sessionContext - Active SessionContext Parameters: target - Database name Status Map for this target (null if none) |
initialize | public static void initialize(SessionContext sessionContext, String targets)(Code) | | Set up initial status information (done before LOGON)
|
setAllComplete | public static void setAllComplete(SessionContext sessionContext)(Code) | | Set all status value to "search complete" (effects all target databases)
Parameters: sessionContext - Active SessionContext |
setGlobalError | public static void setGlobalError(SessionContext sessionContext, String error, String message)(Code) | | Set global error status (effects all target databases)
Parameters: sessionContext - Active SessionContext Parameters: error - Error number Parameters: message - Expanded error text (null to omit expanded message) |
setGlobalStatus | public static void setGlobalStatus(SessionContext sessionContext, String status, String message)(Code) | | Set global status (effects all target databases)
Parameters: sessionContext - Active SessionContext Parameters: status - One of ERROR | DONE Parameters: message - Status text |
updateHits | public static int updateHits(SessionContext sessionContext, String target)(Code) | | Update the hit count for this target (database)
Parameters: sessionContext - Active SessionContext Parameters: target - Database name Updated hit count |
|
|