//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, EPMJobDelegate Filename: EPMJobDelegate.hxx Module: epm @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__EPMJOBDELEGATE_HXX #define TEAMCENTER__EPMJOBDELEGATE_HXX #include #include #include namespace Teamcenter { class EPMJobDelegate; } namespace Teamcenter { class EPMJobImpl; } namespace Teamcenter { class EPMJob; } namespace Teamcenter { class EPMJobGenImpl; } namespace Teamcenter_alias = ::Teamcenter; class EPM_API Teamcenter_alias::EPMJobDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the EPMJobDelegate instance static EPMJobDelegate& getInstance(); // Method to create the EPMJobImpl pointer static EPMJobImpl* createImpl( EPMJob& ifObj ); // Method to delete the EPMJobImpl pointer static void deleteImpl( EPMJobImpl* impl ); /// /// Getter for a Tag Array Property /// @version Teamcenter 10.1 /// @param values - Parameter value /// @param isNull - Returns true for an array element if the parameter value at that location is null /// @return - Status. 0 if successful /// int getAll_tasksBase(const EPMJob &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a Date Property /// @version Teamcenter 10.1 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDue_date_projectBase(const EPMJob &ifObj, date_t &value, bool &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 10.1 /// @param values - Parameter value /// @param isNull - Returns true for an array element if the parameter value at that location is null /// @return - Status. 0 if successful /// int getEpm_parentprocessBase(const EPMJob &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 13.1 /// @param values - Parameter value /// @param isNull - Returns true for an array element if the parameter value at that location is null /// @return - Status. 0 if successful /// int getFnd0ErrorTasksBase(const EPMJob &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a Boolean Property /// @version Teamcenter 13.1 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getFnd0LateBase(const EPMJob &ifObj, bool &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Teamcenter 10.1 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getIs_parallel_processBase(const EPMJob &ifObj, bool &value, bool &isNull ) const; /// /// Getter for a Date Property /// @version Teamcenter 10.1 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getProcess_due_dateBase(const EPMJob &ifObj, date_t &value, bool &isNull ) const; /// /// Setter for a Date Property /// @version Teamcenter 10.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 setDue_date_projectBase(EPMJob &ifObj, const date_t &value, bool isNull ); /// /// Setter for a Date Property /// @version Teamcenter 10.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 setProcess_due_dateBase(EPMJob &ifObj, const date_t &value, bool isNull ); /// /// 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 information to the object to be saved /// @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 fnd0SaveBase( 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 ); /// /// desc for createPost /// @version Tc 8 /// @param creInput - Description for the Create Input /// @return - return desc for createPost /// int createPostBase(const EPMJob &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// desc for setPropertiesFromCreateInpu /// @version Tc 8 /// @param creInput - Description for CreateInput /// @return - return desc for setPropertiesFromCreateInput /// int setPropertiesFromCreateInputBase(const EPMJob &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// Getter for a Tag Array Property /// @version Teamcenter 10 /// @param values - Parameter value /// @param isNull - Returns true for an array element if the parameter value at that location is null /// @return - Status. 0 if successful /// int getFnd0WorkflowAuditLogsBase(const EPMJob &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Setter for a string Property /// @version Teamcenter 8.0.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 setObject_descBase(EPMJob &ifObj, const std::string &value, bool isNull ); protected: // Pointer to the instance static EPMJobDelegate* m_pInstance; EPMJobDelegate(); virtual ~EPMJobDelegate(); static void setInstance( EPMJobDelegate* instance ); private: friend class ::Teamcenter::EPMJobGenImpl; }; #include #endif // TEAMCENTER__EPMJOBDELEGATE_HXX