@Path(value="searchHistory") public class SearchHistoryResource extends BaseResource
| 构造器和说明 |
|---|
SearchHistoryResource() |
| 限定符和类型 | 方法和说明 |
|---|---|
javax.ws.rs.core.Response |
addCurrentUserSearchHistoryes(java.util.Map<java.lang.String,java.lang.Object> parmMap)
添加一次搜索记录
|
javax.ws.rs.core.Response |
deleltSearchHistoryesBySearchID(int category,
int actionID)
清空模块下面具体操作的搜索记录
|
javax.ws.rs.core.Response |
getSearchHistoryesByCategoryAndActionID(int category,
int actionID)
得到当前用户的最近五次搜索记录
|
SearchHistoryManager |
getSearchHistoryManager() |
copyProperties, decode, error, fail, fail, getFlipInfo, getObjectMapper, getToken, judgeSortId, noContent, ok, required, required, setCurrentUser, setPagination, setVirtualUser, status, status, success, success, success, toJSON, toJSONpublic SearchHistoryManager getSearchHistoryManager()
@GET
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/{category}/{actionID}")
public javax.ws.rs.core.Response getSearchHistoryesByCategoryAndActionID(@PathParam(value="category")
int category,
@PathParam(value="actionID")
int actionID)
throws com.seeyon.ctp.common.exceptions.BusinessException
category - 模块IDactionID - 搜索类型IDcom.seeyon.ctp.common.exceptions.BusinessException@POST
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/add")
public javax.ws.rs.core.Response addCurrentUserSearchHistoryes(java.util.Map<java.lang.String,java.lang.Object> parmMap)
throws com.seeyon.ctp.common.exceptions.BusinessException
parmMap - com.seeyon.ctp.common.exceptions.BusinessException@POST
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/del/{category}/{actionID}")
public javax.ws.rs.core.Response deleltSearchHistoryesBySearchID(@PathParam(value="category")
int category,
@PathParam(value="actionID")
int actionID)
throws com.seeyon.ctp.common.exceptions.BusinessException
category - 模块IDactionID - 搜索类型IDcom.seeyon.ctp.common.exceptions.BusinessException