Class ADEventLogEntryHelper

java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADEventLogEntryHelper

public abstract class ADEventLogEntryHelper extends Object
This is a utility class for ADEventLogEntry that provides static methods for creation or other purposes.
See Also:
  • Method Details

    • createEventLogEntry

      public static void createEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, String strNote, String strModelName, String strRepName) throws InoNetException, SrvErrorException
      Creates a new event log entry or a specialization.
      Parameters:
      srvCtx - The context of the related innovator server.
      kLog - kind of the event log entry
      strNote - note of the event log entry
      strModelName - name of local or remote model
      strRepName - name of remote repository
      Throws:
      InoNetException
      SrvErrorException
    • deleteEventLogEntry

      public static void deleteEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, boolean repEvent, boolean thisModelEvent, boolean allModelEvent) throws InoNetException, SrvErrorException
      Delete event log entries or specializations of the specified kind (or all kinds) within this model, all models or the repository.
      Parameters:
      srvCtx - The context of the related innovator server.
      kLog - kind of event log entries to be deleted
      repEvent - true, if event log entries of repositories are deleted
      thisModelEvent - true, if event log entries of this model are deleted
      allModelEvent - true, if event log entries of all models are deleted
      Throws:
      InoNetException
      SrvErrorException