Class MMProfileHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMProfileHelper
-
public abstract class MMProfileHelper extends java.lang.Object
A 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 MMProfile
createProfile(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 void
unlockProfiles(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:
InoNetException
SrvErrorException
-
createProfile
public static MMProfile createProfile(SrvContext srvCtx) throws InoNetException, SrvErrorException
Creates a profile.- Parameters:
srvCtx
- The context of the related innovator server.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-