|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.service.xmlforms.ServletPostData
public class ServletPostData
Implementation of 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 Summary | |
|---|---|
ServletPostData(HttpServletRequest req)
|
|
| Method Summary | |
|---|---|
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()
Check if this data support multi valued fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletPostData(HttpServletRequest req)
| Method Detail |
|---|
public Set getMandatoryFields()
IPostData
getMandatoryFields 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()
IPostData
getIgnoreCheckFields 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()
IPostDatafalse,
getValueArray must always return null.
supportsMultiValued in interface IPostDatapublic Set getKeys()
IPostData
getKeys in interface IPostDataSet containing all field keys. 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.public String getValue(String key)
IPostData
getValue in interface IPostDatanull,
if the value array is null or empty.public String[] getValueArray(String key)
IPostData
getValueArray in interface IPostDatanull, if this data does not support
multi valued fields| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||