Class ADVersionAbleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADVersionAbleHelper
Elements which are versionable.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ARG_FilterOclReqgetFilter(SrvContext srvCtx, List<? extends ELElement> seq) Without a selection, it returns allADVersionAbleelements.static <T extends ADVersionAble>
List<T> getSortByExistenceDependency(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seq) Sorts the provided version objects by their existence dependencies.
-
Method Details
-
getFilter
public static ARG_FilterOclReq getFilter(SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Without a selection, it returns allADVersionAbleelements. For a given selection, nonADVersionAbleelements are filtered out of the input list. The qualified namespace name is also returned for every element.- Parameters:
srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
getSortByExistenceDependency
public static <T extends ADVersionAble> List<T> getSortByExistenceDependency(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Sorts the provided version objects by their existence dependencies.- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-