Class SysroleUrlPermissionIdConverter

java.lang.Object
cn.sparrow.common.idconverter.SysroleUrlPermissionIdConverter
All Implemented Interfaces:
org.springframework.data.rest.webmvc.spi.BackendIdConverter, org.springframework.plugin.core.Plugin<Class<?>>
@Component public class SysroleUrlPermissionIdConverterextends Object implements org.springframework.data.rest.webmvc.spi.BackendIdConverter
  • Constructor Details

    • SysroleUrlPermissionIdConverter

      public  SysroleUrlPermissionIdConverter()
  • Method Details

    • supports

      public  boolean  supports(Class<?> delimiter)
      Specified by:
      supports in interface  org.springframework.plugin.core.Plugin<Class<?>>
    • fromRequestId

      public  Serializable  fromRequestId(String id, Class<?> entityType)
      Specified by:
      fromRequestId in interface  org.springframework.data.rest.webmvc.spi.BackendIdConverter
    • toRequestId

      public  String  toRequestId(Serializable id, Class<?> entityType)
      Specified by:
      toRequestId in interface  org.springframework.data.rest.webmvc.spi.BackendIdConverter