OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
OMV::workspace::window::plugin::ConfigObject Class Reference

Detailed Description

This file is part of OpenMediaVault.

License:
http://www.gnu.org/licenses/gpl.html GPL Version 3
Author
Volker Theile volke.nosp@m.r.th.nosp@m.eile@.nosp@m.open.nosp@m.media.nosp@m.vaul.nosp@m.t.org

OpenMediaVault is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

OpenMediaVault is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenMediaVault. If not, see http://www.gnu.org/licenses/.

Ext.AbstractPlugin A plugin for OMV.workspace.window.Container derived classes that adapts the parent/owner class to automatically load the configuration data/object via the RPC mechanism based on the given id. The id of the configuration data/object (e.g. 'uuid') is automatically added to the RPC get/set parameters. Additional the function 'isNew' is added to the parent/owner class and returns TRUE if the given id identifies the configuration data/object as new. The id must be a property of the parent/owner class.

Parameters
idPropertyThe name of the field treated as this configuration object's unique id. Defaults to 'uuid'.
newIdValueThe value of the id that identifies a configuration object as new. Defaults to OMV.UUID_UNDEFINED.

The documentation for this class was generated from the following file: