source: branches/work_311/doc/DocSchemaDetails.h @ 615

Revision 615, 3.0 KB checked in by jls17, 5 years ago (diff)
  • added audit schema detection
  • audit schema is now documented as "Audit" on the schema detail page
  • now audit log target form does show references to the audit source forms
Line 
1//Copyright (C) 2009 Stefan Nerlich | stefan.nerlich@hotmail.com
2//
3//This file is part of ARInside.
4//
5//    ARInside is free software: you can redistribute it and/or modify
6//    it under the terms of the GNU General Public License as published by
7//    the Free Software Foundation, version 2 of the License.
8//
9//    ARInside is distributed in the hope that it will be useful,
10//    but WITHOUT ANY WARRANTY; without even the implied warranty of
11//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12//    GNU General Public License for more details.
13//
14//    You should have received a copy of the GNU General Public License
15//    along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
16
17#pragma once
18#include "DocBase.h"
19#include "../core/ARProplistHelper.h"
20#include "../output/Table.h"
21#include "../output/TableRow.h"
22#include "../output/FilterTable.h"
23#include "../output/AlTable.h"
24#include "../output/EscalTable.h"
25#include "../output/ContainerTable.h"
26#include "../output/MenuTable.h"
27#include "../output/SchemaTable.h"
28
29class CDocSchemaDetails :
30        public CDocBase
31{
32public:
33        CDocSchemaDetails(unsigned int schemaInsideId, int rootLevel);
34        ~CDocSchemaDetails(void);
35
36        void Documentation();
37private:
38        CARSchema schema;
39        int overlayType;
40
41        void ShowIndexProperties(std::ostream &strm, CARProplistHelper *propIndex);
42        void ShowResultListProperties(std::ostream &strm, CARProplistHelper *propIndex);
43        void ShowSortListProperties(std::ostream &strm, CARProplistHelper *propIndex);
44        string ShowVuiList();
45        void ShowPermissionProperties(std::ostream &strm, CARProplistHelper *propIndex);
46        string WorkflowDoc();
47
48        std::string GenerateReferencesTable(const ARCompoundSchema &compSchema);
49        std::string AuditTargetReferences();
50
51        string AllFields();
52        void AllFieldsCsv();
53        void AllFieldsJson(std::ostream &out);
54        string AllFieldsSpecial();
55        void AllFieldsSpecialCsv();
56        string GenerateFieldTableDescription(CTable &tbl);
57
58        string ShowGeneralInfo();
59        string TypeDetails();
60        string ContainerReferences();
61        string TableFieldReferences();
62        string AlWindowOpenReferences();
63        string JoinFormReferences();
64        string SearchMenuReferences();
65        void WorkflowReferences(std::ostream &strm);
66       
67        string ShowProperties();
68        void ShowBasicProperties(std::ostream& strm, CARProplistHelper* propIndex);
69        void ShowEntryPointProperties(std::ostream& strm, CARProplistHelper* propIndex);
70        void ShowAuditProperties(std::ostream& strm);
71        void ShowArchiveProperties(std::ostream& strm);
72        void ShowFTSMTSProperties(std::ostream& strm, CARProplistHelper *propIndex);
73        void ShowChangeHistory(std::ostream &strm, CARProplistHelper *propIndex);
74
75        bool InAlList(string objName);
76        bool InFilterList(string objName);
77        bool InEscalList(string objName);
78        bool IsSchemaInWFConnectStruct(const ARWorkflowConnectStruct& wfCS);
79        bool IsJoinViewOrVendorForm();
80        bool IsAuditTarget();
81        list<string> uniqueAlList;
82        list<string> uniqueFilterList;
83        list<string> uniqueEscalList;
84
85        string GetSchemaType();
86};
Note: See TracBrowser for help on using the repository browser.