|
object.modify
|
| |
|
description
Modify an object class in the current site.
privilege-required
administrator
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Object id. |
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| policy-read-default |
string |
none |
false |
Default privilege to read the content of each object instance
(owner cannot be applied). |
| name |
string |
none |
false |
Object name (should match a specific regexp defined in the configuration file). |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Object name allready exists |
| 2 |
Not allowed to modify this object |
| 3 |
Incorrect policy |
|
| |
|
RESULT
|
|
|
name
|
description
|
| id |
Id of the object just created. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="object.modify" id="{$object-id}" >
<nvd:parameter name="name">plane</nvd:parameter>
</nvd:command>
|
|