public class ServletPostData extends Object implements IPostData
IPostData
for a http servlet request. The mandatory fields are supposed to be listed in
the request parameter mandatoryFields as a semicolon separated list. All servlet parameters are used as key value pairs.
The class is public for compatibility reasons and should not be used from outside of the XML Forms framework.
Copyright 2004 SAP AGConstructor and Description |
---|
ServletPostData(HttpServletRequest req) |
Modifier and Type | Method and Description |
---|---|
Set |
getIgnoreCheckFields()
Get the properties and schema elements in this post, which are to be ignored by validation
|
Set |
getKeys()
Get the field keys in this data
|
Set |
getMandatoryFields()
Get the mandatory properties and schema elements in this post
|
String |
getValue(String key)
Get the String value for a given key
|
String[] |
getValueArray(String key)
Get the value array for a given key
|
boolean |
supportsMultiValued() |
public ServletPostData(HttpServletRequest req)
public Set getMandatoryFields()
IPostData
getMandatoryFields
in interface IPostData
Set
containing all mandatory properties and schema elements. Properties
start with a prefix wcmprop., then namespace alias and property name, e.g. wcmprop.default:displayname.
Schema element paths start one level below schema root. Returning null
means the same as
returning an empty set.public Set getIgnoreCheckFields()
IPostData
getIgnoreCheckFields
in interface IPostData
Set
containing all properties and schema elements, which do not need to be
validated. Properties start with a prefix wcmprop., then namespace alias and property name,
e.g. wcmprop.default:displayname. Schema element paths start one level below schema root.
Returning null
means the same as returning an empty set.public boolean supportsMultiValued()
supportsMultiValued
in interface IPostData
false
,
getValueArray
must always return null
.public Set getKeys()
IPostData
public String getValue(String key)
IPostData
public String[] getValueArray(String key)
IPostData
getValueArray
in interface IPostData
null
, if this data does not support
multi valued fieldsAccess 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