#
#	ITSV-GmbH
#	CCDB - Command and Control Database
#
#	FILE:				dquerymfile_CCRWEDITOR.txt
#	DESCRIPTION:		DQUERY definitions for CCDB-query CCRWEDITOR
#
#	AUTHOR:				Wolfgang Scherer
#	VERSION:			1.0
#	ISSUE:				21.11.2019
#
@querytitle			Bearbeite CCDB-Regelwerk
@querydescription	Zeigt alle Regelwerks-Einträge in der Tabelle CCRW an und erlaubt die Bearbeitung
@group				ADMIN
@querytype			dbselect
@sql				SELECT RWTYP,RWPARENT,RWNAME,RWVALUE,RWDESC,CONCAT(RWTYP,'_',RWPARENT,'_',RWNAME) as RWKEY from CCRW
@tableclass			excelFilterTable
#
@decoration.decorate_colcell.0				$CONTROL:rwtypeingabe:rwtypeingabeoptions
@rwtypeingabeoptions.control_type			edit
@rwtypeingabeoptions.value					@@celldata@@
@rwtypeingabeoptions.url					/dquery?dataname=performObjectAction&objtype=ccrw&key=@@row.RWKEY@@&attribute=RWTYP&action=SET
@rwtypeingabeoptions.submitlabel			geänderten RWTYP speichern
@rwtypeingabeoptions.textinput_fieldname	value
#
@decoration.decorate_colcell.1				$CONTROL:rwparenteingabe:rwparenteingabeoptions
@rwparenteingabeoptions.control_type		edit
@rwparenteingabeoptions.value				@@celldata@@
@rwparenteingabeoptions.url					/dquery?dataname=performObjectAction&objtype=ccrw&key=@@row.RWKEY@@&attribute=RWPARENT&action=SET
@rwparenteingabeoptions.submitlabel			geänderten RWPARENT speichern
@rwparenteingabeoptions.textinput_fieldname	value
#
@decoration.decorate_colcell.2				$CONTROL:rwnameeingabe:rwnameeingabeoptions
@rwnameeingabeoptions.control_type			edit
@rwnameeingabeoptions.value					@@celldata@@
@rwnameeingabeoptions.url					/dquery?dataname=performObjectAction&objtype=ccrw&key=@@row.RWKEY@@&attribute=RWNAME&action=SET
@rwnameeingabeoptions.submitlabel			geänderten RWNAME speichern
@rwnameeingabeoptions.textinput_fieldname	value
#
@decoration.decorate_colcell.3				$CONTROL:rwvalueeingabe:rwvalueeingabeoptions
@rwvalueeingabeoptions.control_type			edit
@rwvalueeingabeoptions.value				@@celldata@@
@rwvalueeingabeoptions.url					/dquery?dataname=performObjectAction&objtype=ccrw&key=@@row.RWKEY@@&attribute=RWVALUE&action=SET
@rwvalueeingabeoptions.submitlabel			geänderten RWTYP speichern
@rwvalueeingabeoptions.textinput_fieldname	value
#
@decoration.decorate_colcell.4				$CONTROL:rwdesceingabe:rwdesceingabeoptions
@rwdesceingabeoptions.control_type			edit
@rwdesceingabeoptions.value					@@celldata@@
@rwdesceingabeoptions.url					/dquery?dataname=performObjectAction&objtype=ccrw&key=@@row.RWKEY@@&attribute=RWVALUE&action=SET
@rwdesceingabeoptions.submitlabel			geänderten RWTYP speichern
@rwdesceingabeoptions.textinput_fieldname	value
