Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: EPMDocument event handling

$
0
0

Hello!

 

We have a custo that is listening for check ins where we are catching the following events:

 

Check in of existing EPMDocuments.

WorkInProgressServiceEvent.POST_CHECKIN

code:

WorkInProgressServiceEvent wipse = (WorkInProgressServiceEvent) eventObject;

Object targetObject = wipse.getEventTarget();

        if(targetObject instanceof EPMDocument){

            EPMDocument working = (EPMDocument) wipse.getWorkingCopy();

...

 

 

Check in of new EPMDocuments:

PersistenceManagerEvent.POST_STORE

code:

PersistenceManagerEvent pme = (PersistenceManagerEvent) eventObject;

Object targetObject = pme.getEventTarget();

        if(targetObject instanceof EPMDocument){

            EPMDocument doc = (EPMDocument) targetObject;

...

 

Best regards,

Peter


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>