|
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
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. |
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. |
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 |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |