com.sapportals.wcm.control.edit

Class ResourceRevisionControl

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

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

The ResourceRevisionView is a control to display and change the revisions of a versioned resource.

Copyright SAP 2001-2002


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
ResourceRevisionControl()
          Constructor for the ResourceRevisionControl object
ResourceRevisionControl(String controlID)
          Constructor for the ResourceRevisionControl object
 
Method Summary
 boolean getAccessMode()
          Gets the accessMode attribute of the ResourceRevisionControl object
 String getCurrentResourceUriOnRequest(String controlID)
          Gets the currentResourceUriOnRequest attribute of the ResourceRevisionControl object
 String getCurrentSortFieldOnRequest(String controlID)
          Gets the currentSortFieldOnRequest attribute of the ResourceRevisionControl object
 boolean getCurrentSortOrderOnRequest(String controlID)
          Gets the currentSortOrderOnRequest attribute of the ResourceRevisionControl object
 boolean getSendBackEvent()
          Gets the sendBackEvent attribute of the ResourceRevisionControl object
 String getSortBy()
          Gets the sortBy attribute of the ResourceRevisionControl object
 boolean getSortField()
          Gets the sortField attribute of the ResourceRevisionControl object
 boolean getUiDetailsHeader()
          Gets the uiDetailsHeader attribute of the ResourceRevisionControl object
 boolean isStandalone()
           
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onDelete(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onOk(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onSetCurrent(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onSort(com.sapportals.htmlb.event.Event event)
          Description of the Method
 void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
          Description of the Method
 com.sapportals.htmlb.Component render()
           
 void setAccessMode(boolean aFullAccess)
          Sets the accessMode attribute of the ResourceRevisionControl object
 void setSendBackEvent(boolean flag)
          Sets the sendBackEvent attribute of the ResourceRevisionControl object
 void setSortBy(String sortedBy)
          Sets the sortBy attribute of the ResourceRevisionControl object
 void setSortField(boolean sortOrder)
          Sets the sortField attribute of the ResourceRevisionControl object
 void setStandalone(boolean isStandalone)
           
 void setUiDetailsHeader(boolean uiDetails)
          Sets the uiDetailsHeader attribute of the ResourceRevisionControl 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

ResourceRevisionControl

public ResourceRevisionControl()
Constructor for the ResourceRevisionControl object


ResourceRevisionControl

public ResourceRevisionControl(String controlID)
Constructor for the ResourceRevisionControl object

Parameters:
controlID - Description of the param
Method Detail

setUiDetailsHeader

public void setUiDetailsHeader(boolean uiDetails)
Sets the uiDetailsHeader attribute of the ResourceRevisionControl object

Parameters:
uiDetails - The new uiDetailsHeader value

getUiDetailsHeader

public boolean getUiDetailsHeader()
Gets the uiDetailsHeader attribute of the ResourceRevisionControl object

Returns:
The uiDetailsHeader value

setStandalone

public void setStandalone(boolean isStandalone)
Parameters:
isStandalone -

isStandalone

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

setSendBackEvent

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

Parameters:
flag - The new sendBackEvent value

getSendBackEvent

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

Returns:
The sendBackEvent value

setAccessMode

public void setAccessMode(boolean aFullAccess)
Sets the accessMode attribute of the ResourceRevisionControl object

Parameters:
aFullAccess - The new accessMode value

getAccessMode

public boolean getAccessMode()
Gets the accessMode attribute of the ResourceRevisionControl object

Returns:
The accessMode value

setSortField

public void setSortField(boolean sortOrder)
Sets the sortField attribute of the ResourceRevisionControl object

Parameters:
sortOrder - The new sortField value

getSortField

public boolean getSortField()
Gets the sortField attribute of the ResourceRevisionControl object

Returns:
The sortField value

getSortBy

public String getSortBy()
Gets the sortBy attribute of the ResourceRevisionControl object

Returns:
The sortBy value

setSortBy

public void setSortBy(String sortedBy)
Sets the sortBy attribute of the ResourceRevisionControl object

Parameters:
sortedBy - The new sortBy value

render

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

onSetCurrent

public com.sapportals.wdf.event.WdfEvent onSetCurrent(com.sapportals.htmlb.event.Event event)
Description of the Method

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

onDelete

public com.sapportals.wdf.event.WdfEvent onDelete(com.sapportals.htmlb.event.Event event)
Description of the Method

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

onOk

public com.sapportals.wdf.event.WdfEvent onOk(com.sapportals.htmlb.event.Event event)
Description of the Method

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)
Description of the Method

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

onSort

public com.sapportals.wdf.event.WdfEvent onSort(com.sapportals.htmlb.event.Event event)
Description of the Method

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

getCurrentResourceUriOnRequest

public String getCurrentResourceUriOnRequest(String controlID)
Gets the currentResourceUriOnRequest attribute of the ResourceRevisionControl object

Parameters:
controlID - Description of the param
Returns:
The currentResourceUriOnRequest value

getCurrentSortFieldOnRequest

public String getCurrentSortFieldOnRequest(String controlID)
Gets the currentSortFieldOnRequest attribute of the ResourceRevisionControl object

Parameters:
controlID - Description of the param
Returns:
The currentSortFieldOnRequest value

getCurrentSortOrderOnRequest

public boolean getCurrentSortOrderOnRequest(String controlID)
Gets the currentSortOrderOnRequest attribute of the ResourceRevisionControl object

Parameters:
controlID - Description of the param
Returns:
The currentSortOrderOnRequest value

receive

public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
Description of the Method

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Parameters:
cflEvent - Description of the param
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