© 2005 BEA Systems, Inc.

com.bea.p13n.property
Interface PropertySetManager

All Superinterfaces:
EJBObject, Remote

public interface PropertySetManager
extends EJBObject

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.

See Also:
PropertySet

Method Summary
 PropertySet getPropertySet(String type, String name)
          Get the PropertySet identified by the given type and name
 String[] getPropertySetNames(String type)
          Get all PropertySet names for a given type
 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
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getPropertySet

public PropertySet getPropertySet(String type,
                                  String name)
                           throws RemoteException
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:
RemoteException

getPropertySetNames

public String[] getPropertySetNames(String type)
                             throws RemoteException
Get all PropertySet names for a given type

Parameters:
type - the PropertySetType to retrieve the PropertySet names for
Returns:
a String array of the PropertySet names
Throws:
RemoteException

getPropertySets

public Map getPropertySets(String type)
                    throws RemoteException
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:
RemoteException

getPropertySetXml

public String getPropertySetXml(String type,
                                String name)
                         throws RemoteException
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:
RemoteException

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved