ch.bouquet.jpa.test
Class TestDataLoader

java.lang.Object
  extended by ch.bouquet.jpa.test.TestDataLoader

public class TestDataLoader
extends java.lang.Object

Copyright (c) 2007, Swiss Federal Institute of Intellectual Property

Version:
$Id: $
Author:
Marc Bouquet

Constructor Summary
TestDataLoader()
          Default constructor.
 
Method Summary
 java.util.List<AuthRole> createAuthRoles()
          Create test data auth roles out of the follwoing to lists Role names:
    Fritschi AG Vaucher BiseNoir Intersport Fanatic
 void load()
          Load testdata into the eadj database
static void main(java.lang.String[] args)
          Load test data into eadj database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDataLoader

public TestDataLoader()
Default constructor.

Method Detail

load

public void load()
          throws java.lang.Exception
Load testdata into the eadj database

Throws:
java.lang.Exception

createAuthRoles

public java.util.List<AuthRole> createAuthRoles()
Create test data auth roles out of the follwoing to lists

Role names:

  1. Fritschi AG
  2. Vaucher
  3. BiseNoir
  4. Intersport
  5. Fanatic

Returns:
List

main

public static void main(java.lang.String[] args)
Load test data into eadj database

Parameters:
args - no arguments required


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.