//Copyright 2020 Siemens Digital Industries Software //================================================== //Copyright $2020. //Siemens Product Lifecycle Management Software Inc. //All Rights Reserved. //================================================== //Copyright 2020 Siemens Digital Industries Software /*================================================================================================== File description: This file contains the declaration for the Business Object, Lbr0LibraryElementDelegate Filename: Lbr0LibraryElementDelegate.hxx Module: Lbr0librarymgmt @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__LIBRARYMGMT__LBR0LIBRARYELEMENTDELEGATE_HXX #define TEAMCENTER__LIBRARYMGMT__LBR0LIBRARYELEMENTDELEGATE_HXX #include #include #include namespace Teamcenter { namespace LibraryMgmt { class Lbr0LibraryElementDelegate; } } namespace Teamcenter { namespace LibraryMgmt { class Lbr0LibraryElementImpl; } } namespace Teamcenter { namespace LibraryMgmt { class Lbr0LibraryElement; } } namespace Teamcenter { namespace LibraryMgmt { class Lbr0LibraryElementGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class LBR0LIBRARYMGMT_API Teamcenter_alias::LibraryMgmt::Lbr0LibraryElementDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the Lbr0LibraryElementDelegate instance static Lbr0LibraryElementDelegate& getInstance(); // Method to create the Lbr0LibraryElementImpl pointer static Lbr0LibraryElementImpl* createImpl( Lbr0LibraryElement& ifObj ); // Method to delete the Lbr0LibraryElementImpl pointer static void deleteImpl( Lbr0LibraryElementImpl* impl ); /// /// Getter for a Tag Property /// @version Teamcenter 11.2.1 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLbr0OwningNodeBase(const Lbr0LibraryElement &ifObj, tag_t &value, bool &isNull ) const; /// /// Setter for a Tag Property /// @version Teamcenter 11.1 /// @param value - Value to be set for the parameter /// @param isNull - If true, set the parameter value to null /// @return - Status. 0 if successful /// int setLbr0ClsObjectBase(Lbr0LibraryElement &ifObj, const tag_t &value, bool isNull ); /// /// Setter for a Tag Property /// @version Teamcenter 11.1 /// @param value - Value to be set for the parameter /// @param isNull - If true, set the parameter value to null /// @return - Status. 0 if successful /// int setLbr0LibraryObjectBase(Lbr0LibraryElement &ifObj, const tag_t &value, bool isNull ); /// /// desc for createPost /// @version Tc 8 /// @param creInput - Description for the Create Input /// @return - return desc for createPost /// int createPostBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// Description for the Finalize Create Input /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - Return desc for Initialize for Create /// int finalizeCreateInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// Finalize operation input. /// @version Teamcenter 10.1 /// @param pReviseInput - desc /// @param vecDeepCopyData - desc /// @return - returns n int. /// int finalizeReviseInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// finalize operation input /// @version Teamcenter 9 /// @param pSavAsInput - desc /// @param vecDeepCopyData - desc /// @return - returns an int /// int finalizeSaveAsInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// This operation returns the children to be displayed when expanding this object. /// @version Teamcenter 10 /// @param propertyNames - The list of propertyNames to expand. If empty, then the properties defined in _DefaultChildProperties and _DefaultPseudoFolder are returned. /// @param childTags - Tags of children. /// @param childContextPropertyNames - The propertyName in which this child exists in the parent. /// @return - status /// int fnd0GetChildrenBase(const Lbr0LibraryElement &ifObj, const std::vector< std::string > *propertyNames, std::vector< tag_t > *childTags, std::vector< std::string > *childContextPropertyNames ); /// /// similar to finalizeSaveAsInputBase, this method allows for final changes to the revise descriptor before actually performing the revise /// @version Teamcenter 9 /// @param pSavAsInput - saveAs input /// @param vecDeepCopyData - vector of deep copy data for revise /// @deprecated #Teamcenter::AppModel::Mdl0ConditionalElement::mdl0finalizeReviseInput deprecated in Teamcenter 11.2 /// @return - SaveAsInput is updated /// TC_DEPRECATED_WITH_DEPRECATION_INFO("Teamcenter 11.2","Teamcenter::AppModel::Mdl0ConditionalElement::mdl0finalizeReviseInput","This operation is deprecated in Teamcenter 11.2 and will be removed in Teamcenter 13. Please use finalizeReviseInput operation instead.") int mdl0finalizeReviseInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// desc for validate for create /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - ret desc for validate for create /// int validateCreateInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// validate saveas input /// @version Teamcenter 9 /// @param pSavAsInput - desc /// @param vecDeepCopyData - desc /// @return - returns an int /// int validateSaveAsInputBase(const Lbr0LibraryElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); protected: // Pointer to the instance static Lbr0LibraryElementDelegate* m_pInstance; Lbr0LibraryElementDelegate(); virtual ~Lbr0LibraryElementDelegate(); static void setInstance( Lbr0LibraryElementDelegate* instance ); private: friend class ::Teamcenter::LibraryMgmt::Lbr0LibraryElementGenImpl; }; #include #endif // TEAMCENTER__LIBRARYMGMT__LBR0LIBRARYELEMENTDELEGATE_HXX