|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Context for specifying extensions to a schema.
SchemaExtensions
Method Summary | |
SchemaNode |
getSchemaNode()
Returns the root node of the schema. |
void |
setAccessRuleOnInstance(AccessRule aRule)
Declares that the global access to an instance of the schema may be restricted by the rule specified. |
void |
setAccessRuleOnNode(Path aPath,
AccessRule aRule)
Declares that the access to a node may be restricted by the rule specified. |
void |
setAccessRuleOnNodeAndAllDescendants(Path subTreePath,
boolean includeSubTreeRoot,
AccessRule aRule)
Declares that the access to a nodes subtree may be restricted by the rule specified. |
void |
setAccessRuleOnOccurrence(Path aTablePath,
AccessRule aRule)
Declares that the global access to a table occurrence of the schema may be restricted by the rule specified. |
Method Detail |
public SchemaNode getSchemaNode()
public void setAccessRuleOnInstance(AccessRule aRule)
aRule
- specifies the rule to assignsetAccessRuleOnNode(Path, AccessRule)
,
setAccessRuleOnOccurrence(Path, AccessRule)
public void setAccessRuleOnNode(Path aPath, AccessRule aRule)
At runtime, the actual access permission to a node is the minimal permission of the following :
setAccessRuleOnInstance(AccessRule)
;setAccessRuleOnOccurrence(Path, AccessRule)
.AccessRule.ALWAYS_READ_WRITE
.
aPath
- location of the nodeaRule
- specifies the rule to assignpublic void setAccessRuleOnNodeAndAllDescendants(Path subTreePath, boolean includeSubTreeRoot, AccessRule aRule)
subTreePath
- specifies the root of the nodes to assignincludeSubTreeRoot
- specifies whether the root is also assigned with the ruleaRule
- specifies the rule to assignsetAccessRuleOnNode(Path, AccessRule)
public void setAccessRuleOnOccurrence(Path aTablePath, AccessRule aRule)
At runtime, the actual access permission to a table occurrence is the minimal permission of the following :
setAccessRuleOnInstance(AccessRule)
;AccessRule.ALWAYS_READ_WRITE
.
aTablePath
- location of table nodeaRule
- specifies the rule to assign
|
|||||||||||
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.