|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.contact.UnifiedProfileTypeManagerBean
Implementation of the session bean used to access UnifiedProfile types
Field Summary | |
protected java.util.ArrayList |
nullCache
|
protected static java.lang.String |
UUP_CACHE
|
Constructor Summary | |
UnifiedProfileTypeManagerBean()
|
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. |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
Creates the session bean. |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
protected UnifiedProfileType |
getCachedProfileType(java.lang.String username)
|
protected java.sql.Connection |
getConnection()
Get a connection to the database |
UnifiedProfileType |
getProfileTypeForUser(java.lang.String username)
|
UnifiedProfileType |
getUnifiedProfileType(java.lang.String typeName)
Uses a direct jdbc connection to read profile type information from the database. |
java.lang.String[] |
getUnifiedProfileTypes()
Returns a list of all registered profile types. |
protected boolean |
isNullProfileType(java.lang.String username)
|
protected void |
putCachedProfileType(java.lang.String username,
UnifiedProfileType upt)
|
protected void |
putNullProfileType(java.lang.String username)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
void |
updateUnifiedProfileType(UnifiedProfileType profileType)
Updates an entry in the profile type database. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static java.lang.String UUP_CACHE
protected java.util.ArrayList nullCache
Constructor Detail |
public UnifiedProfileTypeManagerBean()
Method Detail |
public void ejbCreate()
public void ejbActivate()
public void ejbRemove()
public void ejbPassivate()
public final void setSessionContext(javax.ejb.SessionContext ctx)
ctx
- Context for sessionpublic void createUnifiedProfileType(UnifiedProfileType profileType) throws UserManagementException
profileType
- the new type to addpublic void deleteUnifiedProfileType(java.lang.String typeName) throws UserManagementException
typeName
- the namd of the type to removepublic void updateUnifiedProfileType(UnifiedProfileType profileType) throws UserManagementException
profileType
- the new values for this typepublic UnifiedProfileType getUnifiedProfileType(java.lang.String typeName) throws UserManagementException
typeName
- the name of the type to returnpublic java.lang.String[] getUnifiedProfileTypes() throws UserManagementException
public UnifiedProfileType getProfileTypeForUser(java.lang.String username) throws UserManagementException
protected java.sql.Connection getConnection() throws java.sql.SQLException
protected UnifiedProfileType getCachedProfileType(java.lang.String username)
protected void putCachedProfileType(java.lang.String username, UnifiedProfileType upt)
protected boolean isNullProfileType(java.lang.String username)
protected void putNullProfileType(java.lang.String username)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |