PropertySetManager Interface

com.bea.p13n.property
PropertySetManager Interface

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.

Related Topics

PropertySet


All Superinterfaces
EJBObject, Remote

Method Summary

public PropertySet
getPropertySet(String type, String name)
Get the PropertySet identified by the given type and name
public String[]
getPropertySetNames(String type)
Get all PropertySet names for a given type
public Map
getPropertySets(String type)
Get all PropertySets of a given type
public String
getPropertySetXml(String type, String name)
Retrieve the XML representation of a property set
 
Methods from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
   

Method Detail

getPropertySet(String, String) Method

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

Exceptions

RemoteException

getPropertySetNames(String) Method

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

Exceptions

RemoteException

getPropertySets(String) Method

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

Exceptions

RemoteException

getPropertySetXml(String, String) Method

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

Exceptions

RemoteException