public class ResourceCustomPropertyControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
Copyright 2004 SAP AG
WcmResourceControl.ResourceNotFoundException
START_PAGE_BROWSE, START_PAGE_DETAILS, uri
BLANK_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, SUMMARY
Constructor and Description |
---|
ResourceCustomPropertyControl() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSave()
Workaround for composite control usage.
|
String |
getSelectedMetaNameId() |
String |
getSelectedMetaValueId() |
boolean |
getShowSaveButton() |
boolean |
isStrictSelection() |
com.sapportals.wdf.event.WdfEvent |
onAddProperties(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onAddSelectionProperties(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onDeleteSelectedProperties(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSaveAllChanges(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSelectName(com.sapportals.htmlb.event.Event event) |
protected void |
readInputData() |
void |
receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
Reacts on CflResourceEvents and resets the present resource of the
control.
|
com.sapportals.htmlb.Component |
render()
Return the GridLayout that contains all the controls sub controls.
|
void |
setSelectedMetaNameId(String selectedMetaNameId) |
void |
setSelectedMetaValueId(String selectedMetaValueId) |
void |
setShowSaveButton(boolean showSaveButton) |
void |
setStrictSelection(boolean strictSelection) |
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUri
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisible
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
public void setStrictSelection(boolean strictSelection)
public boolean isStrictSelection()
public String getSelectedMetaNameId()
public void setSelectedMetaNameId(String selectedMetaNameId)
public String getSelectedMetaValueId()
public void setSelectedMetaValueId(String selectedMetaValueId)
public boolean getShowSaveButton()
public void setShowSaveButton(boolean showSaveButton)
public boolean canSave() throws WcmException
WcmException
- WcmExceptionpublic com.sapportals.htmlb.Component render() throws com.sapportals.wdf.WdfException
render
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
- WdfExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent wdfEvent) throws com.sapportals.wdf.WdfException
WcmResourceControl
receive
in interface com.sapportals.wdf.event.WdfEventReceiver
receive
in class WcmResourceControl
wdfEvent
- the eventcom.sapportals.wdf.WdfException
- if an error occurspublic com.sapportals.wdf.event.WdfEvent onSaveAllChanges(com.sapportals.htmlb.event.Event event) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onAddProperties(com.sapportals.htmlb.event.Event event) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onDeleteSelectedProperties(com.sapportals.htmlb.event.Event event) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onSelectName(com.sapportals.htmlb.event.Event event) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onAddSelectionProperties(com.sapportals.htmlb.event.Event event) throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
protected void readInputData() throws com.sapportals.wdf.WdfException
readInputData
in class WcmBaseControl
com.sapportals.wdf.WdfException
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 2018 SAP AG Complete Copyright Notice