Class icm.action.folder.AddBoxCollaborationFolder
Extends
icm.action.Action.
Adds a new Box folder to the case and optionally invites collaborators if specified.
Context required by this action: ['CurrentFolder'] ['Case']
Defined in: <icm/action/folder/AddBoxCollaborationFolder.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 |
|---|---|
|
execute()
Creates a Box collaboration folder which requires the p8 user to log into Box and adds
the logged in user as a collaborator on the Box folder.
|
|
|
getBoxUserId(repository)
Returns the logged in Box user from the specified repository.
|
|
|
Enable this action if Box collaboration is not already created and p8 user has write access to the Case.
|
|
|
This action is visible if Box collaboration is enabled, hidden if not.
|
|
|
showDialog(caseModel, folderName, folderName)
Shows the dialog to create a Box 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
execute()
Creates a Box collaboration folder which requires the p8 user to log into Box and adds
the logged in user as a collaborator on the Box folder. We always require at least one
collaborator on the Box folder.
Displays a pane for the user to invite additional people if desired.
getBoxUserId(repository)
Returns the logged in Box user from the specified repository.
- Parameters:
- repository
isEnabled()
Enable this action if Box collaboration is not already created and p8 user has write access to the Case.
isVisible()
This action is visible if Box collaboration is enabled, hidden if not.
showDialog(caseModel, folderName, folderName)
Shows the dialog to create a Box folder. Users also have option to invite people during creation time.
- Parameters:
- caseModel
- An object representing the current case instance
- folderName
- The name for the Box folder.
- folderName