1 17 package org.alfresco.service.cmr.security; 18 19 import java.io.Serializable ; 20 import java.util.Map ; 21 import java.util.Set ; 22 23 import org.alfresco.service.cmr.repository.NodeRef; 24 import org.alfresco.service.namespace.QName; 25 26 38 public interface PersonService 39 { 40 52 public NodeRef getPerson(String userName); 53 54 60 public boolean personExists(String userName); 61 62 68 public boolean createMissingPeople(); 69 70 77 public void setCreateMissingPeople(boolean createMissing); 78 79 87 public Set <QName> getMutableProperties(); 88 89 96 public void setPersonProperties(String userName, Map <QName, Serializable > properties); 97 98 103 public boolean isMutable(); 104 105 113 public NodeRef createPerson(Map <QName, Serializable > properties); 114 115 120 public void deletePerson(String userName); 121 122 127 public Set <NodeRef> getAllPeople(); 128 129 134 public NodeRef getPeopleContainer(); 135 136 141 public boolean getUserNamesAreCaseSensitive(); 142 } 143 | Popular Tags |