1 17 package org.alfresco.web.ui.repo.tag.evaluator; 18 19 import javax.faces.component.UIComponent; 20 21 import org.alfresco.web.ui.common.tag.evaluator.GenericEvaluatorTag; 22 23 26 public class PermissionEvaluatorTag extends GenericEvaluatorTag 27 { 28 31 public String getComponentType() 32 { 33 return "org.alfresco.faces.PermissionEvaluator"; 34 } 35 36 39 protected void setProperties(UIComponent component) 40 { 41 super.setProperties(component); 42 setStringProperty(component, "allow", this.allow); 43 setStringProperty(component, "deny", this.deny); 44 } 45 46 49 public void release() 50 { 51 super.release(); 52 this.allow = null; 53 this.deny = null; 54 } 55 56 61 public void setAllow(String allow) 62 { 63 this.allow = allow; 64 } 65 66 71 public void setDeny(String deny) 72 { 73 this.deny = deny; 74 } 75 76 77 78 private String allow; 79 80 81 private String deny; 82 } 83 | Popular Tags |