Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] CDO server: where to get EObject reference?
[CDO] CDO server: where to get EObject reference? [message #558530] Mon, 13 September 2010 11:49 Go to next message
Karel Gardas is currently offline Karel GardasFriend
Messages: 33
Registered: July 2009
Member
Hello,

I'm playing with our prototype of secured CDO server: so far everything is done by CDO provided handlers (WriteHandler) in handleTransactionBeforeComitting and now the question arise if there is a possibility of using EObject attributes in the process. For example let's talk about the EMF library example. We do have author in the CDO database (J.R.R.Tolkien) and now I'd like to allow certain class of users (Tolkien's fans) to just edit books/author details just of this author nothing more. So I'll need to kind of get value of `name' attribute on the Writer object for access decision. Is this possible at all inside the CDO server and especially inside the handler's operation?

Thanks,
Karel
Re: [CDO] CDO server: where to get EObject reference? [message #558549 is a reply to message #558530] Mon, 13 September 2010 12:33 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080908040509020507020404
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Karel,

All the infos that you need are available through the commit context passed into your IRepository.WriteAccessHandler.handleTransactionBeforeCommit ting(ITransaction, CommitContext, OMMonitor):

getNewPackageUnits()
getNewObjects()
getDirtyObjects()
getDirtyObjectDeltas()
getDetachedObjects()
getDetachedObjectTypes()

In the particular case you mentioned below you might be interested in context.getDirtyObjectDeltas().getFeatureDelta(EStructuralFe ature).

Cheers
/Eike

Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 13.09.2010 13:49, schrieb Karel Gardas:
> Hello,
>
> I'm playing with our prototype of secured CDO server: so far everything is done by CDO provided handlers (WriteHandler) in handleTransactionBeforeComitting and now the question arise if there is a possibility of using EObject attributes in the process. For example let's talk about the EMF library example. We do have author in the CDO database (J.R.R.Tolkien) and now I'd like to allow certain class of users (Tolkien's fans) to just edit books/author details just of this author nothing more. So I'll need to kind of get value of `name' attribute on the Writer object for access decision. Is this possible at all inside the CDO server and especially inside the handler's operation?
>
> Thanks,
> Karel

--------------080908040509020507020404
Content-Type: multipart/related;
boundary="------------010001000205060407080206"


