com.sapportals.wcm.control.navigation

Class ResourceTreeControlInternal

java.lang.Object
  extended by com.sapportals.wdf.stack.Control
      extended by com.sapportals.wcm.control.base.WcmBaseControl
          extended by com.sapportals.wcm.control.base.WcmResourceControl
              extended by com.sapportals.wcm.control.navigation.ResourceTreeControlInternal
All Implemented Interfaces:
com.sapportals.wdf.event.WdfEventReceiver
Direct Known Subclasses:
ResourceTreeControl

public class ResourceTreeControlInternal
extends WcmResourceControl
implements com.sapportals.wdf.event.WdfEventReceiver

A TreeControl displays the subfolders of a resource collection up to a certain depth in a treeview like manner.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl
WcmResourceControl.ResourceNotFoundException
 
Field Summary
protected static boolean DEFAULT_DISPLAY_HIDDEN_COLLECTIONS
           
protected static int DEFAULT_INITIAL_DISPLAYED_LEVELS
           
protected static int DEFAULT_RESOURCE_DISPLAYNAME_LENGTH
           
protected static String PARAM_ALWAYS_DISPLAY_NODE_EXPANDER
           
protected static String PARAM_COLLECTION_INFO_CLASS
           
protected static String PARAM_DISPLAY_CHILDREN_COUNT_COLLECTIONS
           
protected static String PARAM_DISPLAY_CHILDREN_COUNT_DOCUMENTS
           
protected static String PARAM_DISPLAY_HIDDEN_COLLECTIONS
           
protected static String PARAM_DISPLAY_ONLY_COLLECTIONS
           
protected static String PARAM_DISPLAY_RESOURCE_EXTENSION
           
protected static String PARAM_DISPLAY_RESOURCE_IN_NEW_WINDOW
           
protected static String PARAM_DISPLAY_RESOURCE_TYPE
           
protected static String PARAM_DISPLAY_SCROLLCONTAINER
           
protected static String PARAM_ENABLE_DRAG_AND_DROP
           
protected static String PARAM_FROZEN_URI
           
protected static String PARAM_GROUP_DESIGN
           
protected static String PARAM_HIGHLIGHTED_RESOURCE
           
protected static String PARAM_INITIAL_DISPLAYED_LEVELS
           
protected static String PARAM_MULTIPLE_SELECTION_MODE
           
protected static String PARAM_NEW_ROOT_NODE_ON_RESOURCE_EVENT
           
protected static String PARAM_NODE_COMPONENT_RENDER_CLASS
           
protected static String PARAM_NODE_COMPONENT_RENDER_SUFFIX_CLASS
           
protected static String PARAM_NODE_SELECT_PERMISSION_CLASS
           
protected static String PARAM_NODE_TOOLTIP_CLASS
           
protected static String PARAM_ON_NODE_CLICK_EVENT_CLASS
           
protected static String PARAM_OPEN_COLLECTIONS
           
protected static String PARAM_RESOURCE_DISPLAYNAME_LENGTH
           
protected static String PARAM_RESOURCE_LIST
           
protected static String PARAM_SCROLLCONTAINER_HORIZONTAL_POSITION
           
protected static String PARAM_SCROLLCONTAINER_VERTICAL_POSITION
           
protected static String PARAM_SELECTED_RESOURCES
           
protected static String PARAM_SORT_ORDER_ASCENDING
           
protected static String PARAM_SORT_PROPERTY
           
protected static String PARAM_TITLE
           
protected static String PARAM_TOOLTIPSTYLE
          Determines the style of the tooltip for a resource (enum)
protected static String PARAM_VISIBLE_SUBTREE
           
protected  IPersistenceProvider persistenceProvider
           
static String SC_HEIGHT
           
static String SC_WIDTH
           
protected static String VALUE_OFF
          don't render a tooltip *
static String VALUE_STATUS_ABORT
           
static String VALUE_STATUS_ERROR
           
static String VALUE_STATUS_OK
           
static String VALUE_STATUS_WARNING
           
 
Fields inherited from class com.sapportals.wcm.control.base.WcmResourceControl
START_PAGE_BROWSE, START_PAGE_DETAILS, uri
 
Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl
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
 
