com.sapportals.wcm.control.edit

Class CreateCollectionControl

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

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

Copyright 2004 SAP AG

Since:
EP6, FP3

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
CreateCollectionControl()
          Constructor for the ResourceNewCollectionControl object
CreateCollectionControl(String controlID)
          Constructor for the ResourceNewCollectionControl object
 
Method Summary
protected  void createNestedControls()
          Register composite parts
 boolean getNameInvalidFlag()
          Gets the nameInvalidFlag attribute of the ResourceNewCollectionControl object
 String getProperties()
           
 String getPropertyStructureName()
           
 String getResourceType()
           
 boolean getShowCustomProperty()
          Getter method of showCustomProperty
 String getStartUri()
          Gets the startUri attribute of the ResourceNewCollectionControl object
 boolean getUiDetailsHeader()
           
 boolean isStandalone()
           
 com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onCustomProperty(com.sapportals.htmlb.event.Event event)
          Description of the Method
 com.sapportals.wdf.event.WdfEvent onSaveFolder(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()
          Description of the Method
 void setNameInvalidFlag(boolean flag)
          Sets the nameInvalidFlag attribute of the ResourceNewCollectionControl object
 void setProperties(String properties)
           
 void setPropertyStructureName(String properties)
           
 void setResourceType(String newResourceTypes)
           
 void setShowCustomProperty(boolean flag)
          Sets the showCustomProperty attribute of the ResourceNewCollectionControl object
 void setStandalone(boolean isStandalone)
           
 void setStartUri(String startUri)
          Sets the startUri attribute of the ResourceNewCollectionControl object
 void setUiDetailsHeader(boolean uiDetails)
           
 
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, 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

CreateCollectionControl

public CreateCollectionControl()
Constructor for the ResourceNewCollectionControl object


CreateCollectionControl

public CreateCollectionControl(String controlID)
Constructor for the ResourceNewCollectionControl object

Parameters:
controlID - Description of the param
Method Detail

createNestedControls

protected void createNestedControls()
                             throws com.sapportals.wdf.WdfException
Register composite parts

Overrides:
createNestedControls in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

setStandalone

public void setStandalone(boolean isStandalone)

isStandalone

public boolean isStandalone()

getStartUri

public String getStartUri()
Gets the startUri attribute of the ResourceNewCollectionControl object

Returns:
The startUri value

setStartUri

public void setStartUri(String startUri)
Sets the startUri attribute of the ResourceNewCollectionControl object

Parameters:
startUri - The new startUri value

setShowCustomProperty

public void setShowCustomProperty(boolean flag)
Sets the showCustomProperty attribute of the ResourceNewCollectionControl object

Parameters:
flag - The new showCustomProperty value

setNameInvalidFlag

public void setNameInvalidFlag(boolean flag)
Sets the nameInvalidFlag attribute of the ResourceNewCollectionControl object

Parameters:
flag - The new nameInvalidFlag value

getNameInvalidFlag

public boolean getNameInvalidFlag()
Gets the nameInvalidFlag attribute of the ResourceNewCollectionControl object

Returns:
The nameInvalidFlag value

getShowCustomProperty

public boolean getShowCustomProperty()
Getter method of showCustomProperty

Returns:
The showCustomProperty value

setUiDetailsHeader

public void setUiDetailsHeader(boolean uiDetails)

getUiDetailsHeader

public boolean getUiDetailsHeader()

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

onSaveFolder

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

onCancel

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

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

onCustomProperty

public com.sapportals.wdf.event.WdfEvent onCustomProperty(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 cflEvent)
             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:
cflEvent - Description of the param
Throws:
com.sapportals.wdf.WdfException - Exception raised in failure situation

setResourceType

public void setResourceType(String newResourceTypes)

getResourceType

public String getResourceType()

setProperties

public void setProperties(String properties)

getProperties

public String getProperties()

setPropertyStructureName

public void setPropertyStructureName(String properties)

getPropertyStructureName

public String getPropertyStructureName()
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