|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicSpi public interface ObjectConfigurable
This interface should be implemented by any classes that are configured using an Object Configuration.
Method Summary | |
---|---|
String |
getDefaultProperty(String propertyKey)
Returns the default property value for a key |
String |
getKey()
Return the key of this object |
Long |
getLongProperty(String propertyKey)
Returns a property of this object with the specified key as a long |
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set |
com.opensymphony.module.propertyset.PropertySet |
getProperties()
Retrieve all the specified Properties for this object |
String |
getProperty(String propertyKey)
Returns a property of this object with the specified key |
String |
getTextProperty(String propertyKey)
Returns a property of this object with the specified key, the property is of type text |
boolean |
hasProperty(String propertyKey)
Checks if this object has a particular property |
Method Detail |
---|
ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurationException
boolean hasProperty(String propertyKey) throws ObjectConfigurationException
propertyKey
- to look for
ObjectConfigurationException
String getProperty(String propertyKey) throws ObjectConfigurationException
propertyKey
- String key used to retrieve the property value
ObjectConfigurationException
String getTextProperty(String propertyKey) throws ObjectConfigurationException
propertyKey
- String key used to retrieve the property value
ObjectConfigurationException
Long getLongProperty(String propertyKey) throws ObjectConfigurationException
propertyKey
- String key used to retrieve the property value
ObjectConfigurationException
String getDefaultProperty(String propertyKey) throws ObjectConfigurationException
propertyKey
- String key used to retrieve the properties default value
ObjectConfigurationException
com.opensymphony.module.propertyset.PropertySet getProperties() throws ObjectConfigurationException
ObjectConfigurationException
String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |