org.alfresco.repo.security.authority
Class AuthorityServiceImpl.UserAuthoritySet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
org.alfresco.repo.security.authority.AuthorityServiceImpl.UserAuthoritySet
- All Implemented Interfaces:
- java.lang.Iterable, java.util.Collection, java.util.Set
- Enclosing class:
- AuthorityServiceImpl
public final class AuthorityServiceImpl.UserAuthoritySet
- extends java.util.AbstractSet
Lazy load set of authorities. Try not to iterate or ask for the size. Needed for the case where there
is a large number of sites/groups.
Methods inherited from class java.util.AbstractSet |
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, isEmpty, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, isEmpty, toArray, toArray |
AuthorityServiceImpl.UserAuthoritySet
public AuthorityServiceImpl.UserAuthoritySet(java.lang.String username)
- Parameters:
username
- auths
-
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAll
in interface java.util.Collection
- Specified by:
removeAll
in interface java.util.Set
- Overrides:
removeAll
in class java.util.AbstractSet
add
public boolean add(java.lang.String e)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.Set
- Overrides:
add
in class java.util.AbstractCollection
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection
- Specified by:
clear
in interface java.util.Set
- Overrides:
clear
in class java.util.AbstractCollection
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection
- Specified by:
contains
in interface java.util.Set
- Overrides:
contains
in class java.util.AbstractCollection
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.Set
- Overrides:
remove
in class java.util.AbstractCollection
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.Set
- Overrides:
retainAll
in class java.util.AbstractCollection
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.lang.Iterable
- Specified by:
iterator
in interface java.util.Collection
- Specified by:
iterator
in interface java.util.Set
- Specified by:
iterator
in class java.util.AbstractCollection
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.Set
- Specified by:
size
in class java.util.AbstractCollection
getUsername
public java.lang.Object getUsername()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.