Fields inherited from class com.sapportals.wdf.stack.Control
id
 
Constructor Summary
ResourceTreeControlInternal()
          Default constructor for dynamic class instantiation.
 
Method Summary
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)
           
 
Methods inherited from class com.sapportals.wcm.control.base.WcmResourceControl
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUri
 
Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisible
 
Methods inherited from class com.sapportals.wdf.stack.Control
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SC_HEIGHT

public static final String SC_HEIGHT
See Also:
Constant Field Values

SC_WIDTH

public static final String SC_WIDTH
See Also:
Constant Field Values

DEFAULT_INITIAL_DISPLAYED_LEVELS

protected static final int DEFAULT_INITIAL_DISPLAYED_LEVELS
See Also:
Constant Field Values

DEFAULT_RESOURCE_DISPLAYNAME_LENGTH

protected static final int DEFAULT_RESOURCE_DISPLAYNAME_LENGTH
See Also:
Constant Field Values

DEFAULT_DISPLAY_HIDDEN_COLLECTIONS

protected static final boolean DEFAULT_DISPLAY_HIDDEN_COLLECTIONS
See Also:
Constant Field Values

PARAM_DISPLAY_RESOURCE_IN_NEW_WINDOW

protected static final String PARAM_DISPLAY_RESOURCE_IN_NEW_WINDOW
See Also:
Constant Field Values

PARAM_INITIAL_DISPLAYED_LEVELS

protected static final String PARAM_INITIAL_DISPLAYED_LEVELS
See Also:
Constant Field Values

PARAM_RESOURCE_DISPLAYNAME_LENGTH

protected static final String PARAM_RESOURCE_DISPLAYNAME_LENGTH
See Also:
Constant Field Values

PARAM_NEW_ROOT_NODE_ON_RESOURCE_EVENT

protected static final String PARAM_NEW_ROOT_NODE_ON_RESOURCE_EVENT
See Also:
Constant Field Values

PARAM_ALWAYS_DISPLAY_NODE_EXPANDER

protected static final String PARAM_ALWAYS_DISPLAY_NODE_EXPANDER
See Also:
Constant Field Values

PARAM_ENABLE_DRAG_AND_DROP

protected static final String PARAM_ENABLE_DRAG_AND_DROP
See Also:
Constant Field Values

PARAM_DISPLAY_ONLY_COLLECTIONS

protected static final String PARAM_DISPLAY_ONLY_COLLECTIONS
See Also:
Constant Field Values

PARAM_MULTIPLE_SELECTION_MODE

protected static final String PARAM_MULTIPLE_SELECTION_MODE
See Also:
Constant Field Values

PARAM_DISPLAY_HIDDEN_COLLECTIONS

protected static final String PARAM_DISPLAY_HIDDEN_COLLECTIONS
See Also:
Constant Field Values

PARAM_DISPLAY_RESOURCE_TYPE

protected static final String PARAM_DISPLAY_RESOURCE_TYPE
See Also:
Constant Field Values

PARAM_DISPLAY_CHILDREN_COUNT_DOCUMENTS

protected static final String PARAM_DISPLAY_CHILDREN_COUNT_DOCUMENTS
See Also:
Constant Field Values

PARAM_DISPLAY_CHILDREN_COUNT_COLLECTIONS

protected static final String PARAM_DISPLAY_CHILDREN_COUNT_COLLECTIONS
See Also:
Constant Field Values

PARAM_DISPLAY_RESOURCE_EXTENSION

protected static final String PARAM_DISPLAY_RESOURCE_EXTENSION
See Also:
Constant Field Values

PARAM_DISPLAY_SCROLLCONTAINER

protected static final String PARAM_DISPLAY_SCROLLCONTAINER
See Also:
Constant Field Values

PARAM_SCROLLCONTAINER_HORIZONTAL_POSITION

protected static final String PARAM_SCROLLCONTAINER_HORIZONTAL_POSITION
See Also:
Constant Field Values

PARAM_SCROLLCONTAINER_VERTICAL_POSITION

