1 package org.openmdx.security.realm1.cci; 14 15 public class CredentialFilterImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefFilter_1 17 implements CredentialFilter { 18 19 public CredentialFilterImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage 21 ) { 22 super( 23 aPackage, 24 "org:openmdx:security:realm1:Credential", 25 null, 26 null 27 ); 28 } 29 30 public CredentialFilterImpl( 31 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage, 32 org.openmdx.compatibility.base.query.FilterProperty[] filterProperties, 33 org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers 34 ) { 35 super( 36 aPackage, 37 "org:openmdx:security:realm1:Credential", 38 filterProperties, 39 attributeSpecifiers 40 ); 41 } 42 43 public void forAllLocked ( 47 short operator, 48 java.util.Collection values 49 ) { 50 refAddValue( 51 "org:openmdx:security:realm1:Credential:locked", 52 org.openmdx.compatibility.base.query.Quantors.FOR_ALL, 53 operator, 54 values 55 ); 56 } 57 58 public void thereExistsLocked ( 59 short operator, 60 java.util.Collection values 61 ) { 62 refAddValue( 63 "org:openmdx:security:realm1:Credential:locked", 64 org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS, 65 operator, 66 values 67 ); 68 } 69 70 public void forAllLocked ( 71 short operator, 72 boolean[] filterValues 73 ) { 74 java.util.List arrayAsList = new java.util.ArrayList (); 75 for(int i = 0; i < filterValues.length; i++) { 76 arrayAsList.add( 77 new Boolean (filterValues[i]) 78 ); 79 } 80 forAllLocked ( 81 operator, 82 arrayAsList 83 ); 84 } 85 86 public void thereExistsLocked ( 87 short operator, 88 boolean[] filterValues 89 ) { 90 java.util.List arrayAsList = new java.util.ArrayList (); 91 for(int i = 0; i < filterValues.length; i++) { 92 arrayAsList.add( 93 new Boolean (filterValues[i]) 94 ); 95 } 96 thereExistsLocked ( 97 operator, 98 arrayAsList 99 ); 100 } 101 102 public void orderByLocked ( 103 short order 104 ) { 105 refAddValue( 106 "org:openmdx:security:realm1:Credential:locked", 107 order 108 ); 109 } 110 111 public void forAllSubject ( 115 short operator, 116 org.openmdx.security.realm1.cci.Subject[] filterValues 117 ) { 118 java.util.List arrayAsList = new java.util.ArrayList (); 119 for(int i = 0; i < filterValues.length; i++) { 120 arrayAsList.add( 121 filterValues[i] 122 ); 123 } 124 forAllSubject ( 125 operator, 126 arrayAsList 127 ); 128 } 129 130 public void thereExistsSubject ( 131 short operator, 132 org.openmdx.security.realm1.cci.Subject[] filterValues 133 ) { 134 java.util.List arrayAsList = new java.util.ArrayList (); 135 for(int i = 0; i < filterValues.length; i++) { 136 arrayAsList.add( 137 filterValues[i] 138 ); 139 } 140 thereExistsSubject ( 141 operator, 142 arrayAsList 143 ); 144 } 145 146 public void forAllSubject ( 147 short operator, 148 java.util.Collection values 149 ) { 150 refAddValue( 151 "org:openmdx:security:realm1:Credential:subject", 152 org.openmdx.compatibility.base.query.Quantors.FOR_ALL, 153 operator, 154 values 155 ); 156 } 157 158 public void thereExistsSubject ( 159 short operator, 160 java.util.Collection values 161 ) { 162 refAddValue( 163 "org:openmdx:security:realm1:Credential:subject", 164 org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS, 165 operator, 166 values 167 ); 168 } 169 170 } 174 | Popular Tags |