Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.db
Class DerbyFunctions

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.db.EmbeddedFunctions
      extended by org.nuxeo.ecm.core.storage.sql.db.DerbyFunctions

public class DerbyFunctions
extends EmbeddedFunctions

Functions used as stored procedures for Derby.

Author:
Florent Guillaume

Constructor Summary
DerbyFunctions()
           
 
Method Summary
static short isAccessAllowedLong(Long id, String principals, String permissions)
           
static short isAccessAllowedString(String id, String principals, String permissions)
           
static short isInTreeLong(Long id, Long baseId)
           
static short isInTreeString(String id, String baseId)
           
static short matchesFullTextDerby(String fulltext, String query)
           
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.db.EmbeddedFunctions
isAccessAllowed, isAccessAllowed, isInTree, isInTree, parseFullText, parseWord, split, split
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbyFunctions

public DerbyFunctions()
Method Detail

isInTreeString

public static short isInTreeString(String id,
                                   String baseId)
                            throws SQLException
Throws:
SQLException

isInTreeLong

public static short isInTreeLong(Long id,
                                 Long baseId)
                          throws SQLException
Throws:
SQLException

isAccessAllowedString

public static short isAccessAllowedString(String id,
                                          String principals,
                                          String permissions)
                                   throws SQLException
Throws:
SQLException

isAccessAllowedLong

public static short isAccessAllowedLong(Long id,
                                        String principals,
                                        String permissions)
                                 throws SQLException
Throws:
SQLException

matchesFullTextDerby

public static short matchesFullTextDerby(String fulltext,
                                         String query)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.