OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
This file is part of OpenMediaVault.
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.
idProperty | The name of the field treated as this configuration object's unique id. Defaults to 'uuid'. |
newIdValue | The value of the id that identifies a configuration object as new. Defaults to OMV.UUID_UNDEFINED. |