BEA Systems, Inc.

com.beasys.commerce.axiom.contact
Interface UnifiedProfileTypeManager


public interface UnifiedProfileTypeManager
extends javax.ejb.EJBObject

This is the public interface to a manager for profile types and their related attributes.


Method Summary
 void createUnifiedProfileType(UnifiedProfileType profileType)
          Creates an entry in the profile type database
 void deleteUnifiedProfileType(java.lang.String typeName)
          Removes an entry from the profile type database
 UnifiedProfileType getUnifiedProfileType(java.lang.String typeName)
          Reads profile type information from the database and returns it.
 java.lang.String[] getUnifiedProfileTypes()
          Returns a list of all registered profile types.
 void updateUnifiedProfileType(UnifiedProfileType profileType)
          Updates an entry in the profile type database.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

createUnifiedProfileType

public void createUnifiedProfileType(UnifiedProfileType profileType)
                              throws java.rmi.RemoteException,
                                     UserManagementException
Creates an entry in the profile type database
Parameters:
profileType - the new type to add
Throws:
UserManagementException - if operation fails
java.rmi.RemoteException - if a system error occurs

deleteUnifiedProfileType

public void deleteUnifiedProfileType(java.lang.String typeName)
                              throws java.rmi.RemoteException,
                                     UserManagementException
Removes an entry from the profile type database
Parameters:
typeName - the namd of the type to remove
Throws:
UserManagementException - if operation fails
java.rmi.RemoteException - if a system error occurs

updateUnifiedProfileType

public void updateUnifiedProfileType(UnifiedProfileType profileType)
                              throws java.rmi.RemoteException,
                                     UserManagementException
Updates an entry in the profile type database. Uses the typeName field in the profileType as the key.
Parameters:
profileType - the new values for this type
Throws:
UserManagementException - if operation fails
java.rmi.RemoteException - if a system error occurs

getUnifiedProfileType

public UnifiedProfileType getUnifiedProfileType(java.lang.String typeName)
                                         throws java.rmi.RemoteException,
                                                UserManagementException
Reads profile type information from the database and returns it.
Parameters:
typeName - the name of the type to return
Returns:
a value object that represents a unified profile type, or null if none was found
Throws:
UserManagementException - if operation fails
java.rmi.RemoteException - if a system error occurs

getUnifiedProfileTypes

public java.lang.String[] getUnifiedProfileTypes()
                                          throws java.rmi.RemoteException,
                                                 UserManagementException
Returns a list of all registered profile types.
Returns:
a list of all registered profile types
Throws:
UserManagementException - if operation fails
java.rmi.RemoteException - if a system error occurs

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved