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

#ifndef PRG0PROGRAMINFRA__PRG0TARGETPARENTPLANSDELEGATE_HXX
#define PRG0PROGRAMINFRA__PRG0TARGETPARENTPLANSDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <prg0programinfra/Prg0TargetParentPlans.hxx>

#include <prg0programinfra/libprg0programinfra_exports.h>

namespace prg0programinfra
{
    class Prg0TargetParentPlansDelegate;
}
namespace prg0programinfra
{
    class Prg0TargetParentPlansImpl;
}
namespace prg0programinfra
{
    class Prg0TargetParentPlans;
}
namespace prg0programinfra
{
    class Prg0TargetParentPlansGenImpl;
}

namespace prg0programinfra_alias = ::prg0programinfra;


class  PRG0PROGRAMINFRA_API prg0programinfra_alias::Prg0TargetParentPlansDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Prg0TargetParentPlansImpl pointer
    static Prg0TargetParentPlansImpl*  createImpl( Prg0TargetParentPlans&  ifObj );

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


    ///
    /// Returns List Of Values based on Dynamic LOV definition and user search criteria.
    /// @version Teamcenter 10
    /// @param operationInputTag - Operation Input containing the modified values.
    /// @param propertyName - Name of the selected property.
    /// @param searchString - User entered search string.
    /// @param sortByProp - Property to use for sorting.
    /// @param sortOrder - order for sorting (0=Ascending, 1=Descending).
    /// @param nResults - Number of returned results.
    /// @param results - Returned Values for LOV.
    /// @return - Zero (0) if everything is alright otherwise the error code.
    ///
    int  fnd0askLOVValuesBase(const Prg0TargetParentPlans &ifObj,  const tag_t operationInputTag, const std::string *propertyName, const std::string *searchString, const char *sortByProp, const int sortOrder, int *nResults, tag_t **results ) const;



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

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


private:
    friend class  ::prg0programinfra::Prg0TargetParentPlansGenImpl;

};

#include <prg0programinfra/libprg0programinfra_undef.h>
#endif  //  PRG0PROGRAMINFRA__PRG0TARGETPARENTPLANSDELEGATE_HXX
