public class PropertyBagManager extends Object implements IPropertyBagManager
Constructor and Description |
---|
PropertyBagManager() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void add(PropertyBag bag) throws PortalException
IPropertyBagManager
add
in interface IPropertyBagManager
bag
- the property bag to persist.PortalException
public PropertyBag get(String propertyBagId) throws PortalException
IPropertyBagManager
get
in interface IPropertyBagManager
propertyBagId
- identifier of the property bag.PortalException
public void delete(PropertyBag bag) throws PortalException
IPropertyBagManager
Delete is not done recursively. There must not be any child property bags that have the given property bag as its parent.
delete
in interface IPropertyBagManager
bag
- the property bag to be deleted.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.