org.apache.cocoon.portal.tools.model
Class User

java.lang.Object
  extended by org.apache.cocoon.portal.tools.model.User

public class User
extends Object

Version:
CVS $Id: User.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
User(String name, ArrayList roles)
           
User(String name, String role)
           
User(String name, String[] roles)
           
 
Method Summary
 String getName()
           
 ArrayList getRoles()
           
 boolean hasRole(String role)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(String name,
            String role)

User

public User(String name,
            ArrayList roles)

User

public User(String name,
            String[] roles)
Method Detail

getName

public String getName()

setName

public void setName(String name)

getRoles

public ArrayList getRoles()

hasRole

public boolean hasRole(String role)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.