public class ResourceTreeControl extends ResourceTreeControlInternal implements com.sapportals.wdf.event.WdfEventReceiver, IPersistenceProvider
Type | Property and Description |
---|---|
String |
GetSort |
internalGetSortProperty
WcmResourceControl.ResourceNotFoundException
Modifier and Type | Field and Description |
---|---|
static String |
VALUE_STATUS_ABORT |
static String |
VALUE_STATUS_ERROR |
static String |
VALUE_STATUS_OK |
static String |
VALUE_STATUS_WARNING |
DEFAULT_DISPLAY_HIDDEN_COLLECTIONS, DEFAULT_INITIAL_DISPLAYED_LEVELS, DEFAULT_RESOURCE_DISPLAYNAME_LENGTH, PARAM_ALWAYS_DISPLAY_NODE_EXPANDER, PARAM_COLLECTION_INFO_CLASS, PARAM_DISPLAY_CHILDREN_COUNT_COLLECTIONS, PARAM_DISPLAY_CHILDREN_COUNT_DOCUMENTS, PARAM_DISPLAY_HIDDEN_COLLECTIONS, PARAM_DISPLAY_ONLY_COLLECTIONS, PARAM_DISPLAY_RESOURCE_EXTENSION, PARAM_DISPLAY_RESOURCE_IN_NEW_WINDOW, PARAM_DISPLAY_RESOURCE_TYPE, PARAM_DISPLAY_SCROLLCONTAINER, PARAM_ENABLE_DRAG_AND_DROP, PARAM_FROZEN_URI, PARAM_GROUP_DESIGN, PARAM_HIGHLIGHTED_RESOURCE, PARAM_INITIAL_DISPLAYED_LEVELS, PARAM_MULTIPLE_SELECTION_MODE, PARAM_NEW_ROOT_NODE_ON_RESOURCE_EVENT, PARAM_NODE_COMPONENT_RENDER_CLASS, PARAM_NODE_COMPONENT_RENDER_SUFFIX_CLASS, PARAM_NODE_SELECT_PERMISSION_CLASS, PARAM_NODE_TOOLTIP_CLASS, PARAM_ON_NODE_CLICK_EVENT_CLASS, PARAM_OPEN_COLLECTIONS, PARAM_RESOURCE_DISPLAYNAME_LENGTH, PARAM_RESOURCE_LIST, PARAM_SCROLLCONTAINER_HORIZONTAL_POSITION, PARAM_SCROLLCONTAINER_VERTICAL_POSITION, PARAM_SELECTED_RESOURCES, PARAM_SORT_ORDER_ASCENDING, PARAM_SORT_PROPERTY, PARAM_TITLE, PARAM_TOOLTIPSTYLE, PARAM_VISIBLE_SUBTREE, persistenceProvider, SC_HEIGHT, SC_WIDTH, VALUE_OFF
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 |
---|
ResourceTreeControl()
Default constructor for dynamic class instantiation.
|
internalGetCollectionInfoClass, internalGetFrozenURI, internalGetGroupDesign, internalGetHighlightedResource, internalGetInitialDisplayedLevels, internalGetNodeComponentRenderClass, internalGetNodeComponentRenderSuffixClass, internalGetNodeGetToolTipClass, internalGetNodeSelectPermissionClass, internalGetOnNodeClickEventClass, internalGetOpenCollections, internalGetResourceContext, internalGetResourceDisplayNameLength, internalGetResourceList, internalGetScrollContainerHorizontalPosition, internalGetScrollContainerVerticalPosition, internalGetSelectedResources, internalGetSortProperty, internalGetTitle, internalGetTooltipStyle, internalGetVisibleSubtree, internalIsAlwaysDisplayNodeExpander, internalIsDisplayChildrenCountCollections, internalIsDisplayChildrenCountDocuments, internalIsDisplayHiddenCollections, internalIsDisplayOnlyCollections, internalIsDisplayResourceExtension, internalIsDisplayResourceInNewWindow, internalIsDisplayResourceType, internalIsDisplayScrollContainer, internalIsEnableDragAndDrop, internalIsMultipleSelectionMode, internalIsNewRootNodeOnResourceEvent, internalIsSortOrderAscending, internalSetAlwaysDisplayNodeExpander, internalSetCollectionInfoClass, internalSetCollectionInfoClass, internalSetDisplayChildrenCountCollections, internalSetDisplayChildrenCountDocuments, internalSetDisplayHiddenCollections, internalSetDisplayOnlyCollections, internalSetDisplayResourceExtension, internalSetDisplayResourceInNewWindow, internalSetDisplayResourceType, internalSetDisplayScrollContainer, internalSetEnableDragAndDrop, internalSetFrozenURI, internalSetGroupDesign, internalSetHighlightedResource, internalSetInitialDisplayedLevels, internalSetMultipleSelectionMode, internalSetNewRootNodeOnResourceEvent, internalSetNodeComponentRenderClass, internalSetNodeComponentRenderSuffixClass, internalSetNodeGetToolTipClass, internalSetNodeSelectPermissionClass, internalSetOnNodeClickEventClass, internalSetOpenCollections, internalSetResourceDisplayNameLength, internalSetResourceList, internalSetScrollContainerHorizontalPosition, internalSetScrollContainerVerticalPosition, internalSetSelectedResources, internalSetSortOrderAscending, internalSetSortProperty, internalSetTitle, internalSetTooltipStyle, internalSetVisibleSubtree, onDropTarget, onNodeClick, onNodeExpand, onRefresh, readInputData, receive, render, renderNodeComponent
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, 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 String GetSortProperty
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
public ResourceTreeControl()
public Object getObjectFromCache(Object key)
IResourceRenderer
that cannot use
the WDF persistence service, can use this method and addObjectToCache
to store elements in the cache and to persist them through the http-request cycle.
Please note, that it's the calling object's responsibility to ensure the uniqueness
of its keys.getObjectFromCache
in interface IPersistenceProvider
key
- the key to the object in the Cachenull
, if this key
is not known in the cache.public boolean removeObjectFromCache(Object key)
removeObjectFromCache
in interface IPersistenceProvider
public boolean addObjectToCache(Object key, Object value, boolean overwrite)
addObjectToCache
in interface IPersistenceProvider
key
- the key to store and retrieve the stored object withvalue
- the value to storeoverwrite
- flag, to decide, if an existing key-value pair should
be replaced with the given set.
Please see getObjectFromCache
for further information about
this methodfalse
public void setInitialDisplayedLevels(int initialDisplayedLevels)
initialDisplayedLevels
- The initial depthpublic int getInitialDisplayedLevels()
public void setResourceDisplayNameLength(int length)
public int getResourceDisplayNameLength()
public void setNewRootNodeOnResourceEvent(boolean flag)
public boolean isNewRootNodeOnResourceEvent()
public void setAlwaysDisplayNodeExpander(boolean flag)
public boolean isAlwaysDisplayNodeExpander()
public void setEnableDragAndDrop(boolean flag)
public boolean isEnableDragAndDrop()
public boolean isDisplayOnlyCollections()
public void setDisplayOnlyCollections(boolean flag)
public boolean isMultipleSelectionMode()
public void setMultipleSelectionMode(boolean flag)
public boolean isDisplayHiddenCollections()
public void setDisplayHiddenCollections(boolean flag)
public boolean isDisplayResourceType()
public void setDisplayResourceType(boolean flag)
public boolean isDisplayResourceExtension()
public void setDisplayResourceExtension(boolean flag)
public void setDisplayChildrenCountDocuments(boolean flag)
public boolean isDisplayChildrenCountDocuments()
public void setDisplayChildrenCountCollections(boolean flag)
public boolean isDisplayChildrenCountCollections()
public boolean isDisplayResourceInNewWindow()
public void setDisplayResourceInNewWindow(boolean flag)
public void setResourceList(ResourceList resourceList)
public IResourceList getResourceList()
WcmResourceControl
getResourceList
in class WcmResourceControl
public void setHighlightedResource(String uri)
public String getHighlightedResource()
public void setTitle(String title)
public String getTitle()
public void setOnNodeClickEventClass(String className)
public String getOnNodeClickEventClass()
public void setNodeComponentRenderClass(String className)
public String getNodeComponentRenderClass()
public void setNodeGetToolTipClass(String className)
public String getNodeGetToolTipClass()
public void setNodeSelectPermissionClass(String className)
public String getNodeSelectPermissionClass()
public void setNodeComponentRenderSuffixClass(String className)
public String getNodeComponentRenderSuffixClass()
public void setCollectionInfoClass(String className)
public String getCollectionInfoClass()
public void setFrozenURI(String uri)
public String getFrozenURI()
public void setVisibleSubtree(String uri)
public String getVisibleSubtree()
public void setTooltipStyle(String value)
public String getTooltipStyle()
public void setSortProperty(String value)
public String GetSortProperty()
public boolean isSortOrderAscending()
public void setSortOrderAscending(boolean flag)
public boolean isDisplayScrollContainer()
public void setDisplayScrollContainer(boolean flag)
public int getScrollContainerHorizontalPosition()
public void setScrollContainerHorizontalPosition(int flag)
public int getScrollContainerVerticalPosition()
public void setScrollContainerVerticalPosition(int flag)
public void setUriList(String data)
public String getUriList()
public void setGroupDesign(com.sapportals.htmlb.enums.GroupDesign design)
public com.sapportals.htmlb.enums.GroupDesign getGroupDesign()
public void setGroupDesignString(String design)
public String getGroupDesignString()
protected void setPersistenceProvider(IPersistenceProvider provider)
setPersistenceProvider
in class ResourceTreeControlInternal
protected IPersistenceProvider getPersistenceProvider()
getPersistenceProvider
in class ResourceTreeControlInternal
public void setSelectedResources(ResourceList value)
public IResourceList getSelectedResources()
public void setOpenCollections(ResourceList value)
public IResourceList getOpenCollections()
public String getCacheIDPrefix()
public Set getKeySet()
getKeySet
in interface IPersistenceProvider
Set
, never null
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