com.xebialabs.deployit.ci.security
Class AccessControlEntry

java.lang.Object
  extended by com.xebialabs.deployit.ci.security.AccessControlEntry
All Implemented Interfaces:
java.io.Serializable

public class AccessControlEntry
extends java.lang.Object
implements java.io.Serializable

An access control entry on a PermissionScheme.

See Also:
Serialized Form

Constructor Summary
AccessControlEntry()
           
AccessControlEntry(java.lang.String groupName, boolean view, boolean modify, boolean redeploy, boolean addtogroup, boolean canGenerateReports, boolean canViewServerLogs)
           
 
Method Summary
static AccessControlEntry getAllPermissions(java.lang.String groupName)
           
 java.lang.String getGroupName()
           
static AccessControlEntry getNoPermissions(java.lang.String groupName)
           
 boolean isCanGenerateReports()
           
 boolean isCanModify()
           
 boolean isCanRedeploy()
           
 boolean isCanView()
           
 boolean isCanViewServerLogs()
           
 void merge(AccessControlEntry aclEntryToMerge)
           
 void setCanGenerateReports(boolean canGenerateReports)
           
 void setCanModify(boolean canModify)
           
 void setCanRedeploy(boolean canRedeploy)
           
 void setCanView(boolean canView)
           
 void setCanViewServerLogs(boolean canViewServerLogs)
           
 void setGroupName(java.lang.String groupName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessControlEntry

public AccessControlEntry()

AccessControlEntry

public AccessControlEntry(java.lang.String groupName,
                          boolean view,
                          boolean modify,
                          boolean redeploy,
                          boolean addtogroup,
                          boolean canGenerateReports,
                          boolean canViewServerLogs)
Method Detail

getNoPermissions

public static AccessControlEntry getNoPermissions(java.lang.String groupName)

getAllPermissions

public static AccessControlEntry getAllPermissions(java.lang.String groupName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

merge

public void merge(AccessControlEntry aclEntryToMerge)

getGroupName

public java.lang.String getGroupName()

setGroupName

public void setGroupName(java.lang.String groupName)

isCanView

public boolean isCanView()

setCanView

public void setCanView(boolean canView)

isCanModify

public boolean isCanModify()

setCanModify

public void setCanModify(boolean canModify)

isCanRedeploy

public boolean isCanRedeploy()

setCanRedeploy

public void setCanRedeploy(boolean canRedeploy)

isCanGenerateReports

public boolean isCanGenerateReports()

setCanGenerateReports

public void setCanGenerateReports(boolean canGenerateReports)

isCanViewServerLogs

public boolean isCanViewServerLogs()

setCanViewServerLogs

public void setCanViewServerLogs(boolean canViewServerLogs)


Copyright © 2010. All Rights Reserved.