public class

BucketPropertySet

extends AbstractPropertySet
implements Serializable
java.lang.Object
   ↳ com.opensymphony.module.propertyset.AbstractPropertySet
     ↳ bucket.user.propertyset.BucketPropertySet

Summary

[Expand]
Inherited Constants
From interface com.opensymphony.module.propertyset.PropertySet
Fields
protected static Log log
[Expand]
Inherited Fields
From class com.opensymphony.module.propertyset.AbstractPropertySet
Public Constructors
BucketPropertySet()
Public Methods
boolean exists(String key)
BucketPropertySetItem getByKey(String key)
Collection getKeys(String prefix, int type)
int getType(String key)
void init(Map config, Map args)
void remove()
This method is BAD and shouldn't be used really.
void remove(String key)
boolean supportsType(int type)
Protected Methods
Object get(int type, String key)
void setImpl(int type, String key, Object value)
[Expand]
Inherited Methods
From class com.opensymphony.module.propertyset.AbstractPropertySet
From class java.lang.Object
From interface com.opensymphony.module.propertyset.PropertySet

Fields

protected static Log log

Public Constructors

public BucketPropertySet ()

Public Methods

public boolean exists (String key)

Throws
PropertyException

public BucketPropertySetItem getByKey (String key)

Throws
PropertyException

public Collection getKeys (String prefix, int type)

Throws
PropertyException

public int getType (String key)

Throws
PropertyException

public void init (Map config, Map args)

public void remove ()

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
PropertyException

public void remove (String key)

Throws
PropertyException

public boolean supportsType (int type)

Protected Methods

protected Object get (int type, String key)

Throws
PropertyException

protected void setImpl (int type, String key, Object value)

Throws
PropertyException