1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import javax.xml.bind.JAXBElement;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlElementRef;
9 import javax.xml.bind.annotation.XmlRootElement;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14 * <p>Java class for anonymous complex type.
15 *
16 * <p>The following schema fragment specifies the expected content contained within this class.
17 *
18 * <pre>
19 * <complexType>
20 * <complexContent>
21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22 * <sequence>
23 * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24 * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25 * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
26 * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
27 * <element name="ACLPropagation" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumACLPropagation" minOccurs="0"/>
28 * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
29 * </sequence>
30 * </restriction>
31 * </complexContent>
32 * </complexType>
33 * </pre>
34 *
35 *
36 */
37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "", propOrder = {
39 "repositoryId",
40 "objectId",
41 "addACEs",
42 "removeACEs",
43 "aclPropagation",
44 "extension"
45 })
46 @XmlRootElement(name = "applyACL")
47 public class ApplyACL {
48
49 @XmlElement(required = true)
50 protected String repositoryId;
51 @XmlElement(required = true)
52 protected String objectId;
53 protected CmisAccessControlListType addACEs;
54 protected CmisAccessControlListType removeACEs;
55 @XmlElementRef(name = "ACLPropagation", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
56 protected JAXBElement<EnumACLPropagation> aclPropagation;
57 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
58 protected JAXBElement<CmisExtensionType> extension;
59
60 /**
61 * Gets the value of the repositoryId property.
62 *
63 * @return
64 * possible object is
65 * {@link String }
66 *
67 */
68 public String getRepositoryId() {
69 return repositoryId;
70 }
71
72 /**
73 * Sets the value of the repositoryId property.
74 *
75 * @param value
76 * allowed object is
77 * {@link String }
78 *
79 */
80 public void setRepositoryId(String value) {
81 this.repositoryId = value;
82 }
83
84 /**
85 * Gets the value of the objectId property.
86 *
87 * @return
88 * possible object is
89 * {@link String }
90 *
91 */
92 public String getObjectId() {
93 return objectId;
94 }
95
96 /**
97 * Sets the value of the objectId property.
98 *
99 * @param value
100 * allowed object is
101 * {@link String }
102 *
103 */
104 public void setObjectId(String value) {
105 this.objectId = value;
106 }
107
108 /**
109 * Gets the value of the addACEs property.
110 *
111 * @return
112 * possible object is
113 * {@link CmisAccessControlListType }
114 *
115 */
116 public CmisAccessControlListType getAddACEs() {
117 return addACEs;
118 }
119
120 /**
121 * Sets the value of the addACEs property.
122 *
123 * @param value
124 * allowed object is
125 * {@link CmisAccessControlListType }
126 *
127 */
128 public void setAddACEs(CmisAccessControlListType value) {
129 this.addACEs = value;
130 }
131
132 /**
133 * Gets the value of the removeACEs property.
134 *
135 * @return
136 * possible object is
137 * {@link CmisAccessControlListType }
138 *
139 */
140 public CmisAccessControlListType getRemoveACEs() {
141 return removeACEs;
142 }
143
144 /**
145 * Sets the value of the removeACEs property.
146 *
147 * @param value
148 * allowed object is
149 * {@link CmisAccessControlListType }
150 *
151 */
152 public void setRemoveACEs(CmisAccessControlListType value) {
153 this.removeACEs = value;
154 }
155
156 /**
157 * Gets the value of the aclPropagation property.
158 *
159 * @return
160 * possible object is
161 * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >}
162 *
163 */
164 public JAXBElement<EnumACLPropagation> getACLPropagation() {
165 return aclPropagation;
166 }
167
168 /**
169 * Sets the value of the aclPropagation property.
170 *
171 * @param value
172 * allowed object is
173 * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >}
174 *
175 */
176 public void setACLPropagation(JAXBElement<EnumACLPropagation> value) {
177 this.aclPropagation = ((JAXBElement<EnumACLPropagation> ) value);
178 }
179
180 /**
181 * Gets the value of the extension property.
182 *
183 * @return
184 * possible object is
185 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
186 *
187 */
188 public JAXBElement<CmisExtensionType> getExtension() {
189 return extension;
190 }
191
192 /**
193 * Sets the value of the extension property.
194 *
195 * @param value
196 * allowed object is
197 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
198 *
199 */
200 public void setExtension(JAXBElement<CmisExtensionType> value) {
201 this.extension = ((JAXBElement<CmisExtensionType> ) value);
202 }
203
204 }