Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Only allow outgoing links?
Topic Summary:
Created On: 16-Oct-2003 18:15
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Dennis Lockshine, on Monday, October 20, 2003 1:10 PM

Answer:
From Telelogic, here are functions that have not yet made it into the DXL manual:

bool getMandatory(LinkModuleDescriptor lmd)

Gets the "mandatory" flag on the supplied LMD. (readable by all users)

-----

void setMandatory(LinkModuleDescriptor lmd, bool mandatory)

Sets the mandatory flag to "mandatory". Returns a non-empty string in case of error -- currently only possible in the case that the current user does not have "may manage".

-----

string addLinkModuleDescriptor(Folder folder, string source, string target, bool overridable, bool mandatory, string name, string description)

The behavior of the older addLinkModuleDescriptor with 6 parameters is unchanged -- it creates an LMD in which the mandatory flag is false.

-----

bool getLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef)

Get the value of the exclusive flag for the specified document inside Folder f. The specified document must be a child of the specified folder.

-----

string setLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef, bool exclusive)

Set the exclusive flag for the specified document. The current user must have control access to Folder f. The specified document must be a child of the specified folder.

 16-Oct-2003 18:15
User is offline View Users Profile Print this message


Kathy Johnson

Posts: 1
Joined: 7-May-2003

Hi,

When you manually set up the linksets in a module, there is a checkbox “Only allow outgoing links as specified in the above list.”

Does anybody know how to toggle this using DXL? Is it a ‘hidden’ parameter like setting the linkset pairing to Mandatory?

Thanks,

Bob Mathis
(I’m using my Team Lead’s login because I can’t post using my own)
Report this to a Moderator Report this to a Moderator
 16-Oct-2003 19:48
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

Answer Answer
From Telelogic, here are functions that have not yet made it into the DXL manual:

bool getMandatory(LinkModuleDescriptor lmd)

Gets the "mandatory" flag on the supplied LMD. (readable by all users)

-----

void setMandatory(LinkModuleDescriptor lmd, bool mandatory)

Sets the mandatory flag to "mandatory". Returns a non-empty string in case of error -- currently only possible in the case that the current user does not have "may manage".

-----

string addLinkModuleDescriptor(Folder folder, string source, string target, bool overridable, bool mandatory, string name, string description)

The behavior of the older addLinkModuleDescriptor with 6 parameters is unchanged -- it creates an LMD in which the mandatory flag is false.

-----

bool getLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef)

Get the value of the exclusive flag for the specified document inside Folder f. The specified document must be a child of the specified folder.

-----

string setLinkModuleDescriptorsExclusive(Folder f, ModName_ modRef, bool exclusive)

Set the exclusive flag for the specified document. The current user must have control access to Folder f. The specified document must be a child of the specified folder.



Edited: 16-Oct-2003 at 19:51 by Dennis Lockshine
Report this to a Moderator Report this to a Moderator
 17-Oct-2003 22:26
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I'm still confused as to why there is an "overridable" and also a "mandatory" flag for LMDs. I think the "Overridable" one is ignored.

Anyway, you care about the setLinkModuleDescriptorsExclusive()... command.

Be advised that when you purge a module you do NOT purge the LMDs of that module. They still exist but are invisible to the user interface. They WILL appear in the for LMD in folder loop. Useless ones can be identified by the null source/target/LM name.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.