com.sapportals.wcm.control.edit

Class ResourceCopyControl

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

public class ResourceCopyControl
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
ResourceCopyControl()
          Constructor for the ResourceCopyControl object
ResourceCopyControl(String controlID)
          Constructor for the ResourceCopyControl object
 
Method Summary
 int getMode()
          Gets the mode attribute of the ResourceCopyControl object
 String getNewName()
          Gets the newName attribute of the ResourceCopyControl object
 boolean getReturnCollectionForMove()
          Gets the returnCollectionForMove attribute of the ResourceCopyControl object
 boolean getSendOverviewEvent()
          Gets the sendOverviewEvent attribute of the ResourceCopyControl object
 IResource getSource()
          Gets the source attribute of the ResourceCopyControl object
 String getSourceUri()
          Gets the sourceUri attribute of the ResourceCopyControl object
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
          internal Event handler
 com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
          internal Event handler
protected  void readInputData()
           
 void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
          CflEventReceiver
 com.sapportals.htmlb.Component render()
          Description of the Method
 void setMode(int mode)
          Sets the mode attribute of the ResourceCopyControl object
 void setNewName(String newName)
          Sets the newName attribute of the ResourceCopyControl object
 void setReturnCollectionForMove(boolean doIt)
          Sets the returnCollectionForMove attribute of the ResourceCopyControl object
 void setSendOverviewEvent(boolean sendOverviewEvent)
          Sets the sendOverviewEvent attribute of the ResourceCopyControl object
 void setSource(IResource source)
          Sets the source attribute of the ResourceCopyControl object
 void setSourceUri(String sourceUri)
          Sets the sourceUri attribute of the ResourceCopyControl 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, 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

ResourceCopyControl

public ResourceCopyControl()
Constructor for the ResourceCopyControl object


ResourceCopyControl

public ResourceCopyControl(String controlID)
Constructor for the ResourceCopyControl object

Parameters:
controlID - Description of the param
Method Detail

setSendOverviewEvent

public void setSendOverviewEvent(boolean sendOverviewEvent)
Sets the sendOverviewEvent attribute of the ResourceCopyControl object

Parameters:
sendOverviewEvent - The new sendOverviewEvent value

getSendOverviewEvent

public boolean getSendOverviewEvent()
Gets the sendOverviewEvent attribute of the ResourceCopyControl object

Returns:
The sendOverviewEvent value

setSource

public void setSource(IResource source)
               throws WcmException
Sets the source attribute of the ResourceCopyControl object

Parameters:
source - The new source value
Throws:
WcmException - Exception raised in failure situation

getSource

public IResource getSource()
                    throws WcmException
Gets the source attribute of the ResourceCopyControl object

Returns:
The source value
Throws:
WcmException - Exception raised in failure situation

setSourceUri

public void setSourceUri(String sourceUri)
Sets the sourceUri attribute of the ResourceCopyControl object

Parameters:
sourceUri - The new sourceUri value

getSourceUri

public String getSourceUri()
Gets the sourceUri attribute of the ResourceCopyControl object

Returns:
The sourceUri value

setReturnCollectionForMove

public void setReturnCollectionForMove(boolean doIt)
Sets the returnCollectionForMove attribute of the ResourceCopyControl object

Parameters:
doIt - The new returnCollectionForMove value

getReturnCollectionForMove

public boolean getReturnCollectionForMove()
Gets the returnCollectionForMove attribute of the ResourceCopyControl object

Returns:
The returnCollectionForMove value

setMode

public void setMode(int mode)
Sets the mode attribute of the ResourceCopyControl object

Parameters:
mode - The new mode value

getMode

public int getMode()
Gets the mode attribute of the ResourceCopyControl object

Returns:
The mode value

setNewName

public void setNewName(String newName)
Sets the newName attribute of the ResourceCopyControl object

Parameters:
newName - The new newName value

getNewName

public String getNewName()
Gets the newName attribute of the ResourceCopyControl object

Returns:
The newName value

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Description of the Method

Specified by:
render in class com.sapportals.wdf.stack.Control
Returns:
Description of the Return Value
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

receive

public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
             throws com.sapportals.wdf.WdfException
CflEventReceiver

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

onSave

public com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
                                         throws WcmException
internal Event handler

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

onCancel

public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
                                           throws WcmException
internal Event handler

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

readInputData

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