17 #ifndef BHV0__BHV0BRANCHFOUNDATION__FND0BRANCH__HXX
18 #define BHV0__BHV0BRANCHFOUNDATION__FND0BRANCH__HXX
25 #include <common/tc_deprecation_macros.h>
30 #include <bhv0branchfoundation/libbhv0branchfoundation_exports.h>
34 namespace bhv0branchfoundation
41 namespace bhv0branchfoundation
48 namespace bhv0branchfoundation
50 class Fnd0BranchDelegate;
55 namespace bhv0branchfoundation
57 class Fnd0BranchDispatch;
62 namespace bhv0branchfoundation
64 class Fnd0BranchGenImpl;
85 static ::Teamcenter::BusinessObjectExtenderRegistry< bhv0::bhv0branchfoundation::Fnd0Branch >&
extenderRegistry();
101 int bhv0AddContents(
const std::vector< tag_t > &contents,
const std::vector< ::Teamcenter::CreateInput* > &relationProperties );
112 int bhv0AddParentContents(
const std::map< tag_t,std::vector< tag_t > > &contents,
const std::vector< ::Teamcenter::CreateInput* > &relationProperties,
const bool checkoutFlag, std::vector< tag_t > &branchContents );
122 int bhv0CancelCheckoutContents(
const std::vector< tag_t > &contentsForCCO, std::vector< tag_t > &branchContentsAfterCCO, std::vector< int > &statusCodes );
132 int bhv0CheckinContents(
const std::vector< tag_t > &contents, const ::Teamcenter::CreateInput *comment,
bool publishFlag );
142 int bhv0CheckOutContents(
const std::vector< tag_t > &contents,
const std::vector< ::Teamcenter::CreateInput* > &relationProperties, std::vector< tag_t > &newBranchContents );
152 int bhv0CreateLabel(
const std::string &name,
const std::string &description, tag_t &createdLabel );
164 int bhv0GetContents(
const std::string &label, std::vector< tag_t > &branchContents );
177 int bhv0MergeContents(
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 );
189 int bhv0ObsoleteContents(
const std::vector< tag_t > &contentsForObsolete, std::vector< ::Teamcenter::CreateInput* > &relationProperties, ::
Teamcenter::CreateInput *comment, std::vector< tag_t > &newBranchContents, std::vector< int > &statusCode );
203 virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
215 ::Teamcenter::RootObjectImpl*
setFnd0BranchImpl( ::Teamcenter::RootObjectImpl* impl );
238 friend class Fnd0BranchDelegate;
239 friend class Fnd0BranchGenImpl;
242 #include <bhv0branchfoundation/libbhv0branchfoundation_undef.h>
243 #endif // BHV0__BHV0BRANCHFOUNDATION__FND0BRANCH__HXX