public interface PrivilegeHandler
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.spi.PrivilegeDefinition[] |
readDefinitions(InputStream in,
Map<String,String> namespaces)
Read the privilege definitions and update the specified namespace mapping.
|
org.apache.jackrabbit.spi.PrivilegeDefinition[] |
readDefinitions(Reader reader,
Map<String,String> namespaces)
Read the privilege definitions and update the specified namespace mapping.
|
void |
writeDefinitions(OutputStream out,
org.apache.jackrabbit.spi.PrivilegeDefinition[] definitions,
Map<String,String> namespaces)
Write the specified privilege definitions to the given output stream.
|
void |
writeDefinitions(Writer writer,
org.apache.jackrabbit.spi.PrivilegeDefinition[] definitions,
Map<String,String> namespaces)
Write the specified privilege definitions to the given writer.
|
org.apache.jackrabbit.spi.PrivilegeDefinition[] readDefinitions(InputStream in, Map<String,String> namespaces) throws ParseException
in - namespaces - ParseExceptionorg.apache.jackrabbit.spi.PrivilegeDefinition[] readDefinitions(Reader reader, Map<String,String> namespaces) throws ParseException
reader - namespaces - ParseExceptionvoid writeDefinitions(OutputStream out, org.apache.jackrabbit.spi.PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
out - definitions - namespaces - IOExceptionvoid writeDefinitions(Writer writer, org.apache.jackrabbit.spi.PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
writer - definitions - namespaces - IOExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.