summaryrefslogtreecommitdiff
path: root/libjava/java/security/acl/Acl.h
blob: 82c8d6de784ea51075f61aa3c1974ba6ff8b3881 (plain)
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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_security_acl_Acl__
#define __java_security_acl_Acl__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Principal;
      namespace acl
      {
          class Acl;
          class AclEntry;
          class Permission;
      }
    }
  }
}

class java::security::acl::Acl : public ::java::lang::Object
{

public:
  virtual ::java::lang::String * getName() = 0;
  virtual void setName(::java::security::Principal *, ::java::lang::String *) = 0;
  virtual jboolean addEntry(::java::security::Principal *, ::java::security::acl::AclEntry *) = 0;
  virtual jboolean removeEntry(::java::security::Principal *, ::java::security::acl::AclEntry *) = 0;
  virtual ::java::util::Enumeration * entries() = 0;
  virtual jboolean checkPermission(::java::security::Principal *, ::java::security::acl::Permission *) = 0;
  virtual ::java::util::Enumeration * getPermissions(::java::security::Principal *) = 0;
  virtual ::java::lang::String * toString() = 0;
  virtual jboolean addOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
  virtual jboolean deleteOwner(::java::security::Principal *, ::java::security::Principal *) = 0;
  virtual jboolean isOwner(::java::security::Principal *) = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __java_security_acl_Acl__