コード例 #1
0
ファイル: EditInfo.cs プロジェクト: ThomasEcherer/elo
 public EditInfo(EloixClient.IndexServer.IdName[] @docTemplates, EloixClient.IndexServer.Document @document, EloixClient.IndexServer.Keyword[] @keywords, EloixClient.IndexServer.IdName[] @markerNames, EloixClient.IndexServer.DocMask @mask, EloixClient.IndexServer.MaskName[] @maskNames, EloixClient.IndexServer.Note[] @notes, EloixClient.IndexServer.IdName[] @pathNames, EloixClient.IndexServer.IdName[] @replNames, EloixClient.IndexServer.Sord @sord, EloixClient.IndexServer.SordType[] @sordTypes)
 {
     this.docTemplatesValue = @docTemplates;
     this.documentValue     = @document;
     this.keywordsValue     = @keywords;
     this.markerNamesValue  = @markerNames;
     this.maskValue         = @mask;
     this.maskNamesValue    = @maskNames;
     this.notesValue        = @notes;
     this.pathNamesValue    = @pathNames;
     this.replNamesValue    = @replNames;
     this.sordValue         = @sord;
     this.sordTypesValue    = @sordTypes;
 }
コード例 #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
            Document[] arr = new EloixClient.IndexServer.Document[n0];
            bin.onObjectCreated(arr);

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

            return(arr);
        }
コード例 #3
0
        public virtual void onBeforeCheckinDocEnd(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.Sord sordDB, EloixClient.IndexServer.Sord parentSord, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onBeforeCheckinDocEnd(ec, sord, sordDB, parentSord, doc, sordZ, unlockZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #4
0
        public virtual void onReadSord(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.LockZ lockZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onReadSord(ec, sord, sordZ, doc, lockZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #5
0
 public virtual void onBeforeCheckinDocEnd(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.Sord sordDB, EloixClient.IndexServer.Sord parentSord, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #6
0
 public virtual void onReadSord(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.LockZ lockZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #7
0
        public virtual void onBeforeCheckinDocEnd(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.Sord sordDB, EloixClient.IndexServer.Sord parentSord, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeCheckinDocEnd req = new BRequest_IXServerEvents_onBeforeCheckinDocEnd();

            req.ecValue         = ec;
            req.sordValue       = sord;
            req.sordDBValue     = sordDB;
            req.parentSordValue = parentSord;
            req.docValue        = doc;
            req.sordZValue      = sordZ;
            req.unlockZValue    = unlockZ;
            transport.sendMethod(req, asyncResult);
        }
コード例 #8
0
        public virtual void onBeforeCheckinDocEnd(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.Sord sordDB, EloixClient.IndexServer.Sord parentSord, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            onBeforeCheckinDocEnd(ec, sord, sordDB, parentSord, doc, sordZ, unlockZ, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
コード例 #9
0
        public virtual void onReadSord(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.LockZ lockZ, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onReadSord req = new BRequest_IXServerEvents_onReadSord();

            req.ecValue    = ec;
            req.sordValue  = sord;
            req.sordZValue = sordZ;
            req.docValue   = doc;
            req.lockZValue = lockZ;
            transport.sendMethod(req, asyncResult);
        }
コード例 #10
0
        public virtual void onReadSord(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.Document doc, EloixClient.IndexServer.LockZ lockZ)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            onReadSord(ec, sord, sordZ, doc, lockZ, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }