de.mid.innovator.srv2api.icw2meta
Class MMProfileHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2meta.MMProfileHelper

public abstract class MMProfileHelper
extends 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
static MMProfile createProfile(SrvContext srvCtx)
          Creates a profile.
static List<ARG_VerifyElementMessageList> getVerifyProfileElementMessageList(SrvContext srvCtx, List<? extends MMProfile> seqProfile, List<K_CTREE> seqCTree, MMVerify ohVerify)
          Evaluate the verify for the list of profiles within the specified configuration views.
static void unlockProfiles(SrvContext srvCtx)
          Unlocks all profiles locked by the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

getVerifyProfileElementMessageList

public static List<ARG_VerifyElementMessageList> getVerifyProfileElementMessageList(SrvContext srvCtx,
                                                                                    List<? extends MMProfile> seqProfile,
                                                                                    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 verified
ohVerify - The verify to be evaluated
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