Class PermissionsMapper
java.lang.Object
com.levigo.jadice.web.server.messaging.mapper.PermissionsMapper
Maps permissions from and to DTOs.
This class is duplicated on server/client, because we have to both
a) use different DTO classes
b) use different Permission classes for mapping (auth.web vs auth)
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(Permission<?> permission) static PermissionsMapper
get()
void
registerMapping
(Permission<?> permission, String name, Permission.Vote vote) Permission
<?> to
(PermissionsDTO dto)
-
Method Details
-
get
-
registerMapping
-
from
-
to
-