public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin      bin = (BInputBin)bin1;
            DocMaskDetails obj = (DocMaskDetails)(obj1 != null ? obj1 : bin.onObjectCreated(new DocMaskDetails()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.archivingMode = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.documentMask = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.encryptionSet = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.fulltext = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.searchMask = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.sortOrder = bbuf.getInt();
            if (version >= 600000098000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.createIndexPath = bbuf.getBoolean();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.createIndexReferencesPaths = bbuf.getBoolean();
                if (version >= 700000000000000L)
                {
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.folderMask = bbuf.getBoolean();
                    if (version >= 800000032000007L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.releaseDocument = bbuf.getBoolean();
                        if (version >= 900000018000004L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.documentContainer = bbuf.getBoolean();
                            if (version >= 900000030000013L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:449
                                obj.translateSordName = bbuf.getBoolean();
                            }
                        }
                    }
                }
            }

            return(obj);
        }
Exemple #2
0
 public DocMaskDetails(DocMaskDetails rhs) : base(rhs)
 {
     this.archivingModeValue              = rhs.archivingModeValue;
     this.encryptionSetValue              = rhs.encryptionSetValue;
     this.fulltextValue                   = rhs.fulltextValue;
     this.sortOrderValue                  = rhs.sortOrderValue;
     this.documentMaskValue               = rhs.documentMaskValue;
     this.searchMaskValue                 = rhs.searchMaskValue;
     this.folderMaskValue                 = rhs.folderMaskValue;
     this.createIndexPathValue            = rhs.createIndexPathValue;
     this.createIndexReferencesPathsValue = rhs.createIndexReferencesPathsValue;
     this.releaseDocumentValue            = rhs.releaseDocumentValue;
     this.documentContainerValue          = rhs.documentContainerValue;
     this.translateSordNameValue          = rhs.translateSordNameValue;
 }
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            DocMaskDetails obj  = (DocMaskDetails)obj1;
            BOutputBin     bout = (BOutputBin)bout1;
            BBufferBin     bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.archivingMode);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.documentMask);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.encryptionSet);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.fulltext);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.searchMask);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.sortOrder);
            if (version >= 600000098000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putBoolean(obj.createIndexPath);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putBoolean(obj.createIndexReferencesPaths);
                if (version >= 700000000000000L)
                {
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putBoolean(obj.folderMask);
                    if (version >= 800000032000007L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putBoolean(obj.releaseDocument);
                        if (version >= 900000018000004L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putBoolean(obj.documentContainer);
                            if (version >= 900000030000013L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:494
                                bbuf.putBoolean(obj.translateSordName);
                            }
                        }
                    }
                }
            }
        }