if (typeof UserGroup != "function") { function UserGroup() { this.id = 0; this.group = null; this.user = null; } } if (typeof User != "function") { function User() { this.birthday = null; this.lastName = null; this.primaryOfficeName = null; this.userGroupsNames = null; this.agent = null; this.id = 0; this.primaryOffice = null; this.userGroups = null; this.phoneNumber = null; this.email = null; this.copierCode = null; this.login = null; this.firstName = null; this.resourceGallerySize = 0; this.disabled = false; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (CMSInterface == null) var CMSInterface = {}; CMSInterface._path = '/dwr'; CMSInterface.getResource = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getResource', p0, callback); } CMSInterface.getResources = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getResources', p0, callback); } CMSInterface.getPermissions = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPermissions', p0, callback); } CMSInterface.search = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'search', p0, p1, callback); } CMSInterface.checkResource = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'checkResource', p0, callback); } CMSInterface.getFieldValue = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getFieldValue', p0, p1, callback); } CMSInterface.checkResources = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'checkResources', p0, p1, p2, callback); } CMSInterface.getPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPage', p0, callback); } CMSInterface.getLayout = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getLayout', p0, callback); } CMSInterface.getTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getTemplate', p0, callback); } CMSInterface.getResourceGallerySize = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getResourceGallerySize', callback); } CMSInterface.getSkin = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getSkin', p0, callback); } CMSInterface.getRootPages = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootPages', p0, callback); } CMSInterface.getPages = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPages', p0, callback); } CMSInterface.getTemplates = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getTemplates', p0, callback); } CMSInterface.getLayouts = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getLayouts', p0, callback); } CMSInterface.getSkins = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getSkins', p0, callback); } CMSInterface.getComponentTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getComponentTemplate', p0, callback); } CMSInterface.getResourceUrl = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getResourceUrl', p0, p1, callback); } CMSInterface.getPageField = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPageField', p0, callback); } CMSInterface.deleteDocument = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteDocument', p0, callback); } CMSInterface.saveTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveTemplate', p0, callback); } CMSInterface.deleteTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteTemplate', p0, callback); } CMSInterface.getUserPermission = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getUserPermission', p0, callback); } CMSInterface.deletePermission = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deletePermission', p0, callback); } CMSInterface.getComponentTemplates = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getComponentTemplates', p0, callback); } CMSInterface.getRootLayouts = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootLayouts', callback); } CMSInterface.saveLayout = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveLayout', p0, callback); } CMSInterface.deleteLayout = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteLayout', p0, callback); } CMSInterface.getComponentTemplateFields = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getComponentTemplateFields', p0, callback); } CMSInterface.getRootComponentTemplates = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootComponentTemplates', callback); } CMSInterface.saveComponentTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveComponentTemplate', p0, callback); } CMSInterface.deleteComponentTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteComponentTemplate', p0, callback); } CMSInterface.getRootTemplates = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootTemplates', callback); } CMSInterface.getTemplateFields = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getTemplateFields', p0, callback); } CMSInterface.getRootDocuments = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootDocuments', callback); } CMSInterface.savePage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'savePage', p0, callback); } CMSInterface.saveFields = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveFields', p0, p1, callback); } CMSInterface.beginEdit = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'beginEdit', p0, callback); } CMSInterface.revertPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'revertPage', p0, callback); } CMSInterface.commitPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'commitPage', p0, callback); } CMSInterface.deletePage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deletePage', p0, callback); } CMSInterface.getPreviewPage = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPreviewPage', p0, p1, callback); } CMSInterface.getPublishedPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPublishedPage', p0, callback); } CMSInterface.getPageRevision = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPageRevision', p0, p1, callback); } CMSInterface.rollbackPage = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'rollbackPage', p0, p1, callback); } CMSInterface.saveResource = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveResource', p0, callback); } CMSInterface.deleteResource = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteResource', p0, callback); } CMSInterface.getRootResources = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootResources', callback); } CMSInterface.getRootSkins = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootSkins', callback); } CMSInterface.saveSkin = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveSkin', p0, callback); } CMSInterface.saveResourceContent = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveResourceContent', p0, p1, callback); } CMSInterface.getResourceContent = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getResourceContent', p0, callback); } CMSInterface.getPageRevisions = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPageRevisions', p0, callback); } CMSInterface.publishPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'publishPage', p0, callback); } CMSInterface.getPreviewUrl = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPreviewUrl', p0, p1, callback); } CMSInterface.deletePageComponent = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deletePageComponent', p0, callback); } CMSInterface.getBackPageUrl = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getBackPageUrl', callback); } CMSInterface.getPageByUri = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPageByUri', p0, p1, callback); } CMSInterface.cloneComponent = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'cloneComponent', p0, callback); } CMSInterface.saveDocument = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveDocument', p0, callback); } CMSInterface.deleteSkin = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteSkin', p0, callback); } CMSInterface.getRootSiteResources = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootSiteResources', p0, callback); } CMSInterface.savePageField = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'savePageField', p0, p1, p2, callback); } CMSInterface.saveComponentField = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveComponentField', p0, p1, p2, callback); } CMSInterface.duplicateSite = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'duplicateSite', p0, p1, p2, callback); } CMSInterface.publishSite = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'publishSite', p0, p1, callback); } CMSInterface.publishFolder = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'publishFolder', p0, callback); } CMSInterface.getPageFields = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPageFields', p0, callback); } CMSInterface.getSitePreviewURL = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getSitePreviewURL', p0, callback); } CMSInterface.getMySites = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getMySites', callback); } CMSInterface.savePermissions = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'savePermissions', p0, callback); } CMSInterface.exportSite = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'exportSite', p0, callback); } CMSInterface.processPackage = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'processPackage', p0, p1, callback); } CMSInterface.getGlobalConfig = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getGlobalConfig', callback); } CMSInterface.getConfigBySite = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getConfigBySite', p0, callback); } CMSInterface.saveConfigSetting = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveConfigSetting', p0, callback); } CMSInterface.deleteConfig = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'deleteConfig', p0, callback); } CMSInterface.saveComponent = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveComponent', p0, p1, p2, callback); } CMSInterface.saveComponents = function(p0, p1, p2, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveComponents', p0, p1, p2, callback); }