|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceContext
A resource context must be used by every application when accessing resources of the Repository Framework. Every
context is associated with an authenticated user instance (provided by user management). These are the possible kinds
of users:
ResourceContext.getInstance(IUser),
Copyright (c) SAP AG 2001-2005
| Field Summary | |
|---|---|
static String |
J2EE_SCAN_PROFILE
Defines the parameter name for the getValue(String) and setValue(String, String) method. |
static String |
NO_KEYWORD_SUBSTITUTION
|
static String |
TRANSPORT_EXPORT
Defines the parameter name for the getValue(String) method. |
static String |
TRANSPORT_IMPORT
Defines the parameter name for the getValue(String) method. |
| Method Summary | |
|---|---|
Locale |
getLocale()
Get the locale for that context. |
Object |
getObjectValue(String name)
Returns the value for the specified name |
String |
getTuccId()
Returns the TUCC transaction identifier - can be null. |
com.sapportals.portal.security.usermanagement.IUser |
getUser()
Deprecated. As of NetWeaver 7.1, replaced by getUserUME() |
IUser |
getUserUME()
Get the current user for that context. |
String |
getValue(String name)
Returns the value for the specified name |
HashMap |
getValues()
Returns the internal properties map as is without copying them to be used and possible modified from outside. |
IPropertyMap |
getVariantContext()
Returns a map of context properties used for variant handling - may be null. |
void |
setLocale(Locale locale)
Set the locale for that context. |
void |
setObjectValue(String name,
Object value)
Add/update a name/value pair |
void |
setUser(com.sapportals.portal.security.usermanagement.IUser user)
Deprecated. As of NetWeaver 7.1, replaced by setUserUME(com.sap.security.api.IUser) |
void |
setUserUME(IUser user)
Set the current user for that context. |
void |
setValue(String name,
String value)
Add/update a name/value pair |
void |
setValues(HashMap properties)
Takes and sets the properties as is without copying them to be used and possibly modified as internal properties map. |
void |
setVariantContext(IPropertyMap variantContext)
Sets a map of context properties used for variant handling - may be null. |
| Field Detail |
|---|
static final String NO_KEYWORD_SUBSTITUTION
static final String TRANSPORT_IMPORT
getValue(String) method. The framework will set this
parameter as a flag (returned value is not null) to indicate to a repository that
the createXXX() method is used to create a deserialized resource as part of a import of the transport service.
static final String TRANSPORT_EXPORT
getValue(String) method. The framework will set this
parameter as a flag (returned value is not null) to indicate to a repository that
the readXXX() method is used to read and deserialize aresource as part of an export of the transport service.
static final String J2EE_SCAN_PROFILE
getValue(String) and setValue(String, String) method.
If the virus scanning is enabled the parameter name is used to specify the scan profile name which is used for virus scanning
when creating or reading a file.
If the returned value is null the default kmc_Default profile is set for virus scanning.
| Method Detail |
|---|
void setValue(String name,
String value)
throws ResourceException
name - A unique namevalue - The value
ResourceException - If the name paramater is invalidString getValue(String name)
name - TBD: Description of the incoming method parameter
void setObjectValue(String name,
Object value)
throws ResourceException
name - A unique namevalue - An object
ResourceException - If the name paramater is invalidObject getObjectValue(String name)
name - TBD: Description of the incoming method parameter
void setValues(HashMap properties)
properties - propertiesHashMap getValues()
void setLocale(Locale locale)
locale - locale to be setLocaleLocale getLocale()
Locale the locale to use.Localevoid setUser(com.sapportals.portal.security.usermanagement.IUser user)
setUserUME(com.sap.security.api.IUser)
user - user to be setvoid setUserUME(IUser user)
user - user to be setcom.sapportals.portal.security.usermanagement.IUser getUser()
getUserUME()
IUser the user.IUser getUserUME()
IUser the user.IPropertyMap getVariantContext()
null.
null.void setVariantContext(IPropertyMap variantContext)
null.
String getTuccId()
null.
null.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||