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.
157 lines
5.8 KiB
157 lines
5.8 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, Osl0ResourceAttrHelperDelegate
|
|
Filename: Osl0ResourceAttrHelperDelegate.hxx
|
|
Module: Osl0lisoslc
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef OSL0LISOSLC__OSL0RESOURCEATTRHELPERDELEGATE_HXX
|
|
#define OSL0LISOSLC__OSL0RESOURCEATTRHELPERDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <Osl0lisoslc/Osl0ResourceAttrHelper.hxx>
|
|
|
|
#include <Osl0lisoslc/libosl0lisoslc_exports.h>
|
|
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ResourceAttrHelperDelegate;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ResourceAttrHelperImpl;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ResourceAttrHelper;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ResourceAttrHelperGenImpl;
|
|
}
|
|
|
|
namespace osl0lisoslc_alias = ::osl0lisoslc;
|
|
|
|
|
|
class OSL0LISOSLC_API osl0lisoslc_alias::Osl0ResourceAttrHelperDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the Osl0ResourceAttrHelperDelegate instance
|
|
static Osl0ResourceAttrHelperDelegate& getInstance();
|
|
|
|
// Method to create the Osl0ResourceAttrHelperImpl pointer
|
|
static Osl0ResourceAttrHelperImpl* createImpl( Osl0ResourceAttrHelper& ifObj );
|
|
|
|
// Method to delete the Osl0ResourceAttrHelperImpl pointer
|
|
static void deleteImpl( Osl0ResourceAttrHelperImpl* impl );
|
|
|
|
|
|
///
|
|
/// collect the attributes of resource shape
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param objTag - BO object
|
|
/// @param boAttrMap - map holds the BO attributes
|
|
/// @param relationMap - holds the relation attributes of Bo
|
|
/// @param statusMap - hold the status of attributes
|
|
/// @param compoundAttrsMap - holds the compund attributes of Bo
|
|
/// @return - integer
|
|
///
|
|
int lis0collectAttributesBase(const Osl0ResourceAttrHelper &ifObj, tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes **boAttrMap, lis0lisfmwrk::Lis0ResourceShapeAttributes **relationMap, lis0lisfmwrk::Lis0ResourceShapeAttributes **statusMap, lis0lisfmwrk::Lis0ResourceShapeAttributes **compoundAttrsMap ) const;
|
|
|
|
|
|
///
|
|
/// Collects the resource shape attributes
|
|
/// @version Teamcenter 11.2.3
|
|
/// @param catalogIdentifier - Catalog Identifier
|
|
/// @param resourceObjectType - Resource Object Type Tag
|
|
/// @param resourceShapeAttributes - Structure that holds resource shape attributes
|
|
/// @param relationMap - holds the relation attributes of Business object
|
|
/// @return - returns ITK_ok on success, respective error on failure
|
|
///
|
|
int lis0collectSemanticAttributesBase(const Osl0ResourceAttrHelper &ifObj, const std::string &catalogIdentifier, const tag_t &resourceObjectType, lis0lisfmwrk::Lis0ResourceShapeAttributes **resourceShapeAttributes, lis0lisfmwrk::Lis0ResourceShapeAttributes **relationMap ) const;
|
|
|
|
|
|
///
|
|
/// true/false return depending on the tag supported or not
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param typeTag - checks the tag is in supported list or not
|
|
/// @param isSupported - check the supported type is in supportes list or not
|
|
/// @return - integer
|
|
///
|
|
int lis0isSuppportedTypeBase(const Osl0ResourceAttrHelper &ifObj, tag_t typeTag, bool *isSupported ) const;
|
|
|
|
|
|
///
|
|
/// update
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param objTag - holds the object
|
|
/// @param boAttrMap - BOattributes
|
|
/// @param resourceModel - abstractResourceModel
|
|
/// @return - integer
|
|
///
|
|
int lis0updateBOAttributesBase(const Osl0ResourceAttrHelper &ifObj, tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *boAttrMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
|
|
|
|
|
|
///
|
|
/// compoundAttributes
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param objTag - Bo object
|
|
/// @param compoundAttributesMap - holds the compund attributes of BO
|
|
/// @param resourceModel - attribute of BO object
|
|
/// @return - integer
|
|
///
|
|
int lis0updateCompundAttributesBase(const Osl0ResourceAttrHelper &ifObj, tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *compoundAttributesMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
|
|
|
|
|
|
///
|
|
/// Relation
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param objTag - BO object
|
|
/// @param relationMap - holds the relation attribute
|
|
/// @param resourceModel - BO Attribute
|
|
/// @return - integer
|
|
///
|
|
int lis0updateRelationsBase(const Osl0ResourceAttrHelper &ifObj, tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *relationMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
|
|
|
|
|
|
///
|
|
/// status
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param objTag - BO object
|
|
/// @param statusMap - holds the updated status
|
|
/// @param resourceModel - holds the resource model attribute
|
|
/// @return - integer
|
|
///
|
|
int lis0updateStatusBase(const Osl0ResourceAttrHelper &ifObj, tag_t objTag, lis0lisfmwrk::Lis0ResourceShapeAttributes *statusMap, lis0lisfmwrk::AbstractResource *resourceModel ) const;
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static Osl0ResourceAttrHelperDelegate* m_pInstance;
|
|
|
|
Osl0ResourceAttrHelperDelegate();
|
|
virtual ~Osl0ResourceAttrHelperDelegate();
|
|
static void setInstance( Osl0ResourceAttrHelperDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::osl0lisoslc::Osl0ResourceAttrHelperGenImpl;
|
|
|
|
};
|
|
|
|
#include <Osl0lisoslc/libosl0lisoslc_undef.h>
|
|
#endif // OSL0LISOSLC__OSL0RESOURCEATTRHELPERDELEGATE_HXX
|