Class ELObjectHelper
java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELObjectHelper
This is the root class of Innovator eXcellence metamodel.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetRestrictOnHasRead(Class<T> returnType, SrvContext srvCtx, ELElement ohRef, List<? extends ELElement> seqRestrict) removes a element from the list if the provided user has not read access on it.
-
Method Details
-
getRestrictOnHasRead
public static <T extends ELElement> List<T> getRestrictOnHasRead(Class<T> returnType, SrvContext srvCtx, ELElement ohRef, List<? extends ELElement> seqRestrict) throws InoNetException, SrvErrorException removes a element from the list if the provided user has not read access on it.- 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
-