com.soebes.subversion.sapm
Class Access
java.lang.Object
com.soebes.subversion.sapm.Access
public class Access
- extends Object
This represents the access level
plus the user/group for which
this permission should be defined.
- Author:
- Karl Heinz Marbaise
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
principal
private IPrincipal principal
level
private AccessLevel level
negativeRule
private boolean negativeRule
Access
public Access()
Access
public Access(IPrincipal principal,
AccessLevel level)
- Create a new instance with the given parameters.
- Parameters:
principal
- Either a User
or a Group
.level
- The level for the access.
Access
public Access(IPrincipal principal,
AccessLevel level,
boolean negativeRule)
getPrincipal
public IPrincipal getPrincipal()
setPrincipal
public void setPrincipal(IPrincipal principal)
getLevel
public AccessLevel getLevel()
setLevel
public void setLevel(AccessLevel level)
setNegativeRule
public void setNegativeRule(boolean negativeRule)
isNegativeRule
public boolean isNegativeRule()
Copyright © 2010-2011 SoftwareEntwicklung Beratung Schulung. All Rights Reserved.