© 2003 BEA Systems, Inc.

com.bea.p13n.controls.ejb.property
Interface PropertySetManager

All Superinterfaces:
com.bea.control.Control, weblogic.jws.control.Control, Serializable

public interface PropertySetManager
extends weblogic.jws.control.Control

PropertySetManager is a stateless session bean that provides access to property sets, through PropertySetRepositories. It also provides translation between XML and property set objects for use in the data synchronization framework.

This control requires that the PropertySetManager EJB has been deployed to the application. The PropertySetManager EJB is contained in p13n_ejb.jar, and is automatically deployed as part of a Portal application.

See Also:
PropertySetManager, PropertySet, PropertySetRepository

Method Summary
 PropertySet getPropertySet(String type, String name)
          Get the PropertySet identified by the given type and name
 Map getPropertySets(String type)
          Get all PropertySets of a given type
 String getPropertySetXml(String type, String name)
          Retrieve the XML representation of a property set
 

Method Detail

getPropertySet

public PropertySet getPropertySet(String type,
                                  String name)
                           throws P13nControlException
Get the PropertySet identified by the given type and name

Parameters:
type - the PropertySetType
name - the name of the PropertySet
Returns:
the PropertySet, or null if it is not found
Throws:
P13nControlException - if remote errors occurr while accessing the PropertySetManager EJB

getPropertySetXml

public String getPropertySetXml(String type,
                                String name)
                         throws P13nControlException
Retrieve the XML representation of a property set

Parameters:
type - the PropertySet type
name - the name of the PropertySet to retrieve
Returns:
the XML representation of that PropertySet
Throws:
P13nControlException - if remote errors occurr while accessing the PropertySetManager EJB

getPropertySets

public Map getPropertySets(String type)
                    throws P13nControlException
Get all PropertySets of a given type

Parameters:
type - the PropertySetType to retrieve
Returns:
a map of name, PropertySet object pairs, or null if none are defined
Throws:
P13nControlException - if remote errors occurr while accessing the PropertySetManager EJB

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved