public class BNavigationAction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
| Constructor and Description |
|---|
BNavigationAction() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteNavigationAction(int navigationActionID)
Deletes a navigation action from the database.
|
static java.sql.ResultSet |
getNavigationActionsForScrapeableFileID(int scrapeableFileID)
Get all navigation actions corresponding to the given scrapeable file.
|
static int |
setNavigationAction(int navigationActionID,
int scrapeableFileID,
java.lang.String name,
int navigationActionType,
int targetScrapeableFileID,
java.lang.String criteria,
java.lang.String parametersToSet,
boolean invokedFromScript,
int sequence)
Sets a navigation action in the database.
|
public static int setNavigationAction(int navigationActionID,
int scrapeableFileID,
java.lang.String name,
int navigationActionType,
int targetScrapeableFileID,
java.lang.String criteria,
java.lang.String parametersToSet,
boolean invokedFromScript,
int sequence)
navigationActionID - The database ID of the navigation action to set.scrapeableFileID - The ID of the scrapeable file with which this
navigation action is associated.name - The name of the navigation action.navigationActionType - The type of the navigation action, as identified
by the constants in the NavigationAction class.targetScrapeableFileID - The ID of the target scrapeable file.criteria - The criteria.parametersToSet - Parameters to set on a form.invokedFromScript - Whether or not the navigation action is to be invoked
from a script.sequence - The sequence of the navigation action.public static java.sql.ResultSet getNavigationActionsForScrapeableFileID(int scrapeableFileID)
scrapeableFileID - The ID of the scrapeable file.ResultSet pointing to the data.public static void deleteNavigationAction(int navigationActionID)
navigationActionID - The ID of the navigation action.