com.atlassian.confluence.user.providers.jira
Class JiraJdbcPropertySet

java.lang.Object
  extended by com.opensymphony.module.propertyset.AbstractPropertySet
      extended by com.atlassian.confluence.user.providers.jira.JiraJdbcPropertySet
All Implemented Interfaces:
com.opensymphony.module.propertyset.PropertySet

public class JiraJdbcPropertySet
extends com.opensymphony.module.propertyset.AbstractPropertySet

Responsible for reading the propertyset associated with an external JIRA user. Because this propertyset is read-only (as the user itself is), we do not have write access. All attempts to write to this propertyset should just be ignored. Confluence prevents users from attempting this using the "external user management" setting that disables typical user management links that could invoke these write methods


Field Summary
 
Fields inherited from class com.opensymphony.module.propertyset.AbstractPropertySet
schema
 
Fields inherited from interface com.opensymphony.module.propertyset.PropertySet
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML
 
Constructor Summary
JiraJdbcPropertySet()
           
 
Method Summary
 boolean exists(String key)
           
protected  Object get(int type, String key)
           
 Collection getKeys(String prefix, int type)
           
 int getType(String key)
           
 void init(Map config, Map args)
           
 void remove(String key)
           
protected  void setImpl(int type, String key, Object value)
           
 
Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet
getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getKeys, getKeys, getLong, getObject, getProperties, getSchema, getString, getText, getXML, isSettable, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setText, setXML, supportsType, supportsTypes, toString, type, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JiraJdbcPropertySet

public JiraJdbcPropertySet()
Method Detail

init

public void init(Map config,
                 Map args)
Specified by:
init in interface com.opensymphony.module.propertyset.PropertySet
Overrides:
init in class com.opensymphony.module.propertyset.AbstractPropertySet

getKeys

public Collection getKeys(String prefix,
                          int type)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getKeys in interface com.opensymphony.module.propertyset.PropertySet
Specified by:
getKeys in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getType

public int getType(String key)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getType in interface com.opensymphony.module.propertyset.PropertySet
Specified by:
getType in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

exists

public boolean exists(String key)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
exists in interface com.opensymphony.module.propertyset.PropertySet
Specified by:
exists in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

get

protected Object get(int type,
                     String key)
              throws com.opensymphony.module.propertyset.PropertyException
Specified by:
get in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

remove

public void remove(String key)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
remove in interface com.opensymphony.module.propertyset.PropertySet
Specified by:
remove in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setImpl

protected void setImpl(int type,
                       String key,
                       Object value)
                throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setImpl in class com.opensymphony.module.propertyset.AbstractPropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException


Copyright © 2003–2015 Atlassian. All rights reserved.