com.sapportals.wcm.control.edit

Class ResourceClientSideEditControl

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

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

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
ResourceClientSideEditControl()
           
ResourceClientSideEditControl(String controlID)
           
 
Method Summary
protected  void createNestedControls()
           
 String getAction()
           
 boolean getCheckoutVerified()
           
 String getCondition()
           
 String getDescription()
           
 String getInfoMessage()
           
 String getLocalFile()
           
 String getLocalHost()
           
 boolean getSendOverviewEvent()
           
 String getUniqueName()
           
 boolean isStandalone()
           
 boolean isSuppressCheckout()
           
 void onAppletDownload(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onAppletResponse(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onAppletUpload(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
           
 void onCancelUpload(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onCheckoutAgain(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onExit(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onLocked(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onOk(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onOpen(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onUnlock(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onUploadLater(com.sapportals.htmlb.event.Event event)
           
protected  void readInputData()
           
 void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
          reacts on CflResourceEvents and resets the present resource of the control.
 com.sapportals.htmlb.Component render()
           
 void setAction(String action)
           
 void setCheckoutVerified(boolean checkoutVerified)
           
 void setCondition(String condition)
           
 void setDescription(String newDescription)
           
 void setInfoMessage(String infoMessage)
           
 void setLocalFile(String localFile)
           
 void setLocalHost(String localHost)
           
 void setSendOverviewEvent(boolean sendOverviewEvent)
           
 void setStandalone(boolean isStandalone)
           
 void setSuppressCheckout(boolean suppressCheckout)
           
 void setUniqueName(String newName)
           
 void setUriForRemoteEditing(String uri)
           
 
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, 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

ResourceClientSideEditControl

public ResourceClientSideEditControl()

ResourceClientSideEditControl

public ResourceClientSideEditControl(String controlID)
Method Detail

setStandalone

public void setStandalone(boolean isStandalone)
Parameters:
isStandalone -

isStandalone

public boolean isStandalone()
Returns:
true if it is stand alone, false otherwise.

createNestedControls

protected void createNestedControls()
                             throws com.sapportals.wdf.WdfException
Overrides:
createNestedControls 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

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Specified by:
render in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException

setCondition

public void setCondition(String condition)

getCondition

public String getCondition()

setCheckoutVerified

public void setCheckoutVerified(boolean checkoutVerified)

getCheckoutVerified

public boolean getCheckoutVerified()

setAction

public void setAction(String action)

getAction

public String getAction()

getUniqueName

public String getUniqueName()

setUniqueName

public void setUniqueName(String newName)

getDescription

public String getDescription()

setDescription

public void setDescription(String newDescription)

getLocalFile

public String getLocalFile()

setLocalFile

public void setLocalFile(String localFile)

getLocalHost

public String getLocalHost()

setLocalHost

public void setLocalHost(String localHost)

setSendOverviewEvent

public void setSendOverviewEvent(boolean sendOverviewEvent)

getSendOverviewEvent

public boolean getSendOverviewEvent()

setInfoMessage

public void setInfoMessage(String infoMessage)

getInfoMessage

public String getInfoMessage()

setSuppressCheckout

public void setSuppressCheckout(boolean suppressCheckout)

isSuppressCheckout

public boolean isSuppressCheckout()

setUriForRemoteEditing

public void setUriForRemoteEditing(String uri)

onExit

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

onAppletDownload

public void onAppletDownload(com.sapportals.htmlb.event.Event event)
                      throws WcmException
Throws:
WcmException

onAppletUpload

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

onUploadLater

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

onLocked

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

onCancelUpload

public void onCancelUpload(com.sapportals.htmlb.event.Event event)
                    throws com.sapportals.wdf.WdfException
Throws:
com.sapportals.wdf.WdfException

onCancel

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

onCheckoutAgain

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

onOpen

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

onOk

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

onUnlock

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

onAppletResponse

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

receive

public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
             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 2014 SAP AG Complete Copyright Notice