1 17 package org.alfresco.repo.security.permissions.impl; 18 19 import java.io.Serializable ; 20 import java.util.Set ; 21 22 import org.alfresco.repo.security.permissions.PermissionEntry; 23 import org.alfresco.service.cmr.repository.NodeRef; 24 25 30 public final class SimpleNodePermissionEntry extends AbstractNodePermissionEntry implements Serializable 31 { 32 35 private static final long serialVersionUID = 8157870444595023347L; 36 37 40 private NodeRef nodeRef; 41 42 45 private boolean inheritPermissions; 46 47 50 private Set <? extends PermissionEntry> permissionEntries; 51 52 53 public SimpleNodePermissionEntry(NodeRef nodeRef, boolean inheritPermissions, Set <? extends PermissionEntry> permissionEntries) 54 { 55 super(); 56 this.nodeRef = nodeRef; 57 this.inheritPermissions = inheritPermissions; 58 this.permissionEntries = permissionEntries; 59 } 60 61 public NodeRef getNodeRef() 62 { 63 return nodeRef; 64 } 65 66 public boolean inheritPermissions() 67 { 68 return inheritPermissions; 69 } 70 71 public Set <? extends PermissionEntry> getPermissionEntries() 72 { 73 return permissionEntries; 74 } 75 76 } 77 | Popular Tags |