Class WebdavDocumentBrowse
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardLookup<WebdavDocument>
io.jmix.webdavui.screen.webdavdocument.WebdavDocumentBrowse
- All Implemented Interfaces:
FrameOwner
,LookupScreen<WebdavDocument>
,MultiSelectLookupScreen
@UiController("webdav_WebdavDocument.browse")
@UiDescriptor("webdav-document-browse.xml")
public class WebdavDocumentBrowse
extends StandardLookup<WebdavDocument>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
Nested classes/interfaces inherited from interface io.jmix.ui.screen.LookupScreen
LookupScreen.ValidationContext<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CssLayout
protected DataManager
protected Dialogs
protected WebdavDocumentLoadManager
protected WebdavDocumentsManagementService
protected Downloader
protected FilePathBreadCrumbs
protected MessageBundle
protected Messages
protected ScreenBuilders
protected TemporaryStorage
protected UiComponents
protected FileStorageUploadField
protected WebdavActionTools
protected CollectionContainer<WebdavDocument>
protected CollectionLoader<WebdavDocument>
protected Table<WebdavDocument>
protected BaseAction
protected BaseAction
protected BaseAction
protected BaseAction
protected BaseAction
protected BaseAction
protected BaseAction
protected BaseAction
protected WebdavProperties
protected WebdavSecurityTools
Fields inherited from class io.jmix.ui.screen.StandardLookup
selectHandler, selectValidator
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
Fields inherited from interface io.jmix.ui.screen.LookupScreen
LOOKUP_CANCEL_ACTION_ID, LOOKUP_ENTER_PRESSED_ACTION_ID, LOOKUP_ITEM_CLICK_ACTION_ID, LOOKUP_SELECT_ACTION_ID, LOOKUP_SELECT_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyVersioning
(boolean versioning) protected boolean
containsCollection
(Set<WebdavDocument> webdavDocuments) protected FilePathBreadCrumbs
protected WebdavDocument
createWebdavDocument
(FileRef fileRef) generateLink
(WebdavDocument webdavDocument) generateVersioningCell
(WebdavDocument webdavDocument) generateWebdavLockDescriptorCell
(WebdavDocument webdavDocument) protected boolean
void
onAfterInit
(Screen.AfterInitEvent event) void
void
protected void
onFileUploadSucceed
(SingleFileUploadField.FileUploadSucceedEvent fileUploadSucceedEvent) void
onInit
(Screen.InitEvent event) void
void
void
void
void
void
void
void
void
void
protected void
Methods inherited from class io.jmix.ui.screen.StandardLookup
addDefaultCancelAction, addDefaultSelectAction, cancel, getLookupActionsLayout, getLookupComponent, getSelectHandler, getSelectValidator, getWindowActionOptional, initActions, select, select, setLookupComponentMultiSelect, setSelectHandler, setSelectValidator, setupCommitShortcut, setupLookupComponent
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
dataManager
-
uploadBtn
-
webdavDocumentsDl
-
webdavDocumentsTable
-
breadcrumbsLayout
-
filePathField
-
screenBuilders
-
uiComponents
-
webdavDocumentsTableUnlock
-
webdavDocumentsTableLock
-
webdavDocumentsTableManageVersions
@Named("webdavDocumentsTable.manageVersions") protected BaseAction webdavDocumentsTableManageVersions -
webdavDocumentsTableDownload
-
webdavDocumentsTableDisableVersioning
@Named("webdavDocumentsTable.disableVersioning") protected BaseAction webdavDocumentsTableDisableVersioning -
webdavDocumentsTableEnableVersioning
@Named("webdavDocumentsTable.enableVersioning") protected BaseAction webdavDocumentsTableEnableVersioning -
webdavDocumentsTableCreateCollection
@Named("webdavDocumentsTable.createCollection") protected BaseAction webdavDocumentsTableCreateCollection -
webdavDocumentsTableRenameCollection
@Named("webdavDocumentsTable.renameCollection") protected BaseAction webdavDocumentsTableRenameCollection -
temporaryStorage
-
webdavProperties
-
documentsService
-
downloader
-
webdavSecurityTools
-
webdavActionTools
-
messages
-
messageBundle
-
dialogs
-
webdavDocumentsDc
-
documentLoadManager
-
filePathBreadCrumbs
-
-
Constructor Details
-
WebdavDocumentBrowse
public WebdavDocumentBrowse()
-
-
Method Details
-
onInit
-
onAfterInit
-
onBeforeShow
-
isVersioningEnabled
protected boolean isVersioningEnabled() -
onwebdavDocumentsTableSelection
@Subscribe("webdavDocumentsTable") public void onwebdavDocumentsTableSelection(Table.SelectionEvent<WebdavDocument> event) -
updateButtonsVisibility
protected void updateButtonsVisibility() -
containsCollection
-
generateLink
-
generateWebdavLockDescriptorCell
-
generateVersioningCell
-
onwebdavDocumentsTableCreateCollection
@Subscribe("webdavDocumentsTable.createCollection") public void onwebdavDocumentsTableCreateCollection(Action.ActionPerformedEvent event) -
onWebdavDocumentsTableRenameCollection
@Subscribe("webdavDocumentsTable.renameCollection") public void onWebdavDocumentsTableRenameCollection(Action.ActionPerformedEvent event) -
onwebdavDocumentsTableDownload
@Subscribe("webdavDocumentsTable.download") public void onwebdavDocumentsTableDownload(Action.ActionPerformedEvent event) -
onWebdavDocumentsTableManageVersions
@Subscribe("webdavDocumentsTable.manageVersions") public void onWebdavDocumentsTableManageVersions(Action.ActionPerformedEvent event) -
onwebdavDocumentsTableEnableVersioning
@Subscribe("webdavDocumentsTable.enableVersioning") public void onwebdavDocumentsTableEnableVersioning(Action.ActionPerformedEvent event) -
onwebdavDocumentsTableDisableVersioning
@Subscribe("webdavDocumentsTable.disableVersioning") public void onwebdavDocumentsTableDisableVersioning(Action.ActionPerformedEvent event) -
applyVersioning
protected void applyVersioning(boolean versioning) -
onwebdavDocumentsTableRemove
@Subscribe("webdavDocumentsTable.remove") public void onwebdavDocumentsTableRemove(Action.ActionPerformedEvent event) -
onWebdavDocumentsTableLock
@Subscribe("webdavDocumentsTable.lock") public void onWebdavDocumentsTableLock(Action.ActionPerformedEvent event) -
onwebdavDocumentsTableUnlock
@Subscribe("webdavDocumentsTable.unlock") public void onwebdavDocumentsTableUnlock(Action.ActionPerformedEvent event) -
onApplyFilePathBtnClick
-
onFileUploadSucceed
protected void onFileUploadSucceed(SingleFileUploadField.FileUploadSucceedEvent fileUploadSucceedEvent) -
createWebdavDocument
-
createFilePathBreadCrumbs
-