Class BucketPropertySet

java.lang.Object
com.opensymphony.module.propertyset.AbstractPropertySet
bucket.user.propertyset.BucketPropertySet
All Implemented Interfaces:
com.opensymphony.module.propertyset.PropertySet, Serializable

@Deprecated(forRemoval=true) public class BucketPropertySet extends com.opensymphony.module.propertyset.AbstractPropertySet implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.1, for removal in 11.0, no replacement.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.apache.commons.logging.Log
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected Object
    get(int type, String key)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getKeys(String prefix, int type)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    init(Map config, Map args)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method is BAD and shouldn't be used really.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    setImpl(int type, String key, Object value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setText(String key, String value)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    supportsType(int type)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet

    getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getKeys, getKeys, getLong, getObject, getProperties, getSchema, getString, getXML, isSettable, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setXML, supportsTypes, toString, type, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • log

      protected static final org.apache.commons.logging.Log log
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • BucketPropertySet

      public BucketPropertySet()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getKeys

      public Collection getKeys(String prefix, int type) throws com.opensymphony.module.propertyset.PropertyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • init

      public void init(Map config, Map args)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      init in interface com.opensymphony.module.propertyset.PropertySet
      Overrides:
      init in class com.opensymphony.module.propertyset.AbstractPropertySet
    • remove

      public void remove(String key) throws com.opensymphony.module.propertyset.PropertyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • remove

      public void remove() throws com.opensymphony.module.propertyset.PropertyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method is BAD and shouldn't be used really. Try to avoid using it at all costs.

      It is non transactional removal (if called without a transaction) and potentially other keys could be added while trying to remove all keys.

      It also executes LOTS of SQL instead of a single remove query (which would be neater).

      Throws:
      com.opensymphony.module.propertyset.PropertyException
    • supportsType

      public boolean supportsType(int type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      supportsType in interface com.opensymphony.module.propertyset.PropertySet
      Overrides:
      supportsType in class com.opensymphony.module.propertyset.AbstractPropertySet
    • setImpl

      protected void setImpl(int type, String key, Object value) throws com.opensymphony.module.propertyset.PropertyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setImpl 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
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      get in class com.opensymphony.module.propertyset.AbstractPropertySet
      Throws:
      com.opensymphony.module.propertyset.PropertyException
    • setText

      public void setText(String key, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setText in interface com.opensymphony.module.propertyset.PropertySet
      Overrides:
      setText in class com.opensymphony.module.propertyset.AbstractPropertySet
    • getText

      public String getText(String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getText in interface com.opensymphony.module.propertyset.PropertySet
      Overrides:
      getText in class com.opensymphony.module.propertyset.AbstractPropertySet
    • getByKey

      public BucketPropertySetItem getByKey(String key) throws com.opensymphony.module.propertyset.PropertyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      com.opensymphony.module.propertyset.PropertyException