Class ADEventLogEntryHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.ADEventLogEntryHelper
-
public abstract class ADEventLogEntryHelper extends java.lang.Object
This is a utility class for ADEventLogEntry that provides static methods for creation or other purposes.- See Also:
ADEventLogEntry
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, java.lang.String strNote, java.lang.String strModelName, java.lang.String strRepName)
Creates a new event log entry or a specialization.static void
deleteEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, boolean repEvent, boolean thisModelEvent, boolean allModelEvent)
Delete event log entries or specializations of the specified kind (or all kinds) within this model, all models or the repository.
-
-
-
Method Detail
-
createEventLogEntry
public static void createEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, java.lang.String strNote, java.lang.String strModelName, java.lang.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 entrystrNote
- note of the event log entrystrModelName
- name of local or remote modelstrRepName
- 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 deletedrepEvent
- true, if event log entries of repositories are deletedthisModelEvent
- true, if event log entries of this model are deletedallModelEvent
- true, if event log entries of all models are deleted- Throws:
InoNetException
SrvErrorException
-
-