|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wdf.stack.Control
com.sapportals.wcm.control.base.WcmBaseControl
com.sapportals.wcm.control.base.WcmResourceControl
com.sapportals.wcm.control.edit.PropertiesControl
public class PropertiesControl
Composite control which is responsible to render Copyright (c) SAP Portals Europe GmbH 2001
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl |
|---|
WcmResourceControl.ResourceNotFoundException |
| Field Summary | |
|---|---|
static String |
CID_PROPERTY_VALUE
|
protected static String |
EVENT_ON_TOGGLE_TABSTRIP
|
boolean |
multipleUploadRendering
|
boolean |
newCollection
|
static String |
ON_DELEGATE_EVENT
|
boolean |
propertiesForUpload
|
String |
resourceMimetype
|
String |
resourceType
|
static String |
SHOW_LINK_STRUCTURE_PROPERTIES
|
boolean |
uploadRendering
|
| 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 |
| Fields inherited from interface com.sapportals.wcm.service.propertyconfig.IPropertyRendererProxy |
|---|
DEPENDENCE_EVENT, DISPATCH_EVENT |
| Fields inherited from interface com.sapportals.wcm.control.util.IContentEditable |
|---|
HTML_TYPE, TEXT_TYPE, UPLOAD_TYPE |
| Constructor Summary | |
|---|---|
PropertiesControl()
|
|
| Method Summary | |
|---|---|
void |
addInitialProperties(IPropertyMap initialProperties)
|
boolean |
allowSetProprties()
Checks if SetProperties is allowed to be done by the Properties dialog |
com.sapportals.wdf.event.WdfEvent |
checkMandatoryProperties()
Description of the Method |
com.sapportals.wdf.event.WdfEvent |
checkPropertiesValidation()
This method is looking for properties validation First is looking if the properties are semantic corectly ( Date , Time & Timestamp) Second is looking for the Standart validation Third is calling the properties validation class |
ArrayList |
decodeValues(com.sapportals.htmlb.event.Event event)
Returns the values created via the dispatchableControlIDWithValues or dispatchableControlID methods
and returns the list of parameters in the same order they were when submitting them. |
String |
dispatchableControlID(String value)
Adds a string to the given parameter to ensure a unique id within a DynPage under certain conditions: the idpart given is unique within this proxy. |
String |
dispatchableControlIDWithValues(ArrayList values)
Create an id that contains dispatch information. |
Map |
getAdditionalInformation()
|
Map |
getAdditionalInformation(boolean usedIMetaContext)
|
List |
getAllProperties()
Retrieves all properties created for the resource |
String |
getContentType()
|
IPropertyMap |
getDefaultPropertyMap()
Returns the default properties for the current property structure |
com.sapportals.htmlb.Component |
getExternalComponent()
Gets the externalComponent attribute of the ResourcePropertiesControl object |
com.sapportals.htmlb.Component |
getExternalLabelComponent()
Gets the externalLabelComponent attribute of the ResourcePropertiesControl object |
String |
getGroupTitleBundle()
|
String |
getGroupTitleKey()
|
String |
getHidden()
|
boolean |
getHideIdFlag()
Gets the hideIdFlag attribute of the ResourcePropertiesControl object |
boolean |
getIdMandatoryFlag()
Gets the idMandatoryFlag attribute of the ResourcePropertiesControl object |
boolean |
getInvisibleID()
|
String |
getLastUserSelection()
Gets the name attribute of the ResourcePropertiesControl object |
String |
getMaintainable()
|
String |
getMessageBundleKey()
|
boolean |
getMultipleUploadRendering()
Used only for Multiple Upload Dialog, for rendering the properties according to multiple upload scenario |
String |
getName()
Gets the name attribute of the ResourcePropertiesControl object |
boolean |
getNameDisableFlag()
Gets the nameDisableFlag attribute of the ResourcePropertiesControl object |
boolean |
getNameInvalidFlag()
Gets the nameInvalidFlag attribute of the ResourcePropertiesControl object |
boolean |
getNewCollection()
Gets the newCollection attribute of the ResourcePropertiesControl object |
com.sapportals.wdf.stack.Control |
getNewInstance()
|
boolean |
getNewResourceFlag()
Gets the newResourceFlag attribute of the ResourcePropertiesControl object |
String |
getPersistsPropertiesKey()
Gets the persistsPropertiesKey attribute of the ResourcePropertiesControl object |
String |
getProperties()
|
boolean |
getPropertiesForUpload()
Gets the propertiesForUpload attribute of the ResourcePropertiesControl object |
IProperty |
getProperty(IPropertyName propertyName)
Retrieve a property from the property list |
IPropertyMap |
getPropertyMap()
Retrieve all properties created for the resource |
String |
getPropertyStructureName()
|
String |
getPropertyStructureString()
|
String |
getResourceMimetype()
Gets the resourceMimetype attribute of the ResourcePropertiesControl object |
String |
getResourceType()
Gets the resourceTypes attribute of the ResourcePropertiesControl object |
int |
getSelectedTab()
Gets the selectedTab attribute of the ResourcePropertiesControl object |
boolean |
getSendBackEvent()
Gets the sendBackEvent attribute of the ResourcePropertiesControl object |
boolean |
getShowHiddenProperty()
|
boolean |
getShowPartialProperties()
If the properties are rendered Partial ( Name & Description before Show Properties link) |
boolean |
getShowProperties()
Gets the current status of the Show/Hide Properties link If it renturs true then the Hide Properties link is active ( visible for UI) and if it return false, Show Properties link is visible for UI |
boolean |
getShowPropertiesLink()
Returns true/false depending is the Show/Hide Properties link in Properties dialog |
boolean |
getShowPropertiesLinkStatus()
Gets the current status of the Show/Hide Properties link By creating properties for normal item this should return true otherwise false |
boolean |
getShowSaveButton()
Get the ShowSaveButton attribute of the ResourceCustomPropertyControl2 object. |
IStructuredGroupItemList |
getSingleProperties()
|
IStructuredGroupItemList |
getSinglePropertiesObject()
|
String |
getStartUri()
Retrieve the startURI |
String |
getStructureDisplayMode()
Gets the property structure which will be displayed |
String |
getTabWidth()
|
boolean |
getUiDetailsHeader()
Gets the uiDetailsHeader attribute of the ResourcePropertiesControl object |
String |
getUniqueComponentId(IMetaName metaName,
String key)
|
boolean |
getUpdateProperties()
Gets the updateProperties attribute of the ResourcePropertiesControl object |
boolean |
getUploadRendering()
Used only for Upload Dialog, for rendering the FileUpload component after item Type property |
protected void |
initialize()
Initialize control by making a copy of data from resource. |
boolean |
isContentEditable()
Returns true if the content editable is supported or
false otherwise |
boolean |
isContentRendered()
Returns true if the content has been rendered or
false otherwise |
boolean |
isIDEditable()
|
boolean |
isItemTypeRendered()
Returns true if the resourcetype property had been already rendered and false otherwise |
boolean |
isNameEditable()
|
boolean |
isRenderAlwaysItemType()
Returns true if the resourcetype property must be always rendered and false otherwise |
boolean |
isStandalone()
|
boolean |
isUserControlRendered()
|
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event)
Description of the Method |
com.sapportals.wdf.event.WdfEvent |
onDelegateEvent(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onRefresh(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onSaveProperties(com.sapportals.htmlb.event.Event event)
Description of the Method |
com.sapportals.wdf.event.WdfEvent |
onSetProperties(com.sapportals.htmlb.event.Event event)
Description of the Method |
void |
onToggleTabStrip(com.sapportals.htmlb.event.Event event)
Changes the group tab |
com.sapportals.wdf.event.WdfEvent |
processCommandException(Command command)
Description of the Method |
com.sapportals.wdf.event.WdfEvent |
processEvent(com.sapportals.htmlb.event.Event event,
boolean callReadInput)
|
com.sapportals.wdf.event.WdfEvent |
processException(Exception e,
String message)
|
protected void |
readInputData()
|
PropertiesArrayList |
readSingleProperties(PropertiesArrayList cProperties,
int fileIndex)
|
void |
receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
Description of the Method |
com.sapportals.htmlb.Component |
render()
Return the GridLayout that contains all the controls sub controls. |
com.sapportals.htmlb.Component |
renderMetaNameLabelRequired(IMetaName metaName,
IMetaContext rendererContext,
boolean isRequired)
|
com.sapportals.htmlb.Component |
renderPersistentProperties()
Renders local properties map as hidden InputField. |
com.sapportals.htmlb.Component |
renderPropertiesTabs(List TabComponentList)
Renders the group tabs |
com.sapportals.htmlb.Component |
renderSingleProperties(int fileIndex,
PropertiesArrayList propertiesList)
|
void |
restorePersistentProperties(com.sapportals.htmlb.page.DynPage page)
Restores local properties map as hidden InputField. |
com.sapportals.wdf.event.WdfEvent |
saveAllProperties(com.sapportals.htmlb.event.Event event)
Description of the Method |
void |
setAdditionalInformation(Map additionalInformation)
|
void |
setContentEditable(boolean contentEditable)
Sets true if the content editable is supported or
false otherwise |
void |
setContentRendered(boolean cr)
Sets true if the content has been rendered or
false otherwise |
void |
setContentType(String contentType)
Sets the content type of the content. |
void |
setEmptyProperties()
Empty the properties list |
void |
setExternalComponent(com.sapportals.htmlb.Component uiDetails)
Sets the externalComponent attribute of the ResourcePropertiesControl object |
void |
setExternalLabelComponent(com.sapportals.htmlb.Component uiDetails)
Sets the externalLabelComponent attribute of the ResourcePropertiesControl object |
void |
setGroupTitleBundle(String grpTitle)
|
void |
setGroupTitleKey(String grpTitle)
|
void |
setHidden(String properties)
|
void |
setHideIdFlag(boolean flag)
Sets the hideIdFlag attribute of the ResourcePropertiesControl object |
void |
setIDEditable(boolean flag)
|
void |
setIdMandatoryFlag(boolean flag)
Sets the idMandatoryFlag attribute of the ResourcePropertiesControl object |
void |
setInvisibleID(boolean flag)
|
void |
setItemTypeRendered(boolean active)
Sets true if resourcetype has been already rendered,
and false otherwise |
void |
setLastUserSelection(String displayName)
Sets the name attribute of the ResourcePropertiesControl object |
void |
setMaintainable(String properties)
|
void |
setMessageBundleKey(String grpTitle)
|
void |
setMultipleUploadRendering(boolean flag)
If it's true, then properties are rendered according to multiple file upload scenario |
void |
setName(String displayName)
Sets the name attribute of the ResourcePropertiesControl object |
void |
setName(String displayName,
boolean force)
|
void |
setNameDisableFlag(boolean flag)
Sets the nameDisableFlag attribute of the ResourcePropertiesControl object |
void |
setNameEditable(boolean flag)
|
void |
setNameInvalidFlag(boolean flag)
Sets the nameInvalidFlag attribute of the ResourcePropertiesControl object |
void |
setNewCollection(boolean flag)
Sets the newCollection attribute of the ResourcePropertiesControl object |
void |
setNewResourceFlag(boolean flag)
Sets the newResourceFlag attribute of the ResourcePropertiesControl object |
void |
setPersistsPropertiesKey(String persistsPropertiesKeyValue)
Sets the persistsPropertiesKey attribute of the ResourcePropertiesControl object |
void |
setProperties(String properties)
|
void |
setPropertiesForUpload(boolean flag)
Sets the propertiesForUpload attribute of the ResourcePropertiesControl object |
void |
setPropertyStructureName(String propertyStructureString)
|
void |
setPropertyStructureString(String propertyStructureString)
Sets the property structure which will be displayed |
void |
setRenderAlwaysItemType(boolean flag)
Sets true if resourcetype must be always rendered
and false otherwise |
void |
setResourceMimetype(String mimetype)
Sets the resourceMimetype attribute of the ResourcePropertiesControl object |
void |
setResourceType(String newResourceTypes)
Sets the resourceTypes attribute of the ResourcePropertiesControl object |
void |
setSelectedTab(int flag)
Sets the selectedTab attribute of the ResourcePropertiesControl object |
void |
setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourcePropertiesControl object |
void |
setShowHiddenProperty(boolean flag)
|
void |
setShowPartialProperties(boolean flag)
Sets true if the properties are partial rendered ( Name & Description before Show Properties link) and false if all appear after Show/Hide Properties link |
void |
setShowProperties(boolean flag)
Sets the current properties status. |
void |
setShowPropertiesLink(boolean flag)
Sets for Properties dialog if the Show/Hide Properties link should be rendered |
void |
setShowPropertiesLinkStatus(boolean flag)
Sets the current status of the Show/Hide Properties link * |
void |
setShowSaveButton(boolean showSaveButton)
Set the ShowSaveButton attribute of the ResourceCustomPropertyControl2 object. |
void |
setSingleProperties(IStructuredGroupItemList singleProperties)
|
void |
setStandalone(boolean isStandalone)
|
void |
setStartUri(String startUri)
Set the startURI with a new value |
void |
setStructureDisplayMode(String structDisplayMode)
Sets the property structure which will be displayed |
void |
setTabWidth(String width)
|
void |
setUiDetailsHeader(boolean uiDetails)
Sets the uiDetailsHeader attribute of the ResourcePropertiesControl object |
void |
setUpdateProperties(boolean flag)
Sets the updateProperties attribute of the ResourcePropertiesControl object |
void |
setUploadRendering(boolean flag)
If it's true, then the FileUpload component is rendering after ItemType |
void |
setUri(String uri)
Sets the uri attribute of the ResourcePropertiesControl object |
void |
setUserControlRendered(boolean isUserControlRendered)
|
| Methods inherited from class com.sapportals.wcm.control.base.WcmResourceControl |
|---|
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource |
| 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, initializeImpl, isInitialized, register, resetNestedControls, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String EVENT_ON_TOGGLE_TABSTRIP
public static final String SHOW_LINK_STRUCTURE_PROPERTIES
public static final String ON_DELEGATE_EVENT
public static final String CID_PROPERTY_VALUE
public boolean newCollection
public String resourceMimetype
public String resourceType
public boolean propertiesForUpload
public boolean uploadRendering
public boolean multipleUploadRendering
| Constructor Detail |
|---|
public PropertiesControl()
| Method Detail |
|---|
public void setContentEditable(boolean contentEditable)
IContentEditabletrue if the content editable is supported or
false otherwise
setContentEditable in interface IContentEditablepublic boolean isContentEditable()
IContentEditabletrue if the content editable is supported or
false otherwise
isContentEditable in interface IContentEditablepublic void setContentRendered(boolean cr)
IContentEditabletrue if the content has been rendered or
false otherwise
setContentRendered in interface IContentEditablepublic boolean isContentRendered()
IContentEditabletrue if the content has been rendered or
false otherwise
isContentRendered in interface IContentEditablepublic String getContentType()
getContentType in interface IContentEditableIContentEditable.HTML_TYPE,
IContentEditable.TEXT_TYPE or nullpublic void setContentType(String contentType)
IContentEditableIContentEditable.HTML_TYPE,
IContentEditable.TEXT_TYPE or null
setContentType in interface IContentEditablepublic void setSingleProperties(IStructuredGroupItemList singleProperties)
public IStructuredGroupItemList getSinglePropertiesObject()
public String getTabWidth()
getTabWidth in interface IShowPropertiespublic void setTabWidth(String width)
setTabWidth in interface IShowPropertiespublic boolean isRenderAlwaysItemType()
IItemtypeRenderer
isRenderAlwaysItemType in interface IItemtypeRendererpublic void setRenderAlwaysItemType(boolean flag)
IItemtypeRenderertrue if resourcetype must be always rendered
and false otherwise
setRenderAlwaysItemType in interface IItemtypeRendererpublic void setItemTypeRendered(boolean active)
IItemtypeRenderertrue if resourcetype has been already rendered,
and false otherwise
setItemTypeRendered in interface IItemtypeRendererpublic boolean isItemTypeRendered()
IItemtypeRenderer
isItemTypeRendered in interface IItemtypeRendererpublic void setStandalone(boolean isStandalone)
isStandalone - public boolean isStandalone()
public void addInitialProperties(IPropertyMap initialProperties)
public void setShowHiddenProperty(boolean flag)
public boolean getShowHiddenProperty()
public boolean getShowPartialProperties()
IShowProperties
getShowPartialProperties in interface IShowPropertiespublic void setShowPartialProperties(boolean flag)
IShowProperties
setShowPartialProperties in interface IShowPropertiespublic boolean isIDEditable()
isIDEditable in interface IEditablePropertypublic void setIDEditable(boolean flag)
setIDEditable in interface IEditablePropertypublic void setGroupTitleKey(String grpTitle)
public String getGroupTitleKey()
public void setGroupTitleBundle(String grpTitle)
public String getGroupTitleBundle()
public void setMessageBundleKey(String grpTitle)
public String getMessageBundleKey()
public boolean isNameEditable()
isNameEditable in interface IEditablePropertypublic void setNameEditable(boolean flag)
setNameEditable in interface IEditablePropertypublic com.sapportals.wdf.stack.Control getNewInstance()
getNewInstance in interface IPublicControl
public String getUniqueComponentId(IMetaName metaName,
String key)
getUniqueComponentId in interface IPropertyRendererProxy
public String dispatchableControlIDWithValues(ArrayList values)
throws WcmException
IPropertyRendererProxy
dispatchableControlIDWithValues in interface IPropertyRendererProxyvalues - A string array parameter that could be read inside the event handler with decodeValues() (might be null)
WcmException - Exception raised in failure situation
public String dispatchableControlID(String value)
throws WcmException
IPropertyRendererProxyDynPage under certain conditions: DynPage, the page itself must ensure that the proxies are
configured to create different strings to add to the given parameters. So, if Class A, rendered within
proxy B calls this method, submitting String S1, the resulting String Unique1 must be different from the
String Unique2, that is created when Class A, rendered within proxy C calls this method, submitting String S1
dispatchableControlID in interface IPropertyRendererProxyvalue - must not be null.
String
WcmException
public ArrayList decodeValues(com.sapportals.htmlb.event.Event event)
throws WcmException
IPropertyRendererProxydispatchableControlIDWithValues or dispatchableControlID methods
and returns the list of parameters in the same order they were when submitting them.
There will be no en- or decoding done to take care of special characters.
If the dispatchableControlID(String, String) method is used,
a List with only one entry will be returned.
decodeValues in interface IPropertyRendererProxyevent - The event that contains the encoded values.
WcmExceptionpublic void setPropertyStructureName(String propertyStructureString)
public String getPropertyStructureName()
public void setPropertyStructureString(String propertyStructureString)
IPropertyStructureRenderer
setPropertyStructureString in interface IPropertyStructureRendererpropertyStructureString - The new propertyStructureString valuepublic String getPropertyStructureString()
public void setStructureDisplayMode(String structDisplayMode)
setStructureDisplayMode in interface IPropertyStructureRendererstructDisplayMode - The new structureDisplayMode valuepublic String getStructureDisplayMode()
public void setUri(String uri)
setUri in class WcmResourceControluri - The new uri valuepublic String getStartUri()
getStartUri in interface IStartUriRendererpublic void setStartUri(String startUri)
setStartUri in interface IStartUriRendererstartUri - - new vakue of the startUripublic void setUserControlRendered(boolean isUserControlRendered)
public boolean isUserControlRendered()
public void setShowProperties(boolean flag)
IShowProperties
setShowProperties in interface IShowPropertiespublic boolean getShowProperties()
IShowProperties
getShowProperties in interface IShowPropertiespublic void setShowPropertiesLink(boolean flag)
IShowProperties
setShowPropertiesLink in interface IShowPropertiespublic boolean getShowPropertiesLink()
IShowProperties
getShowPropertiesLink in interface IShowPropertiespublic void setShowPropertiesLinkStatus(boolean flag)
IShowProperties
setShowPropertiesLinkStatus in interface IShowPropertiespublic boolean getShowPropertiesLinkStatus()
IShowProperties
getShowPropertiesLinkStatus in interface IShowPropertiespublic void setPersistsPropertiesKey(String persistsPropertiesKeyValue)
IShowProperties
setPersistsPropertiesKey in interface IShowPropertiespersistsPropertiesKeyValue - The new persistsPropertiesKey valuepublic String getPersistsPropertiesKey()
IShowProperties
getPersistsPropertiesKey in interface IShowPropertiespublic void setSendBackEvent(boolean flag)
flag - The new sendBackEvent valuepublic boolean getSendBackEvent()
public void setUpdateProperties(boolean flag)
flag - The new updateProperties valuepublic boolean getUpdateProperties()
public void setNameInvalidFlag(boolean flag)
flag - The new nameInvalidFlag valuepublic boolean getNameInvalidFlag()
public void setIdMandatoryFlag(boolean flag)
flag - The new idMandatoryFlag valuepublic boolean getIdMandatoryFlag()
public void setHideIdFlag(boolean flag)
flag - The new hideIdFlag valuepublic boolean getHideIdFlag()
public void setInvisibleID(boolean flag)
public boolean getInvisibleID()
public void setNameDisableFlag(boolean flag)
flag - The new nameDisableFlag valuepublic boolean getNameDisableFlag()
public void setShowSaveButton(boolean showSaveButton)
showSaveButton - The new ShowSaveButton valuepublic boolean getShowSaveButton()
public void setNewResourceFlag(boolean flag)
flag - The new newResourceFlag valuepublic boolean getNewResourceFlag()
public void setNewCollection(boolean flag)
flag - The new newCollection valuepublic boolean getNewCollection()
public void setResourceMimetype(String mimetype)
mimetype - The new resourceMimetype valuepublic String getResourceMimetype()
public void setResourceType(String newResourceTypes)
newResourceTypes - The new resourceTypes valuepublic String getResourceType()
public void setPropertiesForUpload(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getPropertiesForUpload()
public void setUploadRendering(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getUploadRendering()
public void setMultipleUploadRendering(boolean flag)
flag - The new propertiesForUpload valuepublic boolean getMultipleUploadRendering()
public void setSelectedTab(int flag)
flag - The new selectedTab valuepublic int getSelectedTab()
public void setUiDetailsHeader(boolean uiDetails)
uiDetails - The new uiDetailsHeader valuepublic boolean getUiDetailsHeader()
public void setExternalComponent(com.sapportals.htmlb.Component uiDetails)
setExternalComponent in interface IContentEditableuiDetails - The new externalComponent valuepublic com.sapportals.htmlb.Component getExternalComponent()
getExternalComponent in interface IContentEditablepublic void setExternalLabelComponent(com.sapportals.htmlb.Component uiDetails)
uiDetails - The new externalComponent valuepublic com.sapportals.htmlb.Component getExternalLabelComponent()
public void setName(String displayName)
displayName - The new name value
public void setName(String displayName,
boolean force)
public String getName()
public void setLastUserSelection(String displayName)
displayName - The new name valuepublic String getLastUserSelection()
public void setProperties(String properties)
public String getProperties()
public void setMaintainable(String properties)
public String getMaintainable()
public void setHidden(String properties)
public String getHidden()
protected void initialize()
throws com.sapportals.wdf.WdfException
initialize in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situation
<{WcmException}>public Map getAdditionalInformation()
public Map getAdditionalInformation(boolean usedIMetaContext)
public void setAdditionalInformation(Map additionalInformation)
public com.sapportals.htmlb.Component renderPropertiesTabs(List TabComponentList)
throws WcmException
TabComponentList - Description of the Parameter
WcmException - Exception raised in failure situation
public com.sapportals.htmlb.Component renderSingleProperties(int fileIndex,
PropertiesArrayList propertiesList)
public IStructuredGroupItemList getSingleProperties()
public void receive(com.sapportals.wdf.event.WdfEvent wdfEvent)
throws com.sapportals.wdf.WdfException
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlwdfEvent - Description of the param
com.sapportals.wdf.WdfException - Exception raised in failure situation
public com.sapportals.wdf.event.WdfEvent onSetProperties(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the param
WcmException - Exception raised in failure situation
public com.sapportals.wdf.event.WdfEvent onDelegateEvent(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onRefresh(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent processEvent(com.sapportals.htmlb.event.Event event,
boolean callReadInput)
throws WcmException
WcmException
public com.sapportals.wdf.event.WdfEvent onSaveProperties(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the param
com.sapportals.wdf.WdfException - Exception raised in failure situation
public com.sapportals.wdf.event.WdfEvent saveAllProperties(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the param
com.sapportals.wdf.WdfException - Exception raised in failure situation
public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws ResourceException
event - Description of the param
ResourceException - Exception raised in failure situation
public void onToggleTabStrip(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wdf.WdfException
event - Description of the param
com.sapportals.wdf.WdfException - Exception raised in failure situation
protected void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfException
public PropertiesArrayList readSingleProperties(PropertiesArrayList cProperties,
int fileIndex)
throws com.sapportals.wdf.WdfException
com.sapportals.wdf.WdfException
public void restorePersistentProperties(com.sapportals.htmlb.page.DynPage page)
throws com.sapportals.wdf.WdfException
restorePersistentProperties in class com.sapportals.wdf.stack.Controlpage - The DynPage to read out components
com.sapportals.wdf.WdfException
public com.sapportals.htmlb.Component renderPersistentProperties()
throws com.sapportals.wdf.WdfException
renderPersistentProperties in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic List getAllProperties()
public IProperty getProperty(IPropertyName propertyName)
propertyName - Description of the Parameter
public void setEmptyProperties()
public com.sapportals.wdf.event.WdfEvent checkPropertiesValidation()
public com.sapportals.wdf.event.WdfEvent checkMandatoryProperties()
public IPropertyMap getPropertyMap()
public IPropertyMap getDefaultPropertyMap()
public com.sapportals.wdf.event.WdfEvent processException(Exception e,
String message)
public com.sapportals.wdf.event.WdfEvent processCommandException(Command command)
command - Description of the param
public boolean allowSetProprties()
throws WcmException
IShowProperties
allowSetProprties in interface IShowPropertiesWcmException
public com.sapportals.htmlb.Component renderMetaNameLabelRequired(IMetaName metaName,
IMetaContext rendererContext,
boolean isRequired)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||