Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 31 32 package org.opencms.security; 33 34 import org.opencms.util.CmsUUID; 35 36 import java.security.Principal ; 37 38 49 public interface I_CmsPrincipal extends Principal { 50 51 52 int FLAG_CORE_LIMIT = 65536; 54 55 int FLAG_DISABLED = 1; 56 57 58 int FLAG_ENABLED = 0; 59 60 61 int FLAG_GROUP_PROJECT_MANAGER = 2; 62 63 64 int FLAG_GROUP_PROJECT_USER = 4; 65 66 67 int FLAG_GROUP_WORKFLOW_ROLE = 8; 68 69 70 String PRINCIPAL_GROUP = "GROUP"; 71 72 73 String PRINCIPAL_USER = "USER"; 74 75 81 void checkName(String name); 82 83 89 boolean equals(Object obj); 90 91 96 String getDescription(); 97 98 108 int getFlags(); 109 110 115 CmsUUID getId(); 116 117 122 String getName(); 123 124 132 String getPrefixedName(); 133 134 139 int hashCode(); 140 141 150 boolean isEnabled(); 151 152 157 boolean isGroup(); 158 159 164 boolean isUser(); 165 166 171 void setDescription(String description); 172 173 178 void setEnabled(boolean enabled); 179 180 190 void setFlags(int value); 191 192 197 void setName(String name); 198 }
| Popular Tags
|