public interface AccessRuleForCreate
Access rules for create are set by the method setAccessRuleForCreateOnNode
in
SchemaExtensionsContext
.
SchemaExtensionsContext.setAccessRuleForCreateOnNode(Path, AccessRuleForCreate)
Modifier and Type | Field and Description |
---|---|
static AccessRuleForCreate |
ALWAYS_HIDDEN
Always returns hidden access permission.
|
static AccessRuleForCreate |
ALWAYS_READ_ONLY
Always returns read-only access permission.
|
static AccessRuleForCreate |
ALWAYS_READ_WRITE
Always returns read-write access permission.
|
Modifier and Type | Method and Description |
---|---|
AccessPermission |
getPermission(AccessRuleForCreateContext aContext)
Returns the permission for the specified record creation context.
|
static final AccessRuleForCreate ALWAYS_READ_WRITE
static final AccessRuleForCreate ALWAYS_READ_ONLY
static final AccessRuleForCreate ALWAYS_HIDDEN
AccessPermission getPermission(AccessRuleForCreateContext aContext)
aContext
- the context of the record creationnull
(in case null
would be returned,
a NullPointerException
would be thrown afterwards).