/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { ChannelUtil } from "../ChannelUtil"; import type { Node } from "../../types/javax/jcr/Node"; import type { ChannelWrapper } from "../../types/senselogic/sitevision/api/message/ChannelWrapper"; import type { DirectMessageUtil } from "../DirectMessageUtil"; /** * Factory for creating messages-related instances. * *
* An instance of the Sitevision class implementing this interface can be obtained via
* {@link senselogic.sitevision.api.Utils#getMessagesFactory()}.
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the Utils interface.
*
aChannel, or null if aChannel
isn't a channel, is archived, Social Collaboration isn't activated or operating user doesn't have a social user identity.
*/
getChannelWrapper(aChannel: Node): ChannelWrapper;
/**
* Gets an instance of a direct message utility class.
* @return a direct message utility class
* @since Sitevision 2025.04.1
*/
getDirectMessageUtil(): DirectMessageUtil;
}
declare namespace MessagesFactory {}
declare var messagesFactory: MessagesFactory;
export default messagesFactory;