public class VaultContentXMLContentCreator extends Object implements org.apache.sling.jcr.contentloader.ContentCreator
| Modifier and Type | Method and Description |
|---|---|
void |
createAce(String principal,
String[] grantedPrivileges,
String[] deniedPrivileges,
String order) |
void |
createAce(String principalId,
String[] grantedPrivilegeNames,
String[] deniedPrivilegeNames,
String order,
Map<String,javax.jcr.Value> restrictions,
Map<String,javax.jcr.Value[]> mvRestrictions,
Set<String> removedRestrictionNames) |
void |
createFileAndResourceNode(String name,
InputStream data,
String mimeType,
long lastModified) |
void |
createGroup(String name,
String[] members,
Map<String,Object> extraProperties) |
void |
createNode(String name,
String primaryNodeType,
String[] mixinNodeTypes) |
void |
createProperty(String name,
int propertyType,
String value) |
void |
createProperty(String name,
int propertyType,
String[] values) |
void |
createProperty(String name,
Object value) |
void |
createProperty(String name,
Object[] values) |
void |
createUser(String name,
String password,
Map<String,Object> extraProperties) |
void |
finish() |
void |
finishNode() |
@Nullable String |
getPrimaryNodeName() |
boolean |
switchCurrentNode(String subPath,
String newNodeType) |
public void createNode(String name, String primaryNodeType, String[] mixinNodeTypes) throws javax.jcr.RepositoryException
createNode in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryException@Nullable public @Nullable String getPrimaryNodeName()
public void finishNode()
finishNode in interface org.apache.sling.jcr.contentloader.ContentCreatorpublic void finish()
throws javax.jcr.RepositoryException
finish in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic void createProperty(String name, int propertyType, String value) throws javax.jcr.RepositoryException
createProperty in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic void createProperty(String name, int propertyType, String[] values) throws javax.jcr.RepositoryException
createProperty in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic void createProperty(String name, Object value) throws javax.jcr.RepositoryException
createProperty in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic void createProperty(String name, Object[] values) throws javax.jcr.RepositoryException
createProperty in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic void createFileAndResourceNode(String name, InputStream data, String mimeType, long lastModified) throws javax.jcr.RepositoryException
createFileAndResourceNode in interface org.apache.sling.jcr.contentloader.ContentCreatorjavax.jcr.RepositoryExceptionpublic boolean switchCurrentNode(String subPath, String newNodeType)
switchCurrentNode in interface org.apache.sling.jcr.contentloader.ContentCreatorpublic void createUser(String name, String password, Map<String,Object> extraProperties)
createUser in interface org.apache.sling.jcr.contentloader.ContentCreatorpublic void createGroup(String name, String[] members, Map<String,Object> extraProperties)
createGroup in interface org.apache.sling.jcr.contentloader.ContentCreatorpublic void createAce(String principal, String[] grantedPrivileges, String[] deniedPrivileges, String order)
createAce in interface org.apache.sling.jcr.contentloader.ContentCreatorpublic void createAce(String principalId, String[] grantedPrivilegeNames, String[] deniedPrivilegeNames, String order, Map<String,javax.jcr.Value> restrictions, Map<String,javax.jcr.Value[]> mvRestrictions, Set<String> removedRestrictionNames)
createAce in interface org.apache.sling.jcr.contentloader.ContentCreatorCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.