Class ProcessUserPresenceBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class ProcessUserPresenceBean
    extends Object
    implements Serializable
    View-scoped controller for concurrent editing of the current Inbox Vorgang. Groups outer page and iframe registrations by one owner ID, handles resource switches/lifecycle, computes initial/join/leave diffs and sends keyed UI updates.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessUserPresenceBean

        public ProcessUserPresenceBean()
    • Method Detail

      • loadInitialMessages

        public void loadInitialMessages()
      • updateMessages

        public void updateMessages()
      • heartbeat

        public void heartbeat()
        Keeps the current registration alive without treating it as a fresh join.
      • onDestroy

        @PreDestroy
        public void onDestroy()
        Removes the outer-page registration when the JSF view is destroyed.
      • getTrackingId

        public TrackingId getTrackingId()
      • getCurrentFormRecordId

        public long getCurrentFormRecordId()