Class DefaultBookmarkResolvers

java.lang.Object
nz.org.riskscape.engine.IdentifiedCollection.Base<nz.org.riskscape.engine.data.BookmarkResolver>
nz.org.riskscape.engine.data.DefaultBookmarkResolvers
All Implemented Interfaces:
nz.org.riskscape.engine.data.BookmarkResolvers, nz.org.riskscape.engine.IdentifiedCollection<nz.org.riskscape.engine.data.BookmarkResolver>

public class DefaultBookmarkResolvers extends nz.org.riskscape.engine.IdentifiedCollection.Base<nz.org.riskscape.engine.data.BookmarkResolver> implements nz.org.riskscape.engine.data.BookmarkResolvers
  • Nested Class Summary

    Nested classes/interfaces inherited from class nz.org.riskscape.engine.IdentifiedCollection.Base

    nz.org.riskscape.engine.IdentifiedCollection.Base.Handle

    Nested classes/interfaces inherited from interface nz.org.riskscape.engine.IdentifiedCollection

    nz.org.riskscape.engine.IdentifiedCollection.Base<T extends nz.org.riskscape.engine.Identified>
  • Field Summary

    Fields inherited from class nz.org.riskscape.engine.IdentifiedCollection.Base

    results
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> nz.org.riskscape.problem.ResultOrProblems<T>
    getData(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context, Class<T> requiredType)
     
    nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.data.ResolvedBookmark>
    resolve(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context)
     
    nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.data.ResolvedBookmark>
    resolveAndValidate(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context, Class<?> requiredType)
     

    Methods inherited from class nz.org.riskscape.engine.IdentifiedCollection.Base

    add, add, add, addAll, addAll, clear, containsKey, determineCollectionClass, get, getAll, getAllProblems, getCollectionClass, getOr, getReferences, getResult, getSimilarIds, isEmpty, remove, removeAll

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface nz.org.riskscape.engine.data.BookmarkResolvers

    getSupportedFormats

    Methods inherited from interface nz.org.riskscape.engine.IdentifiedCollection

    add, add, add, addAll, addAll, clear, containsKey, get, get, getAll, getAllProblems, getCollectionClass, getOr, getReferences, getResult, getSimilarIds, isEmpty, remove
  • Constructor Details

    • DefaultBookmarkResolvers

      public DefaultBookmarkResolvers()
  • Method Details

    • resolve

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.data.ResolvedBookmark> resolve(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context)
      Specified by:
      resolve in interface nz.org.riskscape.engine.data.BookmarkResolvers
    • resolveAndValidate

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.data.ResolvedBookmark> resolveAndValidate(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context, Class<?> requiredType)
      Specified by:
      resolveAndValidate in interface nz.org.riskscape.engine.data.BookmarkResolvers
    • getData

      public <T> nz.org.riskscape.problem.ResultOrProblems<T> getData(nz.org.riskscape.engine.data.Bookmark bookmark, nz.org.riskscape.engine.bind.BindingContext context, Class<T> requiredType)
      Specified by:
      getData in interface nz.org.riskscape.engine.data.BookmarkResolvers