lumis.portal.propertybag
Class PropertyBagManager

Package class diagram package PropertyBagManager
java.lang.Object
  extended by lumis.portal.propertybag.PropertyBagManager
All Implemented Interfaces:
IPropertyBagManager

public class PropertyBagManager
extends Object
implements IPropertyBagManager

Property bag manager implementation.

Since:
5.0.0

Constructor Summary
PropertyBagManager()
           
 
Method Summary
 void add(PropertyBag bag)
          Persists a property bag.
 void delete(PropertyBag bag)
          Deletes the given property bag.
 PropertyBag get(String propertyBagId)
          Returns the property bag with the given identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBagManager

public PropertyBagManager()
Method Detail

add

public void add(PropertyBag bag)
         throws PortalException
Description copied from interface: IPropertyBagManager
Persists a property bag.

Specified by:
add in interface IPropertyBagManager
Parameters:
bag - the property bag to persist.
Throws:
PortalException

get

public PropertyBag get(String propertyBagId)
                throws PortalException
Description copied from interface: IPropertyBagManager
Returns the property bag with the given identifier.

Specified by:
get in interface IPropertyBagManager
Parameters:
propertyBagId - identifier of the property bag.
Returns:
the property bag.
Throws:
PortalException

delete

public void delete(PropertyBag bag)
            throws PortalException
Description copied from interface: IPropertyBagManager
Deletes the given property bag.

Delete is not done recursively. There must not be any child property bags that have the given property bag as its parent.

Specified by:
delete in interface IPropertyBagManager
Parameters:
bag - the property bag to be deleted.
Throws:
PortalException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.