568eb9170d
Added button in MDMDeviceGeneralTab Created MDMManageSharedFolderContentPanel and MDMManageSharedFolderPanel to show a dialog with multi select hierarchy Created substore sharedfolder Added proxy and response handler to handel device response Used message class instead of object type, Override hierarchy tree , hierarchy loader and folder node ui
33 lines
986 B
JavaScript
33 lines
986 B
JavaScript
Ext.namespace('Zarafa.plugins.mdm.data');
|
|
|
|
/**
|
|
* @class Zarafa.plugins.mdm.data.MDMDeviceFolderStore
|
|
* @extends Zarafa.core.data.MAPISubStore
|
|
* @xtype mdm.devicefolderstore
|
|
* Store specific for MDM Plugin which creates {@link Zarafa.plugins.mdm.MDMDeviceFolderStore record}.
|
|
*/
|
|
Zarafa.plugins.mdm.data.MDMDeviceFolderStore = Ext.extend(Zarafa.core.data.MAPISubStore, {
|
|
/**
|
|
* @constructor
|
|
* @param config Configuration object
|
|
*/
|
|
constructor: function (config)
|
|
{
|
|
config = config || {};
|
|
|
|
Ext.applyIf(config, {
|
|
autoLoad: true,
|
|
remoteSort: false,
|
|
reader: new Zarafa.plugins.mdm.data.JsonDeviceFolderReader(),
|
|
writer: new Zarafa.core.data.JsonWriter(),
|
|
proxy: new Zarafa.core.data.IPMProxy({
|
|
listModuleName: 'pluginmdmmodule',
|
|
itemModuleName: 'pluginmdmmodule'
|
|
})
|
|
});
|
|
|
|
Zarafa.plugins.mdm.data.MDMDeviceFolderStore.superclass.constructor.call(this, config);
|
|
}
|
|
});
|
|
|
|
Ext.reg('mdm.devicefolderstore', Zarafa.plugins.mdm.data.MDMDeviceFolderStore); |