|
SAP NetWeaver 7.31 (SP01) 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.MultipleUploadControl
public class MultipleUploadControl
Copyright 2009 SAP AG
| Nested Class Summary | |
|---|---|
protected class |
MultipleUploadControl.UploadStatus
|
| 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 | |
|---|---|
MultipleUploadControl()
Constructor |
|
MultipleUploadControl(String controlID)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
checkExistingName(String theName)
Check if already the input name exists as Resource name |
protected void |
createNestedControls()
Register composite parts |
String |
getArchivedFilesString()
|
String |
getExistingFilesString()
|
String |
getExpandedIndexesString()
|
String |
getLastUploadedFileNames()
|
String |
getlockedFilesString()
|
int |
getMaxNumberOfFiles()
|
String |
getPropertyStructureName()
|
String |
getReadonlyFilesString()
|
String |
getSelectedFilesPaths()
|
boolean |
getSendBackEvent()
Gets the sendBackEvent attribute of the ResourceUploadControl object |
String |
getStartUri()
Retrieve the startURI |
String |
getUploadStatus()
|
protected void |
initialize()
Initialize control by making a copy of data from resource. |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onDelete(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onDone(com.sapportals.htmlb.event.Event event)
Called when upload is completed and user returns to initial screen |
com.sapportals.wdf.event.WdfEvent |
onGetUploadStatus(com.sapportals.htmlb.event.Event e)
Gets sting parameter from the applet containing status of uploaded files |
com.sapportals.wdf.event.WdfEvent |
onSelectFiles(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onSetFilesPaths(com.sapportals.htmlb.event.Event e)
Gets sting parameter from the applet and sets it to the paths list |
com.sapportals.wdf.event.WdfEvent |
onShowDetails(com.sapportals.htmlb.event.Event event)
|
com.sapportals.wdf.event.WdfEvent |
onUpload(com.sapportals.htmlb.event.Event event)
|
protected void |
readInputData()
|
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
reacts on CflResourceEvents and resets the present resource of the control. |
com.sapportals.htmlb.Component |
render()
|
com.sapportals.htmlb.Component |
renderPersistentProperties()
Renders local properties map as hidden InputField. |
void |
restorePersistentProperties(com.sapportals.htmlb.page.DynPage page)
Restores single properties map as hidden InputField. |
void |
setArchivedFilesString(String archivedFilesString)
|
void |
setExistingFilesString(List<Integer> files)
|
void |
setExistingFilesString(String existingFilesString)
|
void |
setExpandedIndexesString(String expandedIndexesString)
|
void |
setLastUploadedFileNames(String lastUploadedFileNames)
|
void |
setlockedFilesString(String lockedFilesString)
|
void |
setMaxNumberOfFiles(int maxNumberOfFiles)
|
void |
setPropertyStructureName(String propertyStructureName)
|
void |
setReadonlyFilesString(String readonlyFilesString)
|
void |
setSelectedFilesPaths(String selectedFilesPaths)
|
void |
setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourceUploadControl object |
void |
setUploadStatus(String uploadStatus)
|
| 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, 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 |
| Constructor Detail |
|---|
public MultipleUploadControl(String controlID)
controlID - public MultipleUploadControl()
controlID - | Method Detail |
|---|
public String getStartUri()
public String getPropertyStructureName()
public void setPropertyStructureName(String propertyStructureName)
public String getUploadStatus()
public void setUploadStatus(String uploadStatus)
public String getSelectedFilesPaths()
public void setSelectedFilesPaths(String selectedFilesPaths)
public void setSendBackEvent(boolean flag)
flag - The new sendBackEvent valuepublic boolean getSendBackEvent()
public int getMaxNumberOfFiles()
public void setMaxNumberOfFiles(int maxNumberOfFiles)
public String getExistingFilesString()
public String getArchivedFilesString()
public void setExistingFilesString(String existingFilesString)
public void setArchivedFilesString(String archivedFilesString)
public String getlockedFilesString()
public void setlockedFilesString(String lockedFilesString)
public String getReadonlyFilesString()
public void setReadonlyFilesString(String readonlyFilesString)
public void setExistingFilesString(List<Integer> files)
public String getExpandedIndexesString()
public void setExpandedIndexesString(String expandedIndexesString)
public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
WcmResourceControl
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcom.sapportals.wdf.WdfException
protected void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfException
protected void createNestedControls()
throws com.sapportals.wdf.WdfException
createNestedControls in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException - Exception raised in failure situation
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.WdfException
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfException
public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
event -
com.sapportals.wcm.WcmException
public com.sapportals.wdf.event.WdfEvent onDone(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
event - Description of the param
com.sapportals.wcm.WcmException - Exception raised in failure situation
public com.sapportals.wdf.event.WdfEvent onSelectFiles(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
public com.sapportals.wdf.event.WdfEvent onUpload(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onSetFilesPaths(com.sapportals.htmlb.event.Event e)
e -
public com.sapportals.wdf.event.WdfEvent onGetUploadStatus(com.sapportals.htmlb.event.Event e)
throws com.sapportals.wcm.WcmException
e -
com.sapportals.wcm.WcmException
public com.sapportals.wdf.event.WdfEvent onShowDetails(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
public com.sapportals.wdf.event.WdfEvent onDelete(com.sapportals.htmlb.event.Event event)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
protected void initialize()
throws com.sapportals.wdf.WdfException
initialize in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic boolean checkExistingName(String theName)
theName - - the resource name
public String getLastUploadedFileNames()
public void setLastUploadedFileNames(String lastUploadedFileNames)
| 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.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||