package net.sourceforge.fenixedu.util; import java.util.Collection; import net.sourceforge.fenixedu.domain.Person; import net.sourceforge.fenixedu.domain.Role; import net.sourceforge.fenixedu.domain.person.RoleType; import com.linkare.commons.metainfo.Linkare; /** * * @author Paulo Zenida - Linkare TI * */ @Linkare(author = "Paulo Zenida") public interface IUsernameUtils { public boolean shouldHaveUID(Person person); public String updateInstitutionalUsername(Person person); public String generateNewUsername(RoleType roleType, Person person); public Role getMostImportantRole(Collection roles); }