Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.directory.sql
Class SQLHelper

java.lang.Object
  extended by org.nuxeo.ecm.directory.sql.SQLHelper

public class SQLHelper
extends Object


Field Summary
static String SQL_NULL_MARKER
           
 
Constructor Summary
SQLHelper(Connection connection, Table table, String dataFileName, char characterSeparator, String policy)
           
SQLHelper(Connection connection, Table table, String dataFileName, String policy)
           
 
Method Summary
static Column addColumn(Table table, String fieldName, ColumnType type, boolean nativeCase)
           
static Table addTable(String name, Dialect dialect, boolean nativeCase)
           
 boolean hasMatchingColumns()
           
 boolean setupTable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_NULL_MARKER

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

SQLHelper

public SQLHelper(Connection connection,
                 Table table,
                 String dataFileName,
                 char characterSeparator,
                 String policy)

SQLHelper

public SQLHelper(Connection connection,
                 Table table,
                 String dataFileName,
                 String policy)
Method Detail

setupTable

public boolean setupTable()
                   throws DirectoryException
Throws:
DirectoryException

hasMatchingColumns

public boolean hasMatchingColumns()

addTable

public static Table addTable(String name,
                             Dialect dialect,
                             boolean nativeCase)

addColumn

public static Column addColumn(Table table,
                               String fieldName,
                               ColumnType type,
                               boolean nativeCase)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.