public class ResourceTreeControlInternal extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
Type | Property and Description |
---|---|
protected String |
internalGetSort |
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 |
---|
ResourceTreeControlInternal()
Default constructor for dynamic class instantiation.
|
Modifier and Type | Method and Description |
---|---|
protected IPersistenceProvider |
getPersistenceProvider() |
protected String |
internalGetCollectionInfoClass() |
protected String |
internalGetFrozenURI() |
protected com.sapportals.htmlb.enums.GroupDesign |
internalGetGroupDesign() |
protected String |
internalGetHighlightedResource() |
protected int |
internalGetInitialDisplayedLevels()
Get the initial depth of the tree.
|
protected String |
internalGetNodeComponentRenderClass() |
protected String |
internalGetNodeComponentRenderSuffixClass() |
protected String |
internalGetNodeGetToolTipClass() |
protected String |
internalGetNodeSelectPermissionClass() |
protected String |
internalGetOnNodeClickEventClass() |
protected ResourceList |
internalGetOpenCollections() |
protected IResourceContext |
internalGetResourceContext() |
protected int |
internalGetResourceDisplayNameLength() |
protected IResourceList |
internalGetResourceList() |
protected int |
internalGetScrollContainerHorizontalPosition() |
protected int |
internalGetScrollContainerVerticalPosition() |
protected ResourceList |
internalGetSelectedResources() |
protected String |
internalGetSortProperty() |
protected String |
internalGetTitle() |
protected String |
internalGetTooltipStyle() |
protected String |
internalGetVisibleSubtree() |
protected boolean |
internalIsAlwaysDisplayNodeExpander() |
protected boolean |
internalIsDisplayChildrenCountCollections() |
protected boolean |
internalIsDisplayChildrenCountDocuments() |
protected boolean |
internalIsDisplayHiddenCollections() |
protected boolean |
internalIsDisplayOnlyCollections()
Check if non-collections are displayed in the tree view.
|
protected boolean |
internalIsDisplayResourceExtension() |
protected boolean |
internalIsDisplayResourceInNewWindow() |
protected boolean |
internalIsDisplayResourceType() |
protected boolean |
internalIsDisplayScrollContainer() |
protected boolean |
internalIsEnableDragAndDrop() |
protected boolean |
internalIsMultipleSelectionMode() |
protected boolean |
internalIsNewRootNodeOnResourceEvent() |
protected boolean |
internalIsSortOrderAscending() |
protected void |
internalSetAlwaysDisplayNodeExpander(boolean value)
If the value is true the expander icon is always display for a collection independent whether the the collection has children or not.
|
protected void |
internalSetCollectionInfoClass(ICollectionInfo instance) |
protected void |
internalSetCollectionInfoClass(String value) |
protected void |
internalSetDisplayChildrenCountCollections(boolean value) |
protected void |
internalSetDisplayChildrenCountDocuments(boolean value) |
protected void |
internalSetDisplayHiddenCollections(boolean value) |
protected void |
internalSetDisplayOnlyCollections(boolean value)
Check if non-collections are displayed in the tree view.
|
protected void |
internalSetDisplayResourceExtension(boolean value) |
protected void |
internalSetDisplayResourceInNewWindow(boolean value) |
protected void |
internalSetDisplayResourceType(boolean value) |
protected void |
internalSetDisplayScrollContainer(boolean value) |
protected void |
internalSetEnableDragAndDrop(boolean value) |
protected void |
internalSetFrozenURI(String uri) |
protected void |
internalSetGroupDesign(com.sapportals.htmlb.enums.GroupDesign value) |
protected void |
internalSetHighlightedResource(String value) |
protected void |
internalSetInitialDisplayedLevels(int initialDisplayedLevels)
Set the initial depth of the tree.
|
protected void |
internalSetMultipleSelectionMode(boolean value) |
protected void |
internalSetNewRootNodeOnResourceEvent(boolean value) |
protected void |
internalSetNodeComponentRenderClass(String value) |
protected void |
internalSetNodeComponentRenderSuffixClass(String value) |
protected void |
internalSetNodeGetToolTipClass(String value) |
protected void |
internalSetNodeSelectPermissionClass(String value) |
protected void |
internalSetOnNodeClickEventClass(String value) |
protected void |
internalSetOpenCollections(ResourceList value) |
protected void |
internalSetResourceDisplayNameLength(int length) |
protected void |
internalSetResourceList(ResourceList value) |
protected void |
internalSetScrollContainerHorizontalPosition(int value) |
protected void |
internalSetScrollContainerVerticalPosition(int value) |
protected void |
internalSetSelectedResources(ResourceList value) |
protected void |
internalSetSortOrderAscending(boolean value) |
protected void |
internalSetSortProperty(String value) |
protected void |
internalSetTitle(String value) |
protected void |
internalSetTooltipStyle(String value) |
protected void |
internalSetVisibleSubtree(String uri) |
com.sapportals.wdf.event.WdfEvent |
onDropTarget(com.sapportals.htmlb.event.Event event)
handle drop event
|
com.sapportals.wdf.event.WdfEvent |
onNodeClick(com.sapportals.htmlb.event.Event event)
onNodeClick is invoked once the user clicked on a node of the tree.
|
com.sapportals.wdf.event.WdfEvent |
onNodeExpand(com.sapportals.htmlb.event.Event event)
onExpand is invoked once the user clicked on an expand button/icon.
|
com.sapportals.wdf.event.WdfEvent |
onRefresh(com.sapportals.htmlb.event.Event event) |
protected void |
readInputData() |
void |
receive(com.sapportals.wdf.event.WdfEvent event)
Receive a ResourceEvent from other controls
|
com.sapportals.htmlb.Component |
render()
Build the UI for this control
|
protected com.sapportals.htmlb.Component |
renderNodeComponent(IResource resource) |
protected void |
setPersistenceProvider(IPersistenceProvider provider) |
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
protected String internalGetSortProperty
public static final String SC_HEIGHT
public static final String SC_WIDTH
protected static final int DEFAULT_INITIAL_DISPLAYED_LEVELS
protected static final int DEFAULT_RESOURCE_DISPLAYNAME_LENGTH
protected static final boolean DEFAULT_DISPLAY_HIDDEN_COLLECTIONS
protected static final String PARAM_DISPLAY_RESOURCE_IN_NEW_WINDOW
protected static final String PARAM_INITIAL_DISPLAYED_LEVELS
protected static final String PARAM_RESOURCE_DISPLAYNAME_LENGTH
protected static final String PARAM_NEW_ROOT_NODE_ON_RESOURCE_EVENT
protected static final String PARAM_ALWAYS_DISPLAY_NODE_EXPANDER
protected static final String PARAM_ENABLE_DRAG_AND_DROP
protected static final String PARAM_DISPLAY_ONLY_COLLECTIONS
protected static final String PARAM_MULTIPLE_SELECTION_MODE
protected static final String PARAM_DISPLAY_HIDDEN_COLLECTIONS
protected static final String PARAM_DISPLAY_RESOURCE_TYPE
protected static final String PARAM_DISPLAY_CHILDREN_COUNT_DOCUMENTS
protected static final String PARAM_DISPLAY_CHILDREN_COUNT_COLLECTIONS
protected static final String PARAM_DISPLAY_RESOURCE_EXTENSION
protected static final String PARAM_DISPLAY_SCROLLCONTAINER
protected static final String PARAM_SCROLLCONTAINER_HORIZONTAL_POSITION
protected static final String PARAM_SCROLLCONTAINER_VERTICAL_POSITION
protected static final String PARAM_SELECTED_RESOURCES
protected static final String PARAM_RESOURCE_LIST
protected static final String PARAM_HIGHLIGHTED_RESOURCE
protected static final String PARAM_TITLE
protected static final String PARAM_ON_NODE_CLICK_EVENT_CLASS
protected static final String PARAM_NODE_COMPONENT_RENDER_CLASS
protected static final String PARAM_NODE_TOOLTIP_CLASS
protected static final String PARAM_NODE_SELECT_PERMISSION_CLASS
protected static final String PARAM_NODE_COMPONENT_RENDER_SUFFIX_CLASS
protected static final String PARAM_COLLECTION_INFO_CLASS
protected static final String PARAM_GROUP_DESIGN
protected static final String PARAM_FROZEN_URI
protected static final String PARAM_OPEN_COLLECTIONS
protected static final String PARAM_VISIBLE_SUBTREE
protected static final String PARAM_SORT_PROPERTY
protected static final String PARAM_SORT_ORDER_ASCENDING
public static final String VALUE_STATUS_OK
public static final String VALUE_STATUS_WARNING
public static final String VALUE_STATUS_ERROR
public static final String VALUE_STATUS_ABORT
protected static final String PARAM_TOOLTIPSTYLE
protected static final String VALUE_OFF
protected IPersistenceProvider persistenceProvider
public ResourceTreeControlInternal()
protected void internalSetInitialDisplayedLevels(int initialDisplayedLevels)
initialDisplayedLevels
- The initial depthprotected int internalGetInitialDisplayedLevels()
protected void internalSetResourceDisplayNameLength(int length)
protected int internalGetResourceDisplayNameLength()
protected void internalSetNewRootNodeOnResourceEvent(boolean value)
protected boolean internalIsNewRootNodeOnResourceEvent()
protected void internalSetAlwaysDisplayNodeExpander(boolean value)
protected boolean internalIsAlwaysDisplayNodeExpander()
protected void internalSetEnableDragAndDrop(boolean value)
protected boolean internalIsEnableDragAndDrop()
protected void internalSetDisplayOnlyCollections(boolean value)
protected boolean internalIsDisplayOnlyCollections()
protected void internalSetMultipleSelectionMode(boolean value)
protected boolean internalIsMultipleSelectionMode()
protected void internalSetDisplayHiddenCollections(boolean value)
protected boolean internalIsDisplayHiddenCollections()
protected void internalSetDisplayResourceType(boolean value)
protected boolean internalIsDisplayResourceType()
protected void internalSetDisplayChildrenCountDocuments(boolean value)
protected boolean internalIsDisplayChildrenCountDocuments()
protected void internalSetDisplayChildrenCountCollections(boolean value)
protected boolean internalIsDisplayChildrenCountCollections()
protected void internalSetDisplayResourceExtension(boolean value)
protected boolean internalIsDisplayResourceExtension()
protected void internalSetDisplayResourceInNewWindow(boolean value)
protected boolean internalIsDisplayResourceInNewWindow()
protected void internalSetResourceList(ResourceList value)
protected IResourceList internalGetResourceList()
protected void internalSetHighlightedResource(String value)
protected String internalGetHighlightedResource()
protected void internalSetTooltipStyle(String value)
protected String internalGetTooltipStyle()
protected void internalSetSortProperty(String value)
protected String internalGetSortProperty()
protected void internalSetSortOrderAscending(boolean value)
protected boolean internalIsSortOrderAscending()
protected void internalSetTitle(String value)
protected String internalGetTitle()
protected void internalSetOnNodeClickEventClass(String value)
protected String internalGetOnNodeClickEventClass()
protected void internalSetNodeComponentRenderClass(String value)
protected String internalGetNodeComponentRenderClass()
protected void internalSetNodeGetToolTipClass(String value)
protected String internalGetNodeGetToolTipClass()
protected void internalSetNodeSelectPermissionClass(String value)
protected String internalGetNodeSelectPermissionClass()
protected void internalSetNodeComponentRenderSuffixClass(String value)
protected String internalGetNodeComponentRenderSuffixClass()
protected void internalSetCollectionInfoClass(String value)
protected void internalSetCollectionInfoClass(ICollectionInfo instance)
protected String internalGetCollectionInfoClass()
protected void internalSetGroupDesign(com.sapportals.htmlb.enums.GroupDesign value)
protected com.sapportals.htmlb.enums.GroupDesign internalGetGroupDesign()
protected void internalSetFrozenURI(String uri)
protected String internalGetFrozenURI()
protected void internalSetVisibleSubtree(String uri)
protected String internalGetVisibleSubtree()
protected void internalSetDisplayScrollContainer(boolean value)
protected boolean internalIsDisplayScrollContainer()
protected void internalSetScrollContainerHorizontalPosition(int value)
protected int internalGetScrollContainerHorizontalPosition()
protected void internalSetScrollContainerVerticalPosition(int value)
protected int internalGetScrollContainerVerticalPosition()
protected void internalSetOpenCollections(ResourceList value)
protected ResourceList internalGetOpenCollections()
protected void internalSetSelectedResources(ResourceList value)
protected ResourceList internalGetSelectedResources()
protected void readInputData() throws com.sapportals.wdf.WdfException
readInputData
in class WcmBaseControl
com.sapportals.wdf.WdfException
public com.sapportals.htmlb.Component render() throws com.sapportals.wdf.WdfException
render
in class com.sapportals.wdf.stack.Control
com.sapportals.wdf.WdfException
- Description of Exceptionprotected void setPersistenceProvider(IPersistenceProvider provider)
protected IPersistenceProvider getPersistenceProvider()
protected com.sapportals.htmlb.Component renderNodeComponent(IResource resource) throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onNodeExpand(com.sapportals.htmlb.event.Event event) throws WcmException
event
- The EventResourceException
- Description of ExceptionWcmException
public com.sapportals.wdf.event.WdfEvent onRefresh(com.sapportals.htmlb.event.Event event) throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onDropTarget(com.sapportals.htmlb.event.Event event) throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onNodeClick(com.sapportals.htmlb.event.Event event) throws WcmException
event
- The EventWcmException
- Description of Exceptionpublic void receive(com.sapportals.wdf.event.WdfEvent event) throws com.sapportals.wdf.WdfException
receive
in interface com.sapportals.wdf.event.WdfEventReceiver
receive
in class WcmResourceControl
event
- Description of Parametercom.sapportals.wdf.WdfException
- Description of Exceptionprotected IResourceContext internalGetResourceContext()
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