public class S_UserState extends Object
Currently, only Document read indication is supported.
Modifier and Type | Field and Description |
---|---|
protected Hashtable |
m_ReadIndication |
protected boolean |
m_ReadIndicationEnabled |
protected boolean |
m_Resolved |
protected S_LibrarySession |
m_Session |
protected S_DirectoryUser |
m_User |
protected long |
m_UserIdValue |
protected static String |
READ_INDICATION_DELETEALL_STATEMENT |
protected static String |
READ_INDICATION_TABLENAME |
Modifier | Constructor and Description |
---|---|
protected |
S_UserState(S_LibrarySession session,
S_DirectoryUser user)
Constructs an S_UserState.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearHasRead(Long contentId)
Clears read indication for a content reference
|
protected boolean |
isRead(Long contentId)
Fetches read indication for a content reference
|
protected void |
setHasRead(Long contentId)
Sets read indication for a content reference
|
protected static final String READ_INDICATION_TABLENAME
protected static final String READ_INDICATION_DELETEALL_STATEMENT
protected long m_UserIdValue
protected S_DirectoryUser m_User
protected S_LibrarySession m_Session
protected boolean m_Resolved
protected Hashtable m_ReadIndication
protected boolean m_ReadIndicationEnabled
protected S_UserState(S_LibrarySession session, S_DirectoryUser user) throws IfsException
session
- the current sessionuser
- the userIfsException
- if the operation failsprotected void setHasRead(Long contentId) throws IfsException
contentId
- the content referenceIfsException
- if the operation failsprotected void clearHasRead(Long contentId) throws IfsException
contentId
- the content referenceIfsException
- if the operation failsprotected boolean isRead(Long contentId) throws IfsException
contentId
- the content referenceIfsException
- if the operation failsCopyright © 2023. All rights reserved.