if (typeof UserGroup != "function") { function UserGroup() { this.id = 0; this.group = null; this.user = null; } } if (typeof User != "function") { function User() { this.primaryOffice = null; this.id = 0; this.lastName = null; this.birthday = null; this.userGroups = null; this.phoneNumber = null; this.email = null; this.login = null; this.firstName = null; this.agent = null; } } // 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.getFieldValue = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getFieldValue', p0, p1, callback); } CMSInterface.getPage = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPage', p0, callback); } CMSInterface.getPage = function(p0, p1, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPage', p0, p1, callback); } CMSInterface.getTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getTemplate', p0, callback); } CMSInterface.getLayout = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getLayout', p0, callback); } CMSInterface.getComponentTemplate = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getComponentTemplate', p0, callback); } CMSInterface.getPages = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getPages', p0, callback); } CMSInterface.getLayouts = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getLayouts', p0, callback); } CMSInterface.getTemplates = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getTemplates', 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.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.getRootPages = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getRootPages', 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.getSkins = function(callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getSkins', callback); } CMSInterface.saveSkin = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'saveSkin', p0, callback); } CMSInterface.getSkinFiles = function(p0, callback) { dwr.engine._execute(CMSInterface._path, 'CMSInterface', 'getSkinFiles', 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.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); }