protected static final String PARAM_SCROLLCONTAINER_VERTICAL_POSITION
See Also:
Constant Field Values

PARAM_SELECTED_RESOURCES

protected static final String PARAM_SELECTED_RESOURCES
See Also:
Constant Field Values

PARAM_RESOURCE_LIST

protected static final String PARAM_RESOURCE_LIST
See Also:
Constant Field Values

PARAM_HIGHLIGHTED_RESOURCE

protected static final String PARAM_HIGHLIGHTED_RESOURCE
See Also:
Constant Field Values

PARAM_TITLE

protected static final String PARAM_TITLE
See Also:
Constant Field Values

PARAM_ON_NODE_CLICK_EVENT_CLASS

protected static final String PARAM_ON_NODE_CLICK_EVENT_CLASS
See Also:
Constant Field Values

PARAM_NODE_COMPONENT_RENDER_CLASS

protected static final String PARAM_NODE_COMPONENT_RENDER_CLASS
See Also:
Constant Field Values

PARAM_NODE_TOOLTIP_CLASS

protected static final String PARAM_NODE_TOOLTIP_CLASS
See Also:
Constant Field Values

PARAM_NODE_SELECT_PERMISSION_CLASS

protected static final String PARAM_NODE_SELECT_PERMISSION_CLASS
See Also:
Constant Field Values

PARAM_NODE_COMPONENT_RENDER_SUFFIX_CLASS

protected static final String PARAM_NODE_COMPONENT_RENDER_SUFFIX_CLASS
See Also:
Constant Field Values

PARAM_COLLECTION_INFO_CLASS

protected static final String PARAM_COLLECTION_INFO_CLASS
See Also:
Constant Field Values

PARAM_GROUP_DESIGN

protected static final String PARAM_GROUP_DESIGN
See Also:
Constant Field Values

PARAM_FROZEN_URI

protected static final String PARAM_FROZEN_URI
See Also:
Constant Field Values

PARAM_OPEN_COLLECTIONS

protected static final String PARAM_OPEN_COLLECTIONS
See Also:
Constant Field Values

PARAM_VISIBLE_SUBTREE

protected static final String PARAM_VISIBLE_SUBTREE
See Also:
Constant Field Values

PARAM_SORT_PROPERTY

protected static final String PARAM_SORT_PROPERTY
See Also:
Constant Field Values

PARAM_SORT_ORDER_ASCENDING

protected static final String PARAM_SORT_ORDER_ASCENDING
See Also:
Constant Field Values

VALUE_STATUS_OK

public static final String VALUE_STATUS_OK
See Also:
Constant Field Values

VALUE_STATUS_WARNING

public static final String VALUE_STATUS_WARNING
See Also:
Constant Field Values

VALUE_STATUS_ERROR

public static final String VALUE_STATUS_ERROR
See Also:
Constant Field Values

VALUE_STATUS_ABORT

public static final String VALUE_STATUS_ABORT
See Also:
Constant Field Values

PARAM_TOOLTIPSTYLE

protected static final String PARAM_TOOLTIPSTYLE
Determines the style of the tooltip for a resource (enum)

See Also:
Constant Field Values

VALUE_OFF

protected static final String VALUE_OFF
don't render a tooltip *

See Also:
Constant Field Values

persistenceProvider

protected IPersistenceProvider persistenceProvider
Constructor Detail

ResourceTreeControlInternal

public ResourceTreeControlInternal()
Default constructor for dynamic class instantiation. You should not use this constructor inside your application.

Method Detail

internalSetInitialDisplayedLevels

protected void internalSetInitialDisplayedLevels(int initialDisplayedLevels)
Set the initial depth of the tree.

Parameters:
initialDisplayedLevels - The initial depth

internalGetInitialDisplayedLevels

protected int internalGetInitialDisplayedLevels()
Get the initial depth of the tree.

Returns:
The initial depth

internalSetResourceDisplayNameLength

protected void internalSetResourceDisplayNameLength(int length)

internalGetResourceDisplayNameLength

protected int internalGetResourceDisplayNameLength()

