1 16 package org.apache.cocoon.components.source.helpers; 17 18 24 public interface SourcePermission { 25 26 public final static String PRIVILEGE_ALL = "all"; 27 public final static String PRIVILEGE_READ = "read"; 28 public final static String PRIVILEGE_WRITE = "write"; 29 30 public final static String PRIVILEGE_READ_ACL = "read-acl"; 31 public final static String PRIVILEGE_WRITE_ACL = "write-acl"; 32 33 public final static String PRIVILEGE_READ_SOURCE = "read-source"; 34 public final static String PRIVILEGE_CREATE_SOURCE = "create-source"; 35 public final static String PRIVILEGE_REMOVE_SOURCE = "remove-source"; 36 37 public final static String PRIVILEGE_LOCK_SOURCE = "lock-source"; 38 public final static String PRIVILEGE_READ_LOCKS = "read-locks"; 39 40 public final static String PRIVILEGE_READ_PROPERTY = "read-property"; 41 public final static String PRIVILEGE_CREATE_PROPERTY = "create-property"; 42 public final static String PRIVILEGE_MODIFY_PROPERTY = "modify-property"; 43 public final static String PRIVILEGE_REMOVE_PROPERTY = "remove-property"; 44 45 public final static String PRIVILEGE_READ_CONTENT = "read-content"; 46 public final static String PRIVILEGE_CREATE_CONTENT = "create-content"; 47 public final static String PRIVILEGE_MODIFY_CONTENT = "modify-content"; 48 public final static String PRIVILEGE_REMOVE_CONTENT = "remove-content"; 49 50 public final static String PRIVILEGE_GRANT_PERMISSION = "grant-permission"; 51 public final static String PRIVILEGE_REVOKE_PERMISSION = "revoke-permission"; 52 53 58 public void setPrivilege(String privilege); 59 60 65 public String getPrivilege(); 66 67 72 public void setInheritable(boolean inheritable); 73 74 79 public boolean isInheritable(); 80 81 86 public void setNegative(boolean negative); 87 88 93 public boolean isNegative(); 94 } 95 | Popular Tags |