Class ELRelshipBinDirHelper
java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELRelshipBinDirHelper
This is a utility class for ELRelshipBinDir that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ELRelshipBinDir>
List<T> getRestrictOnTargetHasRead(Class<T> returnType, SrvContext srvCtx, ELElement ohRef, List<? extends ELElement> seqRestrict) removes a directed relationship from the list if the provided user has not read access on the target element.
-
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 loginseqRestrict- tested elements - ignore invalid- Throws:
InoNetExceptionSrvErrorException
-