UniKL Logo

Lehrgebiet Informationssysteme

FB Informatik

FB Informatik
 
LG IS
AG DBIS
AG HIS
Jobs / Tasks
Courses
Publications
Contact
Misc
Impressum
(C) AG DBIS
 

Use Case 27:

Node Operation insertBefore(contextNode, siblingType, siblingValue)
returns Node

The insertBefore operation is executed on the context element node CO and inserts a new previous sibling node before the context node CO. There already exists a previous sibling and the inserted new sibling node is returned.
  • This operation can be executed on an element context node
  • This operation can be executed on an text context node

Scenario 27-1 for taDOM2 Lock Requests:
NodeLockPSENSEFCELCE
CONREX---
CNNR----
PS--EX--
PACX----
Scenario 27-2 for taDOM2+ Lock Requests:
NodeLockPSENSEFCELCE
CONREX---
CNNR----
PS--EX--
PACX----
Scenario 27-3 for taDOM3 Lock Requests:
NodeLockPSENSEFCELCE
CONREX---
PS--EX--
PACX----
Scenario 27-4 for taDOM3+ Lock Requests:
NodeLockPSENSEFCELCE
CONREX---
PS--EX--
PACX----

Operation behavior described with base operations:

  • readCO
  • modifyCOPSE
  • modifyPSNSE
Read Set = CO , Write Set = PSNSE COPSE

This operation can be executed on the following nodes:

  • AC
  • PA
  • PS
  • CO
  • NS
  • FC
  • CH
  • LC
  • DC

If this operation is executed the following nodes are existing:

  • AC
  • PA
  • PS
  • CO
  • NS
  • FC
  • CH
  • LC
  • DC
  • CA
  • AX