Commit f7e85c34 authored by Jérome Perrin's avatar Jérome Perrin

5.1

parent 87dc0492
@server /server/activate_license
@server_description Activates license.
@server_token server
@server /server/change_password
@server_description Changes user's password.
@server_token server
@server /server/databases
@server_description Shows the list of databases.
@server_token server
......@@ -6,7 +14,7 @@
@server_description Shows information about the server.
@server_token server
@server /server/license
@server /server/licenses
@server_description Shows information about the server license.
@server_token server
......@@ -30,15 +38,20 @@
@server_description Shuts down server (does not save database or cube data).
@server_token -
@server /server/user_info
@server_description Shows information about user.
@server_token server
@database /database/cubes
@database_description Shows the list of cubes
@database_token database
@database /database/create
@database_description Creates new database.
@database_token database
@database /database/cubes
@database_description Shows the list of cubes
@database_token database
@database /database/destroy
@database_description Deletes a database.
@database_token server
......@@ -85,6 +98,10 @@
@dimension_description Deletes a dimension.
@dimension_token database
@dimension /dimension/dfilter
@dimension_description Filters dimension elements.
@dimension_token dimension
@dimension /dimension/element
@dimension_description Shows one element at a given position
@dimension_token dimension
......@@ -101,10 +118,6 @@
@dimension_description Renames a dimension.
@dimension_token dimension
@dimension /dimension/dfilter
@dimension_description Filters dimension elements.
@dimension_token dimension
@element /element/append
@element_description Adds children to consolidated elements.
......@@ -131,7 +144,11 @@
@element_token dimension
@element /element/move
@element_description Changes position of an element.
@element_description Changes the position of an element.
@element_token dimension
@element /element/move_bulk
@element_description Changes the position of elements.
@element_token dimension
@element /element/rename
......@@ -151,10 +168,18 @@
@cube_description Clears a cube.
@cube_token cube, client cache
@cube /cube/clear_cache
@cube_description Clears a cube cache.
@cube_token cube
@cube /cube/commit
@cube_description Commits a locked cube area.
@cube_token cube
@cube /cube/convert
@cube_description Convert cube
@cube_token cube, client cache
@cube /cube/create
@cube_description Creates a new cube.
@cube_token cube, client cache
......@@ -254,7 +279,7 @@
@rule_token cube
@rule /rule/destroy
@rule_description Removes an enterprise rule from a cube.
@rule_description Removes specified enterprise rules from a cube.
@rule_token cube
@rule /rule/functions
......@@ -266,7 +291,7 @@
@rule_token cube
@rule /rule/modify
@rule_description Modifies an enterprise rule of a cube.
@rule_description Modifies enterprise rules of a cube.
@rule_token cube
@rule /rule/parse
......@@ -279,3 +304,7 @@
@svs /svs/info
@svs_description Gets information about Supervision Server.
@svs_token -
@svs /svs/restart
@svs_description Restarts all SVS processes to reload PHP scripts.
@svs_token -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO documentation</h1>
<h1>Jedox OLAP documentation</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -50,7 +50,7 @@
<tr>
<td colspan="2">
In order to support optimistic caching strategies on the client, Palo uses a token
In order to support optimistic caching strategies on the client, Jedox OLAP uses a token
mechanism to track changes on the server, databases, dimensions, and cubes as follows.
Each of these objects have an associated token. This token is changed whenever the
object is changed. I. e., if the dimension hierarchy is modified the corresponding
......@@ -83,7 +83,7 @@
</tr>
<tr>
<td colspan="2">The PALO-Server supports the following requests (<a href="/api/example.html">examples</a>): </td>
<td colspan="2">The Jedox OLAP server supports the following requests (<a href="/api/example.html">examples</a>): </td>
</tr>
<tr>
......@@ -309,7 +309,7 @@ END_LOOP
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -13,6 +13,72 @@
</head>
<body>
<script>
function httpGet(theUrl)
{
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false );
xmlHttp.send( null );
if (xmlHttp.status != 200) {
alert(xmlHttp.responseText);
return false;
}
return true;
}
function editHandler(event)
{
if(event.keyCode == 13) {
path = event.target.getAttribute('path');
type = event.target.getAttribute('type');
prevValue = event.target.getAttribute('prevValue');
value = event.target.value;
var add=false;
command = value.substr(0,1);
splash = 0;
if (command == '+') {
value =value.substr(1);
add = true;
} else if (command == '!') {
value =value.substr(1);
splash = 3;
} else if (command == '#') {
value =value.substr(1);
splash = 1;
}
if (splash != 0) {
lastchar = value.slice(-1);
if (lastchar == "%") {
percentage = value.substr(0,value.length-1);
// calculate desired value
value = prevValue * percentage / 100;
}
}
var myurl = location.protocol+"//"+location.host+"/cell/replace?sid=0000&database={@database_identifier}&cube={@cube_identifier}&path="+path+"&value="+value;
if (add) {
myurl += "&add=1";
}
if (splash != 0) {
myurl += "&splash="+splash;
}
if (httpGet(myurl)) {
location.reload();
}
}
}
function startEdit(event)
{
//console.log(event.target.parentNode.getElementsByClassName('path')[0]);
path = event.target.parentNode.parentNode.getElementsByClassName('path')[0].innerHTML;
type = event.target.parentNode.parentNode.getElementsByClassName('type')[0].innerHTML;
prevValue = event.target.parentNode.parentNode.getElementsByClassName('value')[0].innerHTML;
console.log(path, type, prevValue);
val = event.target.innerHTML;
newhtml = "<input type='text' value='"+val+"' onkeyup='editHandler(event)' path='"+path+"' type='"+type+"' prevValue='"+prevValue+"'></input>";
event.target.parentNode.innerHTML = newhtml;
}
</script>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
......@@ -21,12 +87,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -65,14 +131,37 @@
<tr class="doc_table">
<td>number of numeric cube cells</td>
<td>filled cube cells (numeric and string)</td>
<td>marked cells</td>
<td>enterprise rules</td>
</tr>
<tr class="value_table">
<td>{@dimension_numeric_cells}</td>
<td>{@cube_size}</td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}">show</a></td>
<td>{@marked_cells}</td>
<td>
<a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}">show {@cube_rules} rules</a>
<a href="/browser/analyzer?database={@database_identifier}&cube={@cube_identifier}">analyze</a>
</td>
</tr>
</table>
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td>cached areas</td>
<td>cached cells</td>
<td>cached values/limit</td>
<td>cached cells found</td>
<td>cache age/generation</td>
</tr>
<tr class="value_table">
<td>{@cached_areas}</td>
<td>{@cached_cells}</td>
<td>{@cached_values_limit}</td>
<td>{@cached_values_found}</td>
<td>{@cache_time_info} <a href="/browser/cube?database={@database_identifier}&cube={@cube_identifier}&action=reset_cache">clear cache</a></td>
</tr>
</table>
</td>
</tr>
......@@ -145,10 +234,12 @@ END_LOOP
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td>Path (*)</td>
<td width="90"></td>
<td width="10"></td>
</tr>
<tr class="value_table">
<td><input name="area" type="text" size="50" maxlength="200" value="{@cell_path_value}"></td>
<td><input name="area" type="text" size="50" maxlength="16384" value="{@cell_path_value}"></td>
<td><input name="skip_empty" input type="checkbox" value="0">Skip empty</td>
<td><input type="submit" value=" OK "></td>
</tr>
</table>
......@@ -163,16 +254,18 @@ END_LOOP
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td>path</td>
<td>elements</td>
<td width="60">type</td>
<td width="40">rule</td>
<td width="100">value</td>
</tr>
LOOP @cell_path
<tr class="value_table">
<td>{@cell_path[]}</td>
<td>{@cell_type[]}</td>
<td class="path">{@cell_path[]}</td>
<td>{@cell_pathName[]}</td>
<td class="type">{@cell_type[]}</td>
<td>{@cell_rule[]}</td>
<td>{@cell_value[]}</td>
<td><span class="value" onclick="startEdit(event)">{@cell_value[]}</a></td>
</tr>
END_LOOP
</table>
......@@ -183,7 +276,6 @@ END_LOOP
<td colspan="2">(*) Comma separated list of element identifier. Use the "*" character for all elements of a dimension.
The list of cells is limited to 1000 values.</td>
</tr>
</table>
</div>
</div>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,44 +21,42 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
<tr class="border_table">
<td colspan="2"><a href="/">home</a> > <a href="/browser/server">server</a> > memory ></td>
<td colspan="2"><a href="/">home</a> > <a href="/browser">server</a> > <a href="/browser/database?database={@database_identifier}">database</a> > <a href="/browser/cube?database={@database_identifier}&cube={@cube_identifier}">cube</a> > analyze ></td>
</tr>
{@message}
<tr>
<td colspan="2"><h2>Server memory usage</h2></td>
<td colspan="2"><h2>Cube structure</h2></td>
</tr>
<tr>
<td colspan="2">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td >database</td>
<td >dimension</td>
<td >cube</td>
<td width="50">index</td>
<td width="50">storage</td>
<td width="50">total</td>
<td width="20">%</td>
<td width="80">Cells</td>
<td width="10">Areas</td>
<td width="20">Rules IDs</td>
<td>Type</td>
</tr>
LOOP @database_name
LOOP @sizes_perc
<tr class="value_table">
<td>{@database_name[]}</td>
<td>{@dimension_name[]}</td>
<td>{@cube_name[]}</td>
<td class="value_cell">{@memory_index[]}</td>
<td class="value_cell">{@memory_storage[]}</td>
<td class="value_cell">{@memory_total[]}</td>
<td>{@sizes_perc[]}</td>
<td>{@sizes_cells[]}</td>
<td>{@sizes_area[]}</td>
<td>{@RuleIDs[]}</td>
<td>{@types[]}</td>
</tr>
END_LOOP
</table>
......@@ -67,9 +65,8 @@ END_LOOP
</table>
</div>
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2008 Jedox AG, written by triagens GmbH</div>
<div class="footerText">{@footerText}</div>
</div>
</div>
</div>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -10,6 +10,61 @@
}
</style>
<![endif]-->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript" src="/js/rule_lexer.js"></script>
<script>
String.prototype.repeat = function(times) {
if (times < 0) {
return "";
}
return (new Array(times + 1)).join(this);
};
function format(text) {
var lexer = new Lexer();
lexer.input(text);
var token = null;
var prevToken = "";
var formatted = "";
var indent = 0;
var equalCounter = 0;
var newLineIfNot = "";
var inArea = false;
while ((token = lexer.token()) != null) {
//console.log(token, newLineIfNot);
if (token.name == "R_PAREN") {
indent--;
if (newLineIfNot == "" || newLineIfNot != "R_PAREN") {
formatted += "\n"+" ".repeat(indent);
}
}
//console.log(newLineIfNot, newLineIfNot != token.value, typeof newLineIfNot, typeof token.value);
if (newLineIfNot != "" && newLineIfNot != token.name) {
formatted += "\n"+" ".repeat(indent);
}
newLineIfNot = "";
formatted += token.value;
if (token.name == "L_PAREN") {
newLineIfNot = "R_PAREN";
indent++;
} else if (token.name == "COMMA") {
if (!inArea) {
formatted += "\n"+" ".repeat(indent);
}
} else if (token.name == "COLON") {
newLineIfNot = "SQUOTE";
} else if (token.name == "EQUALS" && equalCounter == 0) {
newLineIfNot = "EQUALS";
equalCounter++;
} else if (token.name == "R_BRACKET") {
inArea = false;
} else if (token.name == "L_BRACKET") {
inArea = true;
}
prevToken = token.value;
}
return formatted;
}
</script>
</head>
<body>
......@@ -21,12 +76,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -43,24 +98,31 @@
<tr>
<td colspan="2">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<h2><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&mode=0&use_rules=1">{@check_markers}</a></h2>
<tr class="doc_table">
<td width="20">ID</td>
<td width="40">action</td>
<td >rule</td>
<td >external identifier</td>
<td >comment</td>
<td >time stamp</td>
<td >active</td>
<td width="20"><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&mode=0">ID<a></td>
<td width="20"><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&mode=1">position<a></td>
<td>rule</td>
<td>external identifier</td>
<td>comment</td>
<td>time stamp</td>
<td>active</td>
<td>action</td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&action=reset" title="reset counters">evaluated</a></td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&action=reset" title="reset counters">null results</a></td>
</tr>
LOOP @rule_identifier
<tr class="value_table">
<tr class="value_table rules" ruleid="{@rule_identifier[]}">
<td>{@rule_identifier[]}</td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&action=delete">delete</a></td>
<td>{@rule_text[]}</td>
<td>{@rule_position[]}</td>
<td class="ruletext {@rule_hi[]}">{@rule_text[]}</td>
<td>{@rule_external[]}</td>
<td>{@rule_comment[]}</td>
<td class="rulecomment">{@rule_comment[]}</td>
<td>{@rule_timestamp[]}</td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&action=activate">{@rule_active[]}</a></td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule={@rule_identifier[]}&action=delete">delete</a></td>
<td>{@eval_counter[]}</td>
<td>{@null_counter[]}</td>
</tr>
END_LOOP
</table>
......@@ -69,32 +131,54 @@ END_LOOP
<tr>
<td colspan="2">
<form action="/browser/rule">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<table id="RuleEditor" class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td>Rule</td>
<td width="10"></td>
</tr>
<tr class="value_table">
<td><input name="definition" type="text" size="75" maxlength="200" value="{@rule_new_rule}"></td>
<td><input type="submit" value=" OK "></td>
</tr>
</table>
<td><textarea name="definition" rows="10" cols="70" maxlength="4096" value="{@rule_new_rule}"></textarea><br/>
<textarea name="comment" rows="2" cols="70" maxlength="4096" value="{@rule_new_rule}"></textarea></td>
<input name="database" type="hidden" value="{@database_identifier}">
<input name="cube" type="hidden" value="{@cube_identifier}">
</form>
<input name="rule" type="hidden" value="">
<td><button id="format">Format</button><br/><button id="update"> Save </button></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<div class="footer">
<div class="footerText">{@footerText}</div>
</div>
</div>
</div>
<script>$(document).ready(function() {
$("tr.rules").click(function() {
$("textarea[name='definition']").val($(this).children(".ruletext:first").text());
$("textarea[name='comment']").val($(this).children(".rulecomment:first").text());
$("input[name='rule']").val($(this).attr("ruleid"));
location.href = "#RuleEditor";
})
$("#update").click(function() {
var newUrl = location.protocol+"//"+location.host+"/browser/rule?database={@database_identifier}&cube={@cube_identifier}&rule=";
newUrl += $("input[name='rule']").val();
newUrl += "&definition=";
newUrl += encodeURIComponent($("textarea[name='definition']").val());
newUrl += "&comment=";
newUrl += encodeURIComponent($("textarea[name='comment']").val());
console.log("moving to: "+newUrl);
location.assign(newUrl);
})
$("#format").click(function() {
//$("textarea[name='definition']").val($(this).children(".ruletext:first").text());
var definition = $("textarea[name='definition']");
var formatted = format($("textarea[name='definition']").val());
$("textarea[name='definition']").val(formatted);
//alert(formatted);
})
});</script>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -13,6 +13,40 @@
</head>
<body>
<script>
function httpGet(theUrl)
{
//alert(theUrl);
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false );
xmlHttp.send( null );
//alert (xmlHttp.responseText);
if (xmlHttp.status != 200) {
alert(xmlHttp.responseText);
return false;
}
return true;
}
function createDimension(database,dimension)
{
var myurl = location.protocol+"//"+location.host+"/dimension/create?sid=0000&database="+database+"&new_name="+encodeURIComponent(dimension);
if (httpGet(myurl)) {
location.reload();
}
}
function createCube(database,cube,dimensions)
{
if (cube == "" || dimensions == "") {
return;
}
var myurl = location.protocol+"//"+location.host+"/cube/create?sid=0000&database="+database+"&new_name="+cube+"&dimensions="+encodeURIComponent(dimensions);
if (httpGet(myurl)) {
location.reload();
}
}
</script>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
......@@ -21,12 +55,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -68,7 +102,7 @@
</tr>
<tr class="value_table">
<td><a href="/browser/database?database={@database_identifier}&action=load_database">load</a></td>
<td>Reload database data from disk. All changes wil be lost.</td>
<td>Reload database data from disk. All changes will be lost.</td>
</tr>
<tr class="value_table">
<td><a href="/browser/database?database={@database_identifier}&action=save_database">save</a></td>
......@@ -114,6 +148,15 @@ LOOP @dimension_identifier
<td class="value_cell">{@dimension_type[]}</td>
</tr>
END_LOOP
<tr class="value_table">
<td>*</td>
<td><input type="text" name="dimname" onkeyup="if(event.keyCode == 13) createDimension({@database_identifier},event.target.value)"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
......@@ -131,6 +174,7 @@ END_LOOP
<td width="80">dimensions</td>
<td width="50">status</td>
<td width="50">type</td>
<td width="50">rules</td>
<td width="50"></td>
<td width="50"></td>
<td width="50"></td>
......@@ -143,12 +187,25 @@ LOOP @cube_identifier
<td>{@cube_dimensions[]}</td>
<td>{@cube_status[]}</td>
<td>{@cube_type[]}</td>
<td><a href="/browser/rule?database={@database_identifier}&cube={@cube_identifier[]}">{@cube_rules[]}</a></td>
<td><a href="/browser/database?database={@database_identifier}&cube={@cube_identifier[]}&action=load">load</a></td>
<td><a href="/browser/database?database={@database_identifier}&cube={@cube_identifier[]}&action=save">save</a></td>
<td><a href="/browser/database?database={@database_identifier}&cube={@cube_identifier[]}&action=unload">unload</a></td>
<td><a href="/browser/database?database={@database_identifier}&cube={@cube_identifier[]}&action=delete">delete</a></td>
</tr>
END_LOOP
<tr class="value_table">
<td>*</td>
<td><input type="text" id="new_cubename" onkeyup="if(event.keyCode == 13) createCube({@database_identifier},event.target.value,document.getElementById('new_dimlist').value)"></td>
<td><input type="text" id="new_dimlist" onkeyup="if(event.keyCode == 13) createCube({@database_identifier},document.getElementById('new_cubename').value,event.target.value)"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -13,6 +13,91 @@
</head>
<body>
<script>
function httpGet(theUrl)
{
//alert(theUrl);
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false );
xmlHttp.send( null );
//alert (xmlHttp.responseText);
if (xmlHttp.status != 200) {
alert(xmlHttp.responseText);
return false;
}
return true;
}
function expandRanges(value)
{
var parts = value.split("-");
var out = "";
for (var i = 0; i < parts.length; i++) {
if (i > 0) {
var ids = parts[i-1].split(",");
var istart = parseInt(ids[ids.length-1]);
var ids = parts[i].split(",");
var iend = parseInt(ids[0]);
for(id = istart+1; id < iend; id++) {
out += ","+id;
}
out += ",";
}
out += parts[i];
}
return out;
}
var months = ["January","February","March","April","May","June","July","August","September","October","November","December"];
var monate = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" ];
var mesice = ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"];
function createNames(element)
{
var parts = element.split("#");
if (parts.length > 1) {
var indexes = eval("if(typeof "+parts[1]+" !== 'object') {null} else {"+parts[1]+"}")
if (indexes === null) {
var expandedIndexes = expandRanges(parts[1]);
var indexes = expandedIndexes.split(",");
}
var out="";
for (var i = 0; i < indexes.length; i++) {
if (i>0) {
out+=",";
}
out+=parts[0]+indexes[i];
}
} else {
var out=parts[0];
}
return out;
}
function createElement(database,dimension,element,children)
{
if (element == "") {
return;
}
var myurl = location.protocol+"//"+location.host+"/element/create_bulk?sid=0000&database="+database+"&dimension="+dimension+"&name_elements="+encodeURI(createNames(element));
if (children != "") {
if (children[0] == "s" || children[0] == "S") {
myurl += "&type=2";
} else {
myurl += "&type=4&children="+expandRanges(children);
}
} else {
myurl += "&type=1";
}
if (httpGet(myurl)) {
location.reload();
}
}
function elemHandler(event)
{
if(event.keyCode == 13) {
createElement('{@database_identifier}','{@dimension_identifier}',document.getElementById('new_element').value,document.getElementById('new_children').value);
}
}
</script>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
......@@ -21,15 +106,14 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
<tr class="border_table">
<td colspan="2"><a href="/">home</a> > <a href="/browser">server</a> > <a href="/browser/database?database={@database_identifier}">database</a> > dimension ></td>
</tr>
......@@ -56,7 +140,7 @@
<td>{@dimension_identifier}</td>
<td>{@dimension_name}</td>
<td class="value_cell">{@dimension_num_elements}</td>
<td class="value_cell">{@dimension_max_level}</td>
<td class="value_cell">{@createdimension_max_level}</td>
<td class="value_cell">{@dimension_max_indent}</td>
<td class="value_cell">{@dimension_max_depth}</td>
<td class="value_cell">{@dimension_type}</td>
......@@ -111,6 +195,12 @@ LOOP @element_identifier
<td class="value_cell">{@element_children[]}</td>
</tr>
END_LOOP
<tr class="value_table">
<td></td>
<td>*</td>
<td><input type="text" id="new_element" onkeyup="elemHandler(event)"><br/>examples: "#months", "Year#2000-2015"</td>
<td><input type="text" id="new_children" onkeyup="elemHandler(event)"><br/>examples: "0-10", "s"</td>
</tr>
</table>
</td>
</tr>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO documentation</h1>
<h1>Jedox OLAP documentation</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
body{
overflow:auto;
}
</style>
<![endif]-->
</head>
<body>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
<div id="left">
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>Jedox OLAP logfile</h1>
<table cellpadding="2" cellspacing="2" width="100%">
<tr class="border_table">
<td colspan="2"><a href="/">home</a> > <a href="/browser/server">server</a> > sessions ></td>
</tr>
<tr>
<td colspan="2">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td width="80" align="center">User</td>
<td width="60" align="center">Time</td>
<td width="45" align="center">Level</td>
<td align="center">Message</td>
</tr>
LOOP @logfile_date
<tr class="value_table">
<td>{@logfile_date[]}</td>
<td>{@logfile_time[]}</td>
<td>{@logfile_level[]}</td>
<td>{@logfile_message[]}</td>
</tr>
END_LOOP
</table>
</td>
</tr>
</table>
</div>
</div>
<div class="footer">
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
body{
overflow:auto;
}
</style>
<![endif]-->
</head>
<body>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
<div id="left">
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>Jedox OLAP logfile</h1>
<table cellpadding="2" cellspacing="2" width="100%">
<tr class="border_table">
<td colspan="2"><a href="/">home</a> > <a href="/browser/server">server</a> > logfile ></td>
</tr>
<tr>
<td colspan="2">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td width="72" align="center">Date</td>
<td width="60" align="center">Time</td>
<td width="45" align="center">Level</td>
<td align="center">Message</td>
</tr>
LOOP @logfile_date
<tr class="value_table">
<td>{@logfile_date[]}</td>
<td>{@logfile_time[]}</td>
<td>{@logfile_level[]}</td>
<td>{@logfile_message[]}</td>
</tr>
END_LOOP
</table>
</td>
</tr>
</table>
</div>
</div>
<div class="footer">
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -13,6 +13,30 @@
</head>
<body>
<script>
function httpGet(theUrl)
{
//alert(theUrl);
var xmlHttp = null;
xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false );
xmlHttp.send( null );
//alert (xmlHttp.responseText);
if (xmlHttp.status != 200) {
alert(xmlHttp.responseText);
return false;
}
return true;
}
function createDatabase(name)
{
var myurl = location.protocol+"//"+location.host+"/database/create?sid=0000&new_name="+encodeURIComponent(name);
if (httpGet(myurl)) {
location.reload();
}
}
</script>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
......@@ -21,12 +45,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server browser</h1>
<h1>Jedox OLAP server browser</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -59,8 +83,20 @@
<td><a href="/browser/server?action=shutdown_server">shutdown</a></td>
<td>Shutdown server. Database and cube data will not be saved.</td>
</tr>
<tr class="value_table">
<td><a href="/browser/logfile">logfile</a></td>
<td>Show server logfile for current session. Logging has to be set to file!</td>
</tr>
<tr class="value_table">
<td><a href="/browser/sessions">sessions</a></td>
<td>Show active sessions.</td>
</tr>
<tr class="value_table">
<td><a href="/browser/jobs">jobs</a></td>
<td>Show running jobs.</td>
</tr>
</table>
<p>Show the server <a href="/browser/statistics">time</a> <!-- or <a href="/browser/memory">memory</a> --> statistics.</p>
<p>Show the server <a href="/browser/statistics">time</a> statistics.</p>
</td>
</tr>
......@@ -97,6 +133,18 @@ LOOP @database_identifier
<td><a href="/browser/server?database={@database_identifier[]}&action=delete">delete</a></td>
</tr>
END_LOOP
<tr class="value_table">
<td>*</td>
<td><input type="text" name="dbname" onkeyup="if(event.keyCode == 13) createDatabase(event.target.value)"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
body{
overflow:auto;
}
</style>
<![endif]-->
</head>
<body>
<div id="surround" align="center">
<div id="container">
<div id="clientHeader">&nbsp;</div>
<div id="left">
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>Jedox OLAP logfile</h1>
<table cellpadding="2" cellspacing="2" width="100%">
<tr class="border_table">
<td colspan="2"><a href="/">home</a> > <a href="/browser/server">server</a> > sessions ></td>
</tr>
<tr>
<td colspan="2">
<table class="border_table" cellpadding="2" cellspacing="1" width="100%">
<tr class="doc_table">
<td width="80" align="center">User</td>
<td width="60" align="center">Time</td>
<td width="45" align="center">Level</td>
<td align="center">Message</td>
</tr>
LOOP @logfile_date
<tr class="value_table">
<td>{@logfile_date[]}</td>
<td>{@logfile_time[]}</td>
<td>{@logfile_level[]}</td>
<td>{@logfile_message[]}</td>
</tr>
END_LOOP
</table>
</td>
</tr>
</table>
</div>
</div>
<div class="footer">
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO program statistic</h1>
<h1>Jedox OLAP program statistic</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -116,12 +116,12 @@ END_LOOP
</tr>
</table>
You must compile Palo using --enable-time-profiler to see the timing statistics.
You must compile Jedox OLAP using --enable-time-profiler to see the timing statistics.
</div>
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
......@@ -85,6 +85,7 @@ PALO.EISCHILD;PALO;4;4;
PALO.ELEVEL;PALO;3;3;
PALO.ENAME;PALO;3;3;
PALO.ENEXT;PALO;3;3;
PALO.EOFFSET;PALO;4;4;
PALO.EPARENT;PALO;4;4;
PALO.EPARENTCOUNT;PALO;3;3;
PALO.EPREV;PALO;3;3;
......
......@@ -2,20 +2,40 @@
@short_description Shows values of cube cells
@long_description
@long_description The default aggregation function for consolidated cells is SUM. The type of aggregation can be changed by 'function' parameter. In such case the usage of 'expand' parameter is mandatory.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param area
@param_type area
@param_description Comma separated list of element identifiers list. Each element identifiers list is colon separated. The area is the cartesian product.
@param_description Comma separated list of element identifier lists. Identifier lists are separated by colons. The area is the cartesian product.
@param name_area
@param_type narea
@param_description Comma separated list of element name lists. Name lists are separated by colons. The area is the cartesian product. Used only if area parameter is omitted.
@param function
@param_type integer
@param_description Optional aggregation function.<br>(1=AVG, 2=COUNT, 3=MAX, 4=MIN)
@param expand
@param_type integer
@param_description Comma separated list of expand functions.<br>(1=SELF, 2=CHILDREN, 4=LEAVES)
@param show_rule
@param_type boolean
......@@ -25,6 +45,10 @@
@param_type boolean
@param_description If 1, then additional information about the cell lock is returned.
@param properties
@param_type identifier
@param_description Comma separated list of cell property ids.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -36,7 +60,7 @@
@result exists
@result_type boolean
@result_description 1 if at least base cell for the path exists
@result_description 1 if numeric value is non-zero or string value is non-empty
@result value
@result_type double/string
......@@ -44,7 +68,7 @@
@result path
@result_type path
@result_description Comma separate list of element identifier (path of cube cell)
@result_description Comma separated list of element identifiers (path of cube cell)
@result rule
@result_type identifier
......@@ -54,7 +78,13 @@
@result_type identifier
@result_description Lock info (0 - cell is not locked, 1 - cell is locked by user wich sent request, 2 - cell is locked by another user). Only available if show_lock_info is 1.
@result property_values
@result_type double/string
@result_description Values of specified cell properties.
@example database=1&cube=7&area=0:1,1:2,2:3,3:4,0,0
@example_description Show values of cells area "(0,1) x (1,2) x (2,3) x (3,4) x 0 x 0"
@example database=1&cube=13&area=0,0,16,1:2:3,0,0&function=3&expand=1,1,2,1,1,1
@example_description Show the maximum of children values of element 16 for cells "0 x 0 x 16 x (1,2,3) x 0 x 0"
@request_path /cell/copy
@short_description Copies a cell path to an other cell path
@short_description Copies a cell path or a calculated predictive value to an other cell path
@long_description
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param function
@param_type integer
@param_description Optional predictive function.<br>(0 - no prediction (default), 1 - linear regression on consolidated level)
@param path
@param_type path
@param_description Source cell path. Comma separate list of element identifier.
@param_description Source cell path used for copy (function=0). Comma separated list of element identifiers.
@param name_path
@param_type npath
@param_description Source cell path used for copy (function=0). Comma separated list of element names. Used only if path parameter is omitted.
@param area
@param_type area
@param_description Source area used for the predictive function (function=1). Comma separated list of element identifiers list. Each element identifiers list is colon separated, only one list can contain multiple elements. The area is the cartesian product.
@param path_to
@param_type path
@param_description Target cell path. Comma separate list of element identifier.
@param_description Target cell path. Comma separated list of element identifiers.
@param name_path_to
@param_type npath
@param_description Target cell path. Comma separated list of element names. Used only if path_to parameter is omitted.
@param use_rules
@param_type boolean
@param_description If 1, then copy rule based cell values (default is 0)
@param value
@param_type double
@param_description The numeric value of the target cube cell. (optional)
@param locked_paths
@param_type path
@param_description Optional colon separated list of paths. Each path is a comma separated list of element identifiers. Splashing will not change locked paths and sources areas of these paths if they are consolidated.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......
......@@ -15,15 +15,27 @@ to be installed separately.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param path
@param_type path
@param_description Comma separate list of element identifier (path of cube cell)
@param_description Comma separated list of element identifiers
@param name_path
@param_type npath
@param_description Comma separated list of element names. Used only if path parameter is omitted.
@param mode
@param_type integer
......
......@@ -12,11 +12,19 @@ progress.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param blocksize
@param_type integer
......@@ -24,17 +32,25 @@ progress.
@param path
@param_type path
@param_description Begin export after the path (default is to start with first path)
@param_description Comma separated list of element identifiers. Begin export after the path (default is to start with the first path)
@param name_path
@param_type npath
@param_description Comma separated list of element names. Begin export after the path (default is to start with the first path). Used only if path parameter is omitted.
@param area
@param_type area
@param_description Comma separated list of element identifiers list. Each element identifiers list is colon separated. The area is the cartesian product. Default is the complete cube area.
@param name_area
@param_type narea
@param_description Comma separated list of element names list. Each element names list is colon separated. The area is the cartesian product. Default is the complete cube area. Used only if database area is omitted.
@param condition
@param_type string
@param_description Condition on the value of numeric or string cells (default is no condition).
A condition starts with >, >=, <, <=, ==, or != and is followed by a double or a string.
Two condition can be combined by and, or, xor. If you specifiy a string value, the value has to be csv encoded.
Two condition can be combined by and, or, xor. If you specify a string value, the value has to be csv encoded.
Do not forget to URL encode the complete condition string.
@param use_rules
......@@ -53,6 +69,10 @@ Do not forget to URL encode the complete condition string.
@param_type integer
@param_description Type of exported cells. 0=numeric and string, 1=only numeric, 2=only string (default is 0)
@param properties
@param_type identifier
@param_description Comma separated list of cell property ids.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -61,11 +81,11 @@ Do not forget to URL encode the complete condition string.
@result type
@result_type integer
@result_description Type of the value (1=NUMERIC, 2=STRING)
@result_description Type of the value (1=NUMERIC, 2=STRING, 99=ERROR)
@result exists
@result_type boolean
@result_description 1 if at least base cell for the path exists
@result_description 1 if numeric value is non-zero or string value is non-empty
@result value
@result_type double/string
......@@ -73,7 +93,11 @@ Do not forget to URL encode the complete condition string.
@result path
@result_type path
@result_description Comma separate list of element identifier (path of cube cell)
@result_description Comma separated list of element identifiers (path of cube cell)
@result property_values
@result_type double/string
@result_description Values of specified cell properties.
......
......@@ -6,19 +6,43 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param path
@param_type path
@param_description Target cell path. Comma separate list of element identifier.
@param_description Target cell path. Comma separated list of element identifiers.
@param name_path
@param_type npath
@param_description Target cell path. Comma separated list of element names. Used only if path parameter is omitted.
@param type
@param_type integer
@param_description The type of goal-seek algorithm. 0 complete allocation, 1 equal, 2 relative (0 default).
@param area
@param_type area
@param_description Comma separated list of element identifiers list. Each element identifiers list is colon separated. Siblings to reallocate for each dimension (only for type 1 and 2).
@param name_area
@param_type narea
@param_description Comma separated list of element names list. Each element names list is colon separated. Siblings to reallocate for each dimension (only for type 1 and 2). Used only if area parameter is omitted.
@param value
@param_type double
@param_description The numeric value of the target cube cell. (optional)
@param_description The numeric value of the target cube cell.
@param sid
@param_type string
......
......@@ -29,15 +29,27 @@ will block until the push rule has finished.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param path
@param_type path
@param_description Comma separate list of element identifier.
@param_description Comma separated list of element identifiers
@param name_path
@param_type npath
@param_description Comma separated list of element names. Used only if path parameter is omitted.
@param value
@param_type double/string
......@@ -45,13 +57,17 @@ will block until the push rule has finished.
@param add
@param_type boolean
@param_description If 0 (the default), then a numeric value given is stored in the cube. If 1, then a numeric value given is added to the existing value or set if no value currently exists. Setting add to 1, requires splash mode 0, 1, or 2.
@param_description If 0 (the default), then a numeric value given is stored in the cube. If 1, then a numeric value given is added to the existing value or set if no value currently exists. Setting add to 1, requires splash mode 0 or 1.
@param splash
@param_type integer
@param_description Optional splash mode for setting values if the comma
separated list of elements contains consolidated elements.<br>(0=no splashing, 1=default, 2=add, 3=set)
@param locked_paths
@param_type path
@param_description Optional colon separated list of paths. Each path is a comma separated list of element identifiers. Splashing will not change locked paths and sources areas of these paths if they are consolidated.
@param event_processor
@param_type boolean
@param_description If 1 (the default), then setting a new value will possibly call the supervision event processor. If 0, then the supervision event processor is circumvented. Note that you need extra permissions to use this feature.
......@@ -61,7 +77,6 @@ separated list of elements contains consolidated elements.<br>(0=no splashing, 1
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@result OK
@result_type boolean
@result_description "1" means OK
......
......@@ -29,29 +29,45 @@ ended with push_rule/end when used within a worker.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param paths
@param_type path
@param_description Colon separated list of paths. Each path is comma separate list of element identifier.
@param_description Colon separated list of paths. Each path is a comma separated list of element identifiers.
@param name_paths
@param_type npath
@param_description Colon separated list of paths. Each path is a comma separated list of element names. Used only if paths parameter is omitted.
@param values
@param_type double/string
@param_description Colon separated list of values. Each value is the new numeric or string value for the cell corresponding to the above path. If you specifiy a string value, the value has to be csv encoded.
@param_description Colon separated list of values. Each value is the new numeric or string value for the cell corresponding to the above path. If you specify a string value, the value has to be csv encoded.
@param add
@param_type boolean
@param_description If 0 (the default), then a numeric value given is stored in the cube. If 1, then a numeric value given is added to the existing value or set if no value currently exists. Setting add to 1, requires splash mode 0, 1, or 2.
@param_description If 0 (the default), then a numeric value given is stored in the cube. If 1, then a numeric value given is added to the existing value or set if no value currently exists. Setting add to 1, requires splash mode 0 or 1.
@param splash
@param_type integer
@param_description Optional splash mode for setting values if the comma
separated list of elements contains consolidated elements.<br>(0=no splashing, 1=default, 2=add, 3=set)
@param locked_paths
@param_type path
@param_description Optional colon separated list of paths. Each path is a comma separated list of element identifiers. Splashing will not change locked paths and sources areas of these paths if they are consolidated.
@param event_processor
@param_type boolean
@param_description If 1 (the default), then setting a new value will possibly call the supervision event processor. If 0, then the supervision event processor is circumvented. Note that you need extra permissions to use this feature.
......
......@@ -7,15 +7,27 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param path
@param_type path
@param_description Comma separate list of element identifier (path of cube cell)
@param_description Comma separated list of element identifiers
@param name_path
@param_type npath
@param_description Comma separated list of element names. Used only if path parameter is omitted.
@param show_rule
@param_type boolean
......@@ -25,19 +37,22 @@
@param_type boolean
@param_description If 1, then additional information about the cell lock is returned.
@param properties
@param_type identifier
@param_description Comma separated list of cell property ids.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@result type
@result_type integer
@result_description Type of the value (1=NUMERIC, 2=STRING)
@result exists
@result_type boolean
@result_description 1 if at least one base cell for the path exists
@result_description 1 if numeric value is non-zero or string value is non-empty
@result value
@result_type double/string
......@@ -51,6 +66,10 @@
@result_type identifier
@result_description Lock info (0 - cell is not locked, 1 - cell is locked by user wich sent request, 2 - cell is locked by another user). Only available if show_lock_info is 1.
@result property_values
@result_type double/string
@result_description Values of specified cell properties.
@example database=1&cube=13&path=0,0,2,3,0,0
......
......@@ -7,15 +7,27 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param paths
@param_type path
@param_description Colon separated list of comma separate element identifiers
@param_description Colon separated list of paths. Each path is a comma separated list of element identifiers.
@param name_paths
@param_type npath
@param_description Colon separated list of paths. Each path is a comma separated list of element names. Used only if paths parameter is omitted.
@param show_rule
@param_type boolean
......@@ -25,6 +37,10 @@
@param_type boolean
@param_description If 1, then additional information about the cell lock is returned.
@param properties
@param_type identifier
@param_description Comma separated list of cell property ids.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -37,7 +53,7 @@
@result exists/error
@result_type integer
@result_description 1 if at least base cell for the path exists. In case of an error the error code.
@result_description 1 if numeric value is non-zero or string value is non-empty. In case of an error the error code.
@result value
@result_type double/string
......@@ -51,7 +67,13 @@
@result_type identifier
@result_description Lock info (0 - cell is not locked, 1 - cell is locked by user wich sent request, 2 - cell is locked by another user). Only available if show_lock_info is 1.
@result property_values
@result_type double/string
@result_description Values of specified cell properties.
@example database=1&cube=7&paths=0,0,0,0,0,0:1,0,0,0,0,0
@example_description Show values of cells "0,0,0,0,0,0" and "1,0,0,0,0,0"
@example database=1&cube=43&paths=0,2,0:1,2,0&properties=0,1,2
@example_description Show values of cells "0,2,0" and "1,2,0" including their system cell properties #_Rights(0), FormatString(1) and CellNote(2)
......@@ -9,19 +9,31 @@ to specified. All elements within this area are cleared.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param area
@param_type area
@param_description Comma separate list of element identifier lists. An identifier list is seperated by colons. The area is the cartesian product.
@param_description Comma separated list of element identifier lists. Identifier lists are separated by colons. The area is the cartesian product.
@param name_area
@param_type narea
@param_description Comma separated list of element name lists. Name lists are separated by colons. The area is the cartesian product. Used only if area parameter is omitted.
@param complete
@param_type boolean
@param_description (Optional) If complete is "1" then the whole cube - regardless of the specified area - will be cleared. It is not necassary to even specify the parameter "area" in this case. Default is to use "area".
@param_description (Optional) If complete is "1" then the whole cube - regardless of the specified area - will be cleared. It is not necessary to even specify the parameter "area" in this case. Default is to use "area".
@param sid
@param_type string
......@@ -43,10 +55,10 @@ to specified. All elements within this area are cleared.
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......
@request_path /cube/clear_cache
@short_description Clears the cache of a cube
@long_description
@param database
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@result OK
@result_type boolean
@result_description "1" means OK
@example database=1&cube=13
@example_description Clears the cache of cube "13" in database "1"
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param lock
@param_type integer
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param type
@param_type identifier
......@@ -36,10 +44,10 @@
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......
......@@ -7,7 +7,11 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param new_name
@param_type string
......@@ -15,7 +19,11 @@
@param dimensions
@param_type identifier
@param_description Comma separate list of dimension identifier
@param_description Comma separated list of dimension identifiers
@param name_dimensions
@param_type string
@param_description Comma separated list of dimension names. Used only if dimensions parameter is omitted.
@param type
@param_type identifier
......@@ -41,10 +49,10 @@
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param sid
@param_type string
......
......@@ -7,11 +7,23 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on cube is returned (optional, default is 0)
@param sid
@param_type string
......@@ -33,10 +45,10 @@
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......@@ -55,6 +67,10 @@
@result_type integer
@result_description The cube token of the cube
@result permission
@result_type string
@result_description User's permission on cube, maximum over all groups/roles ("N", "R", "W", "D")
@example database=1&cube=7
@example_description Show cube "0" of database "1"
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param sid
@param_type string
......
......@@ -9,15 +9,31 @@ To delete the lock use the cube/commit (confirm changes) or the cube/rollback (u
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param area
@param_type area
@param_description Comma separated list of element identifiers list. Each element identifiers list is colon separated. The area is the cartesian product.
@param_description Comma separated list of element identifier lists. Identifier lists are separated by colons. The area is the cartesian product.
@param name_area
@param_type narea
@param_description Comma separated list of element name lists. Name lists are separated by colons. The area is the cartesian product. Used only if area parameter is omitted.
@param complete
@param_type integer
@param_description If 1 and no area is specified, special lock for whole cube is applied. No other user can read the cube and it's not sorted and markers are not generated until commit.
@param sid
@param_type string
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param sid
@param_type string
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param new_name
@param_type string
......@@ -37,10 +45,10 @@
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......
......@@ -6,11 +6,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param lock
@param_type integer
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param use_identifier
@param_type boolean
......@@ -22,7 +30,6 @@
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@result rule
@result_type identifier
@result_description Identifier of the rule
......@@ -47,7 +54,9 @@
@result_type integer
@result_description 0=rule is not active, 1=rule is active
@result position
@result_type double
@result_description Position of the rule within list of cube rules
@example database=2&cube=8
@example_description List all rules of cube "8" in database "2"
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param sid
@param_type string
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param sid
@param_type string
......
......@@ -18,6 +18,10 @@
@param_type identifier
@param_description Type of the database (0=normal (default), 3=user info)
@param external_identifier
@param_type string
@param_description (Optional) Path to backup file where the database will be loaded from
@result database
@result_type identifier
@result_description Identifier of the database
......
......@@ -10,6 +10,10 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param show_normal
@param_type identifier
@param_description Show cubes of type normal (0=do not show normal cubes, 1=show (default))
......@@ -30,6 +34,10 @@
@param_type identifier
@param_description Show cubes of type gpu type (0=do not show gpu type cubes, 1=show (default))
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on cube is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -49,10 +57,10 @@
@result dimensions
@result_type integer
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......@@ -71,6 +79,10 @@
@result_type integer
@result_description The cube token of the cube
@result permission
@result_type string
@result_description User's permission on cube, maximum over all groups/roles ("N", "R", "W", "D")
@example database=1
@example_description List the cubes of database "1"
......
......@@ -10,6 +10,10 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......
......@@ -10,6 +10,10 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param show_normal
@param_type identifier
@param_description Show dimensions of type normal (0=do not show normal dimensions, 1=show (default))
......@@ -26,6 +30,10 @@
@param_type identifier
@param_description Show dimensions of type user info (0=do not show user info dimensions (default), 1=show)
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on dimension is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -58,7 +66,7 @@
@result type
@result_type integer
@result_description Type of dimension (0=normal, 1=system, 2=attribute, 3=user info)
@result_description Type of dimension (0=normal, 1=system, 2=attribute, 3=user info, 4=system id)
@result attributes_dimension
@result_type identifier
......@@ -77,6 +85,10 @@ identifier of the normal dimension associated to a attributes dimension.
@result_type integer
@result_description The dimension token of the dimension
@result permission
@result_type string
@result_description User's permission on dimension, maximum over all groups/roles ("N", "R", "W", "D")
@example database=1
......
......@@ -10,6 +10,14 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on database is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -44,6 +52,10 @@
@result_type integer
@result_description The database token of the database
@result permission
@result_type string
@result_description User's permission on database, maximum over all groups/roles ("N", "R", "W", "D")
@example database=1
@example_description Show databases "1"
......@@ -10,6 +10,10 @@ To load cube data use the request "/cube/load".
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......
......@@ -10,6 +10,10 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param new_name
@param_type string
@param_description New name of the database
......@@ -44,6 +48,9 @@
@result_type integer
@result_description Type of database (0=normal, 1=system)
@result database_token
@result_type integer
@result_description The database token
@example database=1&new_name=Demo
......
......@@ -3,7 +3,7 @@
@short_description Saves a database to disk.
@long_description
To save cube data use the request "/cube/save".
To save cube data use the request "/cube/save" (not necessary for complete backup mode).
......@@ -11,10 +11,22 @@ To save cube data use the request "/cube/save".
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@param external_identifier
@param_type string
@param_description (Optional) Path to file with zip extension where the backup of the database will be saved
@param complete
@param_type boolean
@param_description (Optional) If "1" then also all cube data will be saved (default "0").
@result OK
......
......@@ -10,6 +10,10 @@ It is not possible to unload an unsaved database from memory.
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......
......@@ -9,11 +9,23 @@ cubes are also cleared.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param type
@param_type integer
@param_description Optional parameter. Clear only elements of specified type (1=NUMERIC, 2=STRING, 4=CONSOLIDATED)
@param sid
@param_type string
......
......@@ -8,7 +8,11 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param new_name
@param_type string
......
......@@ -10,9 +10,17 @@
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param show_normal
@param_type identifier
......@@ -54,10 +62,10 @@
@result dimensions
@result_type identifier
@result_description Comma separate list of dimension identifiers
@result_description Comma separated list of dimension identifiers
@result number_cells
@result_type integer
@result_type double
@result_description Total number of cells
@result number_filled_cells
......
......@@ -8,11 +8,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param sid
@param_type string
......
......@@ -8,15 +8,27 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param area
@param_type area
......@@ -30,7 +42,7 @@
@param_type string
@param_description Condition on the value of numeric or string cells (default is no condition).
A condition starts with >, >=, <, <=, ==, or != and is followed by a double or a string.
Two condition can be combined by and, or, xor. If you specifiy a string value, the value has to be csv encoded.
Two condition can be combined by and, or, xor. If you specify a string value, the value has to be csv encoded.
Do not forget to URL encode the complete condition string.
@param values
......@@ -79,7 +91,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -87,11 +99,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@result type
@result_type integer
......@@ -99,7 +111,7 @@ session identifier.
@result exists
@result_type boolean
@result_description 1 if at least one base cell for the path exists
@result_description 1 if numeric value is non-zero or string value is non-empty
@result value
@result_type double/string
......
......@@ -8,16 +8,28 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param position
@param_type integer
@param_description Position of element
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on element is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
......@@ -58,7 +70,7 @@
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -66,11 +78,15 @@
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@result permission
@result_type string
@result_description User's permission on element, maximum over all groups/roles ("N", "R", "W", "D")
......
......@@ -8,11 +8,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param parent
@param_type identifier
......@@ -22,6 +30,14 @@
@param_type identifier
@param_description Comma delimited offset of first element returned (0-default) and maximal count of returned element (all elements by default)
@param element
@param_type identifier
@param_description Element identifier. If it's specified, server goes from limit start and finds block that contains this element. Actual start is returned before the list of elements.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on element is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
......@@ -64,7 +80,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -72,11 +88,15 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@result permission
@result_type string
@result_description User's permission on element, maximum over all groups/roles ("N", "R", "W", "D")
......@@ -88,3 +108,4 @@ session identifier.
@example database=1&dimension=0&parent=7&limit=0,5
@example_description Show first 5 child elements of element "7" in dimension "0"
......@@ -8,11 +8,23 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on dimension is returned (optional, default is 0)
@param sid
@param_type string
......@@ -48,7 +60,7 @@ session identifier.
@result type
@result_type integer
@result_description Type of dimension (0=normal, 1=system, 2=attribute, 3=user info)
@result_description Type of dimension (0=normal, 1=system, 2=attribute, 3=user info, 4=system id)
@result attributes_dimension
@result_type identifier
......@@ -67,6 +79,10 @@ identifier of the normal dimension associated to a attributes dimension.
@result_type integer
@result_description The dimension token of the dimension
@result permission
@result_type string
@result_description User's permission on dimension, maximum over all groups/roles ("N", "R", "W", "D")
@example database=1&dimension=0
@example_description Show dimension "0" of database "1"
......@@ -8,11 +8,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param new_name
@param_type string
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO documentation</h1>
<h1>Jedox OLAP documentation</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -116,7 +116,7 @@ END_LOOP
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO documentation</h1>
<h1>Jedox OLAP documentation</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -116,7 +116,7 @@ END_LOOP
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
@request_path /element/append
@short_description Updates the children of an consolidated element
@short_description Updates the children of an element
@long_description For consolidated elements this request adds the
given children elements to the exsisting childrens.
@long_description This request changes the type of an element to consolidated if necessary and adds the
given children elements to the existing children.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element. The element must be a
consolidation.
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of the element. Used only if element parameter is omitted.
@param children
@param_type identifier
@param_description Comma separate list of children identifiers.
@param_description Comma separated list of children identifiers
@param name_children
@param_type string
@param_description Comma separated list of children names. Used only if children parameter is omitted.
@param weights
@param_type double
@param_description Optional comma separate list of children
weight. (defaults to weight=1 for each child)
@param_description Optional comma separated list of children
weights. (defaults to weight=1 for each child)
@param sid
@param_type string
......@@ -70,7 +85,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -78,12 +93,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@example database=1&dimension=0&element=29&children=6,7,8&weights=0.1,0.5,0.4
......
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param new_name
@param_type string
......@@ -23,12 +31,15 @@
@param children
@param_type identifier
@param_description Comma separate list of children identifiers. (Only for type=4)
@param_description Comma separated list of children identifiers. (Only for type=4)
@param name_children
@param_type string
@param_description Comma separated list of children names. Used only if children parameter is omitted. (Only for type=4)
@param weights
@param_type double
@param_description Optional comma separate list of children
weight. (defaults to weight=1 for each child) (Only for type=4)
@param_description Optional comma separated list of children weights. (defaults to weight=1 for each child) (Only for type=4)
@param sid
@param_type string
......@@ -72,7 +83,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -80,12 +91,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@example database=1&dimension=0&new_name=new+element&type=4&children=1,2,3&weights=0.1,0.5,0.4
......
@request_path /element/create_bulk
@short_description Creates multiple elements of the same type
@short_description Creates multiple elements
@long_description
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param name_elements
@param_type string
@param_description Comma separate list of names of the new elements
@param_description Comma separated list of names of the new elements
@param type
@param_type integer
@param_description Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED).
Either type or types must be specified, bot not both.
@param types
@param_type integer
@param_description Type of the elements (1=NUMERIC, 2=STRING, 4=CONSOLIDATED) as comma
separated list. Either type or types must be specified. If type is specified, all
elements are of the same type. If types is specified, then children and weights must be
empty for elements of numeric or string type. If types is specified, only name_children is
separated list. Either type or types must be specified. If type is specified all
elements are of the same type. If types is specified then children and weights must be
empty for elements of numeric or string type. If types is specified only name_children is
allowed.
@param children
@param_type identifier
@param_description Comma and colon separate list of children identifiers. (Only for type=4)
@param_description Comma and colon separated list of children identifiers. (Only for type=4)
@param name_children
@param_type identifier
@param_description Comma and colon separate list of children names.
@param_description Comma and colon separated list of children names.
Used only if children parameter is omitted. (Only for type=4)
@param weights
@param_type double
@param_description Optional comma and colon separate list of children
@param_description Optional comma and colon separated list of children
weight. (defaults to weight=1 for each child) (Only for type=4)
@param sid
......@@ -56,7 +63,7 @@ session identifier.
@example database=3&dimension=11&name_elements=a,b,c,d,e,f&type=1
@example_description Create six new numeric elements.
@example database=3&dimension=11&name_elements=abc,def&type=4&children=10,11,12:13,14,15,r&weights=1,1,2:1,2,1
@example database=3&dimension=11&name_elements=abc,def&type=4&children=10,11,12:13,14,15&weights=1,1,2:1,2,1
@example_description Create two new consolidated elements with names "abc" and "def".
Element "abc" will have children (10, 11, 12) with weights (1, 1, 2).
Element "def" will have children (13, 14, 15) with weights (1, 2, 1).
......
......@@ -6,15 +6,27 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of the element. Used only if element parameter is omitted.
@param sid
@param_type string
......
......@@ -6,14 +6,22 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param elements
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param elements
@param_type identifier
@param_description Comma separated list of element identifiers
@param name_elements
......
......@@ -30,15 +30,31 @@ the first parent of an element is taken into account.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of the element. Used only if element parameter is omitted.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on element is returned (optional, default is 0)
@param sid
@param_type string
......@@ -82,7 +98,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -90,11 +106,15 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@result permission
@result_type string
@result_description User's permission on element, maximum over all groups/roles ("N", "R", "W", "D")
......
......@@ -6,19 +6,31 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of the element. Used only if element parameter is omitted.
@param position
@param_type integer
@param_description New position of element
@param_description New position of the element
@param sid
@param_type string
......@@ -62,7 +74,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -70,12 +82,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weight
@example database=1&dimension=0&element=4&position=2
......
@request_path /element/move_bulk
@short_description Changes the position of elements
@long_description
@param database
@param_type identifier
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param elements
@param_type identifier
@param_description Comma separated list of element identifiers
@param name_elements
@param_type string
@param_description Comma separated list of element names. Used only if elements parameter is omitted.
@param positions
@param_type integer
@param_description Comma separated list of new positions of elements
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@result OK
@result_type boolean
@result_description "1" means OK
@example database=1&dimension=0&elements=1,2,3&positions=6,1,10
@example_description Change position of element "1" to "6", element "2" to "1" and element "3" to "10"
......@@ -6,15 +6,27 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of the element. Used only if element parameter is omitted.
@param new_name
@param_type string
......@@ -62,7 +74,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -70,12 +82,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@example database=1&dimension=0&element=29&new_name=week
......
......@@ -9,19 +9,31 @@ the given children elements.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param element
@param_type identifier
@param_description Identifier of an element.
@param_description Identifier of the element
@param name_element
@param_type string
@param_description Name of an element. (alternative parameter for "element")
@param_description Name of the element. (alternative for element parameter when the element exists, alternative for new_name parameter when new element is created)
@param new_name
@param_type string
@param_description Name of the new element
@param type
@param_type integer
......@@ -29,13 +41,15 @@ the given children elements.
@param children
@param_type identifier
@param_description Comma separate list of children identifiers. (Only for type=4)
@param_description Comma separated list of children identifiers. (Only for type=4)
@param name_children
@param_type string
@param_description Comma separated list of children names. Used only if children parameter is omitted. (Only for type=4)
@param weights
@param_type double
@param_description Optional comma
separate list of children weight. (defaults to weight=1 for each
child) (Only for type=4)
@param_description Optional comma separated list of children weights. (defaults to weight=1 for each child) (Only for type=4)
@param sid
@param_type string
......@@ -80,7 +94,7 @@ session identifier.
@result parents
@result_type identifier
@result_description Comma separate list of parent identifiers
@result_description Comma separated list of parent identifiers
@result number_children
@result_type integer
......@@ -88,12 +102,11 @@ session identifier.
@result children
@result_type identifier
@result_description Comma separate list of children identifiers
@result_description Comma separated list of children identifiers
@result weights
@result_type double
@result_description Comma separate list of children weight
@result_description Comma separated list of children weights
@example database=1&dimension=0&name_element=new+element&type=4&children=6,7,8&weights=0.1,0.5,0.4
......
......@@ -2,31 +2,46 @@
@short_description Creates or updates list of elements
@long_description This request creates or changes multiple elements of the same type. For
@long_description This request creates or changes multiple elements. For
consolidated elements this request replaces the existing elements with the
given children elements.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param dimension
@param_type identifier
@param_description Identifier of a dimension
@param_description Identifier of the dimension
@param name_dimension
@param_type string
@param_description Name of the dimension. Used only if dimension parameter is omitted.
@param elements
@param_type identifier
@param_description Comma separate list of elements.
@param_description Comma separated list of element identifiers
@param name_elements
@param_type string
@param_description Comma separate list of name of an element. (alternative parameter for "elements")
@param_description Comma separated list of names of elements. Used only if elements parameter is omitted.
@param type
@param_type integer
@param_description Type of the element (1=NUMERIC, 2=STRING, 4=CONSOLIDATED)
@param types
@param_type integer
@param_description Type of the elements (1=NUMERIC, 2=STRING, 4=CONSOLIDATED) as comma
separated list. Either type or types must be specified. If type is specified all
elements are of the same type. If types is specified then children and weights must be
empty for elements of numeric or string type.
@param children
@param_type identifier
@param_description Comma and colon separate list of children identifiers. (Only for type=4)
......
......@@ -21,7 +21,7 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Palo Home</a>
</div>
<div id="center">
......@@ -41,7 +41,7 @@
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
......@@ -14,7 +14,7 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Palo Home</a>
</div>
<div id="center">
......@@ -218,7 +218,7 @@
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG & triagens GmbH&nbsp;</div>
<div class="footerText">Copyright 2006-2012 Jedox AG</div>
</div>
</div>
</div>
......
Api/header5.jpg

33 KB | W: | H:

Api/header5.jpg

10.2 KB | W: | H:

Api/header5.jpg
Api/header5.jpg
Api/header5.jpg
Api/header5.jpg
  • 2-up
  • Swipe
  • Onion skin
@version 3.1.0
@version X.X.X
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server {@version}</h1>
<h1>Jedox OLAP server {@version}</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -36,7 +36,7 @@
</tr>
<tr>
<td colspan="2">This is the open source OLAP database PALO {@version}.</td>
<td colspan="2">This is the Jedox OLAP database {@version}.</td>
</tr>
<tr>
......@@ -44,7 +44,7 @@
</tr>
<tr>
<td colspan="2">The PALO server provides a HTTP API for getting and setting data.
<td colspan="2">The Jedox OLAP server provides a HTTP API for getting and setting data.
For more in formation about the API click <a href="/api">here</a>.</td>
</tr>
......@@ -61,7 +61,7 @@
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
......@@ -181,8 +181,8 @@ RIGHT;german;"Gibt soviele Buchstaben eines Textes zurueck, wie das Integer-Argu
ROUND;english;"Rounds a number to a specified number of digits. If num_digits is 0, then number is rounded to the nearest integer. If num_digits is less than 0, then number is rounded to the left of the decimal point.";
ROUND;german;"Rundet eine Zahl auf die angegebene Zahl von Nachkommastellen.Falls Zahl_Stellen 0 ist, so wird die Zahl auf die naechste ganze Zahl gerundet. Falls Zahl_Stelen kleiner 0 ist, so wird die Zahl vor dem Komma entsprechend gerundet.";
SEARCH;english;"Finds one text value within another (not case-sensitive) Find_text is the text you want to find. You can use the wildcard characters, question mark (?) and asterisk (*) in find_text. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character. Within_text is the text in which you want to search for find_text. If find_text is not found, then 0 is returned.";
SEARCH;german;"Findet einen Text-Wert in einem anderen.(nicht case-sensitiv) Text_Suche ist der zu findende Text. Man kann wildcards, ? und * in Text_Suche verwenden. Ein Fragezeichen passt zu jedem einzelnen Zeichen und ein Sternchen zu jeder Folge von Zeichen. Falls Fragezeichen oder Sternchen selbst gefunden werden sollen, muss eine Tilde ~ vorangestellt werden. Falls Text_Suche nicht gefunden wird, wird 0 zurueckgeliefert.";
SEARCH;english;"Finds one text value within another (not case-sensitive) Find_text is the text you want to find. You can use the wildcard characters, question mark (?) and asterisk (*) in find_text. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character. Within_text is the text in which you want to search for find_text. If find_text is not found, then 0 is returned. If found, then position is returned.";
SEARCH;german;"Findet einen Text-Wert in einem anderen.(nicht case-sensitiv) Text_Suche ist der zu findende Text. Man kann wildcards, ? und * in Text_Suche verwenden. Ein Fragezeichen passt zu jedem einzelnen Zeichen und ein Sternchen zu jeder Folge von Zeichen. Falls Fragezeichen oder Sternchen selbst gefunden werden sollen, muss eine Tilde ~ vorangestellt werden. Text_Basis ist der Text, in welchem Text_Suche gefunden werden soll. Falls Text_Suche nicht gefunden wird, wird 0 zurueckgeliefert. Wenn es gefunden wird, wird die Position zurueckgeliefert.";
SIGN;english;"Returns the sign of a number";
SIGN;german;"Gibt das Vorzeichen einer Zahl zurueck.";
......@@ -259,6 +259,9 @@ PALO.ENAME;german;"Gibt den Namen des Elementes an der angegebenen Position zuru
PALO.ENEXT;english;"Retrieves the name of the succeeding element of a dimension element.";
PALO.ENEXT;german;"Gibt den Namen des Folgeelements eines Dimensionselements zurueck.";
PALO.EOFFSET;english;"Retrieves the name of the dimension element distant by offset from specified element.";
PALO.EOFFSET;german;"Liefert den Namen des Elementes, welches zum angegebenen Element in der Dimension den Abstand Offset hat.";
PALO.EPARENT;english;"Retrieves the name of the n-th parent of the specified element.";
PALO.EPARENT;german;"Gibt den Namen des n-ten Elternteils des angegebenen Elements zurueck.";
......@@ -269,7 +272,7 @@ PALO.EPREV;english;"Retrieves the name of the preceding element of a dimension e
PALO.EPREV;german;"Gibt den Namen des Vorgaengerelements des angegebenen Dimensionselements zurueck.";
PALO.ESIBLING;english;"Retrieves the name of the specified sibling";
PALO.ESIBLING;german;"Gibt den Namen des angegebenen Geschwisterteils zurueck.";
PALO.ESIBLING;german;"Gibt den Namen des angegebenen Geschwisterelements zurueck.";
PALO.ETOPLEVEL;english;"Returns the level number of the highest element in the consolidation hierarchy of a dimension.";
PALO.ETOPLEVEL;german;"Gibt die hoechste Ebene zurueck, die ein Element in der Konsolidierungshierarchie der angegebenen Dimension hat.";
......
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
var CryptoJS=CryptoJS||function(s,p){var m={},l=m.lib={},n=function(){},r=l.Base={extend:function(b){n.prototype=this;var h=new n;b&&h.mixIn(b);h.hasOwnProperty("init")||(h.init=function(){h.$super.init.apply(this,arguments)});h.init.prototype=h;h.$super=this;return h},create:function(){var b=this.extend();b.init.apply(b,arguments);return b},init:function(){},mixIn:function(b){for(var h in b)b.hasOwnProperty(h)&&(this[h]=b[h]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}},
q=l.WordArray=r.extend({init:function(b,h){b=this.words=b||[];this.sigBytes=h!=p?h:4*b.length},toString:function(b){return(b||t).stringify(this)},concat:function(b){var h=this.words,a=b.words,j=this.sigBytes;b=b.sigBytes;this.clamp();if(j%4)for(var g=0;g<b;g++)h[j+g>>>2]|=(a[g>>>2]>>>24-8*(g%4)&255)<<24-8*((j+g)%4);else if(65535<a.length)for(g=0;g<b;g+=4)h[j+g>>>2]=a[g>>>2];else h.push.apply(h,a);this.sigBytes+=b;return this},clamp:function(){var b=this.words,h=this.sigBytes;b[h>>>2]&=4294967295<<
32-8*(h%4);b.length=s.ceil(h/4)},clone:function(){var b=r.clone.call(this);b.words=this.words.slice(0);return b},random:function(b){for(var h=[],a=0;a<b;a+=4)h.push(4294967296*s.random()|0);return new q.init(h,b)}}),v=m.enc={},t=v.Hex={stringify:function(b){var a=b.words;b=b.sigBytes;for(var g=[],j=0;j<b;j++){var k=a[j>>>2]>>>24-8*(j%4)&255;g.push((k>>>4).toString(16));g.push((k&15).toString(16))}return g.join("")},parse:function(b){for(var a=b.length,g=[],j=0;j<a;j+=2)g[j>>>3]|=parseInt(b.substr(j,
2),16)<<24-4*(j%8);return new q.init(g,a/2)}},a=v.Latin1={stringify:function(b){var a=b.words;b=b.sigBytes;for(var g=[],j=0;j<b;j++)g.push(String.fromCharCode(a[j>>>2]>>>24-8*(j%4)&255));return g.join("")},parse:function(b){for(var a=b.length,g=[],j=0;j<a;j++)g[j>>>2]|=(b.charCodeAt(j)&255)<<24-8*(j%4);return new q.init(g,a)}},u=v.Utf8={stringify:function(b){try{return decodeURIComponent(escape(a.stringify(b)))}catch(g){throw Error("Malformed UTF-8 data");}},parse:function(b){return a.parse(unescape(encodeURIComponent(b)))}},
g=l.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new q.init;this._nDataBytes=0},_append:function(b){"string"==typeof b&&(b=u.parse(b));this._data.concat(b);this._nDataBytes+=b.sigBytes},_process:function(b){var a=this._data,g=a.words,j=a.sigBytes,k=this.blockSize,m=j/(4*k),m=b?s.ceil(m):s.max((m|0)-this._minBufferSize,0);b=m*k;j=s.min(4*b,j);if(b){for(var l=0;l<b;l+=k)this._doProcessBlock(g,l);l=g.splice(0,b);a.sigBytes-=j}return new q.init(l,j)},clone:function(){var b=r.clone.call(this);
b._data=this._data.clone();return b},_minBufferSize:0});l.Hasher=g.extend({cfg:r.extend(),init:function(b){this.cfg=this.cfg.extend(b);this.reset()},reset:function(){g.reset.call(this);this._doReset()},update:function(b){this._append(b);this._process();return this},finalize:function(b){b&&this._append(b);return this._doFinalize()},blockSize:16,_createHelper:function(b){return function(a,g){return(new b.init(g)).finalize(a)}},_createHmacHelper:function(b){return function(a,g){return(new k.HMAC.init(b,
g)).finalize(a)}}});var k=m.algo={};return m}(Math);
(function(s){function p(a,k,b,h,l,j,m){a=a+(k&b|~k&h)+l+m;return(a<<j|a>>>32-j)+k}function m(a,k,b,h,l,j,m){a=a+(k&h|b&~h)+l+m;return(a<<j|a>>>32-j)+k}function l(a,k,b,h,l,j,m){a=a+(k^b^h)+l+m;return(a<<j|a>>>32-j)+k}function n(a,k,b,h,l,j,m){a=a+(b^(k|~h))+l+m;return(a<<j|a>>>32-j)+k}for(var r=CryptoJS,q=r.lib,v=q.WordArray,t=q.Hasher,q=r.algo,a=[],u=0;64>u;u++)a[u]=4294967296*s.abs(s.sin(u+1))|0;q=q.MD5=t.extend({_doReset:function(){this._hash=new v.init([1732584193,4023233417,2562383102,271733878])},
_doProcessBlock:function(g,k){for(var b=0;16>b;b++){var h=k+b,w=g[h];g[h]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var b=this._hash.words,h=g[k+0],w=g[k+1],j=g[k+2],q=g[k+3],r=g[k+4],s=g[k+5],t=g[k+6],u=g[k+7],v=g[k+8],x=g[k+9],y=g[k+10],z=g[k+11],A=g[k+12],B=g[k+13],C=g[k+14],D=g[k+15],c=b[0],d=b[1],e=b[2],f=b[3],c=p(c,d,e,f,h,7,a[0]),f=p(f,c,d,e,w,12,a[1]),e=p(e,f,c,d,j,17,a[2]),d=p(d,e,f,c,q,22,a[3]),c=p(c,d,e,f,r,7,a[4]),f=p(f,c,d,e,s,12,a[5]),e=p(e,f,c,d,t,17,a[6]),d=p(d,e,f,c,u,22,a[7]),
c=p(c,d,e,f,v,7,a[8]),f=p(f,c,d,e,x,12,a[9]),e=p(e,f,c,d,y,17,a[10]),d=p(d,e,f,c,z,22,a[11]),c=p(c,d,e,f,A,7,a[12]),f=p(f,c,d,e,B,12,a[13]),e=p(e,f,c,d,C,17,a[14]),d=p(d,e,f,c,D,22,a[15]),c=m(c,d,e,f,w,5,a[16]),f=m(f,c,d,e,t,9,a[17]),e=m(e,f,c,d,z,14,a[18]),d=m(d,e,f,c,h,20,a[19]),c=m(c,d,e,f,s,5,a[20]),f=m(f,c,d,e,y,9,a[21]),e=m(e,f,c,d,D,14,a[22]),d=m(d,e,f,c,r,20,a[23]),c=m(c,d,e,f,x,5,a[24]),f=m(f,c,d,e,C,9,a[25]),e=m(e,f,c,d,q,14,a[26]),d=m(d,e,f,c,v,20,a[27]),c=m(c,d,e,f,B,5,a[28]),f=m(f,c,
d,e,j,9,a[29]),e=m(e,f,c,d,u,14,a[30]),d=m(d,e,f,c,A,20,a[31]),c=l(c,d,e,f,s,4,a[32]),f=l(f,c,d,e,v,11,a[33]),e=l(e,f,c,d,z,16,a[34]),d=l(d,e,f,c,C,23,a[35]),c=l(c,d,e,f,w,4,a[36]),f=l(f,c,d,e,r,11,a[37]),e=l(e,f,c,d,u,16,a[38]),d=l(d,e,f,c,y,23,a[39]),c=l(c,d,e,f,B,4,a[40]),f=l(f,c,d,e,h,11,a[41]),e=l(e,f,c,d,q,16,a[42]),d=l(d,e,f,c,t,23,a[43]),c=l(c,d,e,f,x,4,a[44]),f=l(f,c,d,e,A,11,a[45]),e=l(e,f,c,d,D,16,a[46]),d=l(d,e,f,c,j,23,a[47]),c=n(c,d,e,f,h,6,a[48]),f=n(f,c,d,e,u,10,a[49]),e=n(e,f,c,d,
C,15,a[50]),d=n(d,e,f,c,s,21,a[51]),c=n(c,d,e,f,A,6,a[52]),f=n(f,c,d,e,q,10,a[53]),e=n(e,f,c,d,y,15,a[54]),d=n(d,e,f,c,w,21,a[55]),c=n(c,d,e,f,v,6,a[56]),f=n(f,c,d,e,D,10,a[57]),e=n(e,f,c,d,t,15,a[58]),d=n(d,e,f,c,B,21,a[59]),c=n(c,d,e,f,r,6,a[60]),f=n(f,c,d,e,z,10,a[61]),e=n(e,f,c,d,j,15,a[62]),d=n(d,e,f,c,x,21,a[63]);b[0]=b[0]+c|0;b[1]=b[1]+d|0;b[2]=b[2]+e|0;b[3]=b[3]+f|0},_doFinalize:function(){var a=this._data,k=a.words,b=8*this._nDataBytes,h=8*a.sigBytes;k[h>>>5]|=128<<24-h%32;var l=s.floor(b/
4294967296);k[(h+64>>>9<<4)+15]=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;k[(h+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360;a.sigBytes=4*(k.length+1);this._process();a=this._hash;k=a.words;for(b=0;4>b;b++)h=k[b],k[b]=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360;return a},clone:function(){var a=t.clone.call(this);a._hash=this._hash.clone();return a}});r.MD5=t._createHelper(q);r.HmacMD5=t._createHmacHelper(q)})(Math);
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server {@version}</h1>
<h1>Jedox OLAP server {@version}</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -48,7 +48,7 @@
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Palo - Open-Source MOLAP</title>
<title>Jedox OLAP</title>
<link href="/inc/style_palo.css" rel="stylesheet" type="text/css">
<!--[if IE]>
<style>
......@@ -21,12 +21,12 @@
<a class="nav" href="/">Home</a>
<a class="nav" href="/browser">Server browser</a>
<a class="nav" href="/api">API Documentation</a>
<a class="nav" href="http://www.palo.net">Palo Home</a>
<a class="nav" href="http://www.jedox.com">Jedox OLAP Home</a>
</div>
<div id="center">
<div style="margin: 10px;">
<h1>PALO server {@version}</h1>
<h1>Jedox OLAP server {@version}</h1>
<table cellpadding="2" cellspacing="2" width="100%">
......@@ -48,7 +48,7 @@
</div>
<div class="footer">
<div class="footerText">Copyright 2006-2009 Jedox AG, written by triagens GmbH</div>
<div class="footerText">Copyright 2005-2013 Jedox AG</div>
</div>
</div>
</div>
......
<!DOCTYPE html>
<html>
<style type="text/css">
body { background-color:#b0c4de; }
#PlainRule { width: 98%; }
#RuleComment { width: 98%; }
label { margin: 0;padding: 0;border: 0;}
.RE {width: 100%;height: 40%;}
.REText {width: 90%;float:left;}
.REButtons {width: 10%; right: 0px; width: 60;float:left; height: 100%;}
.REParsed {width: 100%; clear:both;}
.RETarget {width: 30%;float:left;}
.REFormula {width: 70%;border-style:solid;border-width:1px;}
.OlapObjectSelection {width: 200px;}
button {width: 100%;}
</style><body>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="./palo.js"></script>
<div class="Context">Database:<select class="OlapObjectSelection" id="DatabasesSelect"></select> Cube:<select class="OlapObjectSelection" id="CubeSelect"></select></div>
<div class="RE">
<div class="REText">
<label for="PlainRule">Rule:</label></br>
<textarea id="PlainRule" rows="10"></textarea>
</br><label for="RuleComment">Comment:</label></br>
<textarea id="RuleComment" rows="4"></textarea>
</div>
<div class="REButtons">
<button id="Parse">Parse</button>
<button>OK</button>
<button>Cancel</button>
</div>
</div>
<p style="clear:both;"></p>
<div id="REParsed">
<div id="RETarget">target</div>
<div id="REFormula">formula</div>
</div>
<p style="clear:both;"></p>
</body>
<!--
<button onclick="getVersion()">Version</button></br>
-->
</html>
\ No newline at end of file
var server = "localhost";
var port = "7778";
var user = "admin";
//var password = "\t\1\t21232f297a57a5a743894a0e4a801fc3";
var password = "21232f297a57a5a743894a0e4a801fc3";
var sid;
function ajaxFunction() {
try{
// Opera 8.0+, Firefox, Safari
ajaxRequest = new XMLHttpRequest();
} catch (e){
alert("Your browser broke!");
return false;
}
// Create a function that will receive data sent from the server
ajaxRequest.onreadystatechange = function(){
// document.body.innerHTML += "response: "+ajaxRequest.responseText+"</br>";
// document.body.innerHTML += "state: "+ajaxRequest.readyState+"</br>";
// document.body.innerHTML += "header: "+JSON.stringify(ajaxRequest)+"</br>";
if(ajaxRequest.readyState == 4){
//alert(ajaxRequest.responseText);
var result = ajaxRequest.responseText.split(";",2);
sid = result[0];
document.body.innerHTML += "SID: "+sid+"</br>";
}
};
requrl = "http://"+server+":"+port+"/server/login?user="+user+"&password="+password;
document.body.innerHTML += "login: "+requrl+"</br>";
ajaxRequest.open("GET", requrl, true);
ajaxRequest.send(null);
}
if (window.performance.now) {
console.log("Using high performance timer");
getTimestamp = function() { return window.performance.now(); };
} else {
if (window.performance.webkitNow) {
console.log("Using webkit high performance timer");
getTimestamp = function() { return window.performance.webkitNow(); };
} else {
console.log("Using low performance timer");
getTimestamp = function() { return new Date().getTime(); };
}
}
function benchmark(fn, print)
{
var start = new Date().getTime();
for (i = 0; i < 1000000; ++i) {
fn(i);
}
var end = new Date().getTime();
var time = end - start;
if (print) {
alert('Execution time: ' + time + ' x='+x);
} else {
}
return time;
}
function Dimension(database, line)
{
var items = line.split(";");
this.id = parseInt(items[0]);
this.name = items[1].substring(1,items[1].length-1);
this.elementsCount = parseInt(items[2]);
this.maxLevel = parseInt(items[3]);
this.maxIndent = parseInt(items[4]);
this.maxDepth = parseInt(items[5]);
this.type = parseInt(items[6]);
this.attributesDimension = parseInt(items[7]);
this.attributesCube = parseInt(items[8]);
this.rightsCube = parseInt(items[9]);
this.token = parseInt(items[10]);
}
function Cube(database, line)
{
var items = line.split(";");
this.id = parseInt(items[0]);
this.name = items[1].substring(1,items[1].length-1);
this.dimensionsCount = parseInt(items[2]);
var dimensionsStrings = items[3].split(",");
this.dimensions = [];
for (dim in dimensionsStrings) this.dimensions.push(parseInt(dimensionsStrings[dim]));
this.cellsCount = parseFloat(items[4]);
this.valuesCount = parseInt(items[5]);
this.status = parseInt(items[6]);
this.type = parseInt(items[7]);
this.token = parseInt(items[8]);
this.database = database;
}
Cube.prototype.request = function(url) {
url += "&cube="+this.id;
return this.database.request(url);
}
Cube.prototype.ruleParse = function(rule) {
requrl = "/rule/parse?definition="+escape(rule);
var result = this.request(requrl);
return result;
}
function Database(server, line)
{
var items = line.split(";");
this.id = parseInt(items[0]);
this.name = items[1].substring(1,items[1].length-1);
this.dimensionsCount = parseInt(items[2]);
this.cubesCount = parseInt(items[3]);
this.status = parseInt(items[4]);
this.type = parseInt(items[5]);
this.token = parseInt(items[6]);
this.server = server;
}
Database.prototype.toString = function() {
return "Database(id="+this.id+", name="+this.name+", type="+this.type+")";
};
Database.prototype.request = function(url) {
url += "&database="+this.id;
return this.server.request(url);
}
Database.prototype.getCubes = function() {
var result = this.request("/database/cubes?database="+this.id);
var resultLines = result.split("\n");
var cubes = new Object();
for (lineNr in resultLines) {
if (resultLines[lineNr].length) {
var cube = new Cube(this, resultLines[lineNr]);
cubes[cube.id] = cube;
}
}
return cubes;
};
function Server(user, password)
{
this.user = user;
this.password = password;
requrl = "/server/login?user="+user+"&password="+password;
var result = this.request(requrl).split(";",2);
this.sid = result[0];
document.body.innerHTML += "Connected as user:"+user+" sid: "+this.sid+"<br/>";
}
Server.prototype.toString = function() {
return "Server(sid="+this.sid+")";
};
Server.prototype.request = function(url) {
var AJAX = new XMLHttpRequest();
if (this.sid != null) {
url += "&sid="+this.sid;
}
AJAX.open("GET", url, false);
console.log("request: "+url);
AJAX.send(null);
var result = AJAX.responseText;
//alert("result: "+result);
return result;
};
Server.prototype.getDatabases = function() {
var result = this.request("/server/databases?sid="+this.sid);
var resultLines = result.split("\n");
var databases = new Object();
for (lineNr in resultLines) {
if (resultLines[lineNr].length) {
var database = new Database(this, resultLines[lineNr]);
databases[database.id] = database;
}
}
return databases;
};
$(document).ready( function(){
var elem=document.createElement("DIV");
//elem.appendChild(document.createTextNode("server"));
elem = document.body.appendChild(elem);
//document.body
//document.write(server);
//ajaxFunction();
srv = new Server(user, password);
//document.body.innerHTML += JSON.stringify(srv)+"<br/>";
var databases = srv.getDatabases();
//document.body.innerHTML += JSON.stringify(databases)+"<br/>";
var selectedDatabase;
var cubes;
for (var dbNr in databases) {
$('#DatabasesSelect').append($("<option/>", {
value: dbNr,
text: databases[dbNr].name
}));
}
$("#DatabasesSelect").change(function(){
selectedDatabase = databases[$(this).val()];
cubes = selectedDatabase.getCubes();
$('#CubeSelect').empty();
for (var cube in cubes) {
$('#CubeSelect').append($("<option/>", {
value: cube,
text: cubes[cube].name
}));
}
});
var selectedCube;
$("#CubeSelect").change(function(){
selectedCube = cubes[$(this).val()];
});
$("#Parse").click(function(){
if (selectedCube != null) {
rulexml = selectedCube.ruleParse($("#PlainRule").val());
$('<div>').appendTo($(document.body)).text(rulexml);
}
});
});
......@@ -7,11 +7,19 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param definition
@param_type string
......@@ -33,12 +41,15 @@
@param_type boolean
@param_description Use identifier in textual representation of the rule in the result. The definition can use name or identifier independent of the parameter.
@param position
@param_type double
@param_description Optional position of the rule in the list of cube rules. By default(0) the rule gets position of last rule +1
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@result rule
@result_type identifier
@result_description Identifier of the rule
......@@ -63,7 +74,9 @@
@result_type integer
@result_description 0=rule is not active, 1=rule is active
@result position
@result_type double
@result_description Position of the rule within list of cube rules
@example database=1&cube=13&definition=['budget']%3dadd(['actual'],['variance']*-1)
@example_description Simple rule: Budget = Variance - Actual
......@@ -7,15 +7,23 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param rule
@param_type identifier
@param_description Identifier of the rule
@param_description Comma separated list of rule identifiers to be deleted
@param sid
@param_type string
......@@ -29,5 +37,6 @@
@example database=1&cube=13&rule=1
@example_description Deletes a rule from a cube
@example database=1&cube=13&rule=1,2
@example_description Deletes rules 1 and 2 from a cube 13
......@@ -7,15 +7,23 @@
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param rule
@param_type identifier
@param_description Identifier of rule to show
@param_description Comma separated list of rule identifiers to be shown
@param use_identifier
@param_type boolean
......@@ -51,6 +59,10 @@
@result_type integer
@result_description 0=rule is not active, 1=rule is active
@result position
@result_type double
@result_description Position of the rule within list of cube rules
@example database=2&cube=8&rule=0
@example_description Show rule 0 of cube 8 in database 2
var Lexer = Lexer = function() {
this.pos = 0;
this.buf = null;
this.buflen = 0;
// Operator table, mapping operator -> token name
this.optable = {
'+': 'PLUS',
'-': 'MINUS',
'*': 'MULTIPLY',
'.': 'PERIOD',
'\\': 'BACKSLASH',
':': 'COLON',
'%': 'PERCENT',
'|': 'PIPE',
'!': 'EXCLAMATION',
'?': 'QUESTION',
'#': 'POUND',
'&': 'AMPERSAND',
';': 'SEMI',
',': 'COMMA',
'(': 'L_PAREN',
')': 'R_PAREN',
'<': 'L_ANG',
'>': 'R_ANG',
'{': 'L_BRACE',
'}': 'R_BRACE',
'[': 'L_BRACKET',
']': 'R_BRACKET',
'=': 'EQUALS',
'@': 'AT'
};
}
// Initialize the Lexer's buffer. This resets the lexer's internal
// state and subsequent tokens will be returned starting with the
// beginning of the new buffer.
Lexer.prototype.input = function(buf) {
this.pos = 0;
this.buf = buf;
this.buflen = buf.length;
}
// Get the next token from the current buffer. A token is an object with
// the following properties:
// - name: name of the pattern that this token matched (taken from rules).
// - value: actual string value of the token.
// - pos: offset in the current buffer where the token starts.
//
// If there are no more tokens in the buffer, returns null. In case of
// an error throws Error.
Lexer.prototype.token = function() {
this._skipnontokens();
if (this.pos >= this.buflen) {
return null;
}
// The char at this.pos is part of a real token. Figure out which.
var c = this.buf.charAt(this.pos);
// '/' is treated specially, because it starts a comment if followed by
// another '/'. If not followed by another '/', it's the DIVIDE
// operator.
if (c === '/') {
var next_c = this.buf.charAt(this.pos + 1);
if (next_c === '/') {
return this._process_comment();
} else {
return {name: 'DIVIDE', value: '/', pos: this.pos++};
}
} else {
// Look it up in the table of operators
var op = this.optable[c];
if (op !== undefined) {
return {name: op, value: c, pos: this.pos++};
} else {
// Not an operator - so it's the beginning of another token.
if (Lexer._isalpha(c)) {
return this._process_identifier();
} else if (Lexer._isdigit(c)) {
return this._process_number();
} else if (c === '"') {
return this._process_quote('"');
} else if (c === '\'') {
return this._process_quote('\'');
} else {
throw Error('Token error at ' + this.pos);
}
}
}
}
Lexer._isnewline = function(c) {
return c === '\r' || c === '\n';
}
Lexer._isdigit = function(c) {
return c >= '0' && c <= '9';
}
Lexer._isalpha = function(c) {
return (c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
c === '_' || c === '$';
}
Lexer._isalphanum = function(c) {
return (c >= 'a' && c <= 'z') ||
(c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') ||
c === '_' || c === '$';
}
Lexer.prototype._process_number = function() {
var endpos = this.pos + 1;
while (endpos < this.buflen &&
Lexer._isdigit(this.buf.charAt(endpos))) {
endpos++;
}
var tok = {
name: 'NUMBER',
value: this.buf.substring(this.pos, endpos),
pos: this.pos
};
this.pos = endpos;
return tok;
}
Lexer.prototype._process_comment = function() {
var endpos = this.pos + 2;
// Skip until the end of the line
var c = this.buf.charAt(this.pos + 2);
while (endpos < this.buflen &&
!Lexer._isnewline(this.buf.charAt(endpos))) {
endpos++;
}
var tok = {
name: 'COMMENT',
value: this.buf.substring(this.pos, endpos),
pos: this.pos
};
this.pos = endpos + 1;
return tok;
}
Lexer.prototype._process_identifier = function() {
var endpos = this.pos + 1;
while (endpos < this.buflen &&
Lexer._isalphanum(this.buf.charAt(endpos))) {
endpos++;
}
var tok = {
name: 'IDENTIFIER',
value: this.buf.substring(this.pos, endpos),
pos: this.pos
};
this.pos = endpos;
return tok;
}
Lexer.prototype._process_quote = function(quote) {
// this.pos points at the opening quote. Find the ending quote.
var end_index = this.buf.indexOf(quote, this.pos + 1);
if (end_index === -1) {
throw Error('Unterminated quote at ' + this.pos);
} else {
var tok = {
name: (quote == '"' ? 'QUOTE' : 'SQUOTE'),
value: this.buf.substring(this.pos, end_index + 1),
pos: this.pos
};
this.pos = end_index + 1;
return tok;
}
}
Lexer.prototype._skipnontokens = function() {
while (this.pos < this.buflen) {
var c = this.buf.charAt(this.pos);
if (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
this.pos++;
} else {
break;
}
}
}
......@@ -8,15 +8,23 @@ Use the parameter "definition" for changing the rule or use the parameter "activ
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param rule
@param_type identifier
@param_description Identifier of rule to modify
@param_description Comma separated list of rule identifiers to be modified. If definition is specified, only first rule is modified!
@param definition
@param_type string
......@@ -24,7 +32,7 @@ Use the parameter "definition" for changing the rule or use the parameter "activ
@param activate
@param_type integer
@param_description activate rule with "1" or deactivate rule with "0"
@param_description activate rule with "1", deactivate rule with "0" or toggle rule active state with "2"
@param external_identifier
@param_type string
......@@ -38,12 +46,15 @@ Use the parameter "definition" for changing the rule or use the parameter "activ
@param_type boolean
@param_description Use identifier in textual representation of the rule in the result. The definition can use name or identifier independent of the parameter.
@param position
@param_type double
@param_description Optional position of the rule in the list of cube rules. By default the position stays unchanged. If multiple rules are specified in parameter 'rule' all these rules will get new position. First rule from the list get position 'position', second gets 'position'+1 etc.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the <a href="/api/server/login">/server/login</a> request to get a valid session identifier.
@result rule
@result_type identifier
@result_description Identifier of the rule
......@@ -68,6 +79,15 @@ Use the parameter "definition" for changing the rule or use the parameter "activ
@result_type integer
@result_description 0=rule is not active, 1=rule is active
@result position
@result_type double
@result_description Position of the rule within list of cube rules
@example database=1&cube=13&definition=['budget']%3dadd(['actual'],['variance']*-2)&rule=0
@example_description Modify rule 0: Budget = Variance - 2 * Actual
@example database=1&cube=13&rule=0,1,2&activate=2
@example_description Toggle active state of rules 0,1 and 2. Active rules are deactivated and vice versa.
@example database=1&cube=13&rule=0,2,1&position=100,400
@example_description Set new position of rules 0,2 and 1. Rule 0 gets position 100, rule 2 gets position 200 and rule 1 position 300.
......@@ -10,11 +10,19 @@ performed and only functions and operators from the given list are allowed.
@param database
@param_type identifier
@param_description Identifier of a database
@param_description Identifier of the database
@param name_database
@param_type string
@param_description Name of the database. Used only if database parameter is omitted.
@param cube
@param_type identifier
@param_description Identifier of a cube
@param_description Identifier of the cube
@param name_cube
@param_type string
@param_description Name of the cube. Used only if cube parameter is omitted.
@param functions
@param_type string
......
@request_path /server/activate_license
@short_description Activate license
@long_description
Activates license key with activation code
@param lickey
@param_type string
@param_description License key
@param actcode
@param_type string
@param_description Activation code. When empty license is deactivated.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@result OK
@result_type boolean
@result_description "1" means OK
@example lickey=CCJAM-93D2B-IG62E-8BO68-BXM5M-QNFUV-LKSCX&actcode=CZ7HZ-9Z9Z9-Z7UAT-JT4UQ-KHXDH-EPFTB-EFUQQ-7OKDF-7EMVF-4RTFE
@example_description Activates license.
@request_path /server/change_password
@short_description Changes user's password.
@long_description
Changes user's password.
@param user
@param_type string
@param_description The name of the user whose password should be changed. (If no user is specified - password is changed for current user)
@param password
@param_type string
@param_description The plain text new password.
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@result OK
@result_type boolean
@result_description "1" means OK
@example password=new_password
@example_description Changes user's password to "new_password".
......@@ -27,6 +27,10 @@ databases (default), 1=show)
@param_description Show databases of type user info (0=do not show user
info databases (default), 1=show)
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permission on database is returned (optional, default is 0)
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
......@@ -63,6 +67,10 @@ session identifier.
@result_type integer
@result_description The database token of the database
@result permission
@result_type string
@result_description User's permission on database, maximum over all groups/roles ("N", "R", "W", "D")
@example
@example_description List the databases of the server
......@@ -18,9 +18,9 @@ Returns information about the server, i. e. its version number.
@result_type integer
@result_description minor version of the server
@result bugfix_version
@result type_version
@result_type integer
@result_description bugfix level of the server
@result_description used to distinct type of the server(1 - ST 32bit, 2 - MT 32bit, 3 - ST 64bit, 4 - MT 64bit, 5 - GPU 64bit)
@result build_number
@result_type integer
......@@ -34,6 +34,10 @@ Returns information about the server, i. e. its version number.
@result_type integer
@result_description the corresponding HTTPS port or 0 if HTTPS is not supported
@result data_token
@result_type token
@result_description Data token. Changed by every write operations.
@example
......
@request_path /server/license
@request_path /server/licenses
@short_description Information about the server license
@long_description
Returns information about the server license.
First line represents server's hardware key. Other lines represent available licenses as described below.
@param -
@param_type -
@param_description Needs no parameter
@result username
@result licensekey
@result_type string
@result_description User name
@result_description License key
@result numusers
@result customer
@result_type string
@result_description Customer name
@result version
@result_type integer
@result_description License version
@result numconcurrent
@result_type integer
@result_description Number of concurrent users
@result numnamed
@result_type integer
@result_description Number of users
@result_description Number of named users
@result activationdate
@result_type integer
@result_description Activation date
@result expirationdate
@result_type integer
@result_description Expiration date
@result type
@result sharinglimit
@result_type integer
@result_description License type
@result_description Sharing limit (number of users from same machine that can use one license)
@result numgpu
@result_type integer
@result_description Number of allowed GPU cards
@result features
@result_type string
@result_description Available features
@example
......
......@@ -28,7 +28,29 @@ or authorization use the extern_password parameter.
require-user is enabled and the supervision server is used for authentication
or authorization)
@param type
@param_type integer
@param_description When 1 server only tries the login validity without creating session
@param machine
@param_type string
@param_description Optional parameter. Machine identifier.
@param required
@param_type string
@param_description Optional parameter. List of required features.
@param optional
@param_type string
@param_description Optional parameter. List of optional features.
@param new_name
@param_type string
@param_description Optional parameter. Name of the session. Displayed in management console.
@param external_identifier
@param_type string
@param_description Optional parameter. User's locale. Used for subset sorting.
@result sid
@result_type string
......@@ -39,6 +61,9 @@ or authorization)
@result_description Timeout intervall in seconds. If no request is
made within this intervall the session becomes inactive.
@result optional
@result_type string
@result_description List of optional features server has licenses for.
@example user=foo&password=01234567890123456789012345678901
......
......@@ -13,6 +13,10 @@ It becomes invalid.
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@param type
@param_type integer
@param_description When 1 all session jobs are terminated.
@result OK
......
......@@ -4,7 +4,7 @@
@long_description
This request saves the server data, i. e. identifiers and database
names, to disk. To save database and cube data use the requests
names, to disk. To save database and/or cube data see the requests
"/database/save" and "/cube/save".
......@@ -15,6 +15,11 @@ names, to disk. To save database and cube data use the requests
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@param complete
@param_type boolean
@param_description (Optional) If "1" then also databases and all cube data will be saved (default "0").
@result OK
@result_type boolean
@result_description "1" means OK
......
......@@ -21,5 +21,4 @@ session identifier.
@example
@example_description Shutdown server. Attention: This example deletes
all unsaved data.
@example_description Shutdown server.
@request_path /server/user_info
@short_description Shows information about user
@long_description
Returns user's id, name and groups.
@param show_permission
@param_type boolean
@param_description If 1 then additional information about the user's permissions on right objects is returned (optional, default is 0)
@param show_info
@param_type boolean
@param_description If 1 then license key used by this connection is returned
@param sid
@param_type string
@param_description Session identifier for a server connection. Use the
<a href="/api/server/login">/server/login</a> request to get a valid
session identifier.
@result id
@result_type identifier
@result_description User id
@result name
@result_type string
@result_description User name
@result groups
@result_type identifier
@result_description Comma separated list of user's groups
@result group_names
@result_type string
@result_description Comma separated list of user's group names
@result ttl
@result_type string
@result_description Timeout intervall in seconds. If no request is
made within this intervall the session becomes inactive.
@result permission
@result_type string
@result_description Comma separated list of permissions on right objects, maximum over all groups/roles ("N", "R", "W", "D", "S") for each object
@result license
@result_type string
@result_description License key
@example
@example_description Retrieves information about the user.
......@@ -181,8 +181,8 @@ RIGHT;german;"RIGHT(Text,Zahl_Zeichen)";String;Basis-String;Integer;Zahl der Zei
ROUND;english;"ROUND(num_base, num_digits)";double;real to be rounded;integer;number of digits;
ROUND;german;"ROUND(Zahl_Basis,Zahl_Stellen)";Double;zu rundende reelle Zahl;Double;Nachkommastellen;
SEARCH;english;"SEARCH(find_text,within_text)";string;base-string;string;string we search for;
SEARCH;german;"SEARCH(Text_Suche,Text_Basis)";String;Basis-String;String;gesuchte Zeichenkette;
SEARCH;english;"SEARCH(find_text,within_text)";string;string we search for;string;string in which you want to search for find_text;
SEARCH;german;"SEARCH(Text_Suche,Text_Basis)";String;der zu findende Text;String;Suchbereich fr Text_Suche;
SIGN;english;"SIGN(number)";double;numeric parmeter;
SIGN;german;"SIGN(Zahl)";Double;numerisches Argument;
......@@ -259,6 +259,9 @@ PALO.ENAME;german;"PALO.ENAME(Datenbank,Dimension,Position)";String;Datenbank;St
PALO.ENEXT;english;"PALO.ENEXT(Database,Dimension,Element)";string;database;string;dimension;string;element;
PALO.ENEXT;german;"PALO.ENEXT(Datenbank,Dimension,Element)";String;Datenbank;String;Dimension;String;Element;
PALO.EOFFSET;english;"PALO.EOFFSET(Database,Dimension,Element,Index)";string;database;string;dimension;string;element;integer;index of offset;
PALO.EOFFSET;german;"PALO.EOFFSET(Datenbank,Dimension,Element,Index)";String;Datenbank;String;Dimension;String;Element;Integer;Index des Offsets;
PALO.EPARENT;english;"PALO.EPARENT(Database,Dimension,Element,num_n)";string;database;string;dimension;string;element;integer;index of parent;
PALO.EPARENT;german;"PALO.EPARENT(Datenbank,Dimension,Element,Zahl_n)";String;Datenbank;String;Dimension;String;Element;Integer;Index des Elternelementes;
......@@ -269,7 +272,7 @@ PALO.EPREV;english;"PALO.EPREV(Database,Dimension,Element)";string;database;stri
PALO.EPREV;german;"PALO.EPREV(Datenbank,Dimension,Element)";String;Datenbank;String;Dimension;String;Element;
PALO.ESIBLING;english;"PALO.ESIBLING(Database,Dimension,Element,Index)";string;database;string;dimension;string;element;integer;index of sibling;
PALO.ESIBLING;german;"PALO.ESIBLING(Datenbank,Dimension,Element,Index)";String;Datenbank;String;Dimension;String;Element;Integer;Index des Geschwisterteils;
PALO.ESIBLING;german;"PALO.ESIBLING(Datenbank,Dimension,Element,Index)";String;Datenbank;String;Dimension;String;Element;Integer;Index des Geschwisterelements;
PALO.ETYPE;english;"PALO.ETYPE(Database,Dimension,Element)";string;database;string;dimension;string;element;
PALO.ETYPE;german;"PALO.ETYPE(Datenbank,Dimension,Element)";String;Datenbank;String;Dimension;String;Element;
......
......@@ -9,7 +9,6 @@ body {
#container {
border-top:1px none #fff;
width:850px;
border-right: 1px solid #CCD6DB;
border-bottom: 1px solid #CCD6DB;
border-left: 1px solid #CCD6DB;
......@@ -30,6 +29,7 @@ body {
border-bottom:1px solid #FFFFFF;
/* border-top:1px solid #fff; */
background-image:url(header5.jpg);
background-repeat:no-repeat;
}
.headerTitle {
......@@ -58,7 +58,6 @@ body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
text-align:justify;
width:680px;
margin-left:10px;
float:left;
background-color:#FFF;
......@@ -120,8 +119,9 @@ h2 {
clear:both;
height:17px;
line-height:17px;
background-color:#6DA1D0;
background-color:#2a3587;
background-image:url(topheader.gif);
background-repeat:no-repeat;
border-top:1px solid #fff;
text-align:left;
}
......@@ -197,6 +197,13 @@ a:hover {
color:#FFFFFF;
}
.logfile {
font-family:"Courier New", Courier, mono;
font-size:11px;
color:#000000;
background:#FFFFFF;
}
.keyword {
color:#003366;
vertical-align:top;
......@@ -216,6 +223,12 @@ a:hover {
background-color:#A1BEE2;
}
.highlight {
font-weight:bold;
color:red;
background-color:#91AED2;
}
.value_cell {
text-align: right;
}
@request_path /svs/info
@short_description Returns information about Supervision Server
@short_description Returns information about configuration and status of SupervisionServer processes
@long_description
......@@ -14,20 +14,28 @@ session identifier.
@result svs_active
@result_type integer
@result_description 0 - not active, 1 - active
@result_description 0 - not running currently, 1 - currently running
@result login_mode
@result_type integer
@result_description 0 - none, 1 - information; 2 - authentification; 3 - authorization
@result cube_worker_active
@result cube_worker_enabled
@result_type integer
@result_description 0 - not active, 1 - active
@result_description 0 - disabled, 1 - enabled (switch in palo.ini)
@result drill_through_enabled
@result_type integer
@result_description 0 - disabled, 1 - enabled (switch in palo.ini)
@result dimension_worker_enabled
@result_type integer
@result_description 0 - disabled, 1 - enabled (switch in palo.ini)
@result windows_sso_enabled
@result_type integer
@result_description 0 - disabled, 1 - enabled (switch in palo.ini)
@example
@example_description Show svs info.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment