Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Can I have added/modified classes when Protege server save project?

Tania Tudorache tudorache at
Tue Dec 18 15:01:19 PST 2007

I am not sure that I understood correctly the question: So, you want a 
hook before or after the save of the project on the server.

You can implement a project plugin [1] and implement the methods 
beforeSave() and/or afterSave(), which are called before and after the 
save operation is made. One important thing is that you need to start 
this project plugin only on the server, not on the clients.

The way to start a plugin only on the server is described here [2]. You 
probably also need to enable the events on the server (this is also 
described in [2]).




robber82 at wrote:
> Hi, I want to do some operations when Protegè server Save a project 
> (saveInterval setted by me).
> I would known new classes added to a project when server save project.
> Where I must modify the code?
> I have seen that "save" method in Server Class call the "save" method 
> of Project class.
> Where I can obtain the informations about ontology classes that are 
> added or modified?
> Sorry for my English.
> Can you help me?
> ------------------------------------------------------------------------
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list