public virtual bool IsAllowedRemove(Net.Vpc.Upa.Entity entity, object id) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedRemove(entity, id, null)); } return(IsAllowedKey(entity, "Delete")); }
public virtual bool IsAllowedClone(Net.Vpc.Upa.Entity entity, object instance, object newId) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedClone(entity, instance, newId)); } return(IsAllowedKey(entity, "Clone")); }
public virtual bool IsAllowedUpdate(Net.Vpc.Upa.Entity entity, object id, object @value) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedUpdate(entity, id, @value)); } return(IsAllowedKey(entity, "Update")); }
public virtual bool IsAllowedPersist(Net.Vpc.Upa.Entity entity, object @object) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedPersist(entity, @object)); } return(IsAllowedKey(entity, "Persist")); }
/** * * @param entity * @return * @throws UPAException */ public virtual Net.Vpc.Upa.Expressions.Expression GetEntityFilter(Net.Vpc.Upa.Entity entity) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.GetEntityFilter(entity)); } return(null); }
public virtual bool IsAllowedNavigate(Net.Vpc.Upa.Entity entity, string navigationMode) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedNavigate(entity, navigationMode)); } return(IsAllowedKey(entity, "Navigate")); }
public virtual bool IsAllowedLoad(Net.Vpc.Upa.Entity entity) /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.EntitySecurityManager s = entity.GetEntitySecurityManager(); if (s != null) { return(s.IsAllowedLoad(entity)); } return(IsAllowedKey(entity, "Load")); }