com.arsdigita.loader
Class PackageLoader

java.lang.Object
  extended bycom.arsdigita.util.parameter.AbstractParameterContext
      extended bycom.arsdigita.runtime.AbstractScript
          extended bycom.arsdigita.loader.PackageLoader
All Implemented Interfaces:
ParameterContext, Script
Direct Known Subclasses:
CoreLoader

public abstract class PackageLoader
extends AbstractScript

PackageLoader

Version:
$Revision: #5 $ $Date: 2004/04/07 $
Author:
Rafael H. Schloming <rhs@mit.edu>

Field Summary
static org.apache.log4j.Logger s_log
           
static String versionId
           
 
Constructor Summary
PackageLoader()
           
 
Method Summary
static boolean exists(Connection conn, String table)
           
static boolean exists(Session ssn, OID oid)
           
static boolean exists(Session ssn, String type)
           
static void load(Connection conn, String script)
           
static ParameterLoader loader(String[] args)
           
static void requires(Connection conn, String table)
           
static void requires(Session ssn, OID oid)
           
static void requires(Session ssn, String type)
           
 
Methods inherited from class com.arsdigita.runtime.AbstractScript
run
 
Methods inherited from class com.arsdigita.util.parameter.AbstractParameterContext
get, get, getParameters, load, load, loadInfo, register, save, set, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.util.parameter.ParameterContext
get, get, getParameters, load, save, set, validate
 

Field Detail

s_log

public static final org.apache.log4j.Logger s_log

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

PackageLoader

public PackageLoader()
Method Detail

exists

public static boolean exists(Connection conn,
                             String table)

requires

public static void requires(Connection conn,
                            String table)

exists

public static boolean exists(Session ssn,
                             OID oid)

requires

public static void requires(Session ssn,
                            OID oid)

exists

public static boolean exists(Session ssn,
                             String type)

requires

public static void requires(Session ssn,
                            String type)

load

public static void load(Connection conn,
                        String script)

loader

public static ParameterLoader loader(String[] args)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC