1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ADC_DISPLAY_HFI_SERVICE_HXX
25 #define ADC_DISPLAY_HFI_SERVICE_HXX
26 
27 
28 // USED SERVICES
29     // BASE CLASSES
30 #include "hi_factory.hxx"
31     // COMPONENTS
32     // PARAMETERS
33 #include <ary/idl/i_comrela.hxx>
34 
35 class HF_NaviSubRow;
36 class HF_SubTitleTable;
37 
38 class HF_IdlService : public HtmlFactory_Idl
39 {
40   public:
41     typedef ::ary::idl::CommentedRelation       comref;
42     typedef ::ary::StdConstIterator< comref >   comref_list;
43 
44                         HF_IdlService(
45                             Environment &       io_rEnv,
46                             Xml::Element &      o_rOut );
47     virtual             ~HF_IdlService();
48 
49     void                Produce_byData(
50                            const client &       i_ce ) const;
51    private:
52     // Overwritten from HtmlFactory_Idl:
53     virtual void        produce_SummaryDeclaration(
54                             Xml::Element &      o_row,
55                             const client &      i_ce ) const;
56 
57     // Locals
58     DYN HF_NaviSubRow & make_Navibar(
59                             const client &      i_ce ) const;
60 
61     void                produce_Link(
62                             Xml::Element &      o_row,
63                             type_id             i_type ) const;
64     void                produce_LinkSummary(
65                             const client &      i_ce,
66                             Xml::Element &      o_row,
67                             const comref &  i_commentedRef ) const;
68 
69     void                produce_MemberDetails(        /// of property
70                             HF_SubTitleTable &  o_table,
71                             const client &      i_ce ) const;
72 
73     void                produce_CommentedRelations(
74                             const client &  i_ce,
75                             comref_list &   it_list,
76                             const String &  i_summaryTitle,
77                             const String &  i_summaryLabel,
78                             const String &  i_detailsTitle,
79                             const String &  i_detailsLabel,
80                             const E_DocType i_docType ) const;
81 
82 };
83 
84 
85 
86 // IMPLEMENTATION
87 
88 extern const String
89     C_sCePrefix_Service;
90 
91 
92 
93 #endif
94 
95 
96