Class TeamSpaceNodeSearchResultCheckHooker

java.lang.Object
net.datenwerke.rs.tsreportarea.service.tsreportarea.hookers.TeamSpaceNodeSearchResultCheckHooker
All Implemented Interfaces:
Hook, SearchResultAllowerHook

public class TeamSpaceNodeSearchResultCheckHooker extends Object implements SearchResultAllowerHook
  • Constructor Details

    • TeamSpaceNodeSearchResultCheckHooker

      public TeamSpaceNodeSearchResultCheckHooker(TeamSpaceService teamSpaceService, TsDiskService tsDiskService)
  • Method Details

    • allow

      public boolean allow(AbstractNode<? extends AbstractNode<?>> node)
      Description copied from interface: SearchResultAllowerHook
      Allows to filter the search results using non-standard checks.
      Specified by:
      allow in interface SearchResultAllowerHook
      Parameters:
      node - the node found during the search
      Returns:
      true if the node is being allowed to be shown in the result list, else false