public interface IResourceContext
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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 . |
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.void setValue(String name, String value) throws ResourceException
name
- A unique namevalue
- The valueResourceException
- If the name paramater is invalidString getValue(String name)
name
- TBD: Description of the incoming method parametervoid setObjectValue(String name, Object value) throws ResourceException
name
- A unique namevalue
- An objectResourceException
- If the name paramater is invalidObject getObjectValue(String name)
name
- TBD: Description of the incoming method parametervoid setValues(HashMap properties)
properties
- propertiesHashMap getValues()
void setLocale(Locale locale)
locale
- locale to be setLocale
Locale getLocale()
Locale
the locale to use.Locale
void 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
|
Copyright 2018 SAP AG Complete Copyright Notice