You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

190 lines
6.7 KiB

//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, Lbr0SpecificationDelegate
Filename: Lbr0SpecificationDelegate.hxx
Module: Lbr0librarymgmt
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONDELEGATE_HXX
#define TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <Lbr0librarymgmt/Lbr0Specification.hxx>
#include <Lbr0librarymgmt/liblbr0librarymgmt_exports.h>
namespace Teamcenter
{
namespace LibraryMgmt
{
class Lbr0SpecificationDelegate;
}
}
namespace Teamcenter
{
namespace LibraryMgmt
{
class Lbr0SpecificationImpl;
}
}
namespace Teamcenter
{
namespace LibraryMgmt
{
class Lbr0Specification;
}
}
namespace Teamcenter
{
namespace LibraryMgmt
{
class Lbr0SpecificationGenImpl;
}
}
namespace Teamcenter_alias = ::Teamcenter;
class LBR0LIBRARYMGMT_API Teamcenter_alias::LibraryMgmt::Lbr0SpecificationDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the Lbr0SpecificationDelegate instance
static Lbr0SpecificationDelegate& getInstance();
// Method to create the Lbr0SpecificationImpl pointer
static Lbr0SpecificationImpl* createImpl( Lbr0Specification& ifObj );
// Method to delete the Lbr0SpecificationImpl pointer
static void deleteImpl( Lbr0SpecificationImpl* impl );
///
/// desc for createPost
/// @version Tc 8
/// @param creInput - Description for the Create Input
/// @return - return desc for createPost
///
int createPostBase(const Lbr0Specification &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 Lbr0Specification &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// finalize operation input
/// @version Teamcenter 9
/// @param pSavAsInput - desc
/// @param vecDeepCopyData - desc
/// @return - returns an int
///
int finalizeSaveAsInputBase(const Lbr0Specification &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @param isLockForDelete - A boolean to indicate if object(s) are to be locked for deletion
/// @param allowRelock - A boolean to indicate if object(s) can be relocked, which will discard all unsaved changes, if already locked by the same user
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0LockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0RefreshBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0UnlockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// save as operation
/// @version Teamcenter 9
/// @param pSavAsInput - save as input
/// @param vecDeepCopyData - vector deepcopy data
/// @param newObjTag - new object tag
/// @return - returns an int
///
int saveAsBase(const Lbr0Specification &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData, tag_t *newObjTag );
///
/// Generic saveAsPost operation.
/// @version Teamcenter 8.1
/// @param pSavAsInput - Input argument as SaveAsInput object.
/// @param vecDeepCopyData - vector deepcopy data
/// @return - Return integer value.
///
int saveAsPostBase(const Lbr0Specification &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 Lbr0Specification &ifObj, ::Teamcenter::CreateInput *creInput );
///
/// validate saveas input
/// @version Teamcenter 9
/// @param pSavAsInput - desc
/// @param vecDeepCopyData - desc
/// @return - returns an int
///
int validateSaveAsInputBase(const Lbr0Specification &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
protected:
// Pointer to the instance
static Lbr0SpecificationDelegate* m_pInstance;
Lbr0SpecificationDelegate();
virtual ~Lbr0SpecificationDelegate();
static void setInstance( Lbr0SpecificationDelegate* instance );
private:
friend class ::Teamcenter::LibraryMgmt::Lbr0SpecificationGenImpl;
};
#include <Lbr0librarymgmt/liblbr0librarymgmt_undef.h>
#endif // TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONDELEGATE_HXX