com.soebes.subversion.sapm
Interface IPrincipal
- All Known Implementing Classes:
- Alias, Group, User, UserAnonymous, UserAsterik, UserAuthenticated
public interface IPrincipal
This represents either a User
, a Group
or an
Alias
.
- Author:
- Karl Heinz Marbaise
Method Summary |
boolean |
contains(String name)
Will check to see if the given name is contained
in the group if the instance represents a Group
or if the given name is the same if the instance
represents a single User . |
String |
getName()
|
void |
setName(String name)
|
getName
String getName()
setName
void setName(String name)
contains
boolean contains(String name)
- Will check to see if the given name is contained
in the group if the instance represents a
Group
or if the given name is the same if the instance
represents a single User
.
- Parameters:
name
- The name we check for.
- Returns:
- true if the name is the same or contained false otherwise.
Copyright © 2010-2011 SoftwareEntwicklung Beratung Schulung. All Rights Reserved.