All API
All API
1. Retrieves the Dataset tag, type, id, and rev that matches the specified id and rev.
2. Creates a Dataset by specified type, name, description, id, and rev.
3. Deletes all unreferenced dataset revisions except the latest revision.
Above Example:
1. (tag_t * window)
2. (tag_t window,tag_t item,tag_t item_revision,tag_t bv,tag_t * top_bom_line )
1. Creates a new BOM window and returns the tag of the newly created window.
2. Sets the top line of the BOM window to contain the specified Item.
If Item is NULLTAG, then it will use item_revision instead
If bom_view is NULLTAG, then it will take the default.
Any existing BOM in this window is lost.
Use: When working with Structure Manager, we need to use this API
Above Example
1. (tag_t bom_line,int * count,tag_t ** children )
Lists the visible ImanItemLines below the specified parent line. The first time this function is called
it will load the components from the database.
Use the ITK BOM_line_ask_all_child_lines to retrieve all children including GDELines
Uses: we use this API When we want to get count of all child of parent
1. ( tag_t rev,const char * new_rev_id,tag_t * new_rev_tag )
2. ( tag_t rev,const char * new_rev_id,tag_t * new_rev_tag )
3. ( tag_t object,const char * prop_name,char ** value )
1. Produces a new revision based on a specified revision of the same Item. This is the same
operation as that invoked by the SaveAs->Item Revision action in Workspace.
2. Retrieves the latest revision of an Item, as determined by the creation date.
3. Asks value of a single-valued property.
Uses:
1. To copy Item.
2. To get latest revision of Item.
Above Example
1. char ** user_id_string)
2. char ** user_id_string)
3. (tag_t primary_object,tag_t relation_type,int * count,GRM_relation_t ** secondary_list )
1. Gets the user ID (the unique ID string for a user) for the currently logged in user
2. Adds the specified error code to the top of the error store.
3. Returns a list and count of all secondary objects with a specified relation type to the
specified primary object.
Uses:
1. To get user id
2. Use for the throw error
3. To get count of Secondary Objects
Above Example:
1. (tag_t object,const char * prop_name,const char * value )
1. Sets one or more values of a property using a display value as input. This function will work
for any property type, accepts string values as input
Uses:
1. To get tag of latest revision.
1. (METHOD_id_t method_id,METHOD_action_type_t action_type,METHOD_function_t action_handler,
TC_argument_list_t * user_args )
2. (const char * type_name,const char * msg_name,METHOD_id_t * method_id )
1. Registers the given function as a pre-condition handler for this method. This function should check entry
conditions for the method, returning ITK_ok if it is OK to proceed and execute the actions.
2. Looks for the registered method used to implement the specified type/message combination. This is
useful for registering pre- or post-actions or a pre-condition for a method created elsewhere in the
system.
3. Adds a pre- or post- action to an existing method. These will be executed before and after the base
action, respectively.
Above Example:
1. (tag_t wso,char ** object_type )
Retrieves the object type of the specified Workspace Object.
Uses:
1. To get type of Workspace Object.