cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Event Type when renaming or editting common attributes?

crosato
2-Explorer

Event Type when renaming or editting common attributes?

I'm working on an event handler that will check when a part has it's 'Common Attributes' updated. Has anybody figured out which event those actions trigger? I've tried a handful of those out of PersistenceManagerEvent but they don't seem to be the right ones.

4 REPLIES 4

pre/post_store on wtpartmaster? else pre_modify or update I'd think.

set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true

and restart MS - will print *lots* of information on event handling, you can see what events get emitted.

hth, martin

So for Editcommon attribute. Below is target class which is instance of
changed object.

I am catching with below code.

if (keyedEvent.getEventType().equals("PRE_STORE")) {
if(target instanceof IdentityChangeHistory){


Regards,
Manisha




martin kraegeloh <martl@sulis.de>
02/20/2013 02:58 PM
Please respond to
martin kraegeloh <martl@sulis.de>


To
-
cc

Subject
[solutions] - RE: Event Type when renaming or editting common attributes?






pre/post_store on wtpartmaster? else pre_modify or update I'd think.

set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true

and restart MS - will print *lots* of information on event handling, you
can see what events get emitted.

hth, martin

amdaini
1-Visitor
(To:crosato)

Hi,


The events triggered for the identity changes (common attributes) are IdentityServiceEvent.PRE_CHANGE_IDENTITY andIdentityServiceEvent.POST_CHANGE_IDENTITY.



Regards,


IS_10279623
4-Participant
(To:crosato)

Were you able to identify a solution for this. If yes, please share

Announcements


Top Tags