Class Index | File Index

Classes


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>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class icm.action.Action:
arguments, menu, resourceBundle, title, widget
Method Summary
Method Attributes Method Name and Description
 
Refreshes the case to refresh the boxFolderCreated flag.
 
 
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
Class Detail
icm.action.folder.RemoveBoxCollaborationFolder()
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Sep 10 2023 05:26:47 GMT-0700 (PDT)