org.benow.repository
Class RepositoryServiceImpl

java.lang.Object
  extended by org.benow.repository.RepositoryServiceImpl
All Implemented Interfaces:
org.benow.java.spec.Markup, RepositoryService, org.benow.service.Service

public class RepositoryServiceImpl
extends java.lang.Object
implements RepositoryService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.benow.java.spec.Markup
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription
 
Constructor Summary
RepositoryServiceImpl()
           
 
Method Summary
 QueryResults execQuery(java.lang.String sql)
           
 QueryResults execQueryAgain(java.lang.String sql, int startingFrom, int spanning)
           
 java.io.File exportAll()
           
 java.io.File exportClasses(java.util.List<java.lang.Class<?>> classes)
           
 java.util.List<java.lang.Class<?>> getStoredClasses()
           
 java.util.List<java.lang.String> importFrom(java.io.File xmlFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServiceImpl

public RepositoryServiceImpl()
Method Detail

execQuery

public QueryResults execQuery(java.lang.String sql)
                       throws java.sql.SQLException
Specified by:
execQuery in interface RepositoryService
Throws:
java.sql.SQLException

execQueryAgain

public QueryResults execQueryAgain(java.lang.String sql,
                                   int startingFrom,
                                   int spanning)
                            throws java.sql.SQLException
Specified by:
execQueryAgain in interface RepositoryService
Throws:
java.sql.SQLException

getStoredClasses

public java.util.List<java.lang.Class<?>> getStoredClasses()
Specified by:
getStoredClasses in interface RepositoryService

exportAll

public java.io.File exportAll()
                       throws java.io.IOException,
                              org.benow.repository.ObjectRepositoryException,
                              RedirectException
Specified by:
exportAll in interface RepositoryService
Throws:
java.io.IOException
org.benow.repository.ObjectRepositoryException
RedirectException

exportClasses

public java.io.File exportClasses(java.util.List<java.lang.Class<?>> classes)
                           throws java.io.IOException,
                                  org.benow.repository.ObjectRepositoryException,
                                  RedirectException
Specified by:
exportClasses in interface RepositoryService
Throws:
java.io.IOException
org.benow.repository.ObjectRepositoryException
RedirectException

importFrom

public java.util.List<java.lang.String> importFrom(java.io.File xmlFile)
Specified by:
importFrom in interface RepositoryService