public class UIShareDocuments
extends org.exoplatform.webui.form.UIForm
implements org.exoplatform.webui.core.UIPopupComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
UIShareDocuments.CancelActionListener |
static class |
UIShareDocuments.ChangeActionListener |
static class |
UIShareDocuments.ChangePermissionActionListener |
static class |
UIShareDocuments.ConfirmActionListener |
static class |
UIShareDocuments.PermissionException |
static class |
UIShareDocuments.TextChangeActionListener |
| Constructor and Description |
|---|
UIShareDocuments() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addPermission() |
boolean |
canEdit(org.exoplatform.services.security.Identity identity)
Used to check edit permission on the current document node for the logged in user.
|
boolean |
canEdit(String username)
Used to check edit permission on the current document node for users, spaces members
|
void |
deActivate() |
Map<String,String> |
getAllPermissions() |
String |
getComment() |
String |
getDocumentName() |
String |
getIconURL() |
Map<String,String> |
getInitialValues(String invitees) |
org.exoplatform.services.jcr.core.ExtendedNode |
getNode() |
String |
getOwner() |
String |
getPermission(String name) |
static String |
getPortalLoginRedirectURL() |
String |
getRestURL() |
String |
getValue() |
Set<String> |
getWhoHasAccess() |
boolean |
hasPermissionDropDown() |
void |
init() |
boolean |
isGroupType(String name) |
boolean |
isOwner(String username) |
void |
removePermission(String id) |
void |
setPermissionDropDown(boolean permDropDown) |
void |
setSelectedNode(org.exoplatform.services.wcm.core.NodeLocation node) |
void |
updatePermission(String id,
String permission) |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlpublic String comment
public boolean hasPermissionDropDown()
public void setPermissionDropDown(boolean permDropDown)
public void removePermission(String id)
public boolean isGroupType(String name)
public static String getPortalLoginRedirectURL()
public String getValue()
public void init()
public org.exoplatform.services.jcr.core.ExtendedNode getNode()
public String getIconURL()
public void setSelectedNode(org.exoplatform.services.wcm.core.NodeLocation node)
throws Exception
Exceptionpublic boolean canEdit(String username)
username - public boolean canEdit(org.exoplatform.services.security.Identity identity)
identity - public boolean isOwner(String username)
public String getOwner()
public String getRestURL()
public String getComment()
public void activate()
activate in interface org.exoplatform.webui.core.UIPopupComponentpublic void deActivate()
deActivate in interface org.exoplatform.webui.core.UIPopupComponentCopyright © 2003–2021 eXo Platform SAS. All rights reserved.