public override bool AcceptUpdateTableOlderValuesHelper(Net.Vpc.Upa.Callbacks.UpdateEvent @event) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     if (relationFilter == null)
     {
         relationFilter = Net.Vpc.Upa.Filters.Fields.Regular().And(Net.Vpc.Upa.Filters.Fields.ByList(relation.GetSourceRole().GetFields()));
     }
     Net.Vpc.Upa.Entity entityManager = @event.GetEntity();
     foreach (string updatedField in @event.GetUpdatesRecord().KeySet())
     {
         if (relationFilter.Accept(entityManager.GetField(updatedField)))
         {
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 2
0
 public override bool AcceptUpdateTableHelper(Net.Vpc.Upa.Callbacks.UpdateEvent @event) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     Net.Vpc.Upa.Filters.FieldFilter conditionFields = entityDetailFormulaUpdaterInterceptor.GetConditionFields();
     if (conditionFields == null)
     {
         return(true);
     }
     Net.Vpc.Upa.Entity entityManager = @event.GetEntity();
     foreach (string updatedField in @event.GetUpdatesRecord().KeySet())
     {
         if (conditionFields.Accept(entityManager.GetField(updatedField)))
         {
             return(true);
         }
     }
     return(false);
 }
 public override bool AcceptUpdateTableHelper(Net.Vpc.Upa.Callbacks.UpdateEvent @event) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     Net.Vpc.Upa.Filters.FieldFilter conditionFields = entityTargetFormulaUpdaterInterceptor.GetConditionFields();
     if (conditionFields == null)
     {
         return(true);
     }
     if (relationFilter == null)
     {
         relationFilter = Net.Vpc.Upa.Filters.Fields.Regular().And(Net.Vpc.Upa.Filters.Fields.ByList(relation.GetSourceRole().GetFields()));
     }
     Net.Vpc.Upa.Filters.FieldFilter actualFilter = Net.Vpc.Upa.Filters.Fields.As(conditionFields).Or(relationFilter);
     Net.Vpc.Upa.Entity entityManager             = @event.GetEntity();
     foreach (string updatedField in @event.GetUpdatesRecord().KeySet())
     {
         if (actualFilter.Accept(entityManager.GetField(updatedField)))
         {
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 4
0
 public override bool Accept(Net.Vpc.Upa.Field field)
 {
     return([email protected](field));
 }
Ejemplo n.º 5
0
 public override bool Accept(Net.Vpc.Upa.Field f) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     return(@base.Accept(f));
 }
Ejemplo n.º 6
0
 public override bool Accept(Net.Vpc.Upa.Field f)
 {
     return(@base.Accept(f));
 }
Ejemplo n.º 7
0
 public virtual bool Is(Net.Vpc.Upa.Filters.FieldFilter ff) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     return(ff.Accept(this));
 }
Ejemplo n.º 8
0
 public override bool Accept(Net.Vpc.Upa.Field f)
 {
     return((f is Net.Vpc.Upa.PrimitiveField) && (@base == null || @base.Accept(f)));
 }