public interface IXFProject
Modifier and Type | Method and Description |
---|---|
IXFTransformation |
getDefaultTransformation(String transformationType)
Gets the default transformation for a given transformation type
|
String |
getDisplayName(Locale clientlocale)
Gets the descritive localized name of the form
|
Map |
getDisplayTransformations()
get list of show forms for the preview pane
|
String |
getID()
Gets unique identifier of the project
|
String |
getProjectProperty(String key)
Gets a project property
|
IXFTransformation |
getTransformation(String id)
Gets a transformation by its ID
|
boolean |
isDeprecated()
Checks, if the project is deprecated.
|
boolean |
isHidden()
Checks if the project is public visible or not
|
ISaveResult |
saveItem(IPostData data,
String resName,
IResourceContext resContext,
Hashtable parameters)
Save an item
|
String getID()
String getDisplayName(Locale clientlocale)
clientlocale
- the Locale to use for localisationIXFTransformation getTransformation(String id)
id
- the transformation ID (e.g. "Edit")IXFTransformation
object representing the requested transformation,
or null
, if the transformation does not exist, or an error occurredIXFTransformation getDefaultTransformation(String transformationType)
transformationType
- the transformation type to get the default transformation.
It should be one of the constants IXFTransformation.TRANSFORMATION_TYPE_EDIT
or
IXFTransformation.TRANSFORMATION_TYPE_DISPLAY
.IXFTransformation
object representing the requested transformation,
or null
, if the transformation does not exist, or an error occurredboolean isHidden()
true
if the project is hidden, false
if it is visibleboolean isDeprecated()
<prjID>Post.xml
.
That is probably the case, if the project was not automatically generated with XML Forms Builder.true
if the project is deprecated, false
otherwiseString getProjectProperty(String key)
key
- the property keyMap getDisplayTransformations()
ISaveResult saveItem(IPostData data, String resName, IResourceContext resContext, Hashtable parameters) throws XFException
data
- the data to writeresName
- the full path where the item is to be savedresContext
- the context to use for saving the itemparameters
- parameters to pass to the post transformationISaveResult
, which contains the information,
whether saving was successfull and errors, which occurredXFException
- if a problem occurs during the save processAccess 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