public class LinkListControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver, IControlLinkHandler
Documents link are not displayed as links because every document is processed as link. Additionally the controls provide a button for editing the link list, if the user has the write permission for the collection. Copyright 2004 SAP AG
WcmResourceControl.ResourceNotFoundException| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_ON_EDIT |
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, SUMMARY| Constructor and Description |
|---|
LinkListControl() |
| Modifier and Type | Method and Description |
|---|---|
String |
createLink(IResource resource)
Creates the links to resources for the embedded resource list.
|
protected void |
createNestedControls() |
boolean |
getDetailsLinkTarget() |
boolean |
getDisplayFavorites() |
boolean |
getForceCollectionCreation() |
protected IUriReference |
getNavigationPageUri(String uri,
String startPage) |
String |
getStartRoot() |
com.sapportals.wdf.event.WdfEvent |
onEdit(com.sapportals.htmlb.event.Event event)
Call the edit dialog for the corresponding resource
|
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
Reacts on CflResourceEvents and resets the present resource of the
control.
|
com.sapportals.htmlb.Component |
render() |
void |
setDetailsLinkTarget(boolean displayLinkTarget) |
void |
setDisplayFavorites(boolean flag) |
void |
setForceCollectionCreation(boolean flag) |
void |
setStartRoot(String newStartRoot) |
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUrigetBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, readInputData, setControlContext, setResourceContext, setTestMode, setVisiblecreate, create, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputpublic static final String EVENT_ON_EDIT
protected void createNestedControls()
throws com.sapportals.wdf.WdfException
createNestedControls in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic String createLink(IResource resource)
createLink in interface IControlLinkHandlerpublic com.sapportals.wdf.event.WdfEvent onEdit(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
WcmResourceControlreceive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcflEvent - the eventcom.sapportals.wdf.WdfException - if an error occurspublic com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic void setDisplayFavorites(boolean flag)
throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfExceptionpublic boolean getDisplayFavorites()
public void setForceCollectionCreation(boolean flag)
public boolean getForceCollectionCreation()
public void setDetailsLinkTarget(boolean displayLinkTarget)
public boolean getDetailsLinkTarget()
public void setStartRoot(String newStartRoot)
public String getStartRoot()
protected IUriReference getNavigationPageUri(String uri, String startPage) throws com.sapportals.wdf.WdfException
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 2021 SAP SE Complete Copyright Notice