BEA Systems, Inc.

com.beasys.commerce.user.jsp.beans
Class ProfileTypeBean

java.lang.Object
  |
  +--com.beasys.commerce.user.jsp.beans.ProfileTypeBean

public class ProfileTypeBean
extends java.lang.Object
implements UserManagementConstants

Jsp bean class to help with Profile type management tools


Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants
ANONYMOUS_PROFILE, CACHED_PROFILE, DEFAULT_SCOPE, DEFAULT_SUCCESSOR, DEFAULT_SUCCESSOR_HOME, DEFAULT_SUCCESSOR_JNDI, DEFAULT_SUCCESSOR_PK, DEFAULT_USER, DEFAULT_USER_HOME, DEFAULT_USER_JNDI, DEFAULT_USER_PK, GROUP, GROUP_ENTITY_HOME, PROFILE_MGR, PROFILE_SUCCESSOR, PROFILE_USER, REALM_CONFIG, RESERVED_SCOPE, USER, USER_ENTITY_HOME, USER_MGR
 
Fields inherited from interface com.beasys.commerce.foundation.property.SchemaManagerConstants
APPLICATION_INIT_TYPE, CATALOG_TYPE, CONTENT_TYPE, REQUEST_TYPE, SCHEMA, SCHEMA_GROUPS, SESSION_TYPE, USER_TYPE
 
Constructor Summary
ProfileTypeBean()
           
 
Method Summary
 java.lang.String createUnifiedProfileType()
          Creates an entry in the profile type database
 java.lang.String deleteUnifiedProfileType()
          Deletes the current profile type
 java.lang.String getClassName()
          Get the class of this profile type
 java.lang.String getHome()
          Get the home to look for this profile type
 java.lang.String getJndiName()
          Get the name to use to lookup this profile type
 java.lang.String getMagicSelfValue()
          Flag to indicate the current type when setting successor type.
 java.lang.String getPk()
          Get the class of this profile type's pk
 java.lang.String getSuccessor()
          Get the type name of this profile type's successor
 java.lang.String getTypeName()
          Get the name of this profile type
 UnifiedProfileType getUnifiedProfileType()
          Reads profile type information from the database and returns it.
 java.lang.String[] getUnifiedProfileTypes()
           
protected  UnifiedProfileType makeUnifiedProfileTypeObject()
          Create a new UnifiedProfileType lightweight object from the bean's attributes.
 void setClassName(java.lang.String s)
          Set the class of this profile type
 void setHome(java.lang.String s)
          Set the home to look for this profile type
 void setJndiName(java.lang.String s)
          Set the name to use to lookup this profile type
 void setPk(java.lang.String s)
          Set the class of this profile type's pk
 void setSuccessor(java.lang.String s)
          Set the type name of this profile type's successor
 void setTypeName(java.lang.String s)
          Set the name of this profile type
 java.lang.String updateUnifiedProfileType()
          Updates an entry in the profile type database.
 java.lang.String validate()
          Validate the input of a UnifiedProfileType add or edit form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileTypeBean

public ProfileTypeBean()
Method Detail

validate

public java.lang.String validate()
Validate the input of a UnifiedProfileType add or edit form.

createUnifiedProfileType

public java.lang.String createUnifiedProfileType()
Creates an entry in the profile type database

deleteUnifiedProfileType

public java.lang.String deleteUnifiedProfileType()
Deletes the current profile type

updateUnifiedProfileType

public java.lang.String updateUnifiedProfileType()
Updates an entry in the profile type database.

getUnifiedProfileType

public UnifiedProfileType getUnifiedProfileType()
Reads profile type information from the database and returns it.
Returns:
a value object that represents a unified profile type, or null if none was found

getUnifiedProfileTypes

public java.lang.String[] getUnifiedProfileTypes()
Returns:
a list of all registered profile types

makeUnifiedProfileTypeObject

protected UnifiedProfileType makeUnifiedProfileTypeObject()
Create a new UnifiedProfileType lightweight object from the bean's attributes.

setTypeName

public void setTypeName(java.lang.String s)
Set the name of this profile type

getTypeName

public java.lang.String getTypeName()
Get the name of this profile type

setClassName

public void setClassName(java.lang.String s)
Set the class of this profile type

getClassName

public java.lang.String getClassName()
Get the class of this profile type

setHome

public void setHome(java.lang.String s)
Set the home to look for this profile type

getHome

public java.lang.String getHome()
Get the home to look for this profile type

setPk

public void setPk(java.lang.String s)
Set the class of this profile type's pk

getPk

public java.lang.String getPk()
Get the class of this profile type's pk

setJndiName

public void setJndiName(java.lang.String s)
Set the name to use to lookup this profile type

getJndiName

public java.lang.String getJndiName()
Get the name to use to lookup this profile type

setSuccessor

public void setSuccessor(java.lang.String s)
Set the type name of this profile type's successor

getSuccessor

public java.lang.String getSuccessor()
Get the type name of this profile type's successor

getMagicSelfValue

public java.lang.String getMagicSelfValue()
Flag to indicate the current type when setting successor type. This is needed because the current type will not show up in the list of possible successor types when it is being created, because it has not been created yet!

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved