Class MMProfileHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMProfileHelper
-
public abstract class MMProfileHelper extends java.lang.ObjectA profile is a kind of package that extends a reference metamodel. The primary extension construct is the stereotype which is defined as part of profiles.- See Also:
MMProfile
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MMProfilecreateProfile(SrvContext srvCtx)Creates a profile.static java.util.List<ARG_VerifyElementMessageList>getVerifyProfileElementMessageList(SrvContext srvCtx, java.util.List<? extends MMProfile> seqProfile, java.util.List<K_CTREE> seqCTree, MMVerify ohVerify)static voidunlockProfiles(SrvContext srvCtx)Unlocks all profiles locked by the user.
-
-
-
Method Detail
-
getVerifyProfileElementMessageList
public static java.util.List<ARG_VerifyElementMessageList> getVerifyProfileElementMessageList(SrvContext srvCtx, java.util.List<? extends MMProfile> seqProfile, java.util.List<K_CTREE> seqCTree, MMVerify ohVerify) throws InoNetException, SrvErrorException
Evaluate the verify for the list of profiles within the specified configuration views. The result is a list of all elements each with a list of verify messages.- Parameters:
srvCtx- The context of the related innovator server.seqProfile- List of profiles to be verified (ignore invalid)seqCTree- List of kind of configuration views to be verifiedohVerify- The verify to be evaluated- Throws:
InoNetExceptionSrvErrorException
-
createProfile
public static MMProfile createProfile(SrvContext srvCtx) throws InoNetException, SrvErrorException
Creates a profile.- Parameters:
srvCtx- The context of the related innovator server.- Throws:
InoNetExceptionSrvErrorException
-
unlockProfiles
public static void unlockProfiles(SrvContext srvCtx) throws InoNetException, SrvErrorException
Unlocks all profiles locked by the user.- Parameters:
srvCtx- The context of the related innovator server.- Throws:
InoNetExceptionSrvErrorException
-
-