|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--weblogic.jsp.personalization.BaseBean
|
+--weblogic.jsp.personalization.UserProfileBean
|
+--com.beasys.portal.ejb.PortalUserProfileBean
Provides a default implementation of the PortalUserProfile
interface.
| Fields inherited from class weblogic.jsp.personalization.BaseBean |
ec,
hashAlgorithm,
id,
idColumn,
idTableName,
nameColumn,
poolName,
properties,
tableName,
verbose |
| Constructor Summary | |
PortalUserProfileBean()
|
|
| Method Summary | |
void |
addGroupAttribute(java.lang.String groupName)
Adds the specified group name to the list of group names corresponding to the user profile |
weblogic.jsp.personalization.UserProfilePK |
ejbCreate(java.lang.String userName)
Accessed when an attempt is made, via PortalUserProfileHome,
to create a new profile. |
weblogic.jsp.personalization.UserProfilePK |
ejbCreate(java.lang.String userName,
java.lang.String groupName)
Accessed when an attempt is made, via PortalUserProfileHome,
to create a new profile. |
weblogic.jsp.personalization.UserProfilePK |
ejbFind(java.lang.String username)
Returns the primary key for the current user |
java.util.Enumeration |
ejbFindAll()
Returns an Enumeration of all user profiles |
weblogic.jsp.personalization.UserProfilePK |
ejbFindByPrimaryKey(weblogic.jsp.personalization.UserProfilePK pk)
Returns the primary key for the current user |
void |
ejbPostCreate(java.lang.String userName)
Accessed after profile creation. |
java.lang.String |
get(java.lang.String name)
Retrieves the value for the property name specified. |
java.util.Enumeration |
getAll(java.lang.String name)
Retrieves all values for the multi-valued property name specified. |
java.lang.String |
getAttribute(java.lang.String propertyName,
boolean doGroupHierarchy)
Retrieves the attribute corresponding to the supplied property name. |
java.lang.String |
getAttribute(java.lang.String propertyName,
java.lang.String groupName)
Retrieves the attribute corresponing to the supplied property name. |
protected java.lang.Object |
getRecursive(java.lang.String name,
boolean all)
Searches recursively, using the group property, for a property value. |
void |
removeGroupAttribute(java.lang.String groupName)
Removes the specified group name from the list of group names corresponding to the user profile |
boolean |
toBeRemoved()
Indicates whether the only properties left in a user profile are the user profile and group names, or any subset thereof |
| Methods inherited from class weblogic.jsp.personalization.UserProfileBean |
checkPassword,
ejbFindByStartsWith,
ejbPostCreate,
getAllAttributeValues,
getAttribute,
getGroupProperty,
getIdColumn,
getNameColumn,
hash,
packageUsers,
setPassword |
| Methods inherited from class weblogic.jsp.personalization.BaseBean |
addAttribute,
create,
ejbActivate,
ejbLoad,
ejbPassivate,
ejbRemove,
ejbStore,
findById,
getAttributeNames,
getConnection,
getHashAlgorithm,
getIdTableName,
getPoolName,
getTableName,
isMultiValuedAttribute,
removeAttribute,
removeAttribute,
setAttribute,
setEntityContext,
unsetEntityContext |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PortalUserProfileBean()
| Method Detail |
public weblogic.jsp.personalization.UserProfilePK ejbFindByPrimaryKey(weblogic.jsp.personalization.UserProfilePK pk)
throws javax.ejb.FinderException
pk - UserProfilePK
public weblogic.jsp.personalization.UserProfilePK ejbFind(java.lang.String username)
throws javax.ejb.FinderException
username -
public java.util.Enumeration ejbFindAll()
throws javax.ejb.FinderException
public weblogic.jsp.personalization.UserProfilePK ejbCreate(java.lang.String userName)
throws javax.ejb.CreateException,
java.rmi.RemoteException
PortalUserProfileHome,
to create a new profile. Not to be called directly.userName - the user name associated with the profileUserProfilePK a new user profile primary keyCreateException - profile creation failureRemoteException - remote communication failure
public weblogic.jsp.personalization.UserProfilePK ejbCreate(java.lang.String userName,
java.lang.String groupName)
throws javax.ejb.CreateException,
java.rmi.RemoteException
PortalUserProfileHome,
to create a new profile. Not to be called directly.userName - the user name associated with the profilegroupName - the group name with which the new user will be associated,
via the group profile propertyUserProfilePK a new user profile primary keyCreateException - profile creation failureRemoteException - remote communication failurepublic void ejbPostCreate(java.lang.String userName)
public java.lang.String get(java.lang.String name)
throws java.rmi.RemoteException
name - the name of the property whose value is soughtString the property value ; null if not foundRemoteException - remote communication failure
public java.util.Enumeration getAll(java.lang.String name)
throws java.rmi.RemoteException
name - the name of the property whose value is soughtString the property value ; null if not foundRemoteException - remote communication failure
public java.lang.String getAttribute(java.lang.String propertyName,
boolean doGroupHierarchy)
throws java.rmi.RemoteException
doGroupHierarchy is true, the profile's
group property is used to search for a value for the property name if
the property value is not immediately available in the profile.propertyName - the name of the property whose value is soughtdoGroupHierarchy - whether to search the group profiles corresponding
to the profile for the property value if the value is not available in the
first property. It should be noted that as the search proceeds hierarchically,
the first group profile found at each sibling level will be searched for
the specified property, and if the property value is not found, the search
will continue at the next parent level.null otherwise.
public java.lang.String getAttribute(java.lang.String propertyName,
java.lang.String groupName)
throws java.rmi.RemoteException
propertyName - the property whose value is sought
public boolean toBeRemoved()
throws java.rmi.RemoteException
protected java.lang.Object getRecursive(java.lang.String name,
boolean all)
throws java.rmi.RemoteException
name - the name of the property whose value is soughtall - whether to return all values if the property is muti-valuedObject all either a Vector of multiple
values, or a String single valueRemoteException - remote communication failure
public void addGroupAttribute(java.lang.String groupName)
throws java.rmi.RemoteException
groupName - the group name to add to the profile
public void removeGroupAttribute(java.lang.String groupName)
throws java.rmi.RemoteException
groupName - the group name to remove from the profile
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||