com.beasys.commerce.foundation.property
Interface SchemaManager
- public interface SchemaManager
- extends javax.ejb.EJBObject
This is the public interface for the schema manager.
SchemaManager
handles the intricacies of retrieving schemas.
Method Summary |
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. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
getSchemaHome
public SchemaHome getSchemaHome(java.lang.String schemaGroupName)
throws java.rmi.RemoteException,
SchemaManagerException
- Convenience method for returning the appropriate
SchemaHome
for a given schema group.
- Parameters:
schemaGroupName
- the name of the schema group- Returns:
- the
SchemaHome
for a given schema group - Throws:
RemoteException
- EJB errorSchemaManagerException
- general error
getSchema
public Schema getSchema(java.lang.String schemaName,
java.lang.String schemaGroupName)
throws java.rmi.RemoteException,
SchemaManagerException
- Returns a schema given a schema name and a schema group name.
- Parameters:
schemaName
- the name of the schema (property set)schemaGroupName
- the name of the schema group in which the schema
exists- Returns:
- a schema given a schema name and a schema group name
- Throws:
RemoteException
- EJB errorSchemaManagerException
- general error
getSchemas
public java.util.Enumeration getSchemas(java.lang.String schemaGroupName)
throws java.rmi.RemoteException,
SchemaManagerException
- Returns an
Enumeration
containing all the schemas found
for a particular schema group.
- Parameters:
schemaGroupName
- the name of the schema group in which the schema
exists- Returns:
- an
Enumeration
containing all the schemas found
for a particular schema group - Throws:
RemoteException
- EJB errorSchemaManagerException
- general error
Copyright © 2000 BEA Systems, Inc. All Rights Reserved