Teamcenter C++ API Reference  2312
Fnd0AuditDefinition.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, Fnd0AuditDefinition
12  Filename: Fnd0AuditDefinition.hxx
13  Module: Fnd0audit_mgr
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__FND0AUDITDEFINITION__HXX
18 #define TEAMCENTER__FND0AUDITDEFINITION__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <string>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/POM_object.hxx>
25 
26 #include <Fnd0audit_mgr/libfnd0audit_mgr_exports.h>
27 
28 namespace Teamcenter
29 {
30  class Fnd0AuditDefinition;
31 }
32 namespace Teamcenter
33 {
34  class Fnd0AuditDefinitionImpl;
35 }
36 namespace Teamcenter
37 {
38  class Fnd0AuditDefinitionDelegate;
39 }
40 namespace Teamcenter
41 {
42  class Fnd0AuditDefinitionDispatch;
43 }
44 namespace Teamcenter
45 {
46  class Fnd0AuditDefinitionGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class FND0AUDIT_MGR_API Teamcenter::Fnd0AuditDefinition
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getFnd0AuditPropertyChangeOnly( bool &value, bool &isNull ) const;
73 
81  int getFnd0Condition( tag_t &value, bool &isNull ) const;
82 
90  int getFnd0Description( std::string &value, bool &isNull ) const;
91 
99  int getFnd0EventType( tag_t &value, bool &isNull ) const;
100 
108  int getFnd0EventTypeMap( tag_t &value, bool &isNull ) const;
109 
117  int getFnd0Extensions( std::vector< std::string > &values, std::vector< int > &isNull ) const;
118 
126  int getFnd0IsActive( bool &value, bool &isNull ) const;
127 
135  int getFnd0PrimaryType( tag_t &value, bool &isNull ) const;
136 
144  int getFnd0TrackOldValues( bool &value, bool &isNull ) const;
145 
153  int setFnd0AuditPropertyChangeOnly( bool value, bool isNull=false );
154 
162  int setFnd0Condition( const tag_t &value, bool isNull=false );
163 
171  int setFnd0Description( const std::string &value, bool isNull=false );
172 
180  int setFnd0EventType( const tag_t &value, bool isNull=false );
181 
189  int setFnd0EventTypeMap( const tag_t &value, bool isNull=false );
190 
198  int setFnd0Extensions( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
199 
207  int setFnd0IsActive( bool value, bool isNull=false );
208 
216  int setFnd0PrimaryType( const tag_t &value, bool isNull=false );
217 
225  int setFnd0TrackOldValues( bool value, bool isNull=false );
226 
244  int fnd0writeAuditLog( tag_t primaryObject, int secondaryObjectCount, tag_t *secondaryObject, char **secondaryQualifiers, char *eventTypeName, int attrCount, char **attrNames, char **attrValues, int errorCode, const char *errorMessage, tag_t *primaryAudit, std::vector< tag_t > *secondaryAudit );
245 protected:
246  // Method to initialize
247  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
248 
253 
257  virtual ~Fnd0AuditDefinition();
258 
259 private:
260  // Getter method for the Implementation Object
261  Fnd0AuditDefinitionImpl* getFnd0AuditDefinitionImpl() const;
262  // Setter method for the Implementation Object
263  ::Teamcenter::RootObjectImpl* setFnd0AuditDefinitionImpl( ::Teamcenter::RootObjectImpl* impl );
264 
265  // Method to set the delete impl boolean
266  void setDeleteImpl( bool del );
267 
268  // Pointer to the Implementation object
269  Fnd0AuditDefinitionImpl* m_fnd0auditdefinitionImpl;
270 
271  // Flag to indicate if Implementation object needs to be deleted
273 
277  static std::string name;
278 
285 
286  friend class Fnd0AuditDefinitionDelegate;
287  friend class Fnd0AuditDefinitionGenImpl;
288 };
289 
290 #include <Fnd0audit_mgr/libfnd0audit_mgr_undef.h>
291 #endif // TEAMCENTER__FND0AUDITDEFINITION__HXX