public class OwPrivilegesDocument extends OwDocument
OwPermissionCollection
privilege facade document for OwPrivilegesView
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
m_ViewList
Constructor and Description |
---|
OwPrivilegesDocument(OwPermissionsDocument permissionsDocument_p,
Map<String,String> privilegeDisplayNames_p) |
Modifier and Type | Method and Description |
---|---|
OwPrivilegeSet |
addPrivilegeSet(OwUserInfo principal_p,
Collection privileges_p,
boolean deny_p,
int inheritancedepth_p) |
String |
displayNameOf(OwPrivilege privilege_p) |
Collection<OwPrivilegeSet> |
getAppliedPrivilegeSets() |
Collection<OwPrivilege> |
getAvailablePrivileges(OwUserInfo principal_p) |
OwObject |
getObject() |
protected OwPermissionCollection |
getPermissions() |
protected OwPermissionsDocument |
getPermissionsDocument() |
static String |
guidToPrivilege(String guid_p) |
static String |
privilegeToGuid(OwPrivilege privilege_p) |
static String |
privilegeToGuid(String privilegeName_p) |
void |
removePrivilegeSet(OwPrivilegeSet privilegeSet_p) |
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getPersistentAttributeBagWriteable, getSafeAttribute, hasAttribute, init, remove, save, setAttribute, update
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget
public OwPrivilegesDocument(OwPermissionsDocument permissionsDocument_p, Map<String,String> privilegeDisplayNames_p)
public static final String guidToPrivilege(String guid_p) throws OwInvalidOperationException
OwInvalidOperationException
public static final String privilegeToGuid(OwPrivilege privilege_p)
protected OwPermissionCollection getPermissions()
protected OwPermissionsDocument getPermissionsDocument()
public OwObject getObject()
public Collection<OwPrivilegeSet> getAppliedPrivilegeSets()
public void removePrivilegeSet(OwPrivilegeSet privilegeSet_p) throws OwException
OwException
public String displayNameOf(OwPrivilege privilege_p)
public Collection<OwPrivilege> getAvailablePrivileges(OwUserInfo principal_p)
public OwPrivilegeSet addPrivilegeSet(OwUserInfo principal_p, Collection privileges_p, boolean deny_p, int inheritancedepth_p) throws OwException
OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.