--------------010001000205060407080206
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Karel,<br>
<br>
All the infos that you need are available through the commit context
passed into your
IRepository.WriteAccessHandler.handleTransactionBeforeCommit ting(ITransaction,
CommitContext, OMMonitor):<br>
<br>
getNewPackageUnits()<br>
getNewObjects()<br>
getDirtyObjects()<br>
getDirtyObjectDeltas()<br>
getDetachedObjects()<br>
getDetachedObjectTypes()<br>
<br>
In the particular case you mentioned below you might be interested
in
context.getDirtyObjectDeltas().getFeatureDelta(EStructuralFe ature). <br>
<br>
<!--WISESTAMP_SIG_53795_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.09060200.08010904@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.01080409.05020902@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.05040106.07010902@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.05000607.00040007@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.07000405.01090309@esc-net.de" alt="I'm
going to Eclipse Summit Europe 2010" border="0"
height="100" width="130"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_53795_END--><br>
<br>
Am 13.09.2010 13:49, schrieb Karel Gardas:
<blockquote cite="mid:i6l344$4u7$1@build.eclipse.org" type="cite">Hello,
<br>
<br>
I'm playing with our prototype of secured CDO server: so far
everything is done by CDO provided handlers (WriteHandler) in
handleTransactionBeforeComitting and now the question arise if
there is a possibility of using EObject attributes in the process.
For example let's talk about the EMF library example. We do have
author in the CDO database (J.R.R.Tolkien) and now I'd like to
allow certain class of users (Tolkien's fans) to just edit
books/author details just of this author nothing more. So I'll
need to kind of get value of `name' attribute on the Writer object
for access decision. Is this possible at all inside the CDO server
and especially inside the handler's operation?
<br>
<br>
Thanks,
<br>
Karel
<br>
</blockquote>
</body>
</html>

--------------010001000205060407080206
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.09060200.08010904@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------010001000205060407080206
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.01080409.05020902@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------010001000205060407080206
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.05040106.07010902@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------010001000205060407080206
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.05000607.00040007@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------010001000205060407080206
Content-Type: image/gif;
name="130x100_going.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.07000405.01090309@esc-net.de>
Content-Disposition: inline;
filename="130x100_going.gif"

R0lGODlhggBkANU/AAI6m5unzAFEnevmBBdYp26MwSdhrezv9ShbpkdJl8zT 5iosTk5RczdZ
pUxws4+Vujlhq296sauxNTZpsY6cUjtLl0pBjWmLbMzM3yVUngxDnzQ/j1B0 fjRTnm1skRRN
oxsaNCVKlb3I30JPnEY+iQVRojY+ZzhskyVDhEdbok5DlIh+smNfLmNYlS5l r1dSmztQhUZa
iV1eg93b6MTJIx5eq0xMfdvh7UJAaGtipL24E7W50CtOm4CAWP///////yH5 BAEAAD8ALAAA
AACCAGQAAAb/wJ9wOLwVPoCkcslsOp/QqHRKrX4KN6J2K1RkqmCpZqwJm8/h jIi7PUDQ6DJ5
Dq/bmZADWzgrA/x/UXODhGR/hYViSoB3jRozbApJiJSVlpeGTH6DjZ1KCm2T mKOkcyGnIaVj
nncCSXpESKqzlai2qKSscAKGH0QBh7QaJ7QoY6c8PB3Lyzy4l7pVAtPTnAFD wmMfIRIcGbMo
yB0NDSnm5B3OqBvsKO7vZa7RT9TUiEIPwZcZ32QcNANocPhA8EOGDgUTEtQW okKFcSkcSJQI
oVyKFi1e2MBhomPHBSBNoJiXZBqAevYQAbj2BZNBChcyfCBDYYCEhBk4SOCn MCGy/xHmHEQY
SjTCihw5ZGzEwdEjyKcLRupCibJQQQ0ZfuirlKHmAAoyCV44EbPgBYASTvQs GEJZuRwRCjyY
S3eFBxkyGCz1aAIq1JN1qAq2mrCMVlIcA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m3cyZ5M
AnB8MpvxAHFsx3KMxxZzAwGAFE67AirzAGG8Mt0xPwnAkAzpwoITy/9jXMs+ 0MhV8nhUUsEd
UsmWfAMacFufnMxtbAFsTGwX0yEBQGwWE8dznAAWYDEvQGxU8sgvUM1XlAA5 UM0W0yHVjMHQ
+ci6DMy9DMm/zMvCjMfEjMEVoAE/4AAooMz43MnOjAFwfM0+oGZzLM3/rM0s 83FzrAJXpHbi
PD90onYW/AAzIMmP182wnACMzM7oHMkqkAB+XMlqt9GPt9Eb4AA/IAKZnM8o vc/9bDGuHND+
/MZo+wIMaQExzZAqQCU7oHY58NFqZzoPMBQ7rQIe4sWT89GOrHZfrALhHAE8 3dRO/dQqAABr
8AMdgMwojc8WsMKkLDJO69LT/MaD67TZnDv/LTUDLyBvFrMyGNDUFanWOp3D a23UVWLUB4BT
AQDVeO3UG9AAQyAJV+3JzAzKxFYUEdACxAYXNJ0Dhx0B/dwCuQvT8wMXTQ0X TJ3XTX0Uli1v
mJ3Zlg0AoDAEVPPXydzPpF3apg3HT9RonL3arN3aTo03W9AAVi3a+nzatm3a L1DYcOzavN3b
T70BKcAFWnrPtL3Mt33cyK3avr3crL0B0roHDgAAs+3GgU3dyX3dt83c2r3a GwAAJL0HQrAD
ZWDV2F3e173d6I3XGzAGOwDeWvAAPJAEq6vG9F3f9n3f+J3frWsMAMADD+De bHAAP02sBF7g
Bn7gCH7gEQCd7h0EADs=
--------------010001000205060407080206--

--------------080908040509020507020404--


Re: [CDO] CDO server: where to get EObject reference? [message #558554 is a reply to message #558549] Mon, 13 September 2010 13:27 Go to previous messageGo to next message
Karel Gardas is currently offline Karel GardasFriend
Messages: 33
Registered: July 2009
Member
Hi Eike,

I'm not sure there is a misunderstanding here. In fact so far I've been "debugging" the API by using your advised operations below, but I'm not at all able to get the right attribute from it.

Imagine, someone corrects "The Hobit" title to "The Hobbit" title. This is Tolkien's book so "Tolkien fan" can do it in my library. However what I see as a FeatureDelta (debug here) is:

delta: CDORevisionDelta[Book@OID13:0v4 --> [CDOFeatureDelta[title, SET, value=The Hobbit]]]
feature delta: CDOFeatureDelta[title, SET, value=The Hobbit]


from this I see some Book's title is changed. However I don't see the `writer' attribute where the Author is associated, so I'm not able to find out if the author of this book is J.R.RTolkien or not hence not able to decide if to allow this change or deny it based on the user credentials. To me it looks like I would need to find EObject of Book's OID: (OID13:0v4), then get it's writer attribute and by using it navigate to the Book's author and get its name attribute to get the author's name probably (just my guessing what I need).

I hope my question is a little bit clearer now. In fact in the mean time I've found following thread: http://www.eclipsezone.com/eclipse/forums/t115766.html which would suggest that EObject operations are not possible on the CDO server side. My the only wonder now is if this is still true as nearly 2 years passed since the time of these posts.

Thanks!
Karel

Eike Stepper wrote on Mon, 13 September 2010 08:33
This is a multi-part message in MIME format.
--------------080908040509020507020404
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Karel,

All the infos that you need are available through the commit context passed into your IRepository.WriteAccessHandler.handleTransactionBeforeCommit ting(ITransaction, CommitContext, OMMonitor):

getNewPackageUnits()
getNewObjects()
getDirtyObjects()
getDirtyObjectDeltas()
getDetachedObjects()
getDetachedObjectTypes()

In the particular case you mentioned below you might be interested in context.getDirtyObjectDeltas().getFeatureDelta(EStructuralFe ature).

Cheers
/Eike


Re: [CDO] CDO server: where to get EObject reference? [message #558610 is a reply to message #558554] Mon, 13 September 2010 16:44 Go to previous messageGo to next message
Cyril Jaquier is currently offline Cyril JaquierFriend
Messages: 80
Registered: July 2009
Member
Hi Karel,

First of all, I'm not a CDO expert so my answers below may be wrong. So
take them with care ;-)

> I'm not sure there is a misunderstanding here. In fact so far I've been
> "debugging" the API by using your advised operations below, but I'm not
> at all able to get the right attribute from it.
> ...
> from this I see some Book's title is changed. However I don't see the
> `writer' attribute where the Author is associated, so I'm not able to
> find out if the author of this book is J.R.RTolkien or not hence not
> ...

Yes that's right. getDirtyObjectDeltas() will only give you the changes
made to the object. You won't be able to access all the attributes or
references of your EObject this way.


> ...
> http://www.eclipsezone.com/eclipse/forums/t115766.html which would
> suggest that EObject operations are not possible on the CDO server side.
> ...

The CDO server knows nothing (or very little) about your model. A
possible solution would be to turn your server into a CDO client also.
Thus, you would be able to access any information you need.


Regards,
Cyril Jaquier
Re: [CDO] CDO server: where to get EObject reference? [message #558620 is a reply to message #558554] Mon, 13 September 2010 17:36 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000303000505010100030700
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Karel,

I start to see your point ;-)

From the CDORevisionDelta (or one of the CDORevisions in getNewObject) you want to navigate to other objects (CDORevisions) in the repository. First you would need to clarify if you want to navigate over the before or after state of the graph with respect to the ongoing commit.

The before state can be navigated by using the CDOID of the CDORevisionDleta or CDORevision and asking the CDORevisionManager of the repository for the revision with that CDOID at that time and in that branch:

| *new *IRepository.WriteAccessHandler()
{
*public **void *handleTransactionBeforeCommitting(ITransaction transaction, CommitContext commitContext,
OMMonitor monitor) *throws *RuntimeException
{
CDORevisionDelta revisionDelta = commitContext.getDirtyObjectDeltas()[0];
CDOID id = revisionDelta.getID();

CDORevisionManager revisionManager = transaction.getRepository().getRevisionManager();
CDORevision revision = revisionManager.getRevision(id, transaction, CDORevision.UNCHUNKED,
CDORevision.DEPTH_NONE, *true*);

CDOID targetID = (CDOID)revision.data().get(myFeature, Notification.NO_INDEX);

CDORevision target = revisionManager.getRevision(targetID, transaction, CDORevision.UNCHUNKED,
CDORevision.DEPTH_NONE, *true*);

...
}

*public **void *handleTransactionAfterCommitted(ITransaction transaction, CommitContext commitContext,
OMMonitor monitor)
{
}
};|


For the after state to be used in the navigation you'd need to consider the dirty objects of the commitContext before you ask the global revision manager.

To make this whole thing easier I would like to make CDOCommonView (CDOView, CDOTransaction, IView and ITransaction) and IStoreAccessor.CommitContext extend CDORevisionProvider. Then you could simply call transaction.getRevision(id) for the before state and commitContext.getRevision(id) for the after state navigation. All you (or somebody else) need to do is file an enhancement request in Bugzilla ;-)

Does that all get you a step into the right direction?

Cheers
/Eike

Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm going to Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 13.09.2010 15:27, schrieb Karel Gardas:
> Hi Eike,
>
> I'm not sure there is a misunderstanding here. In fact so far I've been "debugging" the API by using your advised operations below, but I'm not at all able to get the right attribute from it.
>
> Imagine, someone corrects "The Hobit" title to "The Hobbit" title. This is Tolkien's book so "Tolkien fan" can do it in my library. However what I see as a FeatureDelta (debug here) is:
>
>
> delta: CDORevisionDelta[Book@OID13:0v4 --> [CDOFeatureDelta[title, SET, value=The Hobbit]]]
> feature delta: CDOFeatureDelta[title, SET, value=The Hobbit]
>
>
> from this I see some Book's title is changed. However I don't see the `writer' attribute where the Author is associated, so I'm not able to find out if the author of this book is J.R.RTolkien or not hence not able to decide if to allow this change or deny it based on the user credentials. To me it looks like I would need to find EObject of Book's OID: (OID13:0v4), then get it's writer attribute and by using it navigate to the Book's author and get its name attribute to get the author's name probably (just my guessing what I need).
>
> I hope my question is a little bit clearer now. In fact in the mean time I've found following thread: http://www.eclipsezone.com/eclipse/forums/t115766.html which would suggest that EObject operations are not possible on the CDO server side. My the only wonder now is if this is still true as nearly 2 years passed since the time of these posts.
>
> Thanks!
> Karel
>
> Eike Stepper wrote on Mon, 13 September 2010 08:33
>> This is a multi-part message in MIME format.
>> --------------080908040509020507020404
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>> Content-Transfer-Encoding: 7bit
>>
>> Hi Karel,
>>
>> All the infos that you need are available through the commit context passed into your IRepository.WriteAccessHandler.handleTransactionBeforeCommit ting(ITransaction, CommitContext, OMMonitor):
>>
>> getNewPackageUnits()
>> getNewObjects()
>> getDirtyObjects()
>> getDirtyObjectDeltas()
>> getDetachedObjects()
>> getDetachedObjectTypes()
>>
>> In the particular case you mentioned below you might be interested in context.getDirtyObjectDeltas().getFeatureDelta(EStructuralFe ature).
>>
>> Cheers
>> /Eike
>
>

--------------000303000505010100030700
Content-Type: multipart/related;
boundary="------------000908060501040007070602"


--------------000908060501040007070602
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Karel,<br>
<br>
I start to see your point ;-)<br>
<br>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
From the CDORevisionDelta (or one of the CDORevisions in
getNewObject) you want to navigate to other objects (CDORevisions)
in the repository. First you would need to clarify if you want to
navigate over the before or after state of the graph with respect to
the ongoing commit.<br>
<br>
The before state can be navigated by using the CDOID of the
CDORevisionDleta or CDORevision and asking the CDORevisionManager of
the repository for the revision with that CDOID at that time and in
that branch:<br>
<br>
<style type="text/css">code { font-family: Courier New,Courier; font-size: 10pt; margin: 0px; }</style>
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<td nowrap="nowrap" align="left" valign="top"> <code>
<font color="#ffffff">    </font><font color="#7f0055"><b>new </b></font><font
color="#000000">IRepository.WriteAccessHandler</font><font
color="#000000">()</font><br>
<font color="#ffffff">    </font><font color="#000000">{</font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">handleTransactionBeforeCommitting</font><font
color="#000000">(</font><font color="#000000">ITransaction transaction, CommitContext commitContext, </font><br>
<font color="#ffffff">          </font><font
color="#000000">OMMonitor monitor</font><font
color="#000000">) </font><font color="#7f0055"><b>throws </b></font><font
color="#000000">RuntimeException</font><br>
<font color="#ffffff">      </font><font color="#000000">{</font><br>
<font color="#ffffff">        </font><font
color="#000000"> CDORevisionDelta revisionDelta = commitContext.getDirtyOb jectDeltas </font><font
color="#000000">()[</font><font color="#990000">0</font><font
color="#000000">]</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">CDOID id = revisionDelta.getID</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff"></font><br>
<font color="#ffffff">        </font><font
color="#000000"> CDORevisionManager revisionManager = transaction.getRepos itory </font><font
color="#000000">()</font><font color="#000000">.getRevisionManager</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision revision = revisionManager.getRevision </font><font
color="#000000">(</font><font color="#000000">id, transaction, CDORevision.UNCHUNKED,</font ><br>
<font color="#ffffff">            </font><font
color="#000000">CDORevision.DEPTH_NONE, </font><font
color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff"></font><br>
<font color="#ffffff">        </font><font
color="#000000">CDOID targetID = </font><font
color="#000000">(</font><font color="#000000">CDOID</font><font
color="#000000">)</font><font color="#000000">revision.data</font><font
color="#000000">()</font><font color="#000000">.get</font><font
color="#000000">(</font><font color="#000000">myFeature, Notification.NO_INDEX</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff"></font><br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision target = revisionManager.getRevision </font><font
color="#000000">(</font><font color="#000000">targetID, transaction, CDORevision.UNCHUNKED, </font><br>
<font color="#ffffff">            </font><font
color="#000000">CDORevision.DEPTH_NONE, </font><font
color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;<br>
<br>
        ...<br>
</font>
<font color="#ffffff">      </font><font color="#000000">}</font><br>
<font color="#ffffff"></font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">handleTransactionAfterCommitted</font><font
color="#000000">(</font><font color="#000000">ITransaction transaction, CommitContext commitContext, </font><br>
<font color="#ffffff">          </font><font
color="#000000">OMMonitor monitor</font><font
color="#000000">)</font><br>
<font color="#ffffff">      </font><font color="#000000">{</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font><br>
<font color="#ffffff">    </font><font color="#000000">}</font><font
color="#000000">;</font></code> </td>
</tr>
</tbody>
</table>
</div>
<br>
For the after state to be used in the navigation you'd need to
consider the dirty objects of the commitContext before you ask the
global revision manager.<br>
<br>
To make this whole thing easier I would like to make CDOCommonView
(CDOView, CDOTransaction, IView and ITransaction) and
IStoreAccessor.CommitContext extend CDORevisionProvider. Then you
could simply call transaction.getRevision(id) for the before state
and commitContext.getRevision(id) for the after state navigation.
All you (or somebody else) need to do is file an enhancement request
in Bugzilla ;-)<br>
<br>
Does that all get you a step into the right direction?<br>
<br>
<!--WISESTAMP_SIG_87976_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.07090908.04080408@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.04070802.07090004@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.01070602.04040903@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.00080902.03090208@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.04000308.04070104@esc-net.de" alt="I'm
going to Eclipse Summit Europe 2010" border="0"
height="100" width="130"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_87976_END--><br>
<br>
Am 13.09.2010 15:27, schrieb Karel Gardas:
<blockquote cite="mid:i6l8re$21a$1@build.eclipse.org" type="cite">Hi
Eike,
<br>
<br>
I'm not sure there is a misunderstanding here. In fact so far I've
been "debugging" the API by using your advised operations below,
but I'm not at all able to get the right attribute from it.
<br>
<br>
Imagine, someone corrects "The Hobit" title to "The Hobbit" title.
This is Tolkien's book so "Tolkien fan" can do it in my library.
However what I see as a FeatureDelta (debug here) is:
<br>
<br>
<br>
delta: CDORevisionDelta[Book@OID13:0v4 --&gt;
[CDOFeatureDelta[title, SET, value=The Hobbit]]]
<br>
feature delta: CDOFeatureDelta[title, SET, value=The Hobbit]
<br>
<br>
<br>
from this I see some Book's title is changed. However I don't see
the `writer' attribute where the Author is associated, so I'm not
able to find out if the author of this book is J.R.RTolkien or not
hence not able to decide if to allow this change or deny it based
on the user credentials. To me it looks like I would need to find
EObject of Book's OID: (OID13:0v4), then get it's writer attribute
and by using it navigate to the Book's author and get its name
attribute to get the author's name probably (just my guessing what
I need).
<br>
<br>
I hope my question is a little bit clearer now. In fact in the
mean time I've found following thread:
<a class="moz-txt-link-freetext" href="http://www.eclipsezone.com/eclipse/forums/t115766.html">http://www.eclipsezone.com/eclipse/forums/t115766.html</a> which would
suggest that EObject operations are not possible on the CDO server
side. My the only wonder now is if this is still true as nearly 2
years passed since the time of these posts.
<br>
<br>
Thanks!
<br>
Karel
<br>
<br>
Eike Stepper wrote on Mon, 13 September 2010 08:33
<br>
<blockquote type="cite">This is a multi-part message in MIME
format.
<br>
--------------080908040509020507020404
<br>
Content-Type: text/plain; charset=UTF-8; format=flowed
<br>
Content-Transfer-Encoding: 7bit
<br>
<br>
    Hi Karel,
<br>
<br>
All the infos that you need are available through the commit
context passed into your  
IRepository.WriteAccessHandler.handleTransactionBeforeCommit
ting(ITransaction, CommitContext, OMMonitor):
<br>
<br>
getNewPackageUnits()
<br>
getNewObjects()
<br>
getDirtyObjects()
<br>
getDirtyObjectDeltas()
<br>
getDetachedObjects()
<br>
getDetachedObjectTypes()
<br>
<br>
In the particular case you mentioned below you might be
interested in  
context.getDirtyObjectDeltas().getFeatureDelta(EStructuralFe
ature).
<br>
<br>
Cheers
<br>
/Eike
<br>
</blockquote>
<br>
<br>
</blockquote>
</body>
</html>

--------------000908060501040007070602
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.07090908.04080408@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------000908060501040007070602
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.04070802.07090004@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------000908060501040007070602
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.01070602.04040903@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------000908060501040007070602
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.00080902.03090208@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------000908060501040007070602
Content-Type: image/gif;
name="130x100_going.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.04000308.04070104@esc-net.de>
Content-Disposition: inline;
filename="130x100_going.gif"

R0lGODlhggBkANU/AAI6m5unzAFEnevmBBdYp26MwSdhrezv9ShbpkdJl8zT 5iosTk5RczdZ
pUxws4+Vujlhq296sauxNTZpsY6cUjtLl0pBjWmLbMzM3yVUngxDnzQ/j1B0 fjRTnm1skRRN
oxsaNC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G9AAQyAJV+3JzAzKxFYUEdACxAYXNJ0Dhx0B/dwCuQvT8wMXTQ0X TJ3XTX0Uli1v
mJ3Zlg0AoDAEVPPXydzPpF3apg3HT9RonL3arN3aTo03W9AAVi3a+nzatm3a L1DYcOzavN3b
T70BKcAFWnrPtL3Mt33cyK3avr3crL0B0roHDgAAs+3GgU3dyX3dt83c2r3a GwAAJL0HQrAD
ZWDV2F3e173d6I3XGzAGOwDeWvAAPJAEq6vG9F3f9n3f+J3frWsMAMADD+De bHAAP02sBF7g
Bn7gCH7gEQCd7h0EADs=
--------------000908060501040007070602--

--------------000303000505010100030700--


Re: [CDO] CDO server: where to get EObject reference? [message #558695 is a reply to message #558620] Tue, 14 September 2010 04:54 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080701030803030301090401
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Karel,

Note that I've filed and resolved bug 325189: Make CDOCommonView and CommitContext a CDORevisionProvider
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325189

Your code should now look like:

| *public **void *handleTransactionBeforeCommitting(ITransaction transaction, CommitContext commitContext,
OMMonitor monitor) *throws *RuntimeException
{
CDORevisionDelta revisionDelta = commitContext.getDirtyObjectDeltas()[0];

CDORevision revision = commitContext.getRevision(revisionDelta.getID());
CDORevision target = commitContext.getRevision((CDOID)revision.data().get(myFeatu re, 0));
}|


Also note that there's the very old, yet unaddressed, bug 273562: Make EObjects available at the server-side
https://bugs.eclipse.org/bugs/show_bug.cgi?id=273562

Cheers
/Eike
Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm speaking at Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 13.09.2010 19:36, schrieb Eike Stepper:
> Hi Karel,
>
> I start to see your point ;-)
>
> From the CDORevisionDelta (or one of the CDORevisions in getNewObject) you want to navigate to other objects (CDORevisions) in the repository. First you would need to clarify if you want to navigate over the before or after state of the graph with respect to the ongoing commit.
>
> The before state can be navigated by using the CDOID of the CDORevisionDleta or CDORevision and asking the CDORevisionManager of the repository for the revision with that CDOID at that time and in that branch:
>
> | *new *IRepository.WriteAccessHandler()
> {
> *public **void *handleTransactionBeforeCommitting(ITransaction transaction, CommitContext commitContext,
> OMMonitor monitor) *throws *RuntimeException
> {
> CDORevisionDelta revisionDelta = commitContext.getDirtyObjectDeltas()[0];
> CDOID id = revisionDelta.getID();
>
> CDORevisionManager revisionManager = transaction.getRepository().getRevisionManager();
> CDORevision revision = revisionManager.getRevision(id, transaction, CDORevision.UNCHUNKED,
> CDORevision.DEPTH_NONE, *true*);
>
> CDOID targetID = (CDOID)revision.data().get(myFeature, Notification.NO_INDEX);
>
> CDORevision target = revisionManager.getRevision(targetID, transaction, CDORevision.UNCHUNKED,
> CDORevision.DEPTH_NONE, *true*);
>
> ...
> }
>
> *public **void *handleTransactionAfterCommitted(ITransaction transaction, CommitContext commitContext,
> OMMonitor monitor)
> {
> }
> };|
>
>
> For the after state to be used in the navigation you'd need to consider the dirty objects of the commitContext before you ask the global revision manager.
>
> To make this whole thing easier I would like to make CDOCommonView (CDOView, CDOTransaction, IView and ITransaction) and IStoreAccessor.CommitContext extend CDORevisionProvider. Then you could simply call transaction.getRevision(id) for the before state and commitContext.getRevision(id) for the after state navigation. All you (or somebody else) need to do is file an enhancement request in Bugzilla ;-)
>
> Does that all get you a step into the right direction?
>

--------------080701030803030301090401
Content-Type: multipart/related;
boundary="------------010401070800030208030805"


--------------010401070800030208030805
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
Hi Karel,<br>
<br>
Note that I've filed and resolved bug 325189: Make CDOCommonView and
CommitContext a CDORevisionProvider<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=325189">https://bugs.eclipse.org/bugs/show_bug.cgi?id=325189</a>
<style type="text/css">code { font-family: Courier New,Courier; font-size: 10pt; margin: 0px; }</style><br>
<br>
Your code should now look like:<br>
<br>
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<td nowrap="nowrap" align="left" valign="top"> <code>
<font color="#ffffff">      </font><font color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">handleTransactionBeforeCommitting</font><font
color="#000000">(</font><font color="#000000">ITransaction transaction, CommitContext commitContext, </font><br>
<font color="#ffffff">          </font><font
color="#000000">OMMonitor monitor</font><font
color="#000000">) </font><font color="#7f0055"><b>throws </b></font><font
color="#000000">RuntimeException</font><br>
<font color="#ffffff">      </font><font color="#000000">{</font><br>
<font color="#ffffff">        </font><font
color="#000000"> CDORevisionDelta revisionDelta = commitContext.getDirtyOb jectDeltas </font><font
color="#000000">()[</font><font color="#990000">0</font><font
color="#000000">]</font><font color="#000000">;</font><br>
<font color="#ffffff"></font><br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision revision = commitContext.getRevision </font><font
color="#000000">(</font><font color="#000000">revisionDelta.getID</font><font
color="#000000">())</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision target = commitContext.getRevision </font><font
color="#000000">((</font><font color="#000000">CDOID</font><font
color="#000000">)</font><font color="#000000">revision.data</font><font
color="#000000">()</font><font color="#000000">.get</font><font
color="#000000">(</font><font color="#000000">myFeature, </font><font
color="#990000">0</font><font color="#000000">))</font><font
color="#000000">;</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font></code>
</td>
</tr>
</tbody>
</table>
</div>
<br>
Also note that there's the very old, yet unaddressed, bug 273562:
Make EObjects available at the server-side<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=273562">https://bugs.eclipse.org/bugs/show_bug.cgi?id=273562</a><br>
<br>
<!--WISESTAMP_SIG_92581_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.05050603.06030205@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.04040603.05070202@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.09090604.05080809@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.03070800.00030502@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.07010407.00090904@esc-net.de" alt="I'm
speaking at Eclipse Summit Europe 2010" border="0"
height="100" width="100"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_92581_END--><br>
<br>
Am 13.09.2010 19:36, schrieb Eike Stepper:
<blockquote cite="mid:i6lnhp$i6e$4@build.eclipse.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Karel,<br>
<br>
I start to see your point ;-)<br>
<br>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
From the CDORevisionDelta (or one of the CDORevisions in
getNewObject) you want to navigate to other objects (CDORevisions)
in the repository. First you would need to clarify if you want to
navigate over the before or after state of the graph with respect
to the ongoing commit.<br>
<br>
The before state can be navigated by using the CDOID of the
CDORevisionDleta or CDORevision and asking the CDORevisionManager
of the repository for the revision with that CDOID at that time
and in that branch:<br>
<br>
<style type="text/css">code { font-family: Courier New,Courier; font-size: 10pt; margin: 0px; }</style>
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<td nowrap="nowrap" align="left" valign="top"> <code> <font
color="#ffffff">    </font><font color="#7f0055"><b>new </b></font><font
color="#000000">IRepository.WriteAccessHandler</font><font
color="#000000">()</font><br>
<font color="#ffffff">    </font><font color="#000000">{</font><br>
<font color="#ffffff">      </font><font
color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">handleTransactionBeforeCommitting</font><font
color="#000000">(</font><font color="#000000">ITransaction transaction, CommitContext commitContext, </font><br>
<font color="#ffffff">          </font><font
color="#000000">OMMonitor monitor</font><font
color="#000000">) </font><font color="#7f0055"><b>throws </b></font><font
color="#000000">RuntimeException</font><br>
<font color="#ffffff">      </font><font
color="#000000">{</font><br>
<font color="#ffffff">        </font><font
color="#000000"> CDORevisionDelta revisionDelta = commitContext.getDirtyOb jectDeltas </font><font
color="#000000">()[</font><font color="#990000">0</font><font
color="#000000">]</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">CDOID id = revisionDelta.getID</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<br>
<font color="#ffffff">        </font><font
color="#000000"> CDORevisionManager revisionManager = transaction.getRepos itory </font><font
color="#000000">()</font><font color="#000000">.getRevisionManager</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision revision = revisionManager.getRevision </font><font
color="#000000">(</font><font color="#000000">id, transaction, CDORevision.UNCHUNKED,</font ><br>
<font color="#ffffff">            </font><font
color="#000000">CDORevision.DEPTH_NONE, </font><font
color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;</font><br>
<br>
<font color="#ffffff">        </font><font
color="#000000">CDOID targetID = </font><font
color="#000000">(</font><font color="#000000">CDOID</font><font
color="#000000">)</font><font color="#000000">revision.data</font><font
color="#000000">()</font><font color="#000000">.get</font><font
color="#000000">(</font><font color="#000000">myFeature, Notification.NO_INDEX</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<br>
<font color="#ffffff">        </font><font
color="#000000">CDORevision target = revisionManager.getRevision </font><font
color="#000000">(</font><font color="#000000">targetID, transaction, CDORevision.UNCHUNKED, </font><br>
<font color="#ffffff">            </font><font
color="#000000">CDORevision.DEPTH_NONE, </font><font
color="#7f0055"><b>true</b></font><font
color="#000000">)</font><font color="#000000">;<br>
<br>
        ...<br>
</font> <font color="#ffffff">      </font><font
color="#000000">}</font><br>
<br>
<font color="#ffffff">      </font><font
color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">handleTransactionAfterCommitted</font><font
color="#000000">(</font><font color="#000000">ITransaction transaction, CommitContext commitContext, </font><br>
<font color="#ffffff">          </font><font
color="#000000">OMMonitor monitor</font><font
color="#000000">)</font><br>
<font color="#ffffff">      </font><font
color="#000000">{</font><br>
<font color="#ffffff">      </font><font
color="#000000">}</font><br>
<font color="#ffffff">    </font><font color="#000000">}</font><font
color="#000000">;</font></code> </td>
</tr>
</tbody>
</table>
</div>
<br>
For the after state to be used in the navigation you'd need to
consider the dirty objects of the commitContext before you ask the
global revision manager.<br>
<br>
To make this whole thing easier I would like to make CDOCommonView
(CDOView, CDOTransaction, IView and ITransaction) and
IStoreAccessor.CommitContext extend CDORevisionProvider. Then you
could simply call transaction.getRevision(id) for the before state
and commitContext.getRevision(id) for the after state navigation.
All you (or somebody else) need to do is file an enhancement
request in Bugzilla ;-)<br>
<br>
Does that all get you a step into the right direction?<br>
<br>
</blockquote>
</body>
</html>

--------------010401070800030208030805
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.05050603.06030205@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------010401070800030208030805
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.04040603.05070202@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------010401070800030208030805
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.09090604.05080809@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------010401070800030208030805
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.03070800.00030502@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------010401070800030208030805
Content-Type: image/gif;
name="100x100_speaking.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.07010407.00090904@esc-net.de>
Content-Disposition: inline;
filename="100x100_speaking.gif"

R0lGODlhZABkAOZ/APb3+VNYfigtUDRDchhWpwM6mkRXjThrsCdirVJ7u0p2 uExflWyGrQU0
asnX6aq31ImZUxRFoaOqOWaIwgRGlubr87bG4C44YMHDzmeGZYqMrtLRFuHi 5zpalGxskRZD
lVt/vdHZ6TRlqzlTiJiy1Wd7qExtrB00XDtfnH2SvyFeq0ZttQlTo9vi7lNt qTRfryVJlkVr
rXmEkYebxLKzvPDqAi9ZrANMniZGgTpMfh4dNSpWk4OjywI6flx0qIV2rDxk pD5psQNBiyw8
jjpksJSkx4OImhtFi2CEv0NjornAMCBRoYqq0uvw9zNor4SBRj5xtcbGHr65 HDRhoxV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1P18XFJmRAA3hN2JHb1okd2IstXzJAA1AN2Y0AABmkATyD1pU9KapDA5it 2fbA2ThkBGiy
2vMyQiLU2KSdoqbt1Sla25xt2y0427q924UQCAA7
--------------010401070800030208030805--

--------------080701030803030301090401--


Re: [CDO] CDO server: where to get EObject reference? [message #558876 is a reply to message #558620] Tue, 14 September 2010 17:21 Go to previous messageGo to next message
Karel Gardas is currently offline Karel GardasFriend
Messages: 33
Registered: July 2009
Member
Hi Eike,

WoW! This is really hyper-cool! Well, I know this is word inflation, but indeed this is great! So even w/o knowing anything about the model, CDO provides nice API to access it. As man would usually write security policies with model in mind, then underlaying access control code might get what's required from the CDO based on the security policy features.
Great indeed!

Thank you very much for your help!
Karel
Re: [CDO] CDO server: where to get EObject reference? [message #558942 is a reply to message #558876] Wed, 15 September 2010 05:03 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020802050809090908030201
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Karel,

Thanks for the kudos ;-)

Though I'm not sure what you mean by "w/o knowing anything about the model". A CDO model repository knows everything about the models and their instances/resources that are stored in it. Please compare http://thegordian.blogspot.com/2009/03/emf-on-server.html

Cheers
/Eike
Contact: http://www.esc-net.de Blogger <http://thegordian.blogspot.com>Twitter <http://twitter.com/eikestepper>Linkedin <http://de.linkedin.com/in/eikestepper>Xing <http://www.xing.com/profile/Eike_Stepper>
Article: What exactly is inside that p2 repository? < http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html>

I'm speaking at Eclipse Summit Europe 2010 <http://www.eclipsesummit.org/>



Am 14.09.2010 19:21, schrieb Karel Gardas:
> Hi Eike,
>
> WoW! This is really hyper-cool! Well, I know this is word inflation, but indeed this is great! So even w/o knowing anything about the model, CDO provides nice API to access it. As man would usually write security policies with model in mind, then underlaying access control code might get what's required from the CDO based on the security policy features.
> Great indeed!
>
> Thank you very much for your help!
> Karel

--------------020802050809090908030201
Content-Type: multipart/related;
boundary="------------050808050207040700000804"


--------------050808050207040700000804
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
Hi Karel,<br>
<br>
Thanks for the kudos ;-)<br>
<br>
Though I'm not sure what you mean by "w/o knowing anything about the
model". A CDO model repository knows everything about the models and
their instances/resources that are stored in it. Please compare
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com/2009/03/emf-on-server.html">http://thegordian.blogspot.com/2009/03/emf-on-server.html</a><br>
<br>
<!--WISESTAMP_SIG_30040_START--><span style="color: black;">
<div dir="ltr">
<div>Cheers<br>
/Eike<br>
</div>
<div style="padding: 5px 0pt; font-family: arial,sans-serif;
font-size: 13.3px;"><span style="color: gray;">Contact: <a
href="http://www.esc-net.de">http://www.esc-net.de</a></span>
<a href="http://thegordian.blogspot.com" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part1.01040801.02000604@esc-net.de" alt="Blogger"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://twitter.com/eikestepper" style="padding: 0pt
2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part2.03010704.01020500@esc-net.de" alt="Twitter"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a><a
href="http://de.linkedin.com/in/eikestepper" style="padding:
0pt 2px; color: blue; font-size: 10pt;" _service=""><img
src="cid:part3.08050805.06070108@esc-net.de"
alt="Linkedin" style="vertical-align: middle;
padding-bottom: 5px;" border="0" height="16" width="16"></a><a
href="http://www.xing.com/profile/Eike_Stepper"
style="padding: 0pt 2px; color: blue; font-size: 10pt;"
_service=""><img
src="cid:part4.05000301.02080104@esc-net.de" alt="Xing"
style="vertical-align: middle; padding-bottom: 5px;"
border="0" height="16" width="16"></a></div>
<div style="color: gray; font-size: 13.3px; padding-bottom:
5px;">Article: <span style="color: blue; text-decoration:
underline;"><a
href=" http://thegordian.blogspot.com/2010/05/what-exactly-is-insid e-that-p2.html"
undefined="">What exactly is inside that p2 repository?</a></span></div>
<div><br>
<a href="http://www.eclipsesummit.org/"><img
src="cid:part5.01010902.07030004@esc-net.de" alt="I'm
speaking at Eclipse Summit Europe 2010" border="0"
height="100" width="100"></a>
<br>
<br>
</div>
</div>
</span><!--WISESTAMP_SIG_30040_END--><br>
<br>
Am 14.09.2010 19:21, schrieb Karel Gardas:
<blockquote cite="mid:i6oatr$53g$1@build.eclipse.org" type="cite">Hi
Eike,
<br>
<br>
WoW! This is really hyper-cool! Well, I know this is word
inflation, but indeed this is great! So even w/o knowing anything
about the model, CDO provides nice API to access it. As man would
usually write security policies with model in mind, then
underlaying access control code might get what's required from the
CDO based on the security policy features.
<br>
Great indeed!
<br>
<br>
Thank you very much for your help!
<br>
Karel
<br>
</blockquote>
</body>
</html>

--------------050808050207040700000804
Content-Type: image/png;
name="blogger.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.01040801.02000604@esc-net.de>
Content-Disposition: inline;
filename="blogger.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAAK/I NwWK6QAAABl0
RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADkUExURf9xEv9m AP////9lAP+Q
SP9kAP9jAP9fAP9nAf9vD//x5/9hAP/iz/9iAP9eAP/s4P9vEP9yEv9qAP9q B/+LRP+we/90
I/+RSP/z6/+jZv/y6P+8kP/59f5yE//awf/Ttv9hAf9nAv/17v+4if9sC/9o BP+bWP/r3v/k
0v+wfP+QRv/o2f9gAP+OQ/93HP/l0/+0gv/Rsv/9/P/j0P+pcP+0hf/dx//D m//+/v+td/9o
AP+NQv/Yvf+zgv/x6P/q2/9xG//p2f9pAP/s3//8+fxxE//ex/+AK/9oCP/j 0f/Uuv///4Xw
StcAAABMdFJOU/////////////////////////////////////////////// ////////////
/////////////////////////////////////////wCejeTMAAAAsklEQVR4 2kSP1w6DMBAE
7cMGQg0hvffee++d//+f2IaIeTlppNXtIo88UAjxEIlhjCUG5lwJQuwoulqh FuUGcWGSiTF7
bt40EEoXBKtyIPQS5PffFqyHlhCS2obTK5kDmJ8lXxgA0zsPXer0L3zSUVmI D9ip3SC+hKwQ
2CxCtXYYL25gu1S8bf4jib5fTM+MNE079jom/+KwJUojwnAVifcQ46jM4M23 BHmkEK53iPcT
YACE/Q4KzoVQVwAAAABJRU5ErkJggg==
--------------050808050207040700000804
Content-Type: image/png;
name="twitter.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.03010704.01020500@esc-net.de>
Content-Disposition: inline;
filename="twitter.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAABxUlE QVQ4y4WTMW4U
QRBFX3X3zoy8FgZphTCYAEg4gAPEYbgBJEgEXIALkHMfAjIwItnAAfLK2JYB r3dmuj7BzI5m
2WBLqqzq//q/fxt9NTmrzo7MCIhgRpWSsaMSgEta5czcjYtWTKPxfALZXTEE 2wmAxLXD11VL
BZy2MAuJB/iuA3oAoJb4lUUCVkAGTM5t06gjATMjBiPFaFsADvx1MTFoBd/q zHkMeLcLgCEe
JqjbrCJ1IAkghGDz20Z/XEzMMMTnZTsSYANMAl7fq7YlZOBaUCCk4WowwyRA mBmL7CxcmwDu
rh+rzKU71YhQ/dnr8VbiaRF4MgmbAAZkxJU7lRk3Wby5W3FcJlbSICAjZjFS jJ42rSXWgoWL
fYPfLvaCMTVxJ0XoJTmQ/stF6GPABDhzcepi7uJ74yQDuXcDErjjGhkwNvHx xCjMOMkCg3eX
S85zyVEMtGt24GWVxvsM5yi3+nBV8/7iBmJv0gaZQMZhNL4cHXBYdDkY7HQL vD0oebVfQuud
a8FGHSAaP1vnpMmbHgDEECwafLq/x8fZlGfJKCVKiapvXLyoEsdl3JYwBMpd uW1YEjlz4aMh
AY+iURiU/Vf/B6EE4kjfs5YLAAAAAElFTkSuQmCC
--------------050808050207040700000804
Content-Type: image/png;
name="linkedin.png"
Content-Transfer-Encoding: base64
Content-ID: <part3.08050805.06070108@esc-net.de>
Content-Disposition: inline;
filename="linkedin.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/ AP+gvaeTAAAA
CXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGklE QVQ4y6WTO2sU
URTHf3dmdp0kTnZJzErSrPjKYqNY2GljodhoLRLB1sLCD2DrZxAsfCAE/AaC grY+SBQSFTSC
xizGzZ3MTiYz92UxY5KNYuOBP+eew/3/73lwxfWHT9yjuR8YL0CwyxygAAPo Cqr0ntFcvjBB
cH++x8WzJzm8v/EnWVdks0PEgNWO95/XePD4HZ4ADk6MAhD6Hs26/08yBjwr ODrZBK0JADyv
LP7GsX2Evse9xR5Lsvgr+XfsO7ctoKwj9AWh7wEQIFCF+3sFGjCmgiJwQFwY Yge3X3cZrwXM
r2SDg9tJ1rokaw1alRXI3NAO61w60AAHTkE7qtNu1PjSUywsb3L60AgjNcHz hZgXb39WApoA
C3FqsIGjMxYC8OZbxlQU0GmFTLdCznWireV0pobYSDKevuzilMZDg0wN/cxu XdrMLVqX53TT
cu3OJ87cmmdlrQBgemoYKTMwqhSI+4Z0QMBhjANgcTnj1UdJHGd8Xc0AmBit Ecu0moGGODH0
h7cF8tyidSmgjSWWG6AUWpkypw1xLwXA4z8tQINcN/T3moEWtLZbr0mZQV5s 55RFJuU8RHR1
1iWtIzQ8nxOtIVCw9D2lWbM06w4ZZ8wtrEJRcLw9TDMUyKRg7kOPSHQR0ZVZ lyRjMDkOOVAU
FfLS57viHRaJLsHM+THuPtuDUgLTW2U0X672t47rrw82vOu/z9w8xS+MkDzV Boy6+QAAAABJ
RU5ErkJggg==
--------------050808050207040700000804
Content-Type: image/png;
name="xing.png"
Content-Transfer-Encoding: base64
Content-ID: <part4.05000301.02080104@esc-net.de>
Content-Disposition: inline;
filename="xing.png"

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsT AAALEwEAmpwY
AAABsklEQVR42mP8//8/AymAEb+G1x9333hU9fffZy52ZTONrQQ0/P7z7sLd hJfvN7Mw80mL
ROkqTodqAIKvv379+fuXhZmZh50dpv7f49dLLt1LYWD4ryRZCETsrJIIDYdu 3y5fu16AizPE
0CTFzgoo8fPXoxPX/T9/v8DHbWCito6LXRHFDw/evnXpm3D39Ws1Eck9xVmy wqLP3/SevlXC
ysKtLtuoJFmMxdObL17ymzqN8S9LnZddua/VrUcWD149FRNwNFFby8oiiEXD itNnImfN5WTi
nBhu7Gvw5OLdiv+MQnqKU6WEI7AE6+vPnx17+68+fmGrJL0wRe/rl/jbL94r isfqKs1kZuJE
1/Dt16/27TtatmzjYeZcnuZpqnDi3J16FmZxYDhKCAViibiVp8+Ur1v39N0H X12DFRkJ33/u
O3LVk+E/i5xYqq7iNCwaXn769PLTZ0ZGBnFePjE+3j9/3155kPvk9XIudgV9 5XnCfI6Ek8a7
T4dO3vD4+++HlHC4kepywhr+/P0ITEIPXk5jZxXTVpgE1EY48X36euHs7fBv P+8CVespzYGH
FSOpyRsAAuDh4a3m5z0AAAAASUVORK5CYII=
--------------050808050207040700000804
Content-Type: image/gif;
name="100x100_speaking.gif"
Content-Transfer-Encoding: base64
Content-ID: <part5.01010902.07030004@esc-net.de>
Content-Disposition: inline;
filename="100x100_speaking.gif"

R0lGODlhZABkAOZ/APb3+VNYfigtUDRDchhWpwM6mkRXjThrs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N1py+R5zN
BtDN3FzO/MzPwvzN3bzOsQzN7wytkyLPCNEHqVzP9py8+KzPEK3PkBzRAa3G 7bzKFvypsYLQ
HNEHmGPIDC3LI4DP+azPJH3SKA3LqvzOGR0rF0ADrowQawDNYxzSI53SJM3B Of3DqhwpGh0r
ZEDEW9FyqgzNIW3NC33UR23IZfzTG53BHFEBYkDTVK3UVn3RhvwqaSVfMD3U isABcEDVYj3W
ZJ3VIgQra6XIXp2wGBAAZf3WY/wqWh0pWx0rMiDUa83WATBCdN3Xfv3XQVJc d53XknBDYgDY
iE1P18XFJmRAA3hN2JHb1okd2IstXzJAA1AN2Y0AABmkATyD1pU9KapDA5it 2fbA2ThkBGiy
2vMyQiLU2KSdoqbt1Sla25xt2y0427q924UQCAA7
--------------050808050207040700000804--

--------------020802050809090908030201--


Re: [CDO] CDO server: where to get EObject reference? [message #558961 is a reply to message #558942] Wed, 15 September 2010 07:19 Go to previous message
Karel Gardas is currently offline Karel GardasFriend
Messages: 33
Registered: July 2009
Member
Hi Eike,

wow! If I can assume your described second step in refactoring is already done, then this just proves that the email thread which I linked in the first mail in this thread is no longer valid. So great, CDO looks better and better. Smile

Thanks for the link and for correcting my slight misunderstanding of the concept!
Karel
Previous Topic:CDO Transaction conflicts – not possible to add two object at same time by two transactions!?
Next Topic:[CDO/Teneo] Mapping exception on Could not determine type for: org.eclipse.emf.teneo.hibernate.mappi
Goto Forum:
  


Current Time: Fri Oct 18 08:27:20 GMT 2019

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top