Package de.xima.fc.inbox.bean
Class ProcessUserPresenceBean
- java.lang.Object
-
- de.xima.fc.inbox.bean.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 Summary
Constructors Constructor Description ProcessUserPresenceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCurrentFormRecordId()TrackingIdgetTrackingId()voidheartbeat()Keeps the current registration alive without treating it as a fresh join.voidloadInitialMessages()voidonDestroy()Removes the outer-page registration when the JSF view is destroyed.voidupdateMessages()
-
-
-
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()
-
-