//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, SavedQueryCriteriaDelegate
    Filename:   SavedQueryCriteriaDelegate.hxx
    Module:     qry
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__SAVEDQUERYCRITERIADELEGATE_HXX
#define TEAMCENTER__SAVEDQUERYCRITERIADELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <qry/SavedQueryCriteria.hxx>

#include <qry/libqry_exports.h>

namespace Teamcenter
{
    class SavedQueryCriteriaDelegate;
}
namespace Teamcenter
{
    class SavedQueryCriteriaImpl;
}
namespace Teamcenter
{
    class SavedQueryCriteria;
}
namespace Teamcenter
{
    class SavedQueryCriteriaGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  QRY_API Teamcenter_alias::SavedQueryCriteriaDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the SavedQueryCriteriaDelegate instance
    static SavedQueryCriteriaDelegate&  getInstance();

    //  Method to create the SavedQueryCriteriaImpl pointer
    static SavedQueryCriteriaImpl*  createImpl( SavedQueryCriteria&  ifObj );

    //  Method to delete the SavedQueryCriteriaImpl pointer
    static void deleteImpl( SavedQueryCriteriaImpl*  impl );


    ///
    /// desc for createPost
    /// @version Tc 8
    /// @param creInput - Description for the Create Input
    /// @return - return desc for createPost
    ///
    int  createPostBase(const SavedQueryCriteria &ifObj,  ::Teamcenter::CreateInput *creInput );


    ///
    /// desc for validate for create
    /// @version Tc 8
    /// @param creInput - desc for creInput parameter
    /// @return - ret desc for validate for create
    ///
    int  validateCreateInputBase(const SavedQueryCriteria &ifObj,  ::Teamcenter::CreateInput *creInput );



protected:
    //  Pointer to the instance
    static SavedQueryCriteriaDelegate*  m_pInstance;

    SavedQueryCriteriaDelegate();
    virtual ~SavedQueryCriteriaDelegate();
    static void setInstance( SavedQueryCriteriaDelegate*  instance );


private:
    friend class  ::Teamcenter::SavedQueryCriteriaGenImpl;

};

#include <qry/libqry_undef.h>
#endif  //  TEAMCENTER__SAVEDQUERYCRITERIADELEGATE_HXX
