]> git.argeo.org Git - lgpl/argeo-commons.git/blob - CmsEditionEvent.java
920f6d937671c28b29c5ec82542df976da48d96c
[lgpl/argeo-commons.git] / CmsEditionEvent.java
1 package org.argeo.cms;
2
3 import java.util.EventObject;
4
5 /** Notify of the edition lifecycle */
6 public class CmsEditionEvent extends EventObject {
7 private static final long serialVersionUID = 950914736016693110L;
8
9 public final static Integer START_EDITING = 0;
10 public final static Integer STOP_EDITING = 1;
11
12 private final Integer type;
13
14 public CmsEditionEvent(Object source, Integer type) {
15 super(source);
16 this.type = type;
17 }
18
19 public Integer getType() {
20 return type;
21 }
22
23 }