Teamcenter C++ API Reference  2312
POM_object.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, POM_object
12  Filename: POM_object.hxx
13  Module: tccore
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__POM_OBJECT__HXX
18 #define TEAMCENTER__POM_OBJECT__HXX
19 
20 #include <vector>
23 #include <string>
26 #include <unidefs.h>
27 #include <map>
28 #include <common/tc_deprecation_macros.h>
30 
31 #include <tccore/libtccore_exports.h>
32 
33 namespace Teamcenter
34 {
35  class POM_object;
36 }
37 namespace Teamcenter
38 {
39  class POM_objectImpl;
40 }
41 namespace Teamcenter
42 {
43  class POM_objectDelegate;
44 }
45 namespace Teamcenter
46 {
47  class POM_objectDispatch;
48 }
49 namespace Teamcenter
50 {
51  class POM_objectGenImpl;
52 }
53 namespace Teamcenter
54 {
55  class RootObjectImpl;
56 }
57 
58 class TCCORE_API Teamcenter::POM_object
60 {
61 public:
62 
67  static const std::string& getInterfaceName();
68 
69 
77  int getFnd0mfkinfo( std::string &value, bool &isNull ) const;
78 
86  int getFnd0objectId( std::string &value, bool &isNull ) const;
87 
95  static int fnd0BulkDelete( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
96 
109  int fnd0chkObjProp( const std::string &relationType, const std::string &objectType, const std::string &propertyName, const std::string &propertyValue, const bool &matchall, const std::string &op, bool *result );
110 
118 
124  int fnd0Delete( );
125 
132  int fnd0IsShadowObjectForEdit( bool *isEdit );
133 
143  static int fnd0Lock( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock );
144 
152  static int fnd0Refresh( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
153 
161  static int fnd0Save( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
162 
170  int fnd0SaveAsShadowObject( ::Teamcenter::SaveAsInput *pSvAsInput, tag_t *newShObjTag );
171 
179  static int fnd0Unlock( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
180 
190  static int fnd0ValidateBOTypeForRelease( std::vector< ::Teamcenter::BulkInput* > *inputObjects, ::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t,std::vector< std::string > > *validationResults );
191 
201  static int fnd0ValidateBOTypePostPromote( std::vector< ::Teamcenter::BulkInput* > *inputObjects, ::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t,std::vector< std::string > > *validationResults );
202 
212  static int fnd0ValidateBOTypePrePromote( std::vector< ::Teamcenter::BulkInput* > *inputObjects, ::Teamcenter::BulkData *bulkData, const bool isDryRun, std::map< tag_t,std::vector< std::string > > *validationResults );
213 
220  int isReplica( bool *result );
221  // Getter method for the Implementation Object
222  ::Teamcenter::POM_objectImpl* getPOM_objectImpl() const;
223 protected:
224  // Method to initialize
225  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
226 
230  POM_object();
231 
235  virtual ~POM_object();
236 
237 private:
238  // Setter method for the Implementation Object
239  ::Teamcenter::RootObjectImpl* setPOM_objectImpl( ::Teamcenter::RootObjectImpl* impl );
240 
241  // Method to set the delete impl boolean
242  void setDeleteImpl( bool del );
243 
244  // Pointer to the Implementation object
245  POM_objectImpl* m_pom_objectImpl;
246 
247  // Flag to indicate if Implementation object needs to be deleted
249 
253  static std::string name;
254 
259  POM_object( const POM_object& );
260  POM_object& operator=( const POM_object& );
261 
262  friend class POM_objectDelegate;
263  friend class POM_objectGenImpl;
264 };
265 
266 #include <tccore/libtccore_undef.h>
267 #endif // TEAMCENTER__POM_OBJECT__HXX