org.nuxeo.ecm.core.storage.sql.db
Class DerbyFunctions
java.lang.Object
org.nuxeo.ecm.core.storage.sql.db.EmbeddedFunctions
org.nuxeo.ecm.core.storage.sql.db.DerbyFunctions
public class DerbyFunctions
- extends EmbeddedFunctions
Functions used as stored procedures for Derby.
- Author:
- Florent Guillaume
Method Summary |
static short |
isAccessAllowedLong(java.lang.Long id,
java.lang.String principals,
java.lang.String permissions)
|
static short |
isAccessAllowedString(java.lang.String id,
java.lang.String principals,
java.lang.String permissions)
|
static short |
isInTreeLong(java.lang.Long id,
java.lang.Long baseId)
|
static short |
isInTreeString(java.lang.String id,
java.lang.String baseId)
|
static short |
matchesFullTextDerby(java.lang.String fulltext,
java.lang.String query)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerbyFunctions
public DerbyFunctions()
isInTreeString
public static short isInTreeString(java.lang.String id,
java.lang.String baseId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
isInTreeLong
public static short isInTreeLong(java.lang.Long id,
java.lang.Long baseId)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
isAccessAllowedString
public static short isAccessAllowedString(java.lang.String id,
java.lang.String principals,
java.lang.String permissions)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
isAccessAllowedLong
public static short isAccessAllowedLong(java.lang.Long id,
java.lang.String principals,
java.lang.String permissions)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
matchesFullTextDerby
public static short matchesFullTextDerby(java.lang.String fulltext,
java.lang.String query)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.