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
|
java.util.Set |
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, getTypeQNameequals, hashCode, toStringpublic Permission(org.alfresco.service.namespace.QName typeQName)
typeQName - public void initialise(org.dom4j.Element element,
org.alfresco.service.namespace.NamespacePrefixResolver nspr,
PermissionModel permissionModel)
initialise in interface XMLModelInitialisableinitialise in class AbstractPermissionpublic org.alfresco.service.cmr.security.AccessStatus getDefaultPermission()
public java.util.Set getGrantedToGroups()
public boolean isExposed()
public boolean isTypeRequired()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.