Book a Demo

Author Topic: Type of lock sets to the locked element  (Read 3290 times)

pisokol

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Type of lock sets to the locked element
« on: June 18, 2015, 11:18:19 pm »
Hi,
I must recognized (in addin) what type of lock is set to the locked element.
Where can I find information contains LockType for locked element in EAP (usung API or SQL commands). The locks are stored in t_seclocks, but field LockType is empty for all existing locks in EAP.
Available type of lock are described in documentation:
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/projects_and_teams/lockingpackages.html
P

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Type of lock sets to the locked element
« Reply #1 on: June 18, 2015, 11:59:55 pm »
It looks like the entries are in t_xref. Also the elements in question have t_object.style set to Locked=true/false;. The whole mechanism is not clear to me and it's not that easy to find out how it's encoded. Maybe some Sparxian can bring light into this.

q.

pisokol

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Type of lock sets to the locked element
« Reply #2 on: June 19, 2015, 12:33:20 am »
thx, I will try to find information into attributes tables stored in conection with this locked element