public static final class AccessRule.NoWriteRule extends Object implements AccessRule
AccessRule.NoWriteRuleALWAYS_HIDDEN, ALWAYS_READ_ONLY, ALWAYS_READ_WRITE| Modifier and Type | Method and Description |
|---|---|
AccessPermission |
getPermission(Adaptation anAdaptation,
Session aSession,
SchemaNode aNode)
Returns permissions for the specified arguments.
|
static AccessRule |
wrapRule(AccessRule aRule) |
public static AccessRule wrapRule(AccessRule aRule)
public AccessPermission getPermission(Adaptation anAdaptation, Session aSession, SchemaNode aNode)
AccessRule
Warning: if this AccessRule is assigned to a
table record,
this method is called in multiple contexts:
aDataSetOrRecord is the current dataset.aDataSetOrRecord is the current record.aDataSetOrRecord is the current dataset.getPermission in interface AccessRuleanAdaptation - current dataset or record (see warning above)aSession - current user sessionaNode - current data model node whose access must be computed;
when the permission is requested for the dataset itself (not a particular node), this is
the root nodenull.SchemaExtensionsContext,
Performance guidelines