| org.makumba.Attributes
All known Subclasses: org.makumba.commons.attributes.RequestAttributes, org.makumba.commons.attributes.PageAttributes,
Attributes | public interface Attributes (Code) | | The attributes provided by a makumba environment (for example a http session). Attributes can be referred and
assigned to in business logic code.
author: Cristian Bogdan version: $Id: Attributes.java 1688 2007-09-25 12:54:46Z manuel_gay $ |
Inner Class :class MA extends HashMap implements Map | |
getAttribute | public Object getAttribute(String name) throws LogicException(Code) | | Gets the attribute with the given name.
Parameters: name - the name of the attribute the attribute value throws: LogicException - if a business logic problem occured while trying to determine the attribute throws: AttributeNotFoundException - if there was no error but the attribute could not be found. |
hasAttribute | public boolean hasAttribute(String name)(Code) | | Checks whether an attribute exists
Parameters: name - the name of the attribute true if the attribute exists, false otherwise. |
removeAttribute | public void removeAttribute(String name) throws LogicException(Code) | | Removes an attribute
Parameters: name - the name of the attribute throws: LogicException - if a business logic problem occured while trying to remove the attribute |
setAttribute | public Object setAttribute(String name, Object value) throws LogicException(Code) | | Sets the value of an attribute
Parameters: name - the name of the attribute Parameters: value - the value of the attribute the old value of the attribue, or null if there was none throws: LogicException - if a business logic problem occured while trying to set the attribute (though at present the BL hasno supported way to check that). |
|
|