Class DocumentToAclConverter

java.lang.Object
org.bremersee.acl.spring.data.mongodb.convert.DocumentToAclConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.bson.Document,org.bremersee.acl.Acl>

@ReadingConverter public class DocumentToAclConverter extends Object implements org.springframework.core.convert.converter.Converter<org.bson.Document,org.bremersee.acl.Acl>
The document to acl converter.
Author:
Christian Bremer
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new document to acl converter.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bremersee.acl.Acl
    convert(@NonNull org.bson.Document source)
     
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.convert.converter.Converter

    andThen
  • Constructor Details

    • DocumentToAclConverter

      public DocumentToAclConverter()
      Instantiates a new document to acl converter.
  • Method Details

    • convert

      public org.bremersee.acl.Acl convert(@NonNull org.bson.Document source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<org.bson.Document,org.bremersee.acl.Acl>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object