Package org.javlo.service.visitors
Class UserDataService
- java.lang.Object
-
- org.javlo.service.visitors.UserDataService
-
public class UserDataService extends Object
-
-
Constructor Summary
Constructors Constructor Description UserDataService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUserData(ContentContext ctx, String key, String inData)
static UserDataService
getInstance(ContentContext ctx)
String
getUserData(ContentContext ctx, String key)
void
resetData(ContentContext ctx)
clear all key with a specific prefix
-
-
-
Method Detail
-
getInstance
public static UserDataService getInstance(ContentContext ctx) throws Exception
- Throws:
Exception
-
getUserData
public String getUserData(ContentContext ctx, String key)
-
addUserData
public void addUserData(ContentContext ctx, String key, String inData) throws Exception
- Throws:
Exception
-
resetData
public void resetData(ContentContext ctx) throws Exception
clear all key with a specific prefix- Parameters:
ctx
-prefix
- the start chars of the key- Throws:
Exception
-
-