com.sapportals.wcm.control.navigation

Class ResourceTimeBasedPublishingControl

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

public class ResourceTimeBasedPublishingControl
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
protected  class ResourceTimeBasedPublishingControl.TBPStatus
           
 
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
ResourceTimeBasedPublishingControl()
          Default Constructor
ResourceTimeBasedPublishingControl(String controlID)
          Constructor with ConstrolID
 
Method Summary
 String getDisplayStatus()
           
 boolean getSendBackEvent()
          Gets the sendBackEvent attribute of the ResourceTimeBasedPublishingControl object
 boolean getTbpEnabledFlag()
          Gets the tbpEnabledFlag attribute of the ResourceTimeBasedPublishingControl object
 int getTbpNotificationDays()
           
 boolean isInitializeFromParent()
           
 boolean isOverview()
           
 boolean isTbpSendNotification()
           
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onTBPCancelPropagate(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onTBPDisable(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onTBPEnable(com.sapportals.htmlb.event.Event event)
          Handlermethod for button 'save'
 com.sapportals.wdf.event.WdfEvent onTBPOK(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onTBPPropagate(com.sapportals.htmlb.event.Event event)
           
 com.sapportals.wdf.event.WdfEvent onTBPUpdate(com.sapportals.htmlb.event.Event event)
           
protected  void readInputData()
           
 void receive(com.sapportals.wdf.event.WdfEvent impEvent)
          Description of the Method
 com.sapportals.htmlb.Component render()
          renderes the complete Control
 void setDisplayStatus(String displayStatus)
           
 void setInitializeFromParent(boolean initializeFromParent)
           
 void setOverview(boolean isOverview)
           
 void setSendBackEvent(boolean flag)
          Sets the sendBackEvent attribute of the ResourceTimeBasedPublishingControl object
 void setTbpEnabledFlag(boolean imptbpEnabled)
          Sets the tbpEnabledFlag attribute of the ResourceTimeBasedPublishingControl object
 void setTbpNotificationDays(int tbpNotificationDays)
           
 void setTbpSendNotification(boolean tbpSendNotification)
           
 
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

ResourceTimeBasedPublishingControl

public ResourceTimeBasedPublishingControl()
                                   throws WcmException
Default Constructor

Throws:
WcmException - Exception raised in failure situation

ResourceTimeBasedPublishingControl

public ResourceTimeBasedPublishingControl(String controlID)
                                   throws WcmException
Constructor with ConstrolID

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

getDisplayStatus

public String getDisplayStatus()

setDisplayStatus

public void setDisplayStatus(String displayStatus)

getTbpNotificationDays

public int getTbpNotificationDays()

setTbpNotificationDays

public void setTbpNotificationDays(int tbpNotificationDays)

isInitializeFromParent

public boolean isInitializeFromParent()

setInitializeFromParent

public void setInitializeFromParent(boolean initializeFromParent)

isTbpSendNotification

public boolean isTbpSendNotification()

setTbpSendNotification

public void setTbpSendNotification(boolean tbpSendNotification)

readInputData

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

setTbpEnabledFlag

public void setTbpEnabledFlag(boolean imptbpEnabled)
Sets the tbpEnabledFlag attribute of the ResourceTimeBasedPublishingControl object

Parameters:
imptbpEnabled - The new tbpEnabledFlag value

getTbpEnabledFlag

public boolean getTbpEnabledFlag()
                          throws ResourceException
Gets the tbpEnabledFlag attribute of the ResourceTimeBasedPublishingControl object

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

setSendBackEvent

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

Parameters:
flag - The new sendBackEvent value

getSendBackEvent

public boolean getSendBackEvent()
Gets the sendBackEvent attribute of the ResourceTimeBasedPublishingControl 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

onTBPEnable

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

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

onTBPUpdate

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

onTBPOK

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

onTBPPropagate

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

onTBPCancelPropagate

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

onTBPDisable

public com.sapportals.wdf.event.WdfEvent onTBPDisable(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.
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