Interface AdditionalInformationFrameworkFacade

  • All Known Implementing Classes:
    DefaultAdditionalInformationFrameworkFacade

    public interface AdditionalInformationFrameworkFacade
    Interface that holds AIF related functionality e.g. retrieving sections and fragments.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Fragment getFragment​(java.lang.String sectionId, java.lang.String fragmentId, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Retrieves a fragment based on section id and fragment id with provided parameters
      Section getSection​(java.lang.String sectionId)
      Retrieves full section information based on section Id
      java.util.List<Section> getSections()
      Return list of sections , this mainly will be used to getting section meta info
    • Method Detail

      • getSections

        java.util.List<Section> getSections()
        Return list of sections , this mainly will be used to getting section meta info
        Returns:
        list of sections
      • getSection

        Section getSection​(java.lang.String sectionId)
        Retrieves full section information based on section Id
        Parameters:
        sectionId - the section Id to retrieve
        Returns:
        the section
      • getFragment

        Fragment getFragment​(java.lang.String sectionId,
                             java.lang.String fragmentId,
                             java.util.Map<java.lang.String,​java.lang.String> parameters)
        Retrieves a fragment based on section id and fragment id with provided parameters
        Parameters:
        sectionId - the section to fetch the fragment from
        fragmentId - the fragment Id
        parameters - parameters to be passed
        Returns:
        fragment along with its data