|
|||||||||
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 |
setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
Service to get the check-in details. |
void |
setLockService(LockService lockService)
Set the lock service |
void |
setModelDAO(ModelDAO modelDAO)
Set the permissions model dao |
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 DynamicAuthority
public java.lang.String getAuthority()
DynamicAuthority
getAuthority
in interface DynamicAuthority
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
public void setLockService(LockService lockService)
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
public void setModelDAO(ModelDAO modelDAO)
public void setRequiredFor(java.util.List 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 |