Teamcenter C++ API Reference  2312
Fnd0BranchDelegateExt.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2023.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
9 /*==================================================================================================
10 File description:
11  This file contains the declaration for the Business Object, Fnd0BranchDelegate
12  Filename: Fnd0BranchDelegateExt.hxx
13  Module: bhv0branchfoundation
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef BHV0__BHV0BRANCHFOUNDATION__FND0BRANCHDELEGATE_HXX
18 #define BHV0__BHV0BRANCHFOUNDATION__FND0BRANCHDELEGATE_HXX
19 
20 #include <common/tc_deprecation_macros.h>
22 
23 #include <bhv0branchfoundation/libbhv0branchfoundation_exports.h>
24 
25 
26 namespace bhv0
27 {
28  namespace bhv0branchfoundation
29  {
30  class Fnd0BranchDelegate;
31  }
32 }
33 namespace bhv0
34 {
35  namespace bhv0branchfoundation
36  {
37  class Fnd0BranchImpl;
38  }
39 }
40 namespace bhv0
41 {
42  namespace bhv0branchfoundation
43  {
44  class Fnd0Branch;
45  }
46 }
47 namespace bhv0
48 {
49  namespace bhv0branchfoundation
50  {
51  class Fnd0BranchGenImpl;
52  }
53 }
54 
55 namespace bhv0_alias = ::bhv0;
56 
57 
58 class BHV0BRANCHFOUNDATION_API bhv0_alias::bhv0branchfoundation::Fnd0BranchDelegate
59 {
60 public:
61  // Constructor Method
62  static ::Teamcenter::BusinessObjectExtender* constructor( tag_t objTag );
63 
64  // Method to initialize this Class
65  static int initializeClass();
66 
67  // Method to get the Fnd0BranchDelegate instance
69 
70  // Method to create the Fnd0BranchImpl pointer
71  static Fnd0BranchImpl* createImpl( Fnd0Branch& ifObj );
72 
73  // Method to delete the Fnd0BranchImpl pointer
74  static void deleteImpl( Fnd0BranchImpl* impl );
75 
76 
84  int bhv0AddContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contents, const std::vector< ::Teamcenter::CreateInput* > &relationProperties );
85 
86 
96  int bhv0AddParentContentsBase(const Fnd0Branch &ifObj, const std::map< tag_t,std::vector< tag_t > > &contents, const std::vector< ::Teamcenter::CreateInput* > &relationProperties, const bool checkoutFlag, std::vector< tag_t > &branchContents );
97 
98 
107  int bhv0CancelCheckoutContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contentsForCCO, std::vector< tag_t > &branchContentsAfterCCO, std::vector< int > &statusCodes );
108 
109 
118  int bhv0CheckinContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contents, const ::Teamcenter::CreateInput *comment, bool publishFlag );
119 
120 
129  int bhv0CheckOutContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contents, const std::vector< ::Teamcenter::CreateInput* > &relationProperties, std::vector< tag_t > &newBranchContents );
130 
131 
140  int bhv0CreateLabelBase(const Fnd0Branch &ifObj, const std::string &name, const std::string &description, tag_t &createdLabel );
141 
142 
153  int bhv0GetContentsBase(const Fnd0Branch &ifObj, const std::string &label, std::vector< tag_t > &branchContents );
154 
155 
167  int bhv0MergeContentsBase(const Fnd0Branch &ifObj, const tag_t &sourceBranch, const std::vector< tag_t > &sourceContentsForMerge, const std::vector< tag_t > &targetContentsForMerge, std::vector< ::Teamcenter::CreateInput* > &targetRelationProperties, std::vector< tag_t > &mergedBranchContents, std::vector< int > &statusCodes );
168 
169 
180  int bhv0ObsoleteContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contentsForObsolete, std::vector< ::Teamcenter::CreateInput* > &relationProperties, ::Teamcenter::CreateInput *comment, std::vector< tag_t > &newBranchContents, std::vector< int > &statusCode );
181 
182 
192  int bhv0PromoteContentsBase(const Fnd0Branch &ifObj, const std::vector< tag_t > &contents, tag_t sourceBranch, const std::vector< ::Teamcenter::CreateInput* > &relationProperties, ::Teamcenter::CreateInput *comment );
193 
194 
195 
196 protected:
197  // Pointer to the instance
199 
201  virtual ~Fnd0BranchDelegate();
202 
203 private:
204  friend class ::bhv0::bhv0branchfoundation::Fnd0BranchGenImpl;
205 
206 };
207 
208 #include <bhv0branchfoundation/libbhv0branchfoundation_undef.h>
209 #endif // BHV0__BHV0BRANCHFOUNDATION__FND0BRANCHDELEGATE_HXX