Class ADEventLogEntryHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADEventLogEntryHelper
This is a utility class for ADEventLogEntry that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateEventLogEntry(SrvContext srvCtx, K_LOG_EVENT kLog, String strNote, String strModelName, String strRepName) Creates a new event log entry or a specialization.static voiddeleteEventLogEntry(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 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 entrystrNote- note of the event log entrystrModelName- name of local or remote modelstrRepName- name of remote repository- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-