Class PermissionCheckedValue.PermissionCheckedValueMixin
java.lang.Object
org.springframework.aop.support.IntroductionInfoSupport
org.springframework.aop.support.DelegatingIntroductionInterceptor
org.alfresco.repo.security.permissions.PermissionCheckedValue.PermissionCheckedValueMixin
- All Implemented Interfaces:
Serializable,PermissionCheckedValue,org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor,org.springframework.aop.DynamicIntroductionAdvice,org.springframework.aop.IntroductionInfo,org.springframework.aop.IntroductionInterceptor
- Enclosing interface:
- PermissionCheckedValue
public static class PermissionCheckedValue.PermissionCheckedValueMixin
extends org.springframework.aop.support.DelegatingIntroductionInterceptor
implements PermissionCheckedValue
Helper 'introduction' to allow simple addition of the
PermissionCheckedValue interface to existing objects.- Since:
- 4.0
- Author:
- Derek Hulley
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.security.permissions.PermissionCheckedValue
PermissionCheckedValue.PermissionCheckedValueMixin -
Field Summary
Fields inherited from class org.springframework.aop.support.IntroductionInfoSupport
publishedInterfaces -
Method Summary
Modifier and TypeMethodDescriptionstatic final <T> Tcreate(T object) Helper method to create aPermissionCheckedValuefrom an existingObject.Methods inherited from class org.springframework.aop.support.DelegatingIntroductionInterceptor
doProceed, invokeMethods inherited from class org.springframework.aop.support.IntroductionInfoSupport
getInterfaces, implementInterfacesOnObject, implementsInterface, isMethodOnIntroducedInterface, suppressInterfaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.aop.DynamicIntroductionAdvice
implementsInterface
-
Method Details
-
create
public static final <T> T create(T object) Helper method to create aPermissionCheckedValuefrom an existingObject.- Parameters:
object- theObjectto proxy- Returns:
- a
Objectof the same type but including thePermissionCheckedValueinterface
-