Class icm.action.folder.RemoveBoxCollaborationFolder
Extends
icm.action.Action.
Removes the Box folder from the case and corresponding folder in Box. Will delete all its contents.
Context required by this action: ['CurrentFolder'] ['Case']
Defined in: <icm/action/folder/RemoveBoxCollaborationFolder.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class icm.action.Action:
- arguments, menu, resourceBundle, title, widget
| Method Attributes | Method Name and Description |
|---|---|
|
boxFolderRemoved(result)
Refreshes the case to refresh the boxFolderCreated flag.
|
|
|
execute()
Removes the Box collaboration folder, including the proxy folder and corresponding folder in Box, and all of its contents.
|
|
|
For this action to be enabled:
1) Selected item needs to be the resolved Box collaboration folder (not subfolder)
2) The action can be supported globally.
|
|
|
For this action to be visible:
1) Box collaboration needs to be enabled
2) Box folder needs to be created
3) Selected item needs to be the resolved Box collaboration folder.
|
- Methods borrowed from class icm.action.Action:
- broadcastEvent, canPerformAction, cleanActionContext, getActionContext, getArgument, getArguments, getCallback, getWidget, init, isCM8, isGlobalEnabled, performAction, postExecute, preExecute, publishEvent, refreshMenus, setActionContext, setEnabled, setVisible, showConfirmationDialog, showErrDialog
Method Detail
boxFolderRemoved(result)
Refreshes the case to refresh the boxFolderCreated flag. Flag should be false now.
- Parameters:
- result
constructor()
execute()
Removes the Box collaboration folder, including the proxy folder and corresponding folder in Box, and all of its contents.
getSelectedItem()
isEnabled()
For this action to be enabled:
1) Selected item needs to be the resolved Box collaboration folder (not subfolder)
2) The action can be supported globally.
3) Case worker needs write permission.
isVisible()
For this action to be visible:
1) Box collaboration needs to be enabled
2) Box folder needs to be created
3) Selected item needs to be the resolved Box collaboration folder.
3) Case worker needs write permission.