public class WorkspaceHelper extends Object
| Constructor and Description |
|---|
WorkspaceHelper(TermMentionRepository termMentionRepository,
UserRepository userRepository,
WorkQueueRepository workQueueRepository,
org.vertexium.Graph graph,
OntologyRepository ontologyRepository,
WorkspaceRepository workspaceRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteEdge(String workspaceId,
org.vertexium.Edge edge,
org.vertexium.Vertex outVertex,
org.vertexium.Vertex inVertex,
boolean isPublicEdge,
Priority priority,
org.vertexium.Authorizations authorizations,
User user) |
void |
deleteProperties(org.vertexium.Element e,
String propertyKey,
String propertyName,
OntologyProperty ontologyProperty,
String workspaceId,
org.vertexium.Authorizations authorizations,
User user) |
void |
deleteProperty(org.vertexium.Element e,
org.vertexium.Property property,
boolean propertyIsPublic,
String workspaceId,
Priority priority,
org.vertexium.Authorizations authorizations) |
void |
deleteVertex(org.vertexium.Vertex vertex,
String workspaceId,
boolean isPublicVertex,
Priority priority,
org.vertexium.Authorizations authorizations,
User user) |
static String |
getWorkspaceIdOrNullIfPublish(String workspaceId,
boolean shouldPublish,
User user) |
void |
unresolveTerm(org.vertexium.Vertex termMention,
org.vertexium.Authorizations authorizations) |
@Inject public WorkspaceHelper(TermMentionRepository termMentionRepository, UserRepository userRepository, WorkQueueRepository workQueueRepository, org.vertexium.Graph graph, OntologyRepository ontologyRepository, WorkspaceRepository workspaceRepository)
public static String getWorkspaceIdOrNullIfPublish(String workspaceId, boolean shouldPublish, User user)
public void unresolveTerm(org.vertexium.Vertex termMention,
org.vertexium.Authorizations authorizations)
public void deleteProperty(org.vertexium.Element e,
org.vertexium.Property property,
boolean propertyIsPublic,
String workspaceId,
Priority priority,
org.vertexium.Authorizations authorizations)
public void deleteEdge(String workspaceId, org.vertexium.Edge edge, org.vertexium.Vertex outVertex, org.vertexium.Vertex inVertex, boolean isPublicEdge, Priority priority, org.vertexium.Authorizations authorizations, User user)
public void deleteProperties(org.vertexium.Element e,
String propertyKey,
String propertyName,
OntologyProperty ontologyProperty,
String workspaceId,
org.vertexium.Authorizations authorizations,
User user)
Copyright © 2013–2016 V5 Analytics. All rights reserved.