|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.permissions.impl.AbstractPermissionReference
org.alfresco.repo.security.permissions.impl.model.AbstractPermission
org.alfresco.repo.security.permissions.impl.model.Permission
public class Permission
Support to read and store the definition of a permission.
Constructor Summary | |
---|---|
Permission(org.alfresco.service.namespace.QName typeQName)
A permission for the given type |
Method Summary | |
---|---|
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? |
Methods inherited from class org.alfresco.repo.security.permissions.impl.model.AbstractPermission |
---|
getName, getQName, getRequiredPermissions, getTypeQName |
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionReference |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Permission(org.alfresco.service.namespace.QName typeQName)
typeQName
- Method Detail |
---|
public 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 java.util.Set getGrantedToGroups()
public boolean isExposed()
public boolean isTypeRequired()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |