Package org.cyclos.impl.users
Class SinglePermissionHandlerImpl<T,P extends Product,DTO extends ProductDTO,AD extends ActiveProductsData>
- java.lang.Object
-
- org.cyclos.impl.users.PermissionHandlerImpl<DTO,AD>
-
- org.cyclos.impl.users.BasePermissionHandlerImpl<T,T,DTO,AD>
-
- org.cyclos.impl.users.SinglePermissionHandlerImpl<T,P,DTO,AD>
-
- Type Parameters:
T- the value typeP- the Product type to get the value fromDTO- the dto typeAD- the data type
- Direct Known Subclasses:
SingleOnePermissionPermissionHandlerImpl,ViewManagePermissionHandlerImpl
public abstract class SinglePermissionHandlerImpl<T,P extends Product,DTO extends ProductDTO,AD extends ActiveProductsData> extends BasePermissionHandlerImpl<T,T,DTO,AD>
Base class for handlers of permissions resolving to a single value in the product.
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.users.BasePermissionHandlerImpl
dataProperty, dtoProperty, key
-
-
Constructor Summary
Constructors Constructor Description SinglePermissionHandlerImpl(Property<T,? super DTO> dtoProperty, Property<T,? super AD> dataProperty, MessageKey key)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TgetValue(P product)-
Methods inherited from class org.cyclos.impl.users.BasePermissionHandlerImpl
getDTOProperty, getKey
-
Methods inherited from class org.cyclos.impl.users.PermissionHandlerImpl
getPermissions, readPermissions, readPermissions, writePermissions
-
-