Beispiel #1
0
 public FindUserInfo(String @name, String @desc, EloixClient.IndexServer.KeyValue @property, EloixClient.IndexServer.KeyValue @ldapProperty, bool @onlyUsers, bool @onlyGroups, bool @returnUserInfoMap, String[] @userIds, EloixClient.IndexServer.CheckoutUsersZ @checkoutUsersZ, int @hasFlags, int @hasNotFlags, int @hasFlags2, int @hasNotFlags2)
 {
     this.nameValue              = @name;
     this.descValue              = @desc;
     this.propertyValue          = @property;
     this.ldapPropertyValue      = @ldapProperty;
     this.onlyUsersValue         = @onlyUsers;
     this.onlyGroupsValue        = @onlyGroups;
     this.returnUserInfoMapValue = @returnUserInfoMap;
     this.userIdsValue           = @userIds;
     this.checkoutUsersZValue    = @checkoutUsersZ;
     this.hasFlagsValue          = @hasFlags;
     this.hasNotFlagsValue       = @hasNotFlags;
     this.hasFlags2Value         = @hasFlags2;
     this.hasNotFlags2Value      = @hasNotFlags2;
 }
Beispiel #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin  bin  = (BInputBin)bin1;
            BBufferBin bbuf = bin.bbuf;

            // lengths
            int n0 = bbuf.getLength();

            // create array
            KeyValue[] arr = new EloixClient.IndexServer.KeyValue[n0];
            bin.onObjectCreated(arr);

            // read
            for (int i0 = 0; i0 < n0; i0++)
            {
                arr[i0] = (EloixClient.IndexServer.KeyValue)bin.readObj(false, null);
            }

            return(arr);
        }