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 AG| Constructor 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()
IPostDatagetMandatoryFields in interface IPostDataSet 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()
IPostDatagetIgnoreCheckFields in interface IPostDataSet 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 IPostDatafalse,
getValueArray must always return null.public Set getKeys()
IPostDatapublic String getValue(String key)
IPostDatapublic String[] getValueArray(String key)
IPostDatagetValueArray in interface IPostDatanull, if this data does not support
multi valued fields| 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 2021 SAP SE Complete Copyright Notice