public class PropertiesControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver, IPropertyRendererProxy, IPublicControl, IPropertyStructureRenderer, IEditableProperty, IContentEditable, IShowProperties, IItemtypeRenderer, IStartUriRenderer
WcmResourceControl.ResourceNotFoundException| Modifier and Type | Field and Description |
|---|---|
static String |
CID_PROPERTY_VALUE |
protected static String |
EVENT_ON_TOGGLE_TABSTRIP |
boolean |
multipleUploadRendering |
boolean |
newCollection |
static String |
ON_DELEGATE_EVENT |
boolean |
propertiesForUpload |
String |
resourceMimetype |
String |
resourceType |
static String |
SHOW_LINK_STRUCTURE_PROPERTIES |
boolean |
uploadRendering |
START_PAGE_BROWSE, START_PAGE_DETAILS, uriBLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARYDEPENDENCE_EVENT, DISPATCH_EVENTHTML_TYPE, TEXT_TYPE, UPLOAD_TYPE| Constructor and Description |
|---|
PropertiesControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInitialProperties(IPropertyMap initialProperties) |
boolean |
allowSetProprties()
Checks if SetProperties is allowed to be done by the Properties dialog
|
com.sapportals.wdf.event.WdfEvent |
checkMandatoryProperties()
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
checkPropertiesValidation()
This method is looking for properties validation
First is looking if the properties are semantic corectly ( Date , Time and Timestamp)
Second is looking for the Standart validation
Third is calling the properties validation class
|
ArrayList |
decodeValues(com.sapportals.htmlb.event.Event event)
Returns the values created via the
dispatchableControlIDWithValues or dispatchableControlID methods
and returns the list of parameters in the same order they were when submitting them. |
String |
dispatchableControlID(String value)
Adds a string to the given parameter to ensure a unique id within a
DynPage under certain conditions: the idpart given is unique within this proxy. |
String |
dispatchableControlIDWithValues(ArrayList values)
Create an id that contains dispatch information.
|
Map |
getAdditionalInformation() |
Map |
getAdditionalInformation(boolean usedIMetaContext) |
List |
getAllProperties()
Retrieves all properties created for the resource
|
String |
getContentType() |
IPropertyMap |
getDefaultPropertyMap()
Returns the default properties for the current property
structure
|
com.sapportals.htmlb.Component |
getExternalComponent()
Gets the externalComponent attribute of the ResourcePropertiesControl object
|
com.sapportals.htmlb.Component |
getExternalLabelComponent()
Gets the externalLabelComponent attribute of the ResourcePropertiesControl object
|
String |
getGroupTitleBundle() |
String |
getGroupTitleKey() |
String |
getHidden() |
boolean |
getHideIdFlag()
Gets the hideIdFlag attribute of the ResourcePropertiesControl object
|
boolean |
getIdMandatoryFlag()
Gets the idMandatoryFlag attribute of the ResourcePropertiesControl object
|
boolean |
getInvisibleID() |
String |
getLastUserSelection()
Gets the name attribute of the ResourcePropertiesControl object
|
String |
getMaintainable() |
String |
getMessageBundleKey() |
boolean |
getMultipleUploadRendering()
Used only for Multiple Upload Dialog, for rendering the properties according to
multiple upload scenario
|
String |
getName()
Gets the name attribute of the ResourcePropertiesControl object
|
boolean |
getNameDisableFlag()
Gets the nameDisableFlag attribute of the ResourcePropertiesControl object
|
boolean |
getNameInvalidFlag()
Gets the nameInvalidFlag attribute of the ResourcePropertiesControl object
|
boolean |
getNewCollection()
Gets the newCollection attribute of the ResourcePropertiesControl object
|
com.sapportals.wdf.stack.Control |
getNewInstance() |
boolean |
getNewResourceFlag()
Gets the newResourceFlag attribute of the ResourcePropertiesControl object
|
String |
getPersistsPropertiesKey()
Gets the persistsPropertiesKey attribute of the ResourcePropertiesControl object
|
String |
getProperties() |
boolean |
getPropertiesForUpload()
Gets the propertiesForUpload attribute of the ResourcePropertiesControl object
|
IProperty |
getProperty(IPropertyName propertyName)
Retrieve a property from the property list
|
IPropertyMap |
getPropertyMap()
Retrieve all properties created for the resource
|
String |
getPropertyStructureName() |
String |
getPropertyStructureString() |
String |
getResourceMimetype()
Gets the resourceMimetype attribute of the ResourcePropertiesControl object
|
String |
getResourceType()
Gets the resourceTypes attribute of the ResourcePropertiesControl object
|
int |
getSelectedTab()
Gets the selectedTab attribute of the ResourcePropertiesControl object
|
boolean |
getSendBackEvent()
Gets the sendBackEvent attribute of the ResourcePropertiesControl object
|
boolean |
getShowHiddenProperty() |
boolean |
getShowPartialProperties()
If the properties are rendered Partial ( Name and Description before Show Properties link)
|
boolean |
getShowProperties()
Gets the current status of the Show/Hide Properties link
If it renturs true then the Hide Properties link is active ( visible for UI)
and if it return false, Show Properties link is visible for UI
|
boolean |
getShowPropertiesLink()
Returns true/false depending is the Show/Hide Properties link
in Properties dialog
|
boolean |
getShowPropertiesLinkStatus()
Gets the current status of the Show/Hide Properties link
By creating properties for normal item this should return true
otherwise false
|
boolean |
getShowSaveButton()
Get the ShowSaveButton attribute of the ResourceCustomPropertyControl2 object.
|
IStructuredGroupItemList |
getSingleProperties() |
IStructuredGroupItemList |
getSinglePropertiesObject() |
String |
getStartUri()
Retrieve the startURI
|
String |
getStructureDisplayMode()
Gets the property structure which will be displayed
|
String |
getTabWidth() |
boolean |
getUiDetailsHeader()
Gets the uiDetailsHeader attribute of the ResourcePropertiesControl object
|
String |
getUniqueComponentId(IMetaName metaName,
String key) |
boolean |
getUpdateProperties()
Gets the updateProperties attribute of the ResourcePropertiesControl object
|
boolean |
getUploadRendering()
Used only for Upload Dialog, for rendering the FileUpload
component after item Type property
|
protected void |
initialize()
Initialize control by making a copy of data from resource.
|
boolean |
isContentEditable()
Returns
true if the content editable is supported or
false otherwise |
boolean |
isContentRendered()
Returns
true if the content has been rendered or
false otherwise |
boolean |
isIDEditable() |
boolean |
isItemTypeRendered()
Returns true if the resourcetype property had been already rendered
and false otherwise
|
boolean |
isNameEditable() |
boolean |
isRenderAlwaysItemType()
Returns true if the resourcetype property must be always rendered
and false otherwise
|
boolean |
isStandalone() |
boolean |
isUserControlRendered() |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onDelegateEvent(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onRefresh(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSaveProperties(com.sapportals.htmlb.event.Event event)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
onSetProperties(com.sapportals.htmlb.event.Event event)
Description of the Method
|
void |
onToggleTabStrip(com.sapportals.htmlb.event.Event event)
Changes the group tab
|
com.sapportals.wdf.event.WdfEvent |
processCommandException(Command command)
Description of the Method
|
com.sapportals.wdf.event.WdfEvent |
processEvent(com.sapportals.htmlb.event.Event event,
boolean callReadInput) |
com.sapportals.wdf.event.WdfEvent |
processException(Exception e,
String message) |
protected void |
readInputData() |
PropertiesArrayList |
readSingleProperties(PropertiesArrayList cProperties,
int fileIndex) |
void |
receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
Description of the Method
|
com.sapportals.htmlb.Component |
render()
Return the GridLayout that contains all the controls sub controls.
|
com.sapportals.htmlb.Component |
renderMetaNameLabelRequired(IMetaName metaName,
IMetaContext rendererContext,
boolean isRequired) |
com.sapportals.htmlb.Component |
renderPersistentProperties()
Renders local properties map as hidden InputField.
|
com.sapportals.htmlb.Component |
renderPropertiesTabs(List TabComponentList)
Renders the group tabs
|
com.sapportals.htmlb.Component |
renderSingleProperties(int fileIndex,
PropertiesArrayList propertiesList) |
void |
restorePersistentProperties(com.sapportals.htmlb.page.DynPage page)
Restores local properties map as hidden InputField.
|
com.sapportals.wdf.event.WdfEvent |
saveAllProperties(com.sapportals.htmlb.event.Event event)
Description of the Method
|
void |
setAdditionalInformation(Map additionalInformation) |
void |
setContentEditable(boolean contentEditable)
Sets
true if the content editable is supported or
false otherwise |
void |
setContentRendered(boolean cr)
Sets
true if the content has been rendered or
false otherwise |
void |
setContentType(String contentType)
Sets the content type of the content.
|
void |
setEmptyProperties()
Empty the properties list
|
void |
setExternalComponent(com.sapportals.htmlb.Component uiDetails)
Sets the externalComponent attribute of the ResourcePropertiesControl object
|
void |
setExternalLabelComponent(com.sapportals.htmlb.Component uiDetails)
Sets the externalLabelComponent attribute of the ResourcePropertiesControl object
|
void |
setGroupTitleBundle(String grpTitle) |
void |
setGroupTitleKey(String grpTitle) |
void |
setHidden(String properties) |
void |
setHideIdFlag(boolean flag)
Sets the hideIdFlag attribute of the ResourcePropertiesControl object
|
void |
setIDEditable(boolean flag) |
void |
setIdMandatoryFlag(boolean flag)
Sets the idMandatoryFlag attribute of the ResourcePropertiesControl object
|
void |
setInvisibleID(boolean flag) |
void |
setItemTypeRendered(boolean active)
Sets
true if resourcetype has been already rendered,
and false otherwise |
void |
setLastUserSelection(String displayName)
Sets the name attribute of the ResourcePropertiesControl object
|
void |
setMaintainable(String properties) |
void |
setMessageBundleKey(String grpTitle) |
void |
setMultipleUploadRendering(boolean flag)
If it's true, then properties are rendered according to multiple file upload
scenario
|
void |
setName(String displayName)
Sets the name attribute of the ResourcePropertiesControl object
|
void |
setName(String displayName,
boolean force) |
void |
setNameDisableFlag(boolean flag)
Sets the nameDisableFlag attribute of the ResourcePropertiesControl object
|
void |
setNameEditable(boolean flag) |
void |
setNameInvalidFlag(boolean flag)
Sets the nameInvalidFlag attribute of the ResourcePropertiesControl object
|
void |
setNewCollection(boolean flag)
Sets the newCollection attribute of the ResourcePropertiesControl object
|
void |
setNewResourceFlag(boolean flag)
Sets the newResourceFlag attribute of the ResourcePropertiesControl object
|
void |
setPersistsPropertiesKey(String persistsPropertiesKeyValue)
Sets the persistsPropertiesKey attribute of the ResourcePropertiesControl object
|
void |
setProperties(String properties) |
void |
setPropertiesForUpload(boolean flag)
Sets the propertiesForUpload attribute of the ResourcePropertiesControl object
|
void |
setPropertyStructureName(String propertyStructureString) |
void |
setPropertyStructureString(String propertyStructureString)
Sets the property structure which will be displayed
|
void |
setRenderAlwaysItemType(boolean flag)
Sets
true if resourcetype must be always rendered
and false otherwise |
void |
setResourceMimetype(String mimetype)
Sets the resourceMimetype attribute of the ResourcePropertiesControl object
|
void |
setResourceType(String newResourceTypes)
Sets the resourceTypes attribute of the ResourcePropertiesControl object
|
void |
setSelectedTab(int flag)
Sets the selectedTab attribute of the ResourcePropertiesControl object
|
void |
setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourcePropertiesControl object
|
void |
setShowHiddenProperty(boolean flag) |
void |
setShowPartialProperties(boolean flag)
Sets true if the properties are partial rendered
( Name and Description before Show Properties link)
and false if all appear after Show/Hide Properties link
|
void |
setShowProperties(boolean flag)
Sets the current properties status.
|
void |
setShowPropertiesLink(boolean flag)
Sets for Properties dialog if the Show/Hide Properties link should be
rendered
|
void |
setShowPropertiesLinkStatus(boolean flag)
Sets the current status of the Show/Hide Properties link *
|
void |
setShowSaveButton(boolean showSaveButton)
Set the ShowSaveButton attribute of the ResourceCustomPropertyControl2 object.
|
void |
setSingleProperties(IStructuredGroupItemList singleProperties) |
void |
setStandalone(boolean isStandalone) |
void |
setStartUri(String startUri)
Set the startURI with a new value
|
void |
setStructureDisplayMode(String structDisplayMode)
Sets the property structure which will be displayed
|
void |
setTabWidth(String width) |
void |
setUiDetailsHeader(boolean uiDetails)
Sets the uiDetailsHeader attribute of the ResourcePropertiesControl object
|
void |
setUpdateProperties(boolean flag)
Sets the updateProperties attribute of the ResourcePropertiesControl object
|
void |
setUploadRendering(boolean flag)
If it's true, then the FileUpload component
is rendering after ItemType
|
void |
setUri(String uri)
Sets the uri attribute of the ResourcePropertiesControl object
|
void |
setUserControlRendered(boolean isUserControlRendered) |
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResourcegetBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisiblecreate, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initializeImpl, isInitialized, register, resetNestedControls, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputprotected static final String EVENT_ON_TOGGLE_TABSTRIP
public static final String SHOW_LINK_STRUCTURE_PROPERTIES
public static final String ON_DELEGATE_EVENT
public static final String CID_PROPERTY_VALUE
public boolean newCollection
public String resourceMimetype
public String resourceType
public boolean propertiesForUpload
public boolean uploadRendering
public boolean multipleUploadRendering
public void setContentEditable(boolean contentEditable)
IContentEditabletrue if the content editable is supported or
false otherwisesetContentEditable in interface IContentEditablepublic boolean isContentEditable()
IContentEditabletrue if the content editable is supported or
false otherwiseisContentEditable in interface IContentEditablepublic void setContentRendered(boolean cr)
IContentEditabletrue if the content has been rendered or
false otherwisesetContentRendered in interface IContentEditablepublic boolean isContentRendered()
IContentEditabletrue if the content has been rendered or
false otherwiseisContentRendered in interface IContentEditablepublic String getContentType()
getContentType in interface IContentEditableIContentEditable.HTML_TYPE,
IContentEditable.TEXT_TYPE or nullpublic void setContentType(String contentType)
IContentEditableIContentEditable.HTML_TYPE,
IContentEditable.TEXT_TYPE or nullsetContentType in interface IContentEditablepublic void setSingleProperties(IStructuredGroupItemList singleProperties)
public IStructuredGroupItemList getSinglePropertiesObject()
public String getTabWidth()
getTabWidth in interface IShowPropertiespublic void setTabWidth(String width)
setTabWidth in interface IShowPropertiespublic boolean isRenderAlwaysItemType()
IItemtypeRendererisRenderAlwaysItemType in interface IItemtypeRendererpublic void setRenderAlwaysItemType(boolean flag)
IItemtypeRenderertrue if resourcetype must be always rendered
and false otherwisesetRenderAlwaysItemType in interface IItemtypeRendererpublic void setItemTypeRendered(boolean active)
IItemtypeRenderertrue if resourcetype has been already rendered,
and false otherwisesetItemTypeRendered in interface IItemtypeRendererpublic boolean isItemTypeRendered()
IItemtypeRendererisItemTypeRendered in interface IItemtypeRendererpublic void setStandalone(boolean isStandalone)
isStandalone - booleanpublic boolean isStandalone()
public void addInitialProperties(IPropertyMap initialProperties)
public void setShowHiddenProperty(boolean flag)
public boolean getShowHiddenProperty()
public boolean getShowPartialProperties()
IShowPropertiesgetShowPartialProperties in interface IShowPropertiespublic void setShowPartialProperties(boolean flag)
IShowPropertiessetShowPartialProperties in interface IShowPropertiespublic boolean isIDEditable()
isIDEditable in interface IEditablePropertypublic void setIDEditable(boolean flag)
setIDEditable in interface IEditablePropertypublic void setGroupTitleKey(String grpTitle)
public String getGroupTitleKey()
public void setGroupTitleBundle(String grpTitle)
public String getGroupTitleBundle()
public void setMessageBundleKey(String grpTitle)
public String getMessageBundleKey()
public boolean isNameEditable()
isNameEditable in interface IEditablePropertypublic void setNameEditable(boolean flag)
setNameEditable in interface IEditablePropertypublic com.sapportals.wdf.stack.Control getNewInstance()
getNewInstance in interface IPublicControlpublic String getUniqueComponentId(IMetaName metaName, String key)
getUniqueComponentId in interface IPropertyRendererProxypublic String dispatchableControlIDWithValues(ArrayList values) throws WcmException
IPropertyRendererProxydispatchableControlIDWithValues in interface IPropertyRendererProxyvalues - A string array parameter that could be read inside the event handler with decodeValues() (might be null)WcmException - if an error occurredpublic String dispatchableControlID(String value) throws WcmException
IPropertyRendererProxyDynPage under certain conditions: DynPage, the page itself must ensure that the proxies are
configured to create different strings to add to the given parameters. So, if Class A, rendered within
proxy B calls this method, submitting String S1, the resulting String Unique1 must be different from the
String Unique2, that is created when Class A, rendered within proxy C calls this method, submitting String S1dispatchableControlID in interface IPropertyRendererProxyvalue - must not be null.StringWcmException - if an error occurredpublic ArrayList decodeValues(com.sapportals.htmlb.event.Event event) throws WcmException
IPropertyRendererProxydispatchableControlIDWithValues or dispatchableControlID methods
and returns the list of parameters in the same order they were when submitting them.
There will be no en- or decoding done to take care of special characters.
If the dispatchableControlID(String, String) method is used,
a List with only one entry will be returned.decodeValues in interface IPropertyRendererProxyevent - The event that contains the encoded values.WcmExceptionpublic void setPropertyStructureName(String propertyStructureString)
public String getPropertyStructureName()
public void setPropertyStructureString(String propertyStructureString)
IPropertyStructureRenderersetPropertyStructureString in interface IPropertyStructureRendererpropertyStructureString - The new propertyStructureString valuepublic String getPropertyStructureString()
public void setStructureDisplayMode(String structDisplayMode)
setStructureDisplayMode in interface IPropertyStructureRendererstructDisplayMode - The new structureDisplayMode valuepublic String getStructureDisplayMode()
public void setUri(String uri)
setUri in class WcmResourceControluri - The new uri valuepublic String getStartUri()
getStartUri in interface IStartUriRendererpublic void setStartUri(String startUri)
setStartUri in interface IStartUriRendererstartUri - - new vakue of the startUripublic void setUserControlRendered(boolean isUserControlRendered)
public boolean isUserControlRendered()
public void setShowProperties(boolean flag)
IShowPropertiessetShowProperties in interface IShowPropertiespublic boolean getShowProperties()
IShowPropertiesgetShowProperties in interface IShowPropertiespublic void setShowPropertiesLink(boolean flag)
IShowPropertiessetShowPropertiesLink in interface IShowPropertiespublic boolean getShowPropertiesLink()
IShowPropertiesgetShowPropertiesLink in interface IShowPropertiespublic void setShowPropertiesLinkStatus(boolean flag)
IShowPropertiessetShowPropertiesLinkStatus in interface IShowPropertiespublic boolean getShowPropertiesLinkStatus()
IShowPropertiesgetShowPropertiesLinkStatus in interface IShowPropertiespublic void setPersistsPropertiesKey(String persistsPropertiesKeyValue)
IShowPropertiessetPersistsPropertiesKey in interface IShowPropertiespersistsPropertiesKeyValue - The new persistsPropertiesKey valuepublic String getPersistsPropertiesKey()
IShowPropertiesgetPersistsPropertiesKey in interface IShowPropertiespublic void setSendBackEvent(boolean flag)
flag - The new sendBackEvent valuepublic boolean getSendBackEvent()
public void setUpdateProperties(boolean flag)
flag - The new updateProperties valuepublic boolean getUpdateProperties()
public void setNameInvalidFlag(boolean flag)
flag - The new nameInvalidFlag valuepublic boolean getNameInvalidFlag()
public void setIdMandatoryFlag(boolean flag)
flag - The new idMandatoryFlag valuepublic boolean getIdMandatoryFlag()
public void setHideIdFlag(boolean flag)
flag - The new hideIdFlag valuepublic boolean getHideIdFlag()
public void setInvisibleID(boolean flag)
public boolean getInvisibleID()
public void setNameDisableFlag(boolean flag)
flag - The new nameDisableFlag valuepublic boolean getNameDisableFlag()
public void setShowSaveButton(boolean showSaveButton)
showSaveButton - The new ShowSaveButton valuepublic boolean getShowSaveButton()
public void setNewResourceFlag(boolean flag)
flag - The new newResourceFlag valuepublic boolean getNewResourceFlag()
public void setNewCollection(boolean flag)
flag - The new newCollection valuepublic boolean getNewCollection()
public void setResourceMimetype(String mimetype)
mimetype - The new resourceMimetype valuepublic String getResourceMimetype()
public void setResourceType(String newResourceTypes)
newResourceTypes - The new resourceTypes valuepublic String getResourceType()
public void setPropertiesForUpload(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getPropertiesForUpload()
public void setUploadRendering(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getUploadRendering()
public void setMultipleUploadRendering(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getMultipleUploadRendering()
public void setSelectedTab(int flag)
flag - The new selectedTab valuepublic int getSelectedTab()
public void setUiDetailsHeader(boolean uiDetails)
uiDetails - The new uiDetailsHeader valuepublic boolean getUiDetailsHeader()
public void setExternalComponent(com.sapportals.htmlb.Component uiDetails)
setExternalComponent in interface IContentEditableuiDetails - The new externalComponent valuepublic com.sapportals.htmlb.Component getExternalComponent()
getExternalComponent in interface IContentEditablepublic void setExternalLabelComponent(com.sapportals.htmlb.Component uiDetails)
uiDetails - The new externalComponent valuepublic com.sapportals.htmlb.Component getExternalLabelComponent()
public void setName(String displayName)
displayName - The new name valuepublic void setName(String displayName, boolean force)
public String getName()
public void setLastUserSelection(String displayName)
displayName - The new name valuepublic String getLastUserSelection()
public void setProperties(String properties)
public String getProperties()
public void setMaintainable(String properties)
public String getMaintainable()
public void setHidden(String properties)
public String getHidden()
protected void initialize()
throws com.sapportals.wdf.WdfException
initialize in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - WdfExceptionpublic com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic Map getAdditionalInformation()
public Map getAdditionalInformation(boolean usedIMetaContext)
public void setAdditionalInformation(Map additionalInformation)
public com.sapportals.htmlb.Component renderPropertiesTabs(List TabComponentList) throws WcmException
TabComponentList - Description of the ParameterWcmException - Exception raised in failure situationpublic com.sapportals.htmlb.Component renderSingleProperties(int fileIndex,
PropertiesArrayList propertiesList)
public IStructuredGroupItemList getSingleProperties()
public void receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
throws com.sapportals.wdf.WdfException
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlwdfEvent - Description of the paramcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onSetProperties(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the paramWcmException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onDelegateEvent(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onRefresh(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent processEvent(com.sapportals.htmlb.event.Event event,
boolean callReadInput)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onSaveProperties(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the paramcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent saveAllProperties(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the paramcom.sapportals.wdf.WdfException - Exception raised in failure situationpublic com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws ResourceException
event - Description of the paramResourceException - Exception raised in failure situationpublic void onToggleTabStrip(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the paramcom.sapportals.wdf.WdfException - Exception raised in failure situationprotected void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfExceptionpublic PropertiesArrayList readSingleProperties(PropertiesArrayList cProperties, int fileIndex) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfExceptionpublic void restorePersistentProperties(com.sapportals.htmlb.page.DynPage page)
throws com.sapportals.wdf.WdfException
restorePersistentProperties in class com.sapportals.wdf.stack.Controlpage - The DynPage to read out componentscom.sapportals.wdf.WdfException - WdfExceptionpublic com.sapportals.htmlb.Component renderPersistentProperties()
throws com.sapportals.wdf.WdfException
renderPersistentProperties in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - WdfExceptionpublic List getAllProperties()
public IProperty getProperty(IPropertyName propertyName)
propertyName - Description of the Parameterpublic void setEmptyProperties()
public com.sapportals.wdf.event.WdfEvent checkPropertiesValidation()
public com.sapportals.wdf.event.WdfEvent checkMandatoryProperties()
public IPropertyMap getPropertyMap()
public IPropertyMap getDefaultPropertyMap()
public com.sapportals.wdf.event.WdfEvent processException(Exception e, String message)
public com.sapportals.wdf.event.WdfEvent processCommandException(Command command)
command - Description of the parampublic boolean allowSetProprties()
throws WcmException
IShowPropertiesallowSetProprties in interface IShowPropertiesWcmExceptionpublic com.sapportals.htmlb.Component renderMetaNameLabelRequired(IMetaName metaName, IMetaContext rendererContext, boolean isRequired)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
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