|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sessionscript.AliasScriptCache
public class AliasScriptCache
XML cache of SQL scripts.
| Constructor Summary | |
|---|---|
AliasScriptCache(SessionScriptPlugin plugin)
Ctor. |
|
| Method Summary | |
|---|---|
AliasScript |
get(ISQLAlias alias)
Return the AliasScript for the passed ISQLAlias. |
void |
load()
Load scripts from XML document. |
void |
save()
Save scripts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AliasScriptCache(SessionScriptPlugin plugin)
throws IOException
sqlScriptPlugin - Current plugin.
IllegalArgumentException - Thrown if null SQLScriptPlugin passed.
IOException| Method Detail |
|---|
public AliasScript get(ISQLAlias alias)
alias - SQLALias to retrieve collection of scripts for.
IllegalArgumentException - Thrown if nullISQLAlias passed.
InternalError - Thrown if we try to add a script for an alias
and one already exists. Programming error.public void load()
public void save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||