com.sapportals.wcm.control.navigation

Class ResourceListControlOptions

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.ResourceListControlOptions
All Implemented Interfaces:
com.sapportals.wdf.event.WdfEventReceiver

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

This is the Control for the settings of a folder. It provides a selection for the columns, which should be shown in a resource list and some additional settings for the folder. The control is only available for folder and only if the propeties service is assigned to the corresponding repository. Some settings are service depended, like statemanagement or timebased publish

Copyright 2004 SAP AG


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl
WcmResourceControl.ResourceNotFoundException
 
Field Summary
 
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
ResourceListControlOptions()
          Default Constructor
ResourceListControlOptions(String controlID)
          Constructor with ConstrolID
 
Method Summary
 boolean getEnhancedFlag()
           
 boolean getStatemanagementWarning()
           
 boolean getStatemanagemetFlag()
           
 boolean getTimebasePublishEnabledFlag()
           
 void onAdd(com.sapportals.htmlb.event.Event event)
          Handlermethod for button 'add to selected'
 void onDown(com.sapportals.htmlb.event.Event event)
          Handlermethod for 'shift entry down' (only in 'selected columns list')
 void onRemove(com.sapportals.htmlb.event.Event event)
          Handlermethod for 'remove from selected'
 com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
          Handlermethod for button 'save'
 void onStatemanagementCheck(com.sapportals.htmlb.event.Event event)
          Handlermethod for button 'Statemanagement enabled Checkbox'
 void onUp(com.sapportals.htmlb.event.Event event)
          Handlermethod for 'shift entry up' (only in 'selected columns list')
 com.sapportals.wdf.event.WdfEvent onWarningCancel(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onWarningOK(com.sapportals.htmlb.event.Event event)
           
protected  void readInputData()
           
 void receive(com.sapportals.wdf.event.WdfEvent impEvent)
          reacts on CflResourceEvents and resets the present resource of the control.
 com.sapportals.htmlb.Component render()
          renderes the complete Control
 void restorePersistentProperties(com.sapportals.htmlb.page.DynPage parm1)
           
 void setEnhancedFlag(boolean impEnhanced)
           
 void setStatemanagementWarning(boolean impWarning)
           
 void setStatemanagemetFlag(boolean impStatemanagementEnabled)
           
 void setTimebasedPublishEnabledFlag(boolean impFlag)
           
 
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, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceListControlOptions

public ResourceListControlOptions()
                           throws com.sapportals.wcm.WcmException
Default Constructor

Throws:
com.sapportals.wcm.WcmException

ResourceListControlOptions

public ResourceListControlOptions(String controlID)
                           throws com.sapportals.wcm.WcmException
Constructor with ConstrolID

Throws:
com.sapportals.wcm.WcmException
Method Detail

setStatemanagementWarning

public void setStatemanagementWarning(boolean impWarning)

getStatemanagementWarning

public boolean getStatemanagementWarning()

setStatemanagemetFlag

public void setStatemanagemetFlag(boolean impStatemanagementEnabled)

getStatemanagemetFlag

public boolean getStatemanagemetFlag()

setEnhancedFlag

public void setEnhancedFlag(boolean impEnhanced)

getEnhancedFlag

public boolean getEnhancedFlag()
                        throws ResourceException
Throws:
ResourceException

setTimebasedPublishEnabledFlag

public void setTimebasedPublishEnabledFlag(boolean impFlag)

getTimebasePublishEnabledFlag

public boolean getTimebasePublishEnabledFlag()
                                      throws ResourceException
Throws:
ResourceException

render

public com.sapportals.htmlb.Component render()
renderes the complete Control

Specified by:
render in class com.sapportals.wdf.stack.Control

onStatemanagementCheck

public void onStatemanagementCheck(com.sapportals.htmlb.event.Event event)
                            throws Exception
Handlermethod for button 'Statemanagement enabled Checkbox'

Throws:
Exception

onWarningOK

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

onWarningCancel

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

onAdd

public void onAdd(com.sapportals.htmlb.event.Event event)
           throws Exception
Handlermethod for button 'add to selected'

Throws:
Exception

onUp

public void onUp(com.sapportals.htmlb.event.Event event)
          throws Exception
Handlermethod for 'shift entry up' (only in 'selected columns list')

Throws:
Exception

onDown

public void onDown(com.sapportals.htmlb.event.Event event)
            throws Exception
Handlermethod for 'shift entry down' (only in 'selected columns list')

Throws:
Exception

onRemove

public void onRemove(com.sapportals.htmlb.event.Event event)
              throws Exception
Handlermethod for 'remove from selected'

Throws:
Exception

onSave

public com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
Handlermethod for button 'save'


restorePersistentProperties

public void restorePersistentProperties(com.sapportals.htmlb.page.DynPage parm1)
                                 throws com.sapportals.wdf.WdfException
Overrides:
restorePersistentProperties in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException

readInputData

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

receive

public void receive(com.sapportals.wdf.event.WdfEvent impEvent)
             throws com.sapportals.wdf.WdfException
Description copied from class: WcmResourceControl
reacts on CflResourceEvents and resets the present resource of the control. If controls want to implement a special treatment of these events they can implement this method themselves.

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Throws:
com.sapportals.wdf.WdfException
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 2011 SAP AG Complete Copyright Notice