internalSetNewRootNodeOnResourceEvent

protected void internalSetNewRootNodeOnResourceEvent(boolean value)

internalIsNewRootNodeOnResourceEvent

protected boolean internalIsNewRootNodeOnResourceEvent()

internalSetAlwaysDisplayNodeExpander

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. This improves the performance of the tree display. When clicking the expander it is checked whether the collection has children or not. If the collection has children the expander icon will disappear when it is clicked.


internalIsAlwaysDisplayNodeExpander

protected boolean internalIsAlwaysDisplayNodeExpander()

internalSetEnableDragAndDrop

protected void internalSetEnableDragAndDrop(boolean value)

internalIsEnableDragAndDrop

protected boolean internalIsEnableDragAndDrop()

internalSetDisplayOnlyCollections

protected void internalSetDisplayOnlyCollections(boolean value)
Check if non-collections are displayed in the tree view.


internalIsDisplayOnlyCollections

protected boolean internalIsDisplayOnlyCollections()
Check if non-collections are displayed in the tree view.

Returns:
true if documents are displayed in the tree.

internalSetMultipleSelectionMode

protected void internalSetMultipleSelectionMode(boolean value)

internalIsMultipleSelectionMode

protected boolean internalIsMultipleSelectionMode()

internalSetDisplayHiddenCollections

protected void internalSetDisplayHiddenCollections(boolean value)

internalIsDisplayHiddenCollections

protected boolean internalIsDisplayHiddenCollections()

internalSetDisplayResourceType

protected void internalSetDisplayResourceType(boolean value)

internalIsDisplayResourceType

protected boolean internalIsDisplayResourceType()

internalSetDisplayChildrenCountDocuments

protected void internalSetDisplayChildrenCountDocuments(boolean value)

internalIsDisplayChildrenCountDocuments

protected boolean internalIsDisplayChildrenCountDocuments()

internalSetDisplayChildrenCountCollections

protected void internalSetDisplayChildrenCountCollections(boolean value)

internalIsDisplayChildrenCountCollections

protected boolean internalIsDisplayChildrenCountCollections()

internalSetDisplayResourceExtension

protected void internalSetDisplayResourceExtension(boolean value)

internalIsDisplayResourceExtension

protected boolean internalIsDisplayResourceExtension()

internalSetDisplayResourceInNewWindow

protected void internalSetDisplayResourceInNewWindow(boolean value)

internalIsDisplayResourceInNewWindow

protected boolean internalIsDisplayResourceInNewWindow()

internalSetResourceList

protected void internalSetResourceList(ResourceList value)

internalGetResourceList

protected IResourceList internalGetResourceList()

internalSetHighlightedResource

protected void internalSetHighlightedResource(String value)

internalGetHighlightedResource

protected String internalGetHighlightedResource()

internalSetTooltipStyle

protected void internalSetTooltipStyle(String value)

internalGetTooltipStyle

protected String internalGetTooltipStyle()

internalSetSortProperty

protected void internalSetSortProperty(String value)

internalGetSortProperty

protected String internalGetSortProperty()

internalSetSortOrderAscending

protected void internalSetSortOrderAscending(boolean value)

internalIsSortOrderAscending

protected boolean internalIsSortOrderAscending()

internalSetTitle

protected void internalSetTitle(String value)

internalGetTitle

protected String internalGetTitle()

internalSetOnNodeClickEventClass

protected void internalSetOnNodeClickEventClass(String value)

internalGetOnNodeClickEventClass

protected String internalGetOnNodeClickEventClass()

internalSetNodeComponentRenderClass

protected void internalSetNodeComponentRenderClass(String value)

internalGetNodeComponentRenderClass

protected String internalGetNodeComponentRenderClass()

internalSetNodeGetToolTipClass

protected void internalSetNodeGetToolTipClass(String value)

internalGetNodeGetToolTipClass

protected String internalGetNodeGetToolTipClass()

internalSetNodeSelectPermissionClass

protected void internalSetNodeSelectPermissionClass(String value)

internalGetNodeSelectPermissionClass

protected String internalGetNodeSelectPermissionClass()

internalSetNodeComponentRenderSuffixClass

protected void internalSetNodeComponentRenderSuffixClass(String value)

internalGetNodeComponentRenderSuffixClass

protected String internalGetNodeComponentRenderSuffixClass()

internalSetCollectionInfoClass

protected void internalSetCollectionInfoClass(String value)

internalSetCollectionInfoClass

protected void internalSetCollectionInfoClass(ICollectionInfo instance)

internalGetCollectionInfoClass

protected String internalGetCollectionInfoClass()

internalSetGroupDesign

protected void internalSetGroupDesign(com.sapportals.htmlb.enums.GroupDesign value)

internalGetGroupDesign

protected com.sapportals.htmlb.enums.GroupDesign internalGetGroupDesign()

internalSetFrozenURI

protected void internalSetFrozenURI(String uri)

internalGetFrozenURI

protected String internalGetFrozenURI()

internalSetVisibleSubtree

protected void internalSetVisibleSubtree(String uri)

internalGetVisibleSubtree

protected String internalGetVisibleSubtree()

internalSetDisplayScrollContainer

protected void internalSetDisplayScrollContainer(boolean value)

internalIsDisplayScrollContainer

protected boolean internalIsDisplayScrollContainer()

internalSetScrollContainerHorizontalPosition

protected void internalSetScrollContainerHorizontalPosition(int value)

internalGetScrollContainerHorizontalPosition

protected int internalGetScrollContainerHorizontalPosition()

internalSetScrollContainerVerticalPosition

protected void internalSetScrollContainerVerticalPosition(int value)

internalGetScrollContainerVerticalPosition

protected int internalGetScrollContainerVerticalPosition()

internalSetOpenCollections

protected void internalSetOpenCollections(ResourceList value)

internalGetOpenCollections

protected ResourceList internalGetOpenCollections()

internalSetSelectedResources

protected void internalSetSelectedResources(ResourceList value)

internalGetSelectedResources

protected ResourceList internalGetSelectedResources()

readInputData

protected void readInputData()
                      throws com.sapportals.wdf.WdfException
Overrides:
readInputData in class WcmBaseControl
Throws:
com.sapportals.wdf.WdfException

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Build the UI for this control

Specified by:
render in class com.sapportals.wdf.stack.Control
Returns:
A Component containing the rendered control
Throws:
com.sapportals.wdf.WdfException - Description of Exception

setPersistenceProvider

protected void setPersistenceProvider(IPersistenceProvider provider)

getPersistenceProvider

protected IPersistenceProvider getPersistenceProvider()

renderNodeComponent

protected com.sapportals.htmlb.Component renderNodeComponent(IResource resource)
                                                      throws WcmException
Throws:
WcmException

onNodeExpand

public com.sapportals.wdf.event.WdfEvent onNodeExpand(com.sapportals.htmlb.event.Event event)
                                               throws WcmException
onExpand is invoked once the user clicked on an expand button/icon.

Parameters:
event - The Event
Throws:
ResourceException - Description of Exception
WcmException

onRefresh

public com.sapportals.wdf.event.WdfEvent onRefresh(com.sapportals.htmlb.event.Event event)
                                            throws WcmException
Throws:
WcmException

onDropTarget

public com.sapportals.wdf.event.WdfEvent onDropTarget(com.sapportals.htmlb.event.Event event)
                                               throws WcmException
handle drop event

Throws:
WcmException

onNodeClick

public com.sapportals.wdf.event.WdfEvent onNodeClick(com.sapportals.htmlb.event.Event event)
                                              throws WcmException
onNodeClick is invoked once the user clicked on a node of the tree.

Parameters:
event - The Event
Returns:
Description of the Returned Value
Throws:
WcmException - Description of Exception

receive

public void receive(com.sapportals.wdf.event.WdfEvent event)
             throws com.sapportals.wdf.WdfException
Receive a ResourceEvent from other controls

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Parameters:
event - Description of Parameter
Throws:
com.sapportals.wdf.WdfException - Description of Exception

internalGetResourceContext

protected IResourceContext internalGetResourceContext()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice