org.exist.xquery.functions.xmldb
Class XMLDBPermissions

java.lang.Object
  extended byorg.exist.xquery.AbstractExpression
      extended byorg.exist.xquery.PathExpr
          extended byorg.exist.xquery.Function
              extended byorg.exist.xquery.BasicFunction
                  extended byorg.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator
                      extended byorg.exist.xquery.functions.xmldb.XMLDBPermissions
All Implemented Interfaces:
CompiledXQuery, Expression
Direct Known Subclasses:
XMLDBGetUserOrGroup

public class XMLDBPermissions
extends XMLDBAbstractCollectionManipulator

Author:
Wolfgang Meier (wolfgang@exist-db.org)

Field Summary
static FunctionSignature[] signatures
           
 
Fields inherited from class org.exist.xquery.Function
BUILTIN_FUNCTION_NS, mySignature
 
Fields inherited from class org.exist.xquery.PathExpr
inPredicate, keepVirtual, LOG, source, steps
 
Fields inherited from class org.exist.xquery.AbstractExpression
context, contextDocSet, contextId
 
Fields inherited from interface org.exist.xquery.Expression
EXPRESSION_ID_INVALID, IGNORE_CONTEXT, IN_PREDICATE, IN_UPDATE, IN_WHERE_CLAUSE, NO_CONTEXT_ID, SINGLE_STEP_EXECUTION
 
Constructor Summary
XMLDBPermissions(XQueryContext context, FunctionSignature signature)
           
 
Method Summary
 Sequence evalWithCollection(Collection collection, Sequence[] args, Sequence contextSequence)
           
protected  Permission getPermissions(Collection collection, Sequence[] args)
           
 
Methods inherited from class org.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator
createLocalCollection, eval
 
Methods inherited from class org.exist.xquery.BasicFunction
eval
 
Methods inherited from class org.exist.xquery.Function
analyze, checkArgument, checkArguments, createFunction, dump, getArgument, getArgumentCount, getArguments, getASTNode, getCardinality, getDependencies, getName, getParent, getSignature, isCalledAs, returnsType, setArguments, setASTNode, setParent, setPrimaryAxis, toString
 
Methods inherited from class org.exist.xquery.PathExpr
add, add, addPath, addPredicate, dump, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLiteralValue, getSource, isValid, replaceLastExpression, reset, resetState, setContext, setSource
 
Methods inherited from class org.exist.xquery.AbstractExpression
eval, getContextDocSet, getContextId, getExpressionId, setContextDocSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exist.xquery.CompiledXQuery
eval
 

Field Detail

signatures

public static final FunctionSignature[] signatures
Constructor Detail

XMLDBPermissions

public XMLDBPermissions(XQueryContext context,
                        FunctionSignature signature)
Method Detail

evalWithCollection

public Sequence evalWithCollection(Collection collection,
                                   Sequence[] args,
                                   Sequence contextSequence)
                            throws XPathException
Specified by:
evalWithCollection in class XMLDBAbstractCollectionManipulator
Throws:
XPathException

getPermissions

protected Permission getPermissions(Collection collection,
                                    Sequence[] args)
                             throws XMLDBException,
                                    XPathException
Parameters:
collection -
args -
Returns:
Throws:
XMLDBException
XPathException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.