PrivilegeBits bits = PrivilegeBits.getInstance();
for (String n : def.getNames(REP_AGGREGATES)) {
bits.add(resolvePrivilegeBits(privileges, n));
}
def.setProperty(bits.asPropertyState(REP_BITS));
return bits;
}
private void copyNodeTypes(NodeBuilder root) throws RepositoryException {
NodeTypeRegistry sourceRegistry = source.getNodeTypeRegistry();