com.sapportals.wcm.control.navigation

Class ResourceVersioningControl

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

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

The control is only available for folder and only if the propeties service is assigned to the corresponding repository.


Nested Class Summary
static class ResourceVersioningControl.DisableEvent
           
 
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
ResourceVersioningControl()
          Default Constructor
ResourceVersioningControl(String controlID)
          Constructor with ConstrolID
 
Method Summary
 boolean getEnhancedFlag()
          Gets the enhancedFlag attribute of the ResourceVersioningControl object
 boolean getSendBackEvent()
          Gets the sendBackEvent attribute of the ResourceVersioningControl object
 boolean isConfirmMode()
           
 boolean isOverview()
           
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onVersioningDisable(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onVersioningDisableFirstStep(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onVersioningEnable(com.sapportals.htmlb.event.Event event)
          Handlermethod for button 'save'
 void receive(com.sapportals.wdf.event.WdfEvent impEvent)
          Description of the Method
 com.sapportals.htmlb.Component render()
          renderes the complete Control
 void setConfirmMode(boolean confirmMode)
           
 void setEnhancedFlag(boolean impEnhanced)
          Sets the enhancedFlag attribute of the ResourceVersioningControl object
 void setOverview(boolean isOverview)
           
 void setSendBackEvent(boolean flag)
          Sets the sendBackEvent attribute of the ResourceVersioningControl object
 
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, readInputData, 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
 

Constructor Detail

ResourceVersioningControl

public ResourceVersioningControl()
                          throws WcmException
Default Constructor

Throws:
WcmException - Exception raised in failure situation

ResourceVersioningControl

public ResourceVersioningControl(String controlID)
                          throws WcmException
Constructor with ConstrolID

Parameters:
controlID - Description of the param
Throws:
WcmException - Exception raised in failure situation
Method Detail

setEnhancedFlag

public void setEnhancedFlag(boolean impEnhanced)
Sets the enhancedFlag attribute of the ResourceVersioningControl object

Parameters:
impEnhanced - The new enhancedFlag value

getEnhancedFlag

public boolean getEnhancedFlag()
                        throws ResourceException
Gets the enhancedFlag attribute of the ResourceVersioningControl object

Returns:
The enhancedFlag value
Throws:
ResourceException - Exception raised in failure situation

setSendBackEvent

public void setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourceVersioningControl object

Parameters:
flag - The new sendBackEvent value

getSendBackEvent

public boolean getSendBackEvent()
Gets the sendBackEvent attribute of the ResourceVersioningControl object

Returns:
The sendBackEvent value

render

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

Specified by:
render in class com.sapportals.wdf.stack.Control
Returns:
Description of the Return Value

onVersioningDisableFirstStep

public com.sapportals.wdf.event.WdfEvent onVersioningDisableFirstStep(com.sapportals.htmlb.event.Event event)

onVersioningEnable

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

Parameters:
event - Description of the param
Returns:
Description of the Return Value

onVersioningDisable

public com.sapportals.wdf.event.WdfEvent onVersioningDisable(com.sapportals.htmlb.event.Event event)
Parameters:
event - Description of the param
Returns:
Description of the Return Value

onCancel

public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
                                           throws WcmException
Description of the Method

Parameters:
event - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Exception raised in failure situation

receive

public void receive(com.sapportals.wdf.event.WdfEvent impEvent)
             throws com.sapportals.wdf.WdfException
Description of the Method

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Parameters:
impEvent - Description of the param
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

isOverview

public boolean isOverview()
Returns:
Returns the isOverview.

setOverview

public void setOverview(boolean isOverview)
Parameters:
isOverview - The isOverview to set.

isConfirmMode

public boolean isConfirmMode()

setConfirmMode

public void setConfirmMode(boolean confirmMode)
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