GeneralUtils

Generic utility methods. For example, to notify something to an user.

Methods

uiNotify

Description:

MethodReturn valuesDescription

uiNotify(String msg)

void

Notify to current authenticated user.

msg: A text with the message of notify.

The user must be logged before executing the methods.

Example:

package com.openkm;

import com.openkm.util.GeneralUtils;

public class Test {
	public static void main(String[] args) {
		try {
			GeneralUtils.uiNotify("Message test!");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
Table of contents [ Hide Show ]