public class VertexiumSearchRepository extends SearchRepository
| Modifier and Type | Field and Description |
|---|---|
static VisalloVisibility |
VISIBILITY |
static String |
VISIBILITY_STRING |
| Constructor and Description |
|---|
VertexiumSearchRepository(org.vertexium.Graph graph,
UserRepository userRepository,
Configuration configuration,
GraphAuthorizationRepository graphAuthorizationRepository,
AuthorizationRepository authorizationRepository,
PrivilegeRepository privilegeRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSearch(String id,
User user) |
org.visallo.web.clientapi.model.ClientApiSearch |
getSavedSearch(String id,
User user) |
org.visallo.web.clientapi.model.ClientApiSearchListResponse |
getSavedSearches(User user) |
(package private) boolean |
isSearchGlobal(String id,
org.vertexium.Authorizations authorizations) |
(package private) boolean |
isSearchPrivateToUser(String id,
User user,
org.vertexium.Authorizations authorizations) |
String |
saveGlobalSearch(String id,
String name,
String url,
org.json.JSONObject searchParameters,
User user) |
String |
saveSearch(String id,
String name,
String url,
org.json.JSONObject searchParameters,
User user) |
static org.visallo.web.clientapi.model.ClientApiSearch |
toClientApiSearch(org.vertexium.Vertex searchVertex,
org.visallo.web.clientapi.model.ClientApiSearch.Scope scope) |
findSearchRunnerByUripublic static final String VISIBILITY_STRING
public static final VisalloVisibility VISIBILITY
@Inject
public VertexiumSearchRepository(org.vertexium.Graph graph,
UserRepository userRepository,
Configuration configuration,
GraphAuthorizationRepository graphAuthorizationRepository,
AuthorizationRepository authorizationRepository,
PrivilegeRepository privilegeRepository)
public String saveSearch(String id, String name, String url, org.json.JSONObject searchParameters, User user)
saveSearch in class SearchRepositorypublic String saveGlobalSearch(String id, String name, String url, org.json.JSONObject searchParameters, User user)
saveGlobalSearch in class SearchRepositorypublic org.visallo.web.clientapi.model.ClientApiSearchListResponse getSavedSearches(User user)
getSavedSearches in class SearchRepositorypublic static org.visallo.web.clientapi.model.ClientApiSearch toClientApiSearch(org.vertexium.Vertex searchVertex,
org.visallo.web.clientapi.model.ClientApiSearch.Scope scope)
public org.visallo.web.clientapi.model.ClientApiSearch getSavedSearch(String id, User user)
getSavedSearch in class SearchRepositorypublic void deleteSearch(String id, User user)
deleteSearch in class SearchRepositoryboolean isSearchGlobal(String id, org.vertexium.Authorizations authorizations)
Copyright © 2013–2016 V5 Analytics. All rights reserved.