public class GenericMediaItemUploadPanelRenderer
extends <any>
| Constructor and Description |
|---|
GenericMediaItemUploadPanelRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustView(Component rendererPanel,
DataType type) |
protected void |
cleanupModel() |
protected void |
cleanupModel(Desktop desktop,
boolean clearModelData)
Deprecated.
since 5.7 @see
cleanupModel() |
protected Label |
getAttributeLabel(DataAttribute attribute) |
CockpitProperties |
getCockpitProperties() |
protected String |
getEntityId(Object data,
AbstractPanel panel) |
protected MediaService |
getMediaService() |
protected MediaStorageConfigService |
getMediaStorageConfigService() |
protected ModelService |
getModelService() |
protected Media |
getZkMedia() |
protected void |
initializeActiveView(Component rendererPanel,
DataType type) |
protected void |
initializeInactiveView(Component rendererPanel,
DataType type) |
protected void |
initPreRenderModelConstants(String suffix) |
protected boolean |
isDisplayable(MediaModel media) |
protected boolean |
isInSecureFolder(MediaModel mediaModel) |
protected void |
refreshActiveView(DataType type) |
protected void |
refreshModelAndViewAfterSaveListeners(DataType type) |
protected void |
refreshViewAfterSaveListeners(DataType type)
Deprecated.
since 5.7 @see {@link #refreshActiveView
|
protected void |
refreshWidgetModelAfterSaveListeners() |
protected void |
removeAfterSaveAndCancelListeners() |
void |
render(Component parent,
AbstractPanel panel,
Object data,
DataType type,
WidgetInstanceManager widgetInstanceManager) |
void |
setCockpitProperties(CockpitProperties cockpitProperties) |
protected void |
setLimitOnMaxFileSize(Fileupload fileupload) |
void |
setMediaService(MediaService mediaService) |
void |
setMediaStorageConfigService(MediaStorageConfigService mediaStorageConfigService) |
void |
setModelService(ModelService modelService) |
void |
setObjectFacade(ObjectFacade objectFacade) |
void |
setObjectPreviewService(ObjectPreviewService objectPreviewService) |
void |
setPermissionFacadeStrategy(PermissionFacadeStrategy permissionFacadeStrategy) |
public static final String PROPERTY_SRC
protected static final String IMAGE
protected static final long DEFAULT_MAX_FILE_SIZE_KB
protected static final String MEDIA_TYPE_CODE
protected static final String MAX_SIZE
protected static final String FILE_UPLOAD_MAX_SIZE
protected static final String IMG_STYLE
protected static final String MEDIA_INFO_HEADER
protected static final String MEDIA_INFO_VALUE
protected static final String MEDIA_PREVIEW
protected static final String MEDIA_PREVIEW_CNT
protected static final String MEDIA_INFO_CNT
protected static final String FILEUPLOAD_SCLASS
protected static final String CLEAR_CONTENT_BTN_SCLASS
protected static final String Y_WARNING_BTN_SCLASS
@Deprecated protected static final String Y_WARNNG_BTN_SCLASS
Y_WARNING_BTN_SCLASS,
Constant Field Valuesprotected static final String DOWNLOAD_BTN_SCLASS
protected static final String ON_UPLOAD_LATER
protected static final String SMALL_IMAGE_PREVIEW_CNT
protected static final String DATE_FORMAT
@Deprecated protected static final String PARAMETER_PATH_IN_MODEL_TO_MEDIA_OBJECT
protected static final String DATA_MODEL_PROPERTY
protected static final String DATA_MODEL_ATTRIBUTE
protected static final String VIEW_MODE_ACTIVE
protected static final String VIEW_MODE_INACTIVE
protected String MODEL_MEDIA_SAVED
protected String MODEL_MEDIA_CANCELED
protected String MODEL_RENDER_PARAMETER_MAP
protected String MODEL_ZK_MEDIA_MODEL_KEY
protected String MODEL_ZK_MEDIA_CLEARED
protected String MODEL_DISPLAY_FROM_MODEL
protected String currentlyDisplayedMode
protected String currentlyDisplayedMediaInfo
protected String initiallyDisplayedMediaModelInfo
@Deprecated protected String MODEL_MEDIA_UPLOAD
public void render(Component parent,
AbstractPanel panel,
Object data,
DataType type,
WidgetInstanceManager widgetInstanceManager)
protected void adjustView(Component rendererPanel,
DataType type)
protected void initializeInactiveView(Component rendererPanel,
DataType type)
protected void initializeActiveView(Component rendererPanel,
DataType type)
protected Label getAttributeLabel(DataAttribute attribute)
protected void refreshActiveView(DataType type)
@Deprecated protected void cleanupModel(Desktop desktop, boolean clearModelData)
cleanupModel()protected void cleanupModel()
protected void initPreRenderModelConstants(String suffix)
protected void removeAfterSaveAndCancelListeners()
protected void refreshModelAndViewAfterSaveListeners(DataType type)
@Deprecated protected void refreshViewAfterSaveListeners(DataType type)
protected void refreshWidgetModelAfterSaveListeners()
protected boolean isInSecureFolder(MediaModel mediaModel)
protected void setLimitOnMaxFileSize(Fileupload fileupload)
protected boolean isDisplayable(MediaModel media)
protected Media getZkMedia()
protected ModelService getModelService()
public void setModelService(ModelService modelService)
protected MediaService getMediaService()
public void setMediaStorageConfigService(MediaStorageConfigService mediaStorageConfigService)
protected MediaStorageConfigService getMediaStorageConfigService()
public void setMediaService(MediaService mediaService)
public CockpitProperties getCockpitProperties()
public void setCockpitProperties(CockpitProperties cockpitProperties)
public void setPermissionFacadeStrategy(PermissionFacadeStrategy permissionFacadeStrategy)
public void setObjectPreviewService(ObjectPreviewService objectPreviewService)
public void setObjectFacade(ObjectFacade objectFacade)
Copyright © 2017 SAP SE. All Rights Reserved.