View Directive for XML-RPC methods.
for_
*
-
GlobalObject
(default =
None
)
The types of objects to be published via XML-RPC
This can be expressed with either a class or an interface
class_
-
GlobalObject
(default =
None
)
A class that provides attributes used by the view.
interface
-
Tokens
(default =
None
)
layer
-
GlobalInterface
(default =
None
)
The default layer for which the default view is applicable. By default it is applied to all layers.
methods
-
Tokens
(default =
None
)
name
-
TextLine
(default =
None
)
If a name is given, then rpc methods are accessed by traversing the name and then accessing the methods. In this case, the class should implement zope.pubisher.interfaces.IPublishTraverse.
If no name is provided, then the names given by the attributes and interfaces are published directly as callable views.
permission
-
Permission
(default =
None
)
The permission needed to use the view.
If this option is used and a name is given for the view, then the names defined by the given methods or interfaces will be under the given permission.
If a name is not given for the view, then, this option is required and the given permission is required to call the individual views defined by the given interface and methods.
(See the name attribute.)
If no permission is given, then permissions should be declared for the view using other means, such as the class directive.
* = required