|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Specifies a programmatic access rule.
Access rules are set by methods setAccessRule...
on class
SchemaExtensionsContext
.
SchemaExtensionsContext.setAccessRuleOnNode(Path, AccessRule)
Field Summary | |
static AccessRule |
ALWAYS_HIDDEN
This rule always returns hidden access permission. |
static AccessRule |
ALWAYS_READ_ONLY
This rule always returns read-only access permission. |
static AccessRule |
ALWAYS_READ_WRITE
This rule always returns read-write access permission. |
Method Summary | |
AccessPermission |
getPermission(Adaptation anAdaptation,
Session aSession,
SchemaNode aNode)
Returns a permission for the arguments specified. |
Field Detail |
public static final AccessRule ALWAYS_READ_WRITE
public static final AccessRule ALWAYS_READ_ONLY
public static final AccessRule ALWAYS_HIDDEN
Method Detail |
public AccessPermission getPermission(Adaptation anAdaptation, Session aSession, SchemaNode aNode)
anAdaptation
- current adaptation (either an instance or an occurrence)aSession
- current user sessionaNode
- usually ignored by the implementation - only needed if some introspection is needed:
current schema node (when the permission is about the global adaptation, this is the root node)
null
.SchemaExtensionsContext.setAccessRuleOnInstance(AccessRule)
,
SchemaExtensionsContext.setAccessRuleOnNode(Path, AccessRule)
,
SchemaExtensionsContext.setAccessRuleOnNodeAndAllDescendants(Path, boolean, AccessRule)
,
SchemaExtensionsContext.setAccessRuleOnOccurrence(Path, AccessRule)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.