|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.security.permissions.dynamic.OwnerDynamicAuthority
public class OwnerDynamicAuthority
The owner dynamic authority
| Constructor Summary | |
|---|---|
OwnerDynamicAuthority()
Standard construction |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwnerDynamicAuthority()
| Method Detail |
|---|
public void setOwnableService(OwnableService ownableService)
ownableService -
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
public boolean hasAuthority(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String userName)
DynamicAuthority
hasAuthority in interface DynamicAuthoritypublic java.lang.String getAuthority()
DynamicAuthority
getAuthority in interface DynamicAuthoritypublic java.util.Set requiredFor()
DynamicAuthority
requiredFor in interface DynamicAuthority
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||