1 43 package net.jforum.security; 44 45 48 import java.util.ArrayList ; 49 import java.util.List ; 50 51 57 public class PermissionSection 58 { 59 private String sectionName; 60 private String sectionId; 61 private List permissionItens; 62 63 public PermissionSection(String sectionName, String sectionId) 64 { 65 this.sectionName = sectionName; 66 this.sectionId = sectionId; 67 this.permissionItens = new ArrayList (); 68 } 69 70 public void addPermission(PermissionItem item) 71 { 72 this.permissionItens.add(item); 73 } 74 75 public List getPermissions() 76 { 77 return this.permissionItens; 78 } 79 80 public String getSectionId() { 81 return this.sectionId; 82 } 83 84 public String getSectionName() { 85 return this.sectionName; 86 } 87 } 88 | Popular Tags |