mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-10 06:24:35 +09:00
This commit is contained in:
1 parent
fb85a67d6b
commit
1fd5dadcf4
9 files changed
+218
-180
No files matched your search
+12
-5
@@ -561,17 +561,24 @@ public:
|
||||
/**
|
||||
* Replace template for this object. Object should be updated
|
||||
* after calling this method
|
||||
* @param tmpl string representation of the template
|
||||
* @param tmpl_str new contents
|
||||
* @param keep_restricted If true, the restricted attributes of the
|
||||
* current template will override the new template
|
||||
* @param error string describing the error if any
|
||||
* @return 0 on success
|
||||
*/
|
||||
virtual int replace_template(const string& tmpl_str, string& error);
|
||||
virtual int replace_template(const string& tmpl_str, bool keep_restricted, string& error);
|
||||
|
||||
/**
|
||||
* Append new attributes to this object's template. Object should be updated
|
||||
* after calling this method
|
||||
* @param tmpl string representation of the template
|
||||
* @param tmpl_str new contents
|
||||
* @param keep_restricted If true, the restricted attributes of the
|
||||
* current template will override the new template
|
||||
* @param error string describing the error if any
|
||||
* @return 0 on success
|
||||
*/
|
||||
virtual int append_template(const string& tmpl_str, string& error);
|
||||
|
||||
virtual int append_template(const string& tmpl_str, bool keep_restricted, string& error);
|
||||
|
||||
/**
|
||||
* Fills a auth class to perform an authZ/authN request based on the object
|
||||
|
||||
Reference in new issue
Block a user