com.wewebu.ow.server.dmsdialogs.views
Class OwPrivilegesDocument
java.lang.Object
com.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwDocument
com.wewebu.ow.server.dmsdialogs.views.OwPrivilegesDocument
- All Implemented Interfaces:
- OwAttributeBag, OwAttributeBagWriteable
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
- Since:
- 3.2.0.0
Methods inherited from class com.wewebu.ow.server.ui.OwDocument |
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getPersistentAttributeBagWriteable, getSafeAttribute, hasAttribute, init, remove, save, setAttribute, update |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwPrivilegesDocument
public OwPrivilegesDocument(OwPermissionsDocument permissionsDocument_p,
Map<String,String> privilegeDisplayNames_p)
guidToPrivilege
public static final String guidToPrivilege(String guid_p)
throws OwInvalidOperationException
- Throws:
OwInvalidOperationException
privilegeToGuid
public static final String privilegeToGuid(OwPrivilege privilege_p)
privilegeToGuid
public static final String privilegeToGuid(String privilegeName_p)
getPermissions
protected OwPermissionCollection getPermissions()
getPermissionsDocument
protected OwPermissionsDocument getPermissionsDocument()
getObject
public OwObject getObject()
getAppliedPrivilegeSets
public Collection<OwPrivilegeSet> getAppliedPrivilegeSets()
removePrivilegeSet
public void removePrivilegeSet(OwPrivilegeSet privilegeSet_p)
throws OwException
- Throws:
OwException
displayNameOf
public String displayNameOf(OwPrivilege privilege_p)
getAvailablePrivileges
public Collection<OwPrivilege> getAvailablePrivileges(OwUserInfo principal_p)
addPrivilegeSet
public OwPrivilegeSet addPrivilegeSet(OwUserInfo principal_p,
Collection privileges_p,
boolean deny_p,
int inheritancedepth_p)
throws OwException
- Throws:
OwException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.