-
Notifications
You must be signed in to change notification settings - Fork 1
/
IOwner.xml
218 lines (218 loc) · 14.7 KB
/
IOwner.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<Type Name="IOwner" FullName="Java.Security.Acl.IOwner">
<TypeSignature Language="C#" Value="public interface IOwner : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IOwner implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Security.Acl.IOwner" />
<TypeSignature Language="F#" Value="type IOwner = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/security/acl/Owner", "", "Java.Security.Acl.IOwnerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/security/acl/Owner", "", "Java.Security.Acl.IOwnerInvoker")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0", "This class is obsoleted in this android platform")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0", "This class is obsoleted in this android platform")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>Interface for managing owners of Access Control Lists (ACLs) or ACL
configurations.</summary>
<remarks>
<para>Interface for managing owners of Access Control Lists (ACLs) or ACL
configurations. (Note that the Acl interface in the
<c>java.security.acl</c> package extends this Owner
interface.) The initial owner Principal should be specified as an
argument to the constructor of the class implementing this interface.</para>
<para>Added in 1.1.</para>
<para>This member is deprecated. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by <c>java.security.Policy</c>
and related classes since 1.2.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/Owner" title="Reference documentation">Java documentation for <code>java.security.acl.Owner</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="AddOwner">
<MemberSignature Language="C#" Value="public bool AddOwner (Java.Security.IPrincipal? caller, Java.Security.IPrincipal? owner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool AddOwner(class Java.Security.IPrincipal caller, class Java.Security.IPrincipal owner) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IOwner.AddOwner(Java.Security.IPrincipal,Java.Security.IPrincipal)" />
<MemberSignature Language="F#" Value="abstract member AddOwner : Java.Security.IPrincipal * Java.Security.IPrincipal -> bool" Usage="iOwner.AddOwner (caller, owner)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addOwner", "(Ljava/security/Principal;Ljava/security/Principal;)Z", "GetAddOwner_Ljava_security_Principal_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addOwner", "(Ljava/security/Principal;Ljava/security/Principal;)Z", "GetAddOwner_Ljava_security_Principal_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="caller" Type="Java.Security.IPrincipal" />
<Parameter Name="owner" Type="Java.Security.IPrincipal" />
</Parameters>
<Docs>
<param name="caller">the principal invoking this method. It must be an owner
of the ACL.</param>
<param name="owner">the owner that should be added to the list of owners.</param>
<summary>Adds an owner.</summary>
<returns>true if successful, false if owner is already an owner.</returns>
<remarks>
<para>Adds an owner. Only owners can modify ACL contents. The caller
principal must be an owner of the ACL in order to invoke this method.
That is, only an owner can add another owner. The initial owner is
configured at ACL construction time.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/Owner#addOwner(java.security.Principal,%20java.security.Principal)" title="Reference documentation">Java documentation for <code>java.security.acl.Owner.addOwner(java.security.Principal, java.security.Principal)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Security.Acl.NotOwnerException">if the invoking principal is not an owner.
</exception>
</Docs>
</Member>
<Member MemberName="DeleteOwner">
<MemberSignature Language="C#" Value="public bool DeleteOwner (Java.Security.IPrincipal? caller, Java.Security.IPrincipal? owner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool DeleteOwner(class Java.Security.IPrincipal caller, class Java.Security.IPrincipal owner) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IOwner.DeleteOwner(Java.Security.IPrincipal,Java.Security.IPrincipal)" />
<MemberSignature Language="F#" Value="abstract member DeleteOwner : Java.Security.IPrincipal * Java.Security.IPrincipal -> bool" Usage="iOwner.DeleteOwner (caller, owner)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("deleteOwner", "(Ljava/security/Principal;Ljava/security/Principal;)Z", "GetDeleteOwner_Ljava_security_Principal_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("deleteOwner", "(Ljava/security/Principal;Ljava/security/Principal;)Z", "GetDeleteOwner_Ljava_security_Principal_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="caller" Type="Java.Security.IPrincipal" />
<Parameter Name="owner" Type="Java.Security.IPrincipal" />
</Parameters>
<Docs>
<param name="caller">the principal invoking this method. It must be an owner
of the ACL.</param>
<param name="owner">the owner to be removed from the list of owners.</param>
<summary>Deletes an owner.</summary>
<returns>true if the owner is removed, false if the owner is not part
of the list of owners.</returns>
<remarks>
<para>Deletes an owner. If this is the last owner in the ACL, an exception is
raised.</para>
<para>The caller principal must be an owner of the ACL in order to invoke
this method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/Owner#deleteOwner(java.security.Principal,%20java.security.Principal)" title="Reference documentation">Java documentation for <code>java.security.acl.Owner.deleteOwner(java.security.Principal, java.security.Principal)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Security.Acl.NotOwnerException">if the invoking principal is not an owner.</exception>
<exception cref="T:Java.Security.Acl.LastOwnerException">if the owner to be removed is the last owner and hence removing it
would make this object owner-less.
</exception>
</Docs>
</Member>
<Member MemberName="IsOwner">
<MemberSignature Language="C#" Value="public bool IsOwner (Java.Security.IPrincipal? owner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsOwner(class Java.Security.IPrincipal owner) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IOwner.IsOwner(Java.Security.IPrincipal)" />
<MemberSignature Language="F#" Value="abstract member IsOwner : Java.Security.IPrincipal -> bool" Usage="iOwner.IsOwner owner" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("isOwner", "(Ljava/security/Principal;)Z", "GetIsOwner_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("isOwner", "(Ljava/security/Principal;)Z", "GetIsOwner_Ljava_security_Principal_Handler:Java.Security.Acl.IOwnerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="owner" Type="Java.Security.IPrincipal" />
</Parameters>
<Docs>
<param name="owner">the principal to be checked to determine whether or not
it is an owner.</param>
<summary>Returns true if the given principal is an owner of the ACL.</summary>
<returns>true if the passed principal is in the list of owners, false
if not.</returns>
<remarks>
<para>Returns true if the given principal is an owner of the ACL.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/Owner#isOwner(java.security.Principal)" title="Reference documentation">Java documentation for <code>java.security.acl.Owner.isOwner(java.security.Principal)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>