Class AgentChatEditorAppearance


  • public final class AgentChatEditorAppearance
    extends java.lang.Object
    This class is used to customize the appearance of the agent's chat editor within the novomind iAGENT Chat Agent application.

    This class can only be used within the novomind iAGENT Chat Agent application.

    Since:
    12.36
    • Method Detail

      • defaults

        public static AgentChatEditorAppearance defaults()
        Creates an instance of AgentChatEditorAppearance using defaults.
        Returns:
        an instance of AgentChatEditorAppearance with default settings.
        Since:
        12.36
      • isSendFilesAllowed

        public java.util.Optional<java.lang.Boolean> isSendFilesAllowed()
        The method returns the current ability to allow or disallow the feature of sending files.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowSendFiles

        public AgentChatEditorAppearance allowSendFiles()
        The method overrides the default ability and allows the feature of sending files.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowSendFiles

        public AgentChatEditorAppearance disallowSendFiles()
        The method overrides the default ability and disallows the feature of sending files.
        Returns:
        this
        Since:
        12.36
      • isResubmitAllowed

        public java.util.Optional<java.lang.Boolean> isResubmitAllowed()
        The method returns the current ability to allow or disallow the feature of resubmission.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowResubmit

        public AgentChatEditorAppearance allowResubmit()
        The method overrides the default ability and allows the feature of resubmission.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowResubmit

        public AgentChatEditorAppearance disallowResubmit()
        The method overrides the default ability and disallows the feature of resubmission.
        Returns:
        this
        Since:
        12.36
      • isForwardAllowed

        public java.util.Optional<java.lang.Boolean> isForwardAllowed()
        The method returns the current ability to allow or disallow the feature of forwarding.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowForward

        public AgentChatEditorAppearance allowForward()
        The method overrides the default ability and allows the feature of forwarding.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowForward

        public AgentChatEditorAppearance disallowForward()
        The method overrides the default ability and disallows the feature of forwarding.
        Returns:
        this
        Since:
        12.36
      • isBlockAllowed

        public java.util.Optional<java.lang.Boolean> isBlockAllowed()
        The method returns the current ability to allow or disallow the feature of blocking.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowBlock

        public AgentChatEditorAppearance allowBlock()
        The method overrides the default ability and allows the feature of blocking.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowBlock

        public AgentChatEditorAppearance disallowBlock()
        The method overrides the default ability and disallows the feature of blocking.
        Returns:
        this
        Since:
        12.36
      • isRecategorizeAllowed

        public java.util.Optional<java.lang.Boolean> isRecategorizeAllowed()
        The method returns the current ability to allow or disallow the feature of recategorization.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowRecategorize

        public AgentChatEditorAppearance allowRecategorize()
        The method overrides the default ability and allows the feature of recategorization.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowRecategorize

        public AgentChatEditorAppearance disallowRecategorize()
        The method overrides the default ability and disallows the feature of recategorization.
        Returns:
        this
        Since:
        12.36
      • isAssignTagsAllowed

        public java.util.Optional<java.lang.Boolean> isAssignTagsAllowed()
        The method returns the current ability to allow or disallow the feature of assigning tags.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowAssignTags

        public AgentChatEditorAppearance allowAssignTags()
        The method overrides the default ability and allows the feature of assigning tags.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowAssignTags

        public AgentChatEditorAppearance disallowAssignTags()
        The method overrides the default ability and disallows the feature of assigning tags.
        Returns:
        this
        Since:
        12.36
      • isPrintAllowed

        public java.util.Optional<java.lang.Boolean> isPrintAllowed()
        The method returns the current ability to allow or disallow the feature of printing.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowPrint

        public AgentChatEditorAppearance allowPrint()
        The method overrides the default ability and allows the feature of printing.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowPrint

        public AgentChatEditorAppearance disallowPrint()
        The method overrides the default ability and disallows the feature of printing.
        Returns:
        this
        Since:
        12.36
      • isSaveAllowed

        public java.util.Optional<java.lang.Boolean> isSaveAllowed()
        The method returns the current ability to allow or disallow the feature of saving.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowSave

        public AgentChatEditorAppearance allowSave()
        The method overrides the default ability and allows the feature of saving.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowSave

        public AgentChatEditorAppearance disallowSave()
        The method overrides the default ability and disallows the feature of saving.
        Returns:
        this
        Since:
        12.36
      • isCreateTicketAllowed

        public java.util.Optional<java.lang.Boolean> isCreateTicketAllowed()
        The method returns the current ability to allow or disallow the feature of creating a ticket.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowCreateTicket

        public AgentChatEditorAppearance allowCreateTicket()
        The method overrides the default ability and allows the feature of creating a ticket.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowCreateTicket

        public AgentChatEditorAppearance disallowCreateTicket()
        The method overrides the default ability and disallows the feature of creating a ticket.
        Returns:
        this
        Since:
        12.36
      • isSendAndQuitAfterDelayAllowed

        public java.util.Optional<java.lang.Boolean> isSendAndQuitAfterDelayAllowed()
        The method returns the current ability to allow or disallow the feature of sending and quitting after a delay.
        Returns:
        a non-empty Optional if the default ability is overridden or an empty Optional for the default ability.
        Since:
        12.36
      • allowSendAndQuitAfterDelay

        public AgentChatEditorAppearance allowSendAndQuitAfterDelay()
        The method overrides the default ability and allows the feature of sending and quitting after a delay.

        Please note that other plugins may also override the default ability for this feature. If another plugin disallows the feature, this method will not take any effect.

        Returns:
        this
        Since:
        12.36
      • disallowSendAndQuitAfterDelay

        public AgentChatEditorAppearance disallowSendAndQuitAfterDelay()
        The method overrides the default ability and disallows the feature of sending and quitting after a delay.
        Returns:
        this
        Since:
        12.36