com.atlassian.jira.security
Class JiraPermission

java.lang.Object
  extended bycom.atlassian.jira.security.JiraPermission

public class JiraPermission
extends Object

Immutable class to represent a permission


Field Summary
(package private)  String group
           
(package private)  org.apache.log4j.Category log
           
(package private)  String permType
           
(package private)  Long scheme
           
(package private)  int type
           
 
Constructor Summary
JiraPermission(org.ofbiz.core.entity.GenericValue permission)
           
JiraPermission(int type)
           
JiraPermission(int type, org.ofbiz.core.entity.GenericValue scheme, String group, String permType)
           
JiraPermission(int type, Long scheme, String group, String permType)
           
JiraPermission(int type, String group, String permType)
           
 
Method Summary
 boolean equals(Object o)
           
 String getGroup()
           
 String getPermType()
           
 Long getScheme()
           
 int getType()
           
 int hashCode()
           
 void setPermType(String permType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

org.apache.log4j.Category log

type

int type

scheme

Long scheme

permType

String permType

group

String group
Constructor Detail

JiraPermission

public JiraPermission(int type)

JiraPermission

public JiraPermission(int type,
                      String group,
                      String permType)

JiraPermission

public JiraPermission(org.ofbiz.core.entity.GenericValue permission)

JiraPermission

public JiraPermission(int type,
                      Long scheme,
                      String group,
                      String permType)

JiraPermission

public JiraPermission(int type,
                      org.ofbiz.core.entity.GenericValue scheme,
                      String group,
                      String permType)
Method Detail

getType

public int getType()

getScheme

public Long getScheme()

getGroup

public String getGroup()

getPermType

public String getPermType()

setPermType

public void setPermType(String permType)

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2002-2007 Atlassian. All Rights Reserved.