Class ADExecuteAbleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADExecuteAbleHelper
Elements which an execution permission may be set for.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ADExecuteAble>
List<T> getRestrictExecuteAbleList(Class<T> returnType, SrvContext srvCtx, ELElement ohElemForProfile, List<? extends ADExecuteAble> seqAble) Restrict the specified list of execute able elements by the specified the current user login.
-
Method Details
-
getRestrictExecuteAbleList
public static <T extends ADExecuteAble> List<T> getRestrictExecuteAbleList(Class<T> returnType, SrvContext srvCtx, ELElement ohElemForProfile, List<? extends ADExecuteAble> seqAble) throws InoNetException, SrvErrorException Restrict the specified list of execute able elements by the specified the current user login. The result list contains only those execute able elements which have a execution role for a user role of the login within the known profiles.- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.ohElemForProfile- element to calculate the valid profilesseqAble- list of execute able elements to be restricted- Throws:
InoNetExceptionSrvErrorException
-