org.exoplatform.webservice.cs.chat
Class UIStateService
java.lang.Object
org.exoplatform.webservice.cs.chat.UIStateService
- All Implemented Interfaces:
- org.exoplatform.services.rest.container.ResourceContainer
public class UIStateService
- extends java.lang.Object
- implements org.exoplatform.services.rest.container.ResourceContainer
- Author:
- Uoc Nguyen
|
Constructor Summary |
UIStateService(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator)
|
|
Method Summary |
org.exoplatform.services.rest.Response |
getState(java.lang.String username)
|
org.exoplatform.services.rest.Response |
saveState(java.lang.String userName,
UIStateDataBean stateData)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON_CONTENT_TYPE
public static final java.lang.String JSON_CONTENT_TYPE
- See Also:
- Constant Field Values
APPLICATION_NAME
public static final java.lang.String APPLICATION_NAME
- See Also:
- Constant Field Values
JCR_STATE_DATA_NODE_PATH
public static final java.lang.String JCR_STATE_DATA_NODE_PATH
- See Also:
- Constant Field Values
JCR_STATE_NOTE_TYPE
public static final java.lang.String JCR_STATE_NOTE_TYPE
- See Also:
- Constant Field Values
JCR_UI_STATE_NOTE_PROPERTY
public static final java.lang.String JCR_UI_STATE_NOTE_PROPERTY
- See Also:
- Constant Field Values
UIStateService
public UIStateService(org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator)
saveState
public org.exoplatform.services.rest.Response saveState(java.lang.String userName,
UIStateDataBean stateData)
throws java.lang.Exception
- Throws:
java.lang.Exception
getState
public org.exoplatform.services.rest.Response getState(java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 eXo Platform SAS. All Rights Reserved.