public class FileBrowser extends com.google.gwt.user.client.ui.Composite implements OriginPanel, HasDocumentEvent, HasFolderEvent, HasMailEvent, HasDocumentHandlerExtension, HasFolderHandlerExtension, HasMailHandlerExtension
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
HasDocumentEvent.DocumentEventConstant
HasFolderEvent.FolderEventConstant
HasMailEvent.MailEventConstant
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_NONE |
static int |
ACTION_PROPERTY_GROUP_REFRESH_DOCUMENT |
static int |
ACTION_PROPERTY_GROUP_REFRESH_FOLDER |
static int |
ACTION_PROPERTY_GROUP_REFRESH_MAIL |
static int |
ACTION_RENAME |
static int |
ACTION_SECURITY_REFRESH_DOCUMENT |
static int |
ACTION_SECURITY_REFRESH_FOLDER |
static int |
ACTION_SECURITY_REFRESH_MAIL |
MenuPopup |
categoriesMenuPopup |
int |
fileBrowserAction |
MenuPopup |
mailMenuPopup |
MenuPopup |
massiveOperationsMenuPopup |
MenuPopup |
metadataMenuPopup |
com.google.gwt.user.client.ui.VerticalPanel |
panel |
MenuPopup |
personalMenuPopup |
Status |
status |
static int |
STATUS_SIZE |
ExtendedScrollTable |
table |
MenuPopup |
taxonomyMenuPopup |
MenuPopup |
templatesMenuPopup |
MenuPopup |
thesaurusMenuPopup |
MenuPopup |
trashMenuPopup |
FILE_BROWSER, NONE, TREE_ROOT, TREE_TRASH
CATEGORY_ADDED, CATEGORY_REMOVED, DOCUMENT_CHANGED, DOCUMENT_DELETED, KEYWORD_ADDED, KEYWORD_REMOVED, NOTE_ADDED, PANEL_RESIZED, SECURITY_CHANGED, SET_VISIBLE_BUTTONS, TAB_CHANGED
CATEGORY_ADDED, CATEGORY_REMOVED, FOLDER_CHANGED, FOLDER_DELETED, KEYWORD_ADDED, KEYWORD_REMOVED, NOTE_ADDED, PANEL_RESIZED, SECURITY_CHANGED, SET_VISIBLE_BUTTON, TAB_CHANGED
CATEGORY_ADDED, CATEGORY_REMOVED, KEYWORD_ADDED, KEYWORD_REMOVED, MAIL_CHANGED, MAIL_DELETED, PANEL_RESIZED, SECURITY_CHANGED, SET_VISIBLE_BUTTONS, TAB_CHANGED
Constructor and Description |
---|
FileBrowser()
FileBrowser
|
Modifier and Type | Method and Description |
---|---|
void |
addDocumentHandlerExtension(DocumentHandlerExtension handlerExtension)
addDocumentHandlerExtension
|
void |
addFolder(GWTFolder folder)
Adds a new folder Normally executed from directory tree
|
void |
addFolderHandlerExtension(FolderHandlerExtension handlerExtension) |
void |
addMailHandlerExtension(MailHandlerExtension handlerExtension) |
void |
addNoteIconToSelectedRow()
addNoteIconToSelectedRow
|
void |
addSubscription()
Adds a subscription to document or folder
|
void |
cancelCheckout()
Document cancel checkout
|
void |
changeView(int view)
Save changes to the actual view
|
void |
checkin()
Execute checkin
|
void |
checkout()
Document checkout
|
void |
cleanAllFilteringValues()
cleanAllFilteringValues
|
void |
confirmDelete()
Show a previos message to confirm delete
|
void |
confirmPurge()
Confirm purge action
|
void |
copy()
Copy file or folder on file browser
|
void |
createFromTemplate()
Copy file or folder on file browser
|
void |
delete()
Deletes file or document on file browser
|
void |
deleteMasive()
deleteMasive
|
void |
deleteMovedOrMoved()
Deletes folder or document on file browser before is moved
|
void |
deleteNoteIconToSelectedRow()
deleteNoteIconToSelectedRow
|
void |
deselecSelectedRow()
Deselects the selected row
|
void |
disableAddPropertyGroup()
disableAddPropertyGroup
|
void |
disableAllOptions()
disableAllOptions
|
void |
disablePdfMerge()
disablePdfMerge
|
void |
enableAddPropertyGroup()
enableAddPropertyGroup
|
void |
enablePdfMerge()
enablePdfMerge
|
void |
exportFolderToFile()
Export a folder
|
void |
fireEvent(HasDocumentEvent.DocumentEventConstant event) |
void |
fireEvent(HasFolderEvent.FolderEventConstant event) |
void |
fireEvent(HasMailEvent.MailEventConstant event) |
void |
forceCancelCheckout()
Document cancel checkout
|
void |
forceUnlock()
Document force unlock
|
List<String> |
getAllSelectedPaths()
getAllSelectedPaths
|
List<GWTDocument> |
getAllSelectedPdfDocuments()
getAllSelectedPdfDocuments
|
GWTDocument |
getDocument()
getDocument
|
void |
getDocumentChilds(String fldId)
Gets the document childs list from the server
|
GWTFolder |
getFolder()
getFolder
|
void |
getFolderChilds(String fldId)
Gets the folder childs list from the server
|
GWTMail |
getMail()
getMail
|
void |
getMailChilds(String fldId)
Gets the mail childs list from the server
|
String |
getPath()
Gets the document path
|
boolean |
hasRows()
hasRows
|
void |
hideRename()
Hide the rename text Box
|
void |
hideRename(int selectedRow)
Hides the rename text box ( selected row )
|
boolean |
isDocumentSelected()
isDocumentSelected
|
boolean |
isFolderSelected()
isFolderSelected
|
boolean |
isMailSelected()
isMailSelected
|
boolean |
isMassive()
isMassive
|
boolean |
isPanelSelected()
Indicates if panel is selected
|
boolean |
isSelectedRow()
Return true or false if it's a selected row
|
void |
langRefresh()
Refresh languague values
|
void |
lock()
Document lock
|
void |
lockMasive()
lockMasive
|
void |
mantainSelectedRow()
Maintain the selected row after refresh
|
void |
mantainSelectedRowByPath(String path)
Mantain the selected row by Path
|
void |
massiveDownload()
massiveDownload
|
void |
move()
Move file or folder on file browser
|
void |
purge()
Purge file or document on file browser ( only trash mode )
|
void |
refresh(String fldId)
Refresh the panel
|
void |
refreshDocumentValues()
Gets the actual folder (actualItem) and refresh all information on it
|
void |
refreshFolderValues()
Gets the actual folder (actualItem) and refresh all information on it
|
void |
refreshMailValues()
Gets the actual folder (actualItem) and refresh all information on it
|
void |
refreshOnlyFileBrowser()
refreshOnlyFileBrowser
|
void |
removeAllMassive()
removeAllMassive
|
void |
removeSubscription()
Adds a subscription to document or folder
|
void |
rename()
Show the rename text Box
|
void |
rename(String newName)
Document and folder rename
|
void |
reset()
Resets the file browser values
|
void |
restore()
Restore file or document on file browser ( only trash mode )
|
void |
securityRefresh()
Refresh for security changes on actual selected row icon color ) and
folder / document properties, it only refresh the actual
|
void |
selectAllDocumentsMassive()
selectAllDocumentsMassive
|
void |
selectAllFoldersMassive()
selectAllFoldersMassive
|
void |
selectAllMailsMassive()
selectAllMailsMassive
|
void |
selectAllMassive()
selectAllMassive
|
void |
setFileBrowserAction(int fileBrowserAction)
setFileBrowserAction
|
void |
setHome()
Sets the home
|
void |
setOptions(ToolBarOption toolBarOption)
setOptions
|
void |
setProfileFileBrowser(GWTProfileFileBrowser profileFileBrowser,
GWTProfilePagination profilePagination)
setProfileFileBrowser
|
void |
setSelectedPanel(boolean selected)
Sets the selected panel value
|
void |
setSelectedRowId(String selectedRowId)
Sets the selected row Id value
|
void |
showMenu()
Show the browser menu
|
void |
unlock()
Document unlock
|
void |
unlockMasive()
unlockMasive
|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public static final int STATUS_SIZE
public static final int ACTION_NONE
public static final int ACTION_SECURITY_REFRESH_FOLDER
public static final int ACTION_SECURITY_REFRESH_DOCUMENT
public static final int ACTION_RENAME
public static final int ACTION_SECURITY_REFRESH_MAIL
public static final int ACTION_PROPERTY_GROUP_REFRESH_FOLDER
public static final int ACTION_PROPERTY_GROUP_REFRESH_DOCUMENT
public static final int ACTION_PROPERTY_GROUP_REFRESH_MAIL
public com.google.gwt.user.client.ui.VerticalPanel panel
public ExtendedScrollTable table
public MenuPopup taxonomyMenuPopup
public MenuPopup categoriesMenuPopup
public MenuPopup metadataMenuPopup
public MenuPopup thesaurusMenuPopup
public MenuPopup trashMenuPopup
public MenuPopup templatesMenuPopup
public MenuPopup personalMenuPopup
public MenuPopup mailMenuPopup
public MenuPopup massiveOperationsMenuPopup
public Status status
public int fileBrowserAction
public void reset()
public void langRefresh()
public void refresh(String fldId)
fldId
- The path idpublic void addFolder(GWTFolder folder)
folder
- The folderpublic void getFolderChilds(String fldId)
fldId
- The path idpublic void getDocumentChilds(String fldId)
fldId
- The path idpublic void getMailChilds(String fldId)
fldId
- The path idpublic void refreshFolderValues()
public void refreshDocumentValues()
public void refreshMailValues()
public void showMenu()
public void setOptions(ToolBarOption toolBarOption)
public void disableAllOptions()
public void enableAddPropertyGroup()
public void disableAddPropertyGroup()
public void enablePdfMerge()
public void disablePdfMerge()
public void confirmDelete()
public void delete()
public void addSubscription()
public void removeSubscription()
public void deleteMovedOrMoved()
public void move()
public void copy()
public void createFromTemplate()
public void restore()
public void confirmPurge()
public void purge()
public void massiveDownload()
public void checkout()
public void checkin()
public void cancelCheckout()
public void forceCancelCheckout()
public void lock()
public void unlock()
public void lockMasive()
public void unlockMasive()
public void forceUnlock()
public void rename(String newName)
public String getPath()
public void mantainSelectedRow()
public void refreshOnlyFileBrowser()
public void mantainSelectedRowByPath(String path)
path
- public void cleanAllFilteringValues()
public void deselecSelectedRow()
public boolean isSelectedRow()
public void setSelectedRowId(String selectedRowId)
selectedRowId
- The selected row Id value ( doc or folder ) pathpublic void rename()
public void hideRename()
public void hideRename(int selectedRow)
selectedRow
- The selected rowpublic void changeView(int view)
public boolean isPanelSelected()
public void setSelectedPanel(boolean selected)
selected
- The selected panel valuepublic void securityRefresh()
public void setHome()
public boolean isFolderSelected()
public boolean isDocumentSelected()
public boolean isMailSelected()
public GWTFolder getFolder()
public GWTDocument getDocument()
public GWTMail getMail()
public void exportFolderToFile()
public void addNoteIconToSelectedRow()
public void deleteNoteIconToSelectedRow()
public boolean hasRows()
public void selectAllMassive()
public void selectAllFoldersMassive()
public void selectAllDocumentsMassive()
public void selectAllMailsMassive()
public void removeAllMassive()
public boolean isMassive()
public List<GWTDocument> getAllSelectedPdfDocuments()
public void deleteMasive()
public void setProfileFileBrowser(GWTProfileFileBrowser profileFileBrowser, GWTProfilePagination profilePagination)
profileFileBrowser
- public void setFileBrowserAction(int fileBrowserAction)
fileBrowserAction
- public void addDocumentHandlerExtension(DocumentHandlerExtension handlerExtension)
addDocumentHandlerExtension
in interface HasDocumentHandlerExtension
handlerExtension
- public void addFolderHandlerExtension(FolderHandlerExtension handlerExtension)
addFolderHandlerExtension
in interface HasFolderHandlerExtension
public void addMailHandlerExtension(MailHandlerExtension handlerExtension)
addMailHandlerExtension
in interface HasMailHandlerExtension
public void fireEvent(HasDocumentEvent.DocumentEventConstant event)
fireEvent
in interface HasDocumentEvent
public void fireEvent(HasFolderEvent.FolderEventConstant event)
fireEvent
in interface HasFolderEvent
public void fireEvent(HasMailEvent.MailEventConstant event)
fireEvent
in interface HasMailEvent
Copyright © 2016. All rights reserved.