Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.security.impl
Class UserEntryImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.api.security.impl.UserEntryImpl
All Implemented Interfaces:
Serializable, UserEntry

public class UserEntryImpl
extends Object
implements UserEntry

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
UserEntryImpl(String username)
           
 
Method Summary
 void addPrivilege(String permission, boolean granted, boolean readOnly)
           
 UserAccess getAccess(String permission)
           
 String[] getPermissions()
           
 String getUserName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserEntryImpl

public UserEntryImpl(String username)
Method Detail

addPrivilege

public void addPrivilege(String permission,
                         boolean granted,
                         boolean readOnly)
Specified by:
addPrivilege in interface UserEntry

getUserName

public String getUserName()
Specified by:
getUserName in interface UserEntry

getPermissions

public String[] getPermissions()
Specified by:
getPermissions in interface UserEntry

getAccess

public UserAccess getAccess(String permission)
Specified by:
getAccess in interface UserEntry

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.