T - desired type object to handle. Implementations of
InstancePermissionAdvisor#isApplicableTo(java.lang.Object) should return true only if type T is assignable
from the instance's type.public interface InstancePermissionAdvisor<T>
DefaultPlatformPermissionFacadeStrategy,
com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacadeStrategy| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelete(T instance) |
boolean |
canModify(T instance) |
boolean |
isApplicableTo(java.lang.Object instance) |
boolean canModify(T instance)
instance - instance to be checkedboolean canDelete(T instance)
instance - instance to be checkedboolean isApplicableTo(java.lang.Object instance)
instance - instance to be checkedCopyright © 2018 SAP SE. All Rights Reserved.