public class ModalMediaFileUploadChip extends AbstractChip
| Modifier and Type | Field and Description |
|---|---|
static String |
CANCEL |
protected static String |
GIVEN_PATH_DOES_NOT_DENOTE_A_FILE |
protected static String |
ILLEGAL_ATTEMPT_TO_ACCESS_A_FILE |
static String |
SAVE |
static String |
SET_FILENAME |
static String |
SET_FOLDER |
static String |
SET_MIMETYPE |
static String |
SET_ORIGINALFILENAME |
static String |
URI |
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ModalMediaFileUploadChip(DisplayState displayState,
StreamAcceptor parent)
Creates a new instance of MediaFileUploadChip
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillFolders()
Deprecated.
the folder editor has been changed due to PLA-9675
|
AbstractAttributeEditorChip |
getFolderEditor() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
protected StreamAcceptor |
getMediaFileUploadEditorChip() |
int |
getMediaFolderCount()
Deprecated.
the folder editor has been changed due to PLA-9675
|
String |
getMediaFolderStringValue(int integer)
Deprecated.
the folder editor has been changed due to PLA-9675
|
boolean |
isMediaFolderSelected(int integer)
Deprecated.
the folder editor has been changed due to PLA-9675
|
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
void |
setFile(File file,
String originalName,
String mimeType) |
void |
setFile(File file,
String originalName,
String mimeType,
MediaFolder folder) |
void |
show() |
addEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueprotected static final String ILLEGAL_ATTEMPT_TO_ACCESS_A_FILE
protected static final String GIVEN_PATH_DOES_NOT_DENOTE_A_FILE
public static final String SET_FILENAME
public static final String SAVE
public static final String CANCEL
public static final String SET_ORIGINALFILENAME
public static final String SET_MIMETYPE
public static final String SET_FOLDER
public static final String URI
public ModalMediaFileUploadChip(DisplayState displayState, StreamAcceptor parent)
@Deprecated protected void fillFolders()
public void show()
public void setFile(File file, String originalName, String mimeType, MediaFolder folder)
@Deprecated public int getMediaFolderCount()
@Deprecated public String getMediaFolderStringValue(int integer)
@Deprecated public boolean isMediaFolderSelected(int integer)
protected StreamAcceptor getMediaFileUploadEditorChip()
public String getJSPURI()
public void processEvents(Map events)
public AbstractAttributeEditorChip getFolderEditor()
Copyright © 2017 SAP SE. All Rights Reserved.