com.beasys.commerce.user.jsp.beans
Class CachedProfileBean
java.lang.Object
|
+--com.beasys.commerce.axiom.p13n.http.HttpConfigurableEntity
|
+--com.beasys.commerce.user.jsp.beans.LocalProfileBean
|
+--com.beasys.commerce.user.jsp.beans.CachedProfileBean
- public class CachedProfileBean
- extends LocalProfileBean
- implements com.beasys.commerce.user.jsp.ProfileWrapper
Bean used to hold a local cache of a session's associated
user profile.
- See Also:
- Serialized Form
Methods inherited from class com.beasys.commerce.axiom.p13n.http.HttpConfigurableEntity |
addBusinessPolicy,
addPropertyValue,
addPropertyValueMapped,
get__classIdentifier,
get__containingBelonging,
get__containingEntity,
get__mapKey,
get__sequenceNumber,
getBusinessPolicy,
getEJBHome,
getHandle,
getPersistableHandle,
getPrimaryKey,
getProperty,
getPropertyAsString,
getPropertyDefault,
getPropertyNoDefault,
getSuccessor,
getUniqueId,
isIdentical,
remove,
removeBusinessPolicy,
removeProperty,
removePropertyValue,
removePropertyValueMapped,
removeSuccessor,
set__containingBelonging,
set__containingEntity,
set__mapKey,
setProperty,
setSuccessor |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CachedProfileBean
public CachedProfileBean()
- Default Constructor
CachedProfileBean
public CachedProfileBean(java.lang.String profileKey)
getProperty
public java.lang.Object getProperty(java.lang.String scope,
java.lang.String propertyName,
boolean getCached)
- Retrieves the property value for the given scope.
- Parameters:
the
- scope in which the property value is to be looked uppropertyName
- the name of the property whose value is sought- Returns:
- the value of the property,
null
if the value is
not found
getProperty
public java.lang.Object getProperty(java.lang.String scope,
java.lang.String propertyName)
- Description copied from class: LocalProfileBean
- Retrieves the property value for the given scope.
- Overrides:
- getProperty in class LocalProfileBean
- Tags copied from class: LocalProfileBean
- Parameters:
the
- scope in which the property value is to be looked uppropertyName
- the name of the property whose value is sought- Returns:
- the value of the property,
null
if the value is
not found
getPropertyAsString
public java.lang.String getPropertyAsString(java.lang.String scope,
java.lang.String propertyName,
boolean getCached)
setProperty
public void setProperty(java.lang.String scope,
java.lang.String propertyName,
java.lang.Object value,
boolean setInCache)
setProfileKey
public void setProfileKey(java.lang.String profileKey)
setProfileType
public void setProfileType(java.lang.String profileType)
getProfileId
public long getProfileId()
getSuccessorId
public long getSuccessorId()
getProfileKey
public java.lang.String getProfileKey()
getProfile
public ConfigurableEntity getProfile()
- Specified by:
- getProfile in interface com.beasys.commerce.user.jsp.ProfileWrapper
getSuccessor
public ConfigurableEntity getSuccessor()
- Returns the wrapped successor.
- Specified by:
- getSuccessor in interface com.beasys.commerce.user.jsp.ProfileWrapper
- Returns:
- the wrapped successor
setSuccessorType
public void setSuccessorType(java.lang.String successorType)
setSuccessorKey
public void setSuccessorKey(java.lang.String successorKey)
getSuccessorKey
public java.lang.String getSuccessorKey()
clearValues
public void clearValues()
- Clears the values in the cached profile.
- Overrides:
- clearValues in class LocalProfileBean
removeProperty
public java.lang.Object removeProperty(java.lang.String scope,
java.lang.String propertyName)
- Description copied from class: LocalProfileBean
- Removes the specified property from the profile.
- Overrides:
- removeProperty in class LocalProfileBean
- Tags copied from class: LocalProfileBean
- Parameters:
scope
- the scope in which to find the profilepropertyName
- the name of the property to remove from the profile
Copyright © 2000 BEA Systems, Inc. All Rights Reserved