com.atlassian.jira.security
Class JiraPermission

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

public class JiraPermission
extends java.lang.Object

Immutable class to represent a permission


Field Summary
(package private)  java.lang.String group
           
(package private)  org.apache.log4j.Category log
           
(package private)  java.lang.String permType
           
(package private)  java.lang.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, java.lang.String group, java.lang.String permType)
           
JiraPermission(int type, java.lang.Long scheme, java.lang.String group, java.lang.String permType)
           
JiraPermission(int type, java.lang.String group, java.lang.String permType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getGroup()
           
 java.lang.String getPermType()
           
 java.lang.Long getScheme()
           
 int getType()
           
 int hashCode()
           
 void setPermType(java.lang.String permType)
           
 java.lang.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

java.lang.Long scheme

permType

java.lang.String permType

group

java.lang.String group
Constructor Detail

JiraPermission

public JiraPermission(int type)

JiraPermission

public JiraPermission(int type,
                      java.lang.String group,
                      java.lang.String permType)

JiraPermission

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

JiraPermission

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

JiraPermission

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

getType

public int getType()

getScheme

public java.lang.Long getScheme()

getGroup

public java.lang.String getGroup()

getPermType

public java.lang.String getPermType()

setPermType

public void setPermType(java.lang.String permType)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()


Copyright © 2002-2005 Atlassian. All Rights Reserved.