|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.repo.security.permissions.dynamic.LockOwnerDynamicAuthority
public class LockOwnerDynamicAuthority
LockOwnerDynamicAuthority
| Field Summary |
|---|
| Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
LockOwnerDynamicAuthority()
|
|
| Method Summary | |
|---|---|
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? |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
No-op |
java.util.Set |
requiredFor()
For what permission checks is this dynamic authority required? If null, it is required for all checks. |
void |
setLockService(LockService lockService)
Set the lock service |
void |
setModelDAO(ModelDAO modelDAO)
Set the permissions model dao |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setRequiredFor(java.util.List requiredFor)
Set the permissions for which this dynamic authority is required |
| Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
getApplicationContext, onApplicationEvent, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockOwnerDynamicAuthority()
| Method Detail |
|---|
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 DynamicAuthorityprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBeanpublic void setLockService(LockService lockService)
lockService - public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - public void setModelDAO(ModelDAO modelDAO)
modelDAO - public void setRequiredFor(java.util.List requiredFor)
requiredFor - public 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 | ||||||||