Class ELRelshipBinDirHelper

java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELRelshipBinDirHelper

public abstract class ELRelshipBinDirHelper extends Object
This is a utility class for ELRelshipBinDir that provides static methods for creation or other purposes.
See Also:
  • Method Details

    • getRestrictOnTargetHasRead

      public static <T extends ELRelshipBinDir> List<T> getRestrictOnTargetHasRead(Class<T> returnType, SrvContext srvCtx, ELElement ohRef, List<? extends ELElement> seqRestrict) throws InoNetException, SrvErrorException
      removes a directed relationship from the list if the provided user has not read access on the target element.
      Parameters:
      returnType - Specifies the type of elements to be returned.
      srvCtx - The context of the related innovator server.
      ohRef - role used in this test, null test the role of the current login
      seqRestrict - tested elements - ignore invalid
      Throws:
      InoNetException
      SrvErrorException