KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > wmi > ISWbemPrivilegeSet


1 // GENERATED. DO NOT MODIFY
2
package wmi;
3
4 import com4j.*;
5
6 /**
7  * A collection of Privilege Overrides
8  */

9 @IID("{26EE67BF-5804-11D2-8B4A-00600806D9B6}")
10 public interface ISWbemPrivilegeSet extends Com4jObject,Iterable JavaDoc<Com4jObject> {
11     @VTID(7)
12     java.util.Iterator JavaDoc<Com4jObject> iterator();
13
14     /**
15      * Get a named Privilege from this collection
16      */

17     @VTID(8)
18     ISWbemPrivilege item(
19         WbemPrivilegeEnum iPrivilege);
20
21     /**
22      * The number of items in this collection
23      */

24     @VTID(9)
25     int count();
26
27     /**
28      * Add a Privilege to this collection
29      */

30     @VTID(10)
31     ISWbemPrivilege add(
32         WbemPrivilegeEnum iPrivilege,
33         boolean bIsEnabled);
34
35     /**
36      * Remove a Privilege from this collection
37      */

38     @VTID(11)
39     void remove(
40         WbemPrivilegeEnum iPrivilege);
41
42     /**
43      * Delete all items in this collection
44      */

45     @VTID(12)
46     void deleteAll();
47
48     /**
49      * Add a named Privilege to this collection
50      */

51     @VTID(13)
52     ISWbemPrivilege addAsString(
53         java.lang.String JavaDoc strPrivilege,
54         boolean bIsEnabled);
55
56 }
57
Popular Tags