org.apache.cocoon.portal.tools.model
Class User
java.lang.Object
org.apache.cocoon.portal.tools.model.User
public class User
- extends Object
- Version:
- CVS $Id: User.java 433543 2006-08-22 06:22:54Z crossley $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User(String name,
String role)
User
public User(String name,
ArrayList roles)
User
public User(String name,
String[] roles)
getName
public String getName()
setName
public void setName(String name)
getRoles
public ArrayList getRoles()
hasRole
public boolean hasRole(String role)
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.