1 package org.openmdx.security.realm1.cci; 14 15 public interface Role 16 extends 17 org.openmdx.base.cci.BasicObject { 18 25 public String getDescription( 26 ); 27 28 32 33 38 public void setDescription( 39 String newValue 40 ); 41 42 50 public boolean isDisabled( 51 ); 52 53 61 public void setDisabled( 62 boolean newValue 63 ); 64 65 73 public String getName( 74 ); 75 76 86 public org.openmdx.security.realm1.cci.Permission getPermission( 87 String id 88 ); 89 90 99 public java.util.Collection getPermission( 100 ); 101 102 109 public java.util.List getPermission( 110 org.openmdx.security.realm1.cci.PermissionFilter filter 111 ); 112 113 121 public void addPermission ( 122 String id, 123 org.openmdx.security.realm1.cci.Permission newValue 124 ); 125 126 133 public void addPermission ( 134 org.openmdx.security.realm1.cci.Permission newValue 135 ); 136 137 143 public void removePermission ( 144 String id 145 ); 146 154 public org.openmdx.security.realm1.cci.Policy getPolicy( 155 ); 156 157 } 161 | Popular Tags |