public class OwnerDynamicAuthority extends java.lang.Object implements DynamicAuthority, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
OwnerDynamicAuthority()
Standard construction
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.lang.String |
getAuthority()
If this authority is granted this method provides the string
representation of the granted authority.
|
boolean |
hasAuthority(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String userName)
Is this authority granted to the given user for this node ref?
|
java.util.Set |
requiredFor()
For what permission checks is this dynamic authority required?
If null, it is required for all checks.
|
void |
setOwnableService(OwnableService ownableService)
Set the ownable service
|
public void setOwnableService(OwnableService ownableService)
ownableService - public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic boolean hasAuthority(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String userName)
DynamicAuthorityhasAuthority in interface DynamicAuthoritypublic java.lang.String getAuthority()
DynamicAuthoritygetAuthority in interface DynamicAuthoritypublic java.util.Set requiredFor()
DynamicAuthorityrequiredFor in interface DynamicAuthorityCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.