This project has retired. For details please refer to its
Attic page.
ChangeEventImpl xref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.chemistry.opencmis.client.runtime;
20
21 import java.io.Serializable;
22 import java.util.GregorianCalendar;
23 import java.util.List;
24 import java.util.Map;
25
26 import org.apache.chemistry.opencmis.client.api.ChangeEvent;
27 import org.apache.chemistry.opencmis.commons.data.Acl;
28 import org.apache.chemistry.opencmis.commons.enums.ChangeType;
29 import org.apache.chemistry.opencmis.commons.impl.dataobjects.ChangeEventInfoDataImpl;
30
31
32
33
34 public class ChangeEventImpl extends ChangeEventInfoDataImpl implements ChangeEvent, Serializable {
35
36 private static final long serialVersionUID = 1L;
37
38 private String objectId;
39 private Map<String, List<?>> properties;
40 private List<String> policyIds;
41 private Acl acl;
42
43 public ChangeEventImpl() {
44 }
45
46 public ChangeEventImpl(ChangeType changeType, GregorianCalendar changeTime, String objectId,
47 Map<String, List<?>> properties, List<String> policyIds, Acl acl) {
48 setChangeType(changeType);
49 setChangeTime(changeTime);
50 setObjectId(objectId);
51 setProperties(properties);
52 setPolicyIds(policyIds);
53 setAcl(acl);
54 }
55
56 public String getObjectId() {
57 return objectId;
58 }
59
60 public void setObjectId(String objectId) {
61 this.objectId = objectId;
62 }
63
64 public Map<String, List<?>> getProperties() {
65 return properties;
66 }
67
68 public void setProperties(Map<String, List<?>> properties) {
69 this.properties = properties;
70 }
71
72 public List<String> getPolicyIds() {
73 return policyIds;
74 }
75
76 public void setPolicyIds(List<String> policyIds) {
77 this.policyIds = policyIds;
78 }
79
80 public Acl getAcl() {
81 return acl;
82 }
83
84 public void setAcl(Acl acl) {
85 this.acl = acl;
86 }
87 }