|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the public interface for the schema manager.
SchemaManager
handles the intricacies of retrieving schemas, while
hiding the various types of Schemas (Property Sets) from the developer.
Method Summary | |
java.util.Map |
getDefaultValues(java.lang.String schemaName,
java.lang.String schemaGroupName)
Returns a Map of property name/default values for all
properties in the given schema. |
Schema |
getSchema(java.lang.String schemaName,
java.lang.String schemaGroupName)
Returns a schema given a schema name and a schema group name. |
SchemaHome |
getSchemaHome(java.lang.String schemaGroupName)
Convenience method for returning the appropriate SchemaHome
for a given schema group. |
java.util.Enumeration |
getSchemas(java.lang.String schemaGroupName)
Returns an Enumeration containing all the schemas found
for a particular schema group. |
Method Detail |
public SchemaHome getSchemaHome(java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
SchemaHome
for a given schema group.schemaGroupName
- the name of the schema groupSchemaHome
for a given schema groupRemoteException
- EJB errorSchemaManagerException
- general errorpublic Schema getSchema(java.lang.String schemaName, java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
schemaName
- the name of the schema (property set)schemaGroupName
- the name of the schema group in which the schema
existsRemoteException
- EJB errorSchemaManagerException
- general errorpublic java.util.Enumeration getSchemas(java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
Enumeration
containing all the schemas found
for a particular schema group.schemaGroupName
- the name of the schema group in which the schema
existsEnumeration
containing all the schemas found
for a particular schema groupRemoteException
- EJB errorSchemaManagerException
- general errorpublic java.util.Map getDefaultValues(java.lang.String schemaName, java.lang.String schemaGroupName) throws java.rmi.RemoteException, SchemaManagerException
Map
of property name/default values for all
properties in the given schema. If a property does not have a default
value, the property name will be a key with a null value.schemaName
- the name of the schema (property set)schemaGroupName
- the name of the schema group in which the schema
exists
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |