1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.exoplatform.wiki.mow.core.api.wiki;
21
22 import java.util.Date;
23
24 import org.chromattic.api.RelationshipType;
25 import org.chromattic.api.annotations.MixinType;
26 import org.chromattic.api.annotations.OneToOne;
27 import org.chromattic.api.annotations.Property;
28
29
30
31
32 @MixinType(name = "wiki:removed")
33 public abstract class RemovedMixin {
34
35 @OneToOne(type = RelationshipType.EMBEDDED)
36 public abstract PageImpl getEntity();
37 public abstract void setEntity(PageImpl page);
38
39 @Property(name = "removedBy")
40 public abstract void setRemovedBy(String by);
41 public abstract String getRemovedBy();
42
43 @Property(name = "removedDate")
44 public abstract void setRemovedDate(Date date);
45 public abstract Date getRemovedDate();
46
47 @Property(name = "parentPath")
48 public abstract void setParentPath(String path);
49 public abstract String getParentPath();
50
51 }