Ejemplo n.º 1
0
 protected internal virtual void CheckVeto(Net.Vpc.Upa.VetoableOperation operation, params object [] @params) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     foreach (Net.Vpc.Upa.EntityShieldVeto v in GetVetoList(operation))
     {
         v.CheckVeto(operation, entity, @params);
     }
 }
Ejemplo n.º 2
0
 public virtual void RemoveVeto(Net.Vpc.Upa.VetoableOperation operation, Net.Vpc.Upa.EntityShieldVeto veto)
 {
     System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> vetoList = GetVetoList(operation, false);
     if (vetoList != null)
     {
         vetoList.Remove(veto);
     }
 }
Ejemplo n.º 3
0
 protected internal virtual bool IsNoVeto(Net.Vpc.Upa.VetoableOperation operation, params object [] @params) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     foreach (Net.Vpc.Upa.EntityShieldVeto v in GetVetoList(operation))
     {
         try {
             v.CheckVeto(operation, entity, @params);
         } catch (Net.Vpc.Upa.Exceptions.VetoException e) {
             return(false);
         }
     }
     return(true);
 }
Ejemplo n.º 4
0
 protected internal virtual System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> GetVetoList(Net.Vpc.Upa.VetoableOperation operation, bool create)
 {
     System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> entityShieldVetos = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <Net.Vpc.Upa.VetoableOperation, System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> >(vetoMap, operation);
     if (entityShieldVetos == null && create)
     {
         entityShieldVetos  = new System.Collections.Generic.List <Net.Vpc.Upa.EntityShieldVeto>();
         vetoMap[operation] = entityShieldVetos;
     }
     return(entityShieldVetos);
 }
Ejemplo n.º 5
0
 public virtual System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> GetVetoList(Net.Vpc.Upa.VetoableOperation operation)
 {
     System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> vetoList = GetVetoList(operation, false);
     if (vetoList == null)
     {
         return(Net.Vpc.Upa.Impl.Util.PlatformUtils.EmptyList <T>());
     }
     return(new System.Collections.Generic.List <Net.Vpc.Upa.EntityShieldVeto>(vetoList));
 }
Ejemplo n.º 6
0
 public virtual void AddVeto(Net.Vpc.Upa.VetoableOperation operation, Net.Vpc.Upa.EntityShieldVeto veto)
 {
     GetVetoList(operation, true).Add(veto);
 }
Ejemplo n.º 7
0
 public virtual System.Collections.Generic.IList <Net.Vpc.Upa.EntityShieldVeto> GetVetoList(Net.Vpc.Upa.VetoableOperation operation) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     return(@base.GetVetoList(operation));
 }
Ejemplo n.º 8
0
 public virtual void RemoveVeto(Net.Vpc.Upa.VetoableOperation operation, Net.Vpc.Upa.EntityShieldVeto veto) /* throws Net.Vpc.Upa.Exceptions.UPAException */
 {
     @base.RemoveVeto(operation, veto);
 }