public class Permission extends AbstractPermission implements XMLModelInitialisable
Constructor and Description |
---|
Permission(org.alfresco.service.namespace.QName typeQName)
A permission for the given type
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.security.AccessStatus |
getDefaultPermission()
Default deny/allow for this permission
|
Set<PermissionReference> |
getGrantedToGroups()
Get the groups for which this permission is granted (by definition - filled in by the model API)
|
void |
initialise(org.dom4j.Element element,
org.alfresco.service.namespace.NamespacePrefixResolver nspr,
PermissionModel permissionModel) |
boolean |
isExposed()
Should this permission be shown to the UI?
|
boolean |
isTypeRequired()
Does a node have to have the type/aspect for the permission to apply?
|
getName, getQName, getRequiredPermissions, getTypeQName
equals, hashCode, toString
public Permission(org.alfresco.service.namespace.QName typeQName)
typeQName
- QNamepublic void initialise(org.dom4j.Element element, org.alfresco.service.namespace.NamespacePrefixResolver nspr, PermissionModel permissionModel)
initialise
in interface XMLModelInitialisable
initialise
in class AbstractPermission
public org.alfresco.service.cmr.security.AccessStatus getDefaultPermission()
public Set<PermissionReference> getGrantedToGroups()
public boolean isExposed()
public boolean isTypeRequired()
Copyright © 2005–2017 Alfresco Software. All rights reserved.