public class ResourcePreviewControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver, IPublicControl, IPreview
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 |
---|
ResourcePreviewControl()
Constructor for the DemoPreviewControl object
|
Modifier and Type | Method and Description |
---|---|
boolean |
canRender() |
com.sapportals.wdf.stack.Control |
getNewInstance() |
boolean |
getShowResourceTile()
Gets the showResourceTile attribute of the ResourcePreviewControl
|
void |
receive(com.sapportals.wdf.event.WdfEvent recEvent)
Description of the Method
|
com.sapportals.htmlb.Component |
render()
Description of the Method
|
void |
setPreviewResource(IResource previewRes) |
void |
setShowResourceTile(boolean impEnhanced)
Sets if the Preview resource displayname will be displayed in the Group title
|
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, readInputData, 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 ResourcePreviewControl()
public com.sapportals.wdf.stack.Control getNewInstance()
getNewInstance
in interface IPublicControl
public void setShowResourceTile(boolean impEnhanced)
setShowResourceTile
in interface IPreview
impEnhanced
- The new showResourceTile valuepublic boolean getShowResourceTile() throws ResourceException
ResourceException
- Exception raised in failure situationpublic com.sapportals.htmlb.Component render() throws com.sapportals.wdf.WdfException
render
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
- Exception raised in failure situationpublic void receive(com.sapportals.wdf.event.WdfEvent recEvent) throws com.sapportals.wdf.WdfException
receive
in interface com.sapportals.wdf.event.WdfEventReceiver
receive
in class WcmResourceControl
recEvent
- Description of the paramcom.sapportals.wdf.WdfException
- Exception raised in failure situationpublic void setPreviewResource(IResource previewRes)
setPreviewResource
in interface IPreview
public boolean canRender()
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