コード例 #1
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
            SordZ[] arr = new EloixClient.IndexServer.SordZ[n0];
            bin.onObjectCreated(arr);

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

            return(arr);
        }
コード例 #2
0
        public virtual void onBeforeFindSordsInternalSQL(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindInfoAsInternalSQL findSql)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            onBeforeFindSordsInternalSQL(ec, findInfo, sordZ, findSql, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
コード例 #3
0
ファイル: EditInfoZ.cs プロジェクト: ThomasEcherer/elo
 public EditInfoZ(long @bset, EloixClient.IndexServer.SordZ @sordZ)
 {
     this.bsetValue  = @bset;
     this.sordZValue = @sordZ;
 }
コード例 #4
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);
        }
コード例 #5
0
 public FindActionsInfo(String @objId, String @userId, String @createDateIso, IList <EloixClient.IndexServer.feed.EActionType> @actionTypes, bool @findNotifications, bool @findHashTags, bool @findSubscriptions, EloixClient.IndexServer.SordZ @sordZ)
 {
     this.objIdValue             = @objId;
     this.userIdValue            = @userId;
     this.createDateIsoValue     = @createDateIso;
     this.actionTypesValue       = @actionTypes;
     this.findNotificationsValue = @findNotifications;
     this.findHashTagsValue      = @findHashTags;
     this.findSubscriptionsValue = @findSubscriptions;
     this.sordZValue             = @sordZ;
 }
コード例 #6
0
 public virtual void onBeforeFindSordsInternalSQL(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindInfoAsInternalSQL findSql)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #7
0
        public virtual void onFindSordsResult(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindResult findResult, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onFindSordsResult(ec, findInfo, sordZ, findResult);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #8
0
 public FindSubscriptionInfo(EloixClient.IndexServer.SordZ @sordZ, EloixClient.IndexServer.feed.FeedZ @feedZ, String @userId)
 {
     this.sordZValue  = @sordZ;
     this.feedZValue  = @feedZ;
     this.userIdValue = @userId;
 }
コード例 #9
0
 public virtual void onAfterCheckinReminder(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Reminder[] remiArray, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #10
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();
        }
コード例 #11
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);
        }
コード例 #12
0
        public virtual void onFindSordsResult(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindResult findResult, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onFindSordsResult req = new BRequest_IXServerEvents_onFindSordsResult();

            req.ecValue         = ec;
            req.findInfoValue   = findInfo;
            req.sordZValue      = sordZ;
            req.findResultValue = findResult;
            transport.sendMethod(req, asyncResult);
        }
コード例 #13
0
        public virtual void onFindSordsResult(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindResult findResult)
        {
            BSyncResult <Object> asyncResult = new BSyncResult <Object>();

            onFindSordsResult(ec, findInfo, sordZ, findResult, BAsyncResultHelper.ToDelegate <Object>(asyncResult));
            asyncResult.GetResult();
        }
コード例 #14
0
        public virtual void onBeforeFindSordsInternalSQL(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindInfoAsInternalSQL findSql, BAsyncResult <Object> asyncResult)
        {
            BRequest_IXServerEvents_onBeforeFindSordsInternalSQL req = new BRequest_IXServerEvents_onBeforeFindSordsInternalSQL();

            req.ecValue       = ec;
            req.findInfoValue = findInfo;
            req.sordZValue    = sordZ;
            req.findSqlValue  = findSql;
            transport.sendMethod(req, asyncResult);
        }
コード例 #15
0
 public virtual bool onCheckSordAccess(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, int lur, EloixClient.IndexServer.CheckAccessOptions opts)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #16
0
        public virtual void onAfterCheckinReminder(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Reminder[] remiArray, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onAfterCheckinReminder(ec, remiArray, sord, sordZ, unlockZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #17
0
        public virtual void onCheckSordAccess(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, int lur, EloixClient.IndexServer.CheckAccessOptions opts, BAsyncResult <bool> asyncResult)
        {
            bool      __byps__ret = default(bool);
            Exception __byps__ex  = null;

            try {
                __byps__ret = onCheckSordAccess(ec, sord, sordZ, lur, opts);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #18
0
 public virtual void onAfterStartWorkFlow(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #19
0
 public virtual void onFindSordsResult(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.FindInfo findInfo, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.FindResult findResult)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #20
0
        public virtual void onAfterStartWorkFlow(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.WFDiagram workflow, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onAfterStartWorkFlow(ec, workflow, sord, sordZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #21
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, "");
 }
コード例 #22
0
 public virtual void onAfterCheckinActivity(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Activity act, bool isNew, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ)
 {
     throw new BException(BExceptionC.UNSUPPORTED_METHOD, "");
 }
コード例 #23
0
 public FindTasksInfo(String @endDateIso, int @highestPriority, bool @inclActivities, bool @inclDeputy, bool @inclGroup, bool @inclReminders, bool @inclWorkflows, int @lowestPriority, String @objId, EloixClient.IndexServer.UserTaskSortOrderZ @sortOrder, String @startDateIso, bool @overTimeLimit, bool @inclOverTimeForSuperior, String[] @userIds, bool @inclDeleted, bool @allUsers, EloixClient.IndexServer.SordZ @sordZ, String @taskName, bool @updateInUseDate, IList <String> @inclActivityTypes, bool @inclHidden, int @timeLimitBias)
 {
     this.endDateIsoValue              = @endDateIso;
     this.highestPriorityValue         = @highestPriority;
     this.inclActivitiesValue          = @inclActivities;
     this.inclDeputyValue              = @inclDeputy;
     this.inclGroupValue               = @inclGroup;
     this.inclRemindersValue           = @inclReminders;
     this.inclWorkflowsValue           = @inclWorkflows;
     this.lowestPriorityValue          = @lowestPriority;
     this.objIdValue                   = @objId;
     this.sortOrderValue               = @sortOrder;
     this.startDateIsoValue            = @startDateIso;
     this.overTimeLimitValue           = @overTimeLimit;
     this.inclOverTimeForSuperiorValue = @inclOverTimeForSuperior;
     this.userIdsValue                 = @userIds;
     this.inclDeletedValue             = @inclDeleted;
     this.allUsersValue                = @allUsers;
     this.sordZValue                   = @sordZ;
     this.taskNameValue                = @taskName;
     this.updateInUseDateValue         = @updateInUseDate;
     this.inclActivityTypesValue       = @inclActivityTypes;
     this.inclHiddenValue              = @inclHidden;
     this.timeLimitBiasValue           = @timeLimitBias;
 }
コード例 #24
0
        public virtual void onAfterCheckinActivity(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Activity act, bool isNew, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, EloixClient.IndexServer.LockZ unlockZ, BAsyncResult <Object> asyncResult)
        {
            Object    __byps__ret = default(Object);
            Exception __byps__ex  = null;

            try {
                onAfterCheckinActivity(ec, act, isNew, sord, sordZ, unlockZ);
            }
            catch (Exception e) { __byps__ex = e; }
            asyncResult(__byps__ret, __byps__ex);
        }
コード例 #25
0
 public FindNotificationInfo(String @userGuidOrID, int @what, String @createDateIso, bool @inclImportant, EloixClient.IndexServer.SordZ @sordZ, EloixClient.IndexServer.feed.ActionZ @actionZ, bool @findFeeds, bool @findHashTags, bool @findSubscriptions)
 {
     this.userGuidOrIDValue      = @userGuidOrID;
     this.whatValue              = @what;
     this.createDateIsoValue     = @createDateIso;
     this.inclImportantValue     = @inclImportant;
     this.sordZValue             = @sordZ;
     this.actionZValue           = @actionZ;
     this.findFeedsValue         = @findFeeds;
     this.findHashTagsValue      = @findHashTags;
     this.findSubscriptionsValue = @findSubscriptions;
 }
コード例 #26
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, "");
 }
コード例 #27
0
 public FindHashTagInfo(String @hashtagGuidOrName, String @createDateIso, String @lastUsedIso, int @minCount, EloixClient.IndexServer.feed.ActionZ @actionZ, EloixClient.IndexServer.SordZ @sordZ, bool @findFeeds, bool @findHashTags, bool @findSubscriptions)
 {
     this.hashtagGuidOrNameValue = @hashtagGuidOrName;
     this.createDateIsoValue     = @createDateIso;
     this.lastUsedIsoValue       = @lastUsedIso;
     this.minCountValue          = @minCount;
     this.actionZValue           = @actionZ;
     this.sordZValue             = @sordZ;
     this.findFeedsValue         = @findFeeds;
     this.findHashTagsValue      = @findHashTags;
     this.findSubscriptionsValue = @findSubscriptions;
 }
コード例 #28
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);
        }
コード例 #29
0
ファイル: FindWorkflowInfo.cs プロジェクト: ThomasEcherer/elo
 public FindWorkflowInfo(String[] @userIds, String @name, EloixClient.IndexServer.WFTypeZ @type, bool @overTimeLimit, String @objId, String @startDateIso, String @completionDateIso, String @templateId, bool @inclDeleted, String[] @ownerIds, String[] @activeUserIds, bool @inclHidden, EloixClient.IndexServer.SordZ @sordZ, bool @excludeUserGroups)
 {
     this.userIdsValue           = @userIds;
     this.nameValue              = @name;
     this.typeValue              = @type;
     this.overTimeLimitValue     = @overTimeLimit;
     this.objIdValue             = @objId;
     this.startDateIsoValue      = @startDateIso;
     this.completionDateIsoValue = @completionDateIso;
     this.templateIdValue        = @templateId;
     this.inclDeletedValue       = @inclDeleted;
     this.ownerIdsValue          = @ownerIds;
     this.activeUserIdsValue     = @activeUserIds;
     this.inclHiddenValue        = @inclHidden;
     this.sordZValue             = @sordZ;
     this.excludeUserGroupsValue = @excludeUserGroups;
 }
コード例 #30
0
        public virtual void onCheckSordAccess(EloixClient.IndexServer.IXServerEventsContext ec, EloixClient.IndexServer.Sord sord, EloixClient.IndexServer.SordZ sordZ, int lur, EloixClient.IndexServer.CheckAccessOptions opts, BAsyncResult <bool> asyncResult)
        {
            BRequest_IXServerEvents_onCheckSordAccess req = new BRequest_IXServerEvents_onCheckSordAccess();

            req.ecValue    = ec;
            req.sordValue  = sord;
            req.sordZValue = sordZ;
            req.lurValue   = lur;
            req.optsValue  = opts;
            transport.sendMethod(req, asyncResult